Class FileListPageResponse
-
- All Implemented Interfaces:
public final class FileListPageResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileListPageResponse.BuilderA builder for FileListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<BetaFileMetadata>data()List of file metadata objects. final Optional<String>nextPage()Opaque cursor for the next page. final JsonField<List<BetaFileMetadata>>_data()Returns the raw JSON value of data. final JsonField<String>_nextPage()Returns the raw JSON value of nextPage. final Map<String, JsonValue>_additionalProperties()final FileListPageResponse.BuildertoBuilder()final FileListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of FileListPageResponse. final static FileListPageResponseof(List<BetaFileMetadata> data)Returns an immutable instance of FileListPageResponse with the required data set to the given value. -
-
Method Detail
-
data
final List<BetaFileMetadata> data()
List of file metadata objects.
-
nextPage
final Optional<String> nextPage()
Opaque cursor for the next page. Supply as
?page=to fetch the next page; null when there are no more results.
-
_data
final JsonField<List<BetaFileMetadata>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_nextPage
final JsonField<String> _nextPage()
Returns the raw JSON value of nextPage.
Unlike nextPage, 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()
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 FileListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of FileListPageResponse.
The following fields are required:
.data()
-
of
final static FileListPageResponse of(List<BetaFileMetadata> data)
Returns an immutable instance of FileListPageResponse with the required data set to the given value.
-
-
-
-