Package com.openai.models.responses
Class ResponseInputFile.Builder
-
- All Implemented Interfaces:
public final class ResponseInputFile.Builder
A builder for ResponseInputFile.
-
-
Method Summary
-
-
Method Detail
-
type
final ResponseInputFile.Builder type(JsonValue type)
The type of the input item. Always
input_file
.
-
fileData
final ResponseInputFile.Builder fileData(String fileData)
The content of the file to be sent to the model.
-
fileData
final ResponseInputFile.Builder fileData(JsonField<String> fileData)
The content of the file to be sent to the model.
-
fileId
final ResponseInputFile.Builder fileId(String fileId)
The ID of the file to be sent to the model.
-
fileId
final ResponseInputFile.Builder fileId(JsonField<String> fileId)
The ID of the file to be sent to the model.
-
filename
final ResponseInputFile.Builder filename(String filename)
The name of the file to be sent to the model.
-
filename
final ResponseInputFile.Builder filename(JsonField<String> filename)
The name of the file to be sent to the model.
-
additionalProperties
final ResponseInputFile.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputFile.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputFile.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputFile.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputFile.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputFile build()
-
-
-
-