Package com.anthropic.models.beta.files
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<FileMetadata>data()List of file metadata objects. final Optional<String>firstId()ID of the first file in this page of results. final Optional<Boolean>hasMore()Whether there are more results available. final Optional<String>lastId()ID of the last file in this page of results. final JsonField<List<FileMetadata>>_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.BuildertoBuilder()final FileListPageResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of FileListPageResponse. -
-
Method Detail
-
data
final List<FileMetadata> data()
List of file metadata objects.
-
_data
final JsonField<List<FileMetadata>> _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()
-
-
-
-