Package com.openai.models.responses
Class ResponseCodeInterpreterToolCall.Result.Files.Builder
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterToolCall.Result.Files.Builder
A builder for Files.
-
-
Method Summary
-
-
Method Detail
-
files
final ResponseCodeInterpreterToolCall.Result.Files.Builder files(List<ResponseCodeInterpreterToolCall.Result.Files.File> files)
-
files
final ResponseCodeInterpreterToolCall.Result.Files.Builder files(JsonField<List<ResponseCodeInterpreterToolCall.Result.Files.File>> files)
Sets Builder.files to an arbitrary JSON value.
You should usually call Builder.files with a well-typed
List<File>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addFile
final ResponseCodeInterpreterToolCall.Result.Files.Builder addFile(ResponseCodeInterpreterToolCall.Result.Files.File file)
-
type
final ResponseCodeInterpreterToolCall.Result.Files.Builder type(JsonValue type)
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("files")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseCodeInterpreterToolCall.Result.Files.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseCodeInterpreterToolCall.Result.Files.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseCodeInterpreterToolCall.Result.Files.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseCodeInterpreterToolCall.Result.Files.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseCodeInterpreterToolCall.Result.Files.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseCodeInterpreterToolCall.Result.Files build()
Returns an immutable instance of Files.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.files()
-
-
-
-