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
public final class
BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.FileSearch
-
Method Summary
Modifier and Type Method Description final Optional<CodeInterpreterTool>
codeInterpreterTool()
final Optional<BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.FileSearch>
fileSearch()
final Boolean
isCodeInterpreterTool()
final Boolean
isFileSearch()
final CodeInterpreterTool
asCodeInterpreterTool()
final BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.FileSearch
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(BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.FileSearch fileSearch)
-
-
Method Detail
-
codeInterpreterTool
final Optional<CodeInterpreterTool> codeInterpreterTool()
-
fileSearch
final Optional<BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.FileSearch> fileSearch()
-
isCodeInterpreterTool
final Boolean isCodeInterpreterTool()
-
isFileSearch
final Boolean isFileSearch()
-
asCodeInterpreterTool
final CodeInterpreterTool asCodeInterpreterTool()
-
asFileSearch
final BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.FileSearch 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(BetaThreadCreateAndRunParams.Thread.Message.Attachment.Tool.FileSearch fileSearch)
-
-
-
-