Class FileListPageResponse.Builder
-
- All Implemented Interfaces:
public final class FileListPageResponse.BuilderA builder for FileListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final FileListPageResponse.Builder data(List<FileMetadata> data)
List of file metadata objects.
-
data
final FileListPageResponse.Builder data(JsonField<List<FileMetadata>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<FileMetadata>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final FileListPageResponse.Builder addData(FileMetadata data)
Adds a single FileMetadata to Builder.data.
-
firstId
final FileListPageResponse.Builder firstId(String firstId)
ID of the first file in this page of results.
-
firstId
final FileListPageResponse.Builder firstId(Optional<String> firstId)
Alias for calling Builder.firstId with
firstId.orElse(null).
-
firstId
final FileListPageResponse.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.
-
hasMore
final FileListPageResponse.Builder hasMore(Boolean hasMore)
Whether there are more results available.
-
hasMore
final FileListPageResponse.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.
-
lastId
final FileListPageResponse.Builder lastId(String lastId)
ID of the last file in this page of results.
-
lastId
final FileListPageResponse.Builder lastId(Optional<String> lastId)
Alias for calling Builder.lastId with
lastId.orElse(null).
-
lastId
final FileListPageResponse.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 FileListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileListPageResponse build()
Returns an immutable instance of FileListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data()
-
-
-
-