Class JourneyTemplateGetResponse.Builder
-
- All Implemented Interfaces:
public final class JourneyTemplateGetResponse.BuilderA builder for JourneyTemplateGetResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final JourneyTemplateGetResponse.Builder id(String id)
-
id
final JourneyTemplateGetResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
brand
final JourneyTemplateGetResponse.Builder brand(JourneyTemplateGetResponse.Brand brand)
-
brand
final JourneyTemplateGetResponse.Builder brand(Optional<JourneyTemplateGetResponse.Brand> brand)
Alias for calling Builder.brand with
brand.orElse(null).
-
brand
final JourneyTemplateGetResponse.Builder brand(JsonField<JourneyTemplateGetResponse.Brand> brand)
Sets Builder.brand to an arbitrary JSON value.
You should usually call Builder.brand with a well-typed Brand value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
content
final JourneyTemplateGetResponse.Builder content(JourneyTemplateGetResponse.Content content)
-
content
final JourneyTemplateGetResponse.Builder content(JsonField<JourneyTemplateGetResponse.Content> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed Content value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final JourneyTemplateGetResponse.Builder created(Long created)
-
created
final JourneyTemplateGetResponse.Builder created(JsonField<Long> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
creator
final JourneyTemplateGetResponse.Builder creator(String creator)
-
creator
final JourneyTemplateGetResponse.Builder creator(JsonField<String> creator)
Sets Builder.creator to an arbitrary JSON value.
You should usually call Builder.creator with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final JourneyTemplateGetResponse.Builder name(String name)
-
name
final JourneyTemplateGetResponse.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final JourneyTemplateGetResponse.Builder state(JourneyTemplateGetResponse.State state)
-
state
final JourneyTemplateGetResponse.Builder state(JsonField<JourneyTemplateGetResponse.State> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed State value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
subscription
final JourneyTemplateGetResponse.Builder subscription(JourneyTemplateGetResponse.Subscription subscription)
-
subscription
final JourneyTemplateGetResponse.Builder subscription(Optional<JourneyTemplateGetResponse.Subscription> subscription)
Alias for calling Builder.subscription with
subscription.orElse(null).
-
subscription
final JourneyTemplateGetResponse.Builder subscription(JsonField<JourneyTemplateGetResponse.Subscription> subscription)
Sets Builder.subscription to an arbitrary JSON value.
You should usually call Builder.subscription with a well-typed Subscription value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final JourneyTemplateGetResponse.Builder tags(List<String> tags)
-
tags
final JourneyTemplateGetResponse.Builder tags(JsonField<List<String>> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTag
final JourneyTemplateGetResponse.Builder addTag(String tag)
-
updated
final JourneyTemplateGetResponse.Builder updated(Long updated)
-
updated
final JourneyTemplateGetResponse.Builder updated(JsonField<Long> updated)
Sets Builder.updated to an arbitrary JSON value.
You should usually call Builder.updated with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updater
final JourneyTemplateGetResponse.Builder updater(String updater)
-
updater
final JourneyTemplateGetResponse.Builder updater(JsonField<String> updater)
Sets Builder.updater to an arbitrary JSON value.
You should usually call Builder.updater 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 JourneyTemplateGetResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneyTemplateGetResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneyTemplateGetResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneyTemplateGetResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneyTemplateGetResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneyTemplateGetResponse build()
Returns an immutable instance of JourneyTemplateGetResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .brand() .content() .created() .creator() .name() .state() .subscription() .tags()
-
-
-
-