Package com.openai.models
Class Message.Attachment.Tool
-
- All Implemented Interfaces:
public final class Message.Attachment.Tool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceMessage.Attachment.Tool.Visitorpublic final classMessage.Attachment.Tool.Deserializerpublic final classMessage.Attachment.Tool.Serializer
-
Method Summary
Modifier and Type Method Description final Optional<CodeInterpreterTool>codeInterpreterTool()final Optional<JsonValue>assistantToolsFileSearchTypeOnly()final BooleanisCodeInterpreterTool()final BooleanisAssistantToolsFileSearchTypeOnly()final CodeInterpreterToolasCodeInterpreterTool()final JsonValueasAssistantToolsFileSearchTypeOnly()final Optional<JsonValue>_json()final <T extends Any> Taccept(Message.Attachment.Tool.Visitor<T> visitor)final Message.Attachment.Toolvalidate()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Message.Attachment.ToolofCodeInterpreterTool(CodeInterpreterTool codeInterpreterTool)final static Message.Attachment.ToolofAssistantToolsFileSearchTypeOnly()-
-
Method Detail
-
codeInterpreterTool
final Optional<CodeInterpreterTool> codeInterpreterTool()
-
assistantToolsFileSearchTypeOnly
final Optional<JsonValue> assistantToolsFileSearchTypeOnly()
-
isCodeInterpreterTool
final Boolean isCodeInterpreterTool()
-
isAssistantToolsFileSearchTypeOnly
final Boolean isAssistantToolsFileSearchTypeOnly()
-
asCodeInterpreterTool
final CodeInterpreterTool asCodeInterpreterTool()
-
asAssistantToolsFileSearchTypeOnly
final JsonValue asAssistantToolsFileSearchTypeOnly()
-
accept
final <T extends Any> T accept(Message.Attachment.Tool.Visitor<T> visitor)
-
validate
final Message.Attachment.Tool validate()
-
ofCodeInterpreterTool
final static Message.Attachment.Tool ofCodeInterpreterTool(CodeInterpreterTool codeInterpreterTool)
-
ofAssistantToolsFileSearchTypeOnly
final static Message.Attachment.Tool ofAssistantToolsFileSearchTypeOnly()
-
-
-
-