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 interface
Message.Attachment.Tool.Visitor
public final class
Message.Attachment.Tool.Deserializer
public final class
Message.Attachment.Tool.Serializer
-
Method Summary
Modifier and Type Method Description final Optional<CodeInterpreterTool>
codeInterpreterTool()
final Optional<JsonValue>
assistantToolsFileSearchTypeOnly()
final Boolean
isCodeInterpreterTool()
final Boolean
isAssistantToolsFileSearchTypeOnly()
final CodeInterpreterTool
asCodeInterpreterTool()
final JsonValue
asAssistantToolsFileSearchTypeOnly()
final Optional<JsonValue>
_json()
final <T extends Any> T
accept(Message.Attachment.Tool.Visitor<T> visitor)
final Message.Attachment.Tool
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Message.Attachment.Tool
ofCodeInterpreterTool(CodeInterpreterTool codeInterpreterTool)
final static Message.Attachment.Tool
ofAssistantToolsFileSearchTypeOnly()
-
-
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()
-
-
-
-