Class ContainerSkill
-
- All Implemented Interfaces:
public final class ContainerSkillA skill that was loaded in a container (response model).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerSkill.BuilderA builder for ContainerSkill.
public final classContainerSkill.TypeType of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
-
Method Summary
Modifier and Type Method Description final StringskillId()Skill ID final ContainerSkill.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<ContainerSkill.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 ContainerSkill.BuildertoBuilder()final ContainerSkillvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerSkill.Builderbuilder()Returns a mutable builder for constructing an instance of ContainerSkill. -
-
Method Detail
-
type
final ContainerSkill.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<ContainerSkill.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 ContainerSkill.Builder toBuilder()
-
validate
final ContainerSkill 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 ContainerSkill.Builder builder()
Returns a mutable builder for constructing an instance of ContainerSkill.
The following fields are required:
.skillId() .type() .version()
-
-
-
-