Class BetaComputerToolset20260801
-
- All Implemented Interfaces:
public final class BetaComputerToolset20260801The computer toolset: a single
`tools[]`entry (carrying no`name`) that declares the computer tool family. The model is served the family's tool with any members disabled via`configs`removed from its schema. Every member is enabled by default, zoom included. The single-tool options`display_number`and`enable_zoom`are not fields of a toolset entry — it carries only`type`,`configs`, and`cache_control`; zoom is controlled via`configs.zoom.enabled`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaComputerToolset20260801.BuilderA builder for BetaComputerToolset20260801.
-
Method Summary
Modifier and Type Method Description final Optional<BetaCacheControlEphemeral>cacheControl()Create a cache control breakpoint at this content block. final Optional<BetaComputerToolsetConfigs>configs()Sparse per-member overrides, keyed by member name. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("computer_toolset_20260801")final JsonField<BetaCacheControlEphemeral>_cacheControl()Returns the raw JSON value of cacheControl. final JsonField<BetaComputerToolsetConfigs>_configs()Returns the raw JSON value of configs. final Map<String, JsonValue>_additionalProperties()final BetaComputerToolset20260801.BuildertoBuilder()final BetaComputerToolset20260801validate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaComputerToolset20260801.Builderbuilder()Returns a mutable builder for constructing an instance of BetaComputerToolset20260801. -
-
Method Detail
-
cacheControl
final Optional<BetaCacheControlEphemeral> cacheControl()
Create a cache control breakpoint at this content block.
-
configs
final Optional<BetaComputerToolsetConfigs> configs()
Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("computer_toolset_20260801")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_cacheControl
final JsonField<BetaCacheControlEphemeral> _cacheControl()
Returns the raw JSON value of cacheControl.
Unlike cacheControl, this method doesn't throw if the JSON field has an unexpected type.
-
_configs
final JsonField<BetaComputerToolsetConfigs> _configs()
Returns the raw JSON value of configs.
Unlike configs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaComputerToolset20260801.Builder toBuilder()
-
validate
final BetaComputerToolset20260801 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 BetaComputerToolset20260801.Builder builder()
Returns a mutable builder for constructing an instance of BetaComputerToolset20260801.
-
-
-
-