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.
-
nextPage
final FileListPageResponse.Builder nextPage(String nextPage)
Opaque cursor for the next page. Supply as
?page=to fetch the next page; null when there are no more results.
-
nextPage
final FileListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final FileListPageResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage 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)
-
addData
final FileListPageResponse.Builder addData(FileMetadata data)
Adds a single FileMetadata to Builder.data.
-
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()
-
-
-
-