Class BetaContainerSkill
-
- All Implemented Interfaces:
public final class BetaContainerSkillA skill that was loaded in a container (response model).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaContainerSkill.BuilderA builder for BetaContainerSkill.
public final classBetaContainerSkill.TypeType of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
-
Method Summary
Modifier and Type Method Description final StringskillId()Skill ID final BetaContainerSkill.Typetype()Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) final Stringversion()The resolved version: a skill version ID for custom skills. final JsonField<String>_skillId()Returns the raw JSON value of skillId. final JsonField<BetaContainerSkill.Type>_type()Returns the raw JSON value of type. final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final BetaContainerSkill.BuildertoBuilder()final BetaContainerSkillvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaContainerSkill.Builderbuilder()Returns a mutable builder for constructing an instance of BetaContainerSkill. -
-
Method Detail
-
type
final BetaContainerSkill.Type type()
Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
-
_skillId
final JsonField<String> _skillId()
Returns the raw JSON value of skillId.
Unlike skillId, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaContainerSkill.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaContainerSkill.Builder toBuilder()
-
validate
final BetaContainerSkill 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 BetaContainerSkill.Builder builder()
Returns a mutable builder for constructing an instance of BetaContainerSkill.
The following fields are required:
.skillId() .type() .version()
-
-
-
-