Package com.courier.models.journeys
Class JourneyVersionsListResponse.Builder
-
- All Implemented Interfaces:
public final class JourneyVersionsListResponse.BuilderA builder for JourneyVersionsListResponse.
-
-
Method Summary
-
-
Method Detail
-
paging
final JourneyVersionsListResponse.Builder paging(Paging paging)
-
paging
final JourneyVersionsListResponse.Builder paging(JsonField<Paging> paging)
Sets Builder.paging to an arbitrary JSON value.
You should usually call Builder.paging with a well-typed Paging value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
results
final JourneyVersionsListResponse.Builder results(List<JourneyVersionItem> results)
-
results
final JourneyVersionsListResponse.Builder results(JsonField<List<JourneyVersionItem>> results)
Sets Builder.results to an arbitrary JSON value.
You should usually call Builder.results with a well-typed
List<JourneyVersionItem>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addResult
final JourneyVersionsListResponse.Builder addResult(JourneyVersionItem result)
Adds a single JourneyVersionItem to results.
-
additionalProperties
final JourneyVersionsListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneyVersionsListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneyVersionsListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneyVersionsListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneyVersionsListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneyVersionsListResponse build()
Returns an immutable instance of JourneyVersionsListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.paging() .results()
-
-
-
-