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