Package com.openai.models
Class BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool
-
- All Implemented Interfaces:
public final class BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.Visitorpublic final classBetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.Deserializerpublic final classBetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.Serializer
-
Method Summary
Modifier and Type Method Description final Optional<CodeInterpreterTool>codeInterpreterTool()final Optional<JsonValue>fileSearch()final BooleanisCodeInterpreterTool()final BooleanisFileSearch()final CodeInterpreterToolasCodeInterpreterTool()final JsonValueasFileSearch()final Optional<JsonValue>_json()final <T extends Any> Taccept(BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.Visitor<T> visitor)final BetaThreadCreateAndRunParams.Thread.Message.Attachment.Toolvalidate()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaThreadCreateAndRunParams.Thread.Message.Attachment.ToolofCodeInterpreterTool(CodeInterpreterTool codeInterpreterTool)final static BetaThreadCreateAndRunParams.Thread.Message.Attachment.ToolofFileSearch()-
-
Method Detail
-
codeInterpreterTool
final Optional<CodeInterpreterTool> codeInterpreterTool()
-
fileSearch
final Optional<JsonValue> fileSearch()
-
isCodeInterpreterTool
final Boolean isCodeInterpreterTool()
-
isFileSearch
final Boolean isFileSearch()
-
asCodeInterpreterTool
final CodeInterpreterTool asCodeInterpreterTool()
-
asFileSearch
final JsonValue asFileSearch()
-
accept
final <T extends Any> T accept(BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.Visitor<T> visitor)
-
validate
final BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool validate()
-
ofCodeInterpreterTool
final static BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool ofCodeInterpreterTool(CodeInterpreterTool codeInterpreterTool)
-
ofFileSearch
final static BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool ofFileSearch()
-
-
-
-