Class BatchListPageResponse.Builder
-
- All Implemented Interfaces:
public final class BatchListPageResponse.Builder
A builder for BatchListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final BatchListPageResponse.Builder data(List<Batch> data)
-
data
final BatchListPageResponse.Builder data(JsonField<List<Batch>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<Batch>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final BatchListPageResponse.Builder addData(Batch data)
Adds a single Batch to Builder.data.
-
hasMore
final BatchListPageResponse.Builder hasMore(Boolean hasMore)
-
hasMore
final BatchListPageResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final BatchListPageResponse.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("list")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
firstId
final BatchListPageResponse.Builder firstId(String firstId)
-
firstId
final BatchListPageResponse.Builder firstId(JsonField<String> firstId)
Sets Builder.firstId to an arbitrary JSON value.
You should usually call Builder.firstId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
lastId
final BatchListPageResponse.Builder lastId(String lastId)
-
lastId
final BatchListPageResponse.Builder lastId(JsonField<String> lastId)
Sets Builder.lastId to an arbitrary JSON value.
You should usually call Builder.lastId 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 BatchListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BatchListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BatchListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BatchListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BatchListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BatchListPageResponse build()
Returns an immutable instance of BatchListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore()
-
-
-
-