Class BetaModelCapabilities
-
- All Implemented Interfaces:
public final class BetaModelCapabilitiesModel capability information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaModelCapabilities.BuilderA builder for BetaModelCapabilities.
-
Method Summary
Modifier and Type Method Description final BetaCapabilitySupportbatch()Whether the model supports the Batch API. final BetaCapabilitySupportcitations()Whether the model supports citation generation. final BetaCapabilitySupportcodeExecution()Whether the model supports code execution tools. final BetaContextManagementCapabilitycontextManagement()Context management support and available strategies. final BetaEffortCapabilityeffort()Effort (reasoning_effort) support and available levels. final BetaCapabilitySupportimageInput()Whether the model accepts image content blocks. final BetaCapabilitySupportpdfInput()Whether the model accepts PDF content blocks. final BetaCapabilitySupportstructuredOutputs()Whether the model supports structured output / JSON mode / strict tool schemas. final BetaThinkingCapabilitythinking()Thinking capability and supported type configurations. final JsonField<BetaCapabilitySupport>_batch()Returns the raw JSON value of batch. final JsonField<BetaCapabilitySupport>_citations()Returns the raw JSON value of citations. final JsonField<BetaCapabilitySupport>_codeExecution()Returns the raw JSON value of codeExecution. final JsonField<BetaContextManagementCapability>_contextManagement()Returns the raw JSON value of contextManagement. final JsonField<BetaEffortCapability>_effort()Returns the raw JSON value of effort. final JsonField<BetaCapabilitySupport>_imageInput()Returns the raw JSON value of imageInput. final JsonField<BetaCapabilitySupport>_pdfInput()Returns the raw JSON value of pdfInput. final JsonField<BetaCapabilitySupport>_structuredOutputs()Returns the raw JSON value of structuredOutputs. final JsonField<BetaThinkingCapability>_thinking()Returns the raw JSON value of thinking. final Map<String, JsonValue>_additionalProperties()final BetaModelCapabilities.BuildertoBuilder()final BetaModelCapabilitiesvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaModelCapabilities.Builderbuilder()Returns a mutable builder for constructing an instance of BetaModelCapabilities. -
-
Method Detail
-
batch
final BetaCapabilitySupport batch()
Whether the model supports the Batch API.
-
citations
final BetaCapabilitySupport citations()
Whether the model supports citation generation.
-
codeExecution
final BetaCapabilitySupport codeExecution()
Whether the model supports code execution tools.
-
contextManagement
final BetaContextManagementCapability contextManagement()
Context management support and available strategies.
-
effort
final BetaEffortCapability effort()
Effort (reasoning_effort) support and available levels.
-
imageInput
final BetaCapabilitySupport imageInput()
Whether the model accepts image content blocks.
-
pdfInput
final BetaCapabilitySupport pdfInput()
Whether the model accepts PDF content blocks.
-
structuredOutputs
final BetaCapabilitySupport structuredOutputs()
Whether the model supports structured output / JSON mode / strict tool schemas.
-
thinking
final BetaThinkingCapability thinking()
Thinking capability and supported type configurations.
-
_batch
final JsonField<BetaCapabilitySupport> _batch()
Returns the raw JSON value of batch.
Unlike batch, this method doesn't throw if the JSON field has an unexpected type.
-
_citations
final JsonField<BetaCapabilitySupport> _citations()
Returns the raw JSON value of citations.
Unlike citations, this method doesn't throw if the JSON field has an unexpected type.
-
_codeExecution
final JsonField<BetaCapabilitySupport> _codeExecution()
Returns the raw JSON value of codeExecution.
Unlike codeExecution, this method doesn't throw if the JSON field has an unexpected type.
-
_contextManagement
final JsonField<BetaContextManagementCapability> _contextManagement()
Returns the raw JSON value of contextManagement.
Unlike contextManagement, this method doesn't throw if the JSON field has an unexpected type.
-
_effort
final JsonField<BetaEffortCapability> _effort()
Returns the raw JSON value of effort.
Unlike effort, this method doesn't throw if the JSON field has an unexpected type.
-
_imageInput
final JsonField<BetaCapabilitySupport> _imageInput()
Returns the raw JSON value of imageInput.
Unlike imageInput, this method doesn't throw if the JSON field has an unexpected type.
-
_pdfInput
final JsonField<BetaCapabilitySupport> _pdfInput()
Returns the raw JSON value of pdfInput.
Unlike pdfInput, this method doesn't throw if the JSON field has an unexpected type.
-
_structuredOutputs
final JsonField<BetaCapabilitySupport> _structuredOutputs()
Returns the raw JSON value of structuredOutputs.
Unlike structuredOutputs, this method doesn't throw if the JSON field has an unexpected type.
-
_thinking
final JsonField<BetaThinkingCapability> _thinking()
Returns the raw JSON value of thinking.
Unlike thinking, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaModelCapabilities.Builder toBuilder()
-
validate
final BetaModelCapabilities 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 BetaModelCapabilities.Builder builder()
Returns a mutable builder for constructing an instance of BetaModelCapabilities.
The following fields are required:
.batch() .citations() .codeExecution() .contextManagement() .effort() .imageInput() .pdfInput() .structuredOutputs() .thinking()
-
-
-
-