Package com.openai.models
Class BetaThreadMessageCreateParams.Attachment.Builder
-
- All Implemented Interfaces:
public final class BetaThreadMessageCreateParams.Attachment.Builder
-
-
Constructor Summary
Constructors Constructor Description BetaThreadMessageCreateParams.Attachment.Builder()
-
Method Summary
-
-
Method Detail
-
fileId
final BetaThreadMessageCreateParams.Attachment.Builder fileId(String fileId)
The ID of the file to attach to the message.
-
fileId
final BetaThreadMessageCreateParams.Attachment.Builder fileId(JsonField<String> fileId)
The ID of the file to attach to the message.
-
tools
final BetaThreadMessageCreateParams.Attachment.Builder tools(List<BetaThreadMessageCreateParams.Attachment.Tool> tools)
The tools to add this file to.
-
tools
final BetaThreadMessageCreateParams.Attachment.Builder tools(JsonField<List<BetaThreadMessageCreateParams.Attachment.Tool>> tools)
The tools to add this file to.
-
addTool
final BetaThreadMessageCreateParams.Attachment.Builder addTool(BetaThreadMessageCreateParams.Attachment.Tool tool)
The tools to add this file to.
-
addTool
final BetaThreadMessageCreateParams.Attachment.Builder addTool(CodeInterpreterTool codeInterpreterTool)
The tools to add this file to.
-
addTool
final BetaThreadMessageCreateParams.Attachment.Builder addTool(BetaThreadMessageCreateParams.Attachment.Tool.FileSearch fileSearch)
The tools to add this file to.
-
additionalProperties
final BetaThreadMessageCreateParams.Attachment.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThreadMessageCreateParams.Attachment.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThreadMessageCreateParams.Attachment.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThreadMessageCreateParams.Attachment.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThreadMessageCreateParams.Attachment.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThreadMessageCreateParams.Attachment build()
-
-
-
-