Class BatchListPageResponse
-
- All Implemented Interfaces:
public final class BatchListPageResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchListPageResponse.BuilderA builder for BatchListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<MessageBatch>data()final Optional<String>firstId()First ID in the datalist.final BooleanhasMore()Indicates if there are more results in the requested page direction. final Optional<String>lastId()Last ID in the datalist.final JsonField<List<MessageBatch>>_data()Returns the raw JSON value of data. final JsonField<String>_firstId()Returns the raw JSON value of firstId. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_lastId()Returns the raw JSON value of lastId. final Map<String, JsonValue>_additionalProperties()final BatchListPageResponse.BuildertoBuilder()final BatchListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of BatchListPageResponse. -
-
Method Detail
-
data
final List<MessageBatch> data()
-
firstId
final Optional<String> firstId()
First ID in the
datalist. Can be used as thebefore_idfor the previous page.
-
hasMore
final Boolean hasMore()
Indicates if there are more results in the requested page direction.
-
lastId
final Optional<String> lastId()
Last ID in the
datalist. Can be used as theafter_idfor the next page.
-
_data
final JsonField<List<MessageBatch>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_firstId
final JsonField<String> _firstId()
Returns the raw JSON value of firstId.
Unlike firstId, this method doesn't throw if the JSON field has an unexpected type.
-
_hasMore
final JsonField<Boolean> _hasMore()
Returns the raw JSON value of hasMore.
Unlike hasMore, this method doesn't throw if the JSON field has an unexpected type.
-
_lastId
final JsonField<String> _lastId()
Returns the raw JSON value of lastId.
Unlike lastId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BatchListPageResponse.Builder toBuilder()
-
validate
final BatchListPageResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BatchListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of BatchListPageResponse.
The following fields are required:
.data() .firstId() .hasMore() .lastId()
-
-
-
-