Package com.openai.models
Class BetaThreadCreateParams.Message.Attachment
-
- All Implemented Interfaces:
public final class BetaThreadCreateParams.Message.Attachment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
BetaThreadCreateParams.Message.Attachment.Builder
A builder for Attachment.
public final class
BetaThreadCreateParams.Message.Attachment.Tool
-
Method Summary
Modifier and Type Method Description final Optional<String>
fileId()
The ID of the file to attach to the message. final Optional<List<BetaThreadCreateParams.Message.Attachment.Tool>>
tools()
The tools to add this file to. final JsonField<String>
_fileId()
The ID of the file to attach to the message. final JsonField<List<BetaThreadCreateParams.Message.Attachment.Tool>>
_tools()
The tools to add this file to. final Map<String, JsonValue>
_additionalProperties()
final BetaThreadCreateParams.Message.Attachment
validate()
final BetaThreadCreateParams.Message.Attachment.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static BetaThreadCreateParams.Message.Attachment.Builder
builder()
-
-
Method Detail
-
tools
final Optional<List<BetaThreadCreateParams.Message.Attachment.Tool>> tools()
The tools to add this file to.
-
_tools
final JsonField<List<BetaThreadCreateParams.Message.Attachment.Tool>> _tools()
The tools to add this file to.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final BetaThreadCreateParams.Message.Attachment validate()
-
toBuilder
final BetaThreadCreateParams.Message.Attachment.Builder toBuilder()
-
builder
final static BetaThreadCreateParams.Message.Attachment.Builder builder()
-
-
-
-