Package com.openai.models
Class BetaThreadMessageCreateParams.Attachment.Tool
-
- All Implemented Interfaces:
public final class BetaThreadMessageCreateParams.Attachment.Tool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBetaThreadMessageCreateParams.Attachment.Tool.Visitorpublic final classBetaThreadMessageCreateParams.Attachment.Tool.Deserializerpublic final classBetaThreadMessageCreateParams.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(BetaThreadMessageCreateParams.Attachment.Tool.Visitor<T> visitor)final BetaThreadMessageCreateParams.Attachment.Toolvalidate()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaThreadMessageCreateParams.Attachment.ToolofCodeInterpreterTool(CodeInterpreterTool codeInterpreterTool)final static BetaThreadMessageCreateParams.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(BetaThreadMessageCreateParams.Attachment.Tool.Visitor<T> visitor)
-
validate
final BetaThreadMessageCreateParams.Attachment.Tool validate()
-
ofCodeInterpreterTool
final static BetaThreadMessageCreateParams.Attachment.Tool ofCodeInterpreterTool(CodeInterpreterTool codeInterpreterTool)
-
ofFileSearch
final static BetaThreadMessageCreateParams.Attachment.Tool ofFileSearch()
-
-
-
-