Package com.courier.models.journeys
Class JourneysInvokeResponse.Builder
-
- All Implemented Interfaces:
public final class JourneysInvokeResponse.BuilderA builder for JourneysInvokeResponse.
-
-
Method Summary
Modifier and Type Method Description final JourneysInvokeResponse.BuilderrunId(String runId)A unique identifier for the journey run that was created. final JourneysInvokeResponse.BuilderrunId(JsonField<String> runId)Sets Builder.runId to an arbitrary JSON value. final JourneysInvokeResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final JourneysInvokeResponse.BuilderputAdditionalProperty(String key, JsonValue value)final JourneysInvokeResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final JourneysInvokeResponse.BuilderremoveAdditionalProperty(String key)final JourneysInvokeResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final JourneysInvokeResponsebuild()Returns an immutable instance of JourneysInvokeResponse. -
-
Method Detail
-
runId
final JourneysInvokeResponse.Builder runId(String runId)
A unique identifier for the journey run that was created.
-
runId
final JourneysInvokeResponse.Builder runId(JsonField<String> runId)
Sets Builder.runId to an arbitrary JSON value.
You should usually call Builder.runId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final JourneysInvokeResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneysInvokeResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneysInvokeResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneysInvokeResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneysInvokeResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneysInvokeResponse build()
Returns an immutable instance of JourneysInvokeResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.runId()
-
-
-
-