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