Class EffortCapability
-
- All Implemented Interfaces:
public final class EffortCapabilityEffort (reasoning_effort) capability details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEffortCapability.BuilderA builder for EffortCapability.
-
Method Summary
Modifier and Type Method Description final CapabilitySupporthigh()Whether the model supports high effort level. final CapabilitySupportlow()Whether the model supports low effort level. final CapabilitySupportmax()Whether the model supports max effort level. final CapabilitySupportmedium()Whether the model supports medium effort level. final Booleansupported()Whether this capability is supported by the model. final Optional<CapabilitySupport>xhigh()Indicates whether a capability is supported. final JsonField<CapabilitySupport>_high()Returns the raw JSON value of high. final JsonField<CapabilitySupport>_low()Returns the raw JSON value of low. final JsonField<CapabilitySupport>_max()Returns the raw JSON value of max. final JsonField<CapabilitySupport>_medium()Returns the raw JSON value of medium. final JsonField<Boolean>_supported()Returns the raw JSON value of supported. final JsonField<CapabilitySupport>_xhigh()Returns the raw JSON value of xhigh. final Map<String, JsonValue>_additionalProperties()final EffortCapability.BuildertoBuilder()final EffortCapabilityvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EffortCapability.Builderbuilder()Returns a mutable builder for constructing an instance of EffortCapability. -
-
Method Detail
-
high
final CapabilitySupport high()
Whether the model supports high effort level.
-
low
final CapabilitySupport low()
Whether the model supports low effort level.
-
max
final CapabilitySupport max()
Whether the model supports max effort level.
-
medium
final CapabilitySupport medium()
Whether the model supports medium effort level.
-
xhigh
final Optional<CapabilitySupport> xhigh()
Indicates whether a capability is supported.
-
_high
final JsonField<CapabilitySupport> _high()
Returns the raw JSON value of high.
Unlike high, this method doesn't throw if the JSON field has an unexpected type.
-
_low
final JsonField<CapabilitySupport> _low()
Returns the raw JSON value of low.
Unlike low, this method doesn't throw if the JSON field has an unexpected type.
-
_max
final JsonField<CapabilitySupport> _max()
Returns the raw JSON value of max.
Unlike max, this method doesn't throw if the JSON field has an unexpected type.
-
_medium
final JsonField<CapabilitySupport> _medium()
Returns the raw JSON value of medium.
Unlike medium, this method doesn't throw if the JSON field has an unexpected type.
-
_supported
final JsonField<Boolean> _supported()
Returns the raw JSON value of supported.
Unlike supported, this method doesn't throw if the JSON field has an unexpected type.
-
_xhigh
final JsonField<CapabilitySupport> _xhigh()
Returns the raw JSON value of xhigh.
Unlike xhigh, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EffortCapability.Builder toBuilder()
-
validate
final EffortCapability 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 EffortCapability.Builder builder()
Returns a mutable builder for constructing an instance of EffortCapability.
The following fields are required:
.high() .low() .max() .medium() .supported() .xhigh()
-
-
-
-