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