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