Class Message.Attachment
-
- All Implemented Interfaces:
public final class Message.Attachment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessage.Attachment.BuilderA builder for Attachment.
public final classMessage.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<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<Message.Attachment.Tool>>_tools()The tools to add this file to. final Map<String, JsonValue>_additionalProperties()final Message.Attachmentvalidate()final Message.Attachment.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Message.Attachment.Builderbuilder()Returns a mutable builder for constructing an instance of Attachment. -
-
Method Detail
-
tools
final Optional<List<Message.Attachment.Tool>> tools()
The tools to add this file to.
-
_tools
final JsonField<List<Message.Attachment.Tool>> _tools()
The tools to add this file to.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final Message.Attachment validate()
-
toBuilder
final Message.Attachment.Builder toBuilder()
-
builder
final static Message.Attachment.Builder builder()
Returns a mutable builder for constructing an instance of Attachment.
-
-
-
-