Package com.openai.models.responses
Class ToolChoiceAllowed.Tool
-
- All Implemented Interfaces:
public final class ToolChoiceAllowed.ToolA tool definition that the model should be allowed to call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolChoiceAllowed.Tool.BuilderA builder for Tool.
-
Method Summary
Modifier and Type Method Description final Map<String, JsonValue>_additionalProperties()final ToolChoiceAllowed.Tool.BuildertoBuilder()final ToolChoiceAllowed.Toolvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolChoiceAllowed.Tool.Builderbuilder()Returns a mutable builder for constructing an instance of Tool. -
-
Method Detail
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ToolChoiceAllowed.Tool.Builder toBuilder()
-
validate
final ToolChoiceAllowed.Tool validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ToolChoiceAllowed.Tool.Builder builder()
Returns a mutable builder for constructing an instance of Tool.
-
-
-
-