Package com.anthropic.models.messages
Class JsonOutputFormat.Schema
-
- All Implemented Interfaces:
public final class JsonOutputFormat.SchemaThe JSON schema of the format
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJsonOutputFormat.Schema.BuilderA builder for Schema.
-
Method Summary
Modifier and Type Method Description final Map<String, JsonValue>_additionalProperties()final JsonOutputFormat.Schema.BuildertoBuilder()final JsonOutputFormat.Schemavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JsonOutputFormat.Schema.Builderbuilder()Returns a mutable builder for constructing an instance of Schema. -
-
Method Detail
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JsonOutputFormat.Schema.Builder toBuilder()
-
validate
final JsonOutputFormat.Schema 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 JsonOutputFormat.Schema.Builder builder()
Returns a mutable builder for constructing an instance of Schema.
-
-
-
-