Package com.courier.models.journeys
Class JourneysListResponse.Builder
-
- All Implemented Interfaces:
public final class JourneysListResponse.BuilderA builder for JourneysListResponse.
-
-
Method Summary
-
-
Method Detail
-
cursor
final JourneysListResponse.Builder cursor(String cursor)
A cursor token for pagination. Present when there are more results available.
-
cursor
final JourneysListResponse.Builder cursor(JsonField<String> cursor)
Sets Builder.cursor to an arbitrary JSON value.
You should usually call Builder.cursor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
templates
final JourneysListResponse.Builder templates(List<Journey> templates)
-
templates
final JourneysListResponse.Builder templates(JsonField<List<Journey>> templates)
Sets Builder.templates to an arbitrary JSON value.
You should usually call Builder.templates with a well-typed
List<Journey>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTemplate
final JourneysListResponse.Builder addTemplate(Journey template)
-
additionalProperties
final JourneysListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneysListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneysListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneysListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneysListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneysListResponse build()
Returns an immutable instance of JourneysListResponse.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-