Class FileListPageResponse
-
- All Implemented Interfaces:
public final class FileListPageResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FileListPageResponse.Builder
A builder for FileListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<FileListResponse>
data()
A list of container files. final String
firstId()
The ID of the first file in the list. final Boolean
hasMore()
Whether there are more files available. final String
lastId()
The ID of the last file in the list. final JsonValue
_object_()
The type of object returned, must be 'list'. final JsonField<List<FileListResponse>>
_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 FileListPageResponse.Builder
toBuilder()
final FileListPageResponse
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FileListPageResponse.Builder
builder()
Returns a mutable builder for constructing an instance of FileListPageResponse. -
-
Method Detail
-
data
final List<FileListResponse> data()
A list of container files.
-
_object_
final JsonValue _object_()
The type of object returned, must be 'list'.
Expected to always return the following:
JsonValue.from("list")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<List<FileListResponse>> _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 FileListPageResponse.Builder toBuilder()
-
validate
final FileListPageResponse validate()
-
builder
final static FileListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of FileListPageResponse.
The following fields are required:
.data() .firstId() .hasMore() .lastId()
-
-
-
-