Class BetaSkillSource
-
- All Implemented Interfaces:
public final class BetaSkillSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaSkillSource.BuilderA builder for BetaSkillSource.
public final classBetaSkillSource.TypeWhere the Skill comes from.
Possible values:
"custom": authored by the platform user; private to their workspace"anthropic": published by Anthropic; shared and read-only"anthropic_example": Anthropic-published sample Skill"plugin": resolved from an installed plugin
-
Method Summary
Modifier and Type Method Description final BetaSkillSource.Typetype()Where the Skill comes from. final JsonField<BetaSkillSource.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaSkillSource.BuildertoBuilder()final BetaSkillSourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaSkillSource.Builderbuilder()Returns a mutable builder for constructing an instance of BetaSkillSource. final static BetaSkillSourceof(BetaSkillSource.Type type)Returns an immutable instance of BetaSkillSource with the required type set to the given value. -
-
Method Detail
-
type
final BetaSkillSource.Type type()
Where the Skill comes from.
Possible values:
"custom": authored by the platform user; private to their workspace"anthropic": published by Anthropic; shared and read-only"anthropic_example": Anthropic-published sample Skill"plugin": resolved from an installed plugin
-
_type
final JsonField<BetaSkillSource.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaSkillSource.Builder toBuilder()
-
validate
final BetaSkillSource 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 BetaSkillSource.Builder builder()
Returns a mutable builder for constructing an instance of BetaSkillSource.
The following fields are required:
.type()
-
of
final static BetaSkillSource of(BetaSkillSource.Type type)
Returns an immutable instance of BetaSkillSource with the required type set to the given value.
-
-
-
-