Class FileListResponse.Builder
-
- All Implemented Interfaces:
public final class FileListResponse.Builder
A builder for FileListResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final FileListResponse.Builder id(String id)
Unique identifier for the file.
-
id
final FileListResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
bytes
final FileListResponse.Builder bytes(Long bytes)
Size of the file in bytes.
-
bytes
final FileListResponse.Builder bytes(JsonField<Long> bytes)
Sets Builder.bytes to an arbitrary JSON value.
You should usually call Builder.bytes with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
containerId
final FileListResponse.Builder containerId(String containerId)
The container this file belongs to.
-
containerId
final FileListResponse.Builder containerId(JsonField<String> containerId)
Sets Builder.containerId to an arbitrary JSON value.
You should usually call Builder.containerId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final FileListResponse.Builder createdAt(Long createdAt)
Unix timestamp (in seconds) when the file was created.
-
createdAt
final FileListResponse.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final FileListResponse.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("container.file")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
path
final FileListResponse.Builder path(String path)
Path of the file in the container.
-
path
final FileListResponse.Builder path(JsonField<String> path)
Sets Builder.path to an arbitrary JSON value.
You should usually call Builder.path with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final FileListResponse.Builder source(String source)
Source of the file (e.g.,
user
,assistant
).
-
source
final FileListResponse.Builder source(JsonField<String> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source 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 FileListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileListResponse build()
Returns an immutable instance of FileListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .bytes() .containerId() .createdAt() .path() .source()
-
-
-
-