Class MessageCreateParams.Attachment.Builder
-
- All Implemented Interfaces:
public final class MessageCreateParams.Attachment.Builder
A builder for Attachment.
-
-
Method Summary
-
-
Method Detail
-
fileId
final MessageCreateParams.Attachment.Builder fileId(String fileId)
The ID of the file to attach to the message.
-
fileId
final MessageCreateParams.Attachment.Builder fileId(JsonField<String> fileId)
The ID of the file to attach to the message.
-
tools
final MessageCreateParams.Attachment.Builder tools(List<MessageCreateParams.Attachment.Tool> tools)
The tools to add this file to.
-
tools
final MessageCreateParams.Attachment.Builder tools(JsonField<List<MessageCreateParams.Attachment.Tool>> tools)
The tools to add this file to.
-
addTool
final MessageCreateParams.Attachment.Builder addTool(MessageCreateParams.Attachment.Tool tool)
The tools to add this file to.
-
addTool
final MessageCreateParams.Attachment.Builder addTool(CodeInterpreterTool codeInterpreter)
The tools to add this file to.
-
addToolFileSearch
final MessageCreateParams.Attachment.Builder addToolFileSearch()
The tools to add this file to.
-
additionalProperties
final MessageCreateParams.Attachment.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageCreateParams.Attachment.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageCreateParams.Attachment.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageCreateParams.Attachment.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageCreateParams.Attachment.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageCreateParams.Attachment build()
-
-
-
-