Class BetaSkillParams
-
- All Implemented Interfaces:
public final class BetaSkillParamsSpecification for a skill to be loaded in a container (request model).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaSkillParams.BuilderA builder for BetaSkillParams.
public final classBetaSkillParams.TypeType of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
-
Method Summary
Modifier and Type Method Description final StringskillId()Skill ID final BetaSkillParams.Typetype()Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) final Optional<String>version()Skill version or 'latest' for most recent version final JsonField<String>_skillId()Returns the raw JSON value of skillId. final JsonField<BetaSkillParams.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 BetaSkillParams.BuildertoBuilder()final BetaSkillParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaSkillParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaSkillParams. -
-
Method Detail
-
type
final BetaSkillParams.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<BetaSkillParams.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 BetaSkillParams.Builder toBuilder()
-
validate
final BetaSkillParams 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 BetaSkillParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaSkillParams.
The following fields are required:
.skillId() .type()
-
-
-
-