Class FileBatchListFilesPageResponse.Builder
-
- All Implemented Interfaces:
public final class FileBatchListFilesPageResponse.Builder
A builder for FileBatchListFilesPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final FileBatchListFilesPageResponse.Builder data(List<VectorStoreFile> data)
-
data
final FileBatchListFilesPageResponse.Builder data(JsonField<List<VectorStoreFile>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<VectorStoreFile>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final FileBatchListFilesPageResponse.Builder addData(VectorStoreFile data)
Adds a single VectorStoreFile to Builder.data.
-
firstId
final FileBatchListFilesPageResponse.Builder firstId(String firstId)
-
firstId
final FileBatchListFilesPageResponse.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 FileBatchListFilesPageResponse.Builder hasMore(Boolean hasMore)
-
hasMore
final FileBatchListFilesPageResponse.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 FileBatchListFilesPageResponse.Builder lastId(String lastId)
-
lastId
final FileBatchListFilesPageResponse.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.
-
object_
final FileBatchListFilesPageResponse.Builder object_(String object_)
-
object_
final FileBatchListFilesPageResponse.Builder object_(JsonField<String> object_)
Sets Builder.object_ to an arbitrary JSON value.
You should usually call Builder.object_ 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 FileBatchListFilesPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileBatchListFilesPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileBatchListFilesPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileBatchListFilesPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileBatchListFilesPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileBatchListFilesPageResponse build()
Returns an immutable instance of FileBatchListFilesPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .firstId() .hasMore() .lastId() .object_()
-
-
-
-