Class SkillSource
-
- All Implemented Interfaces:
public final class SkillSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSkillSource.BuilderA builder for SkillSource.
public final classSkillSource.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 SkillSource.Typetype()Where the Skill comes from. final JsonField<SkillSource.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final SkillSource.BuildertoBuilder()final SkillSourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SkillSource.Builderbuilder()Returns a mutable builder for constructing an instance of SkillSource. final static SkillSourceof(SkillSource.Type type)Returns an immutable instance of SkillSource with the required type set to the given value. -
-
Method Detail
-
type
final SkillSource.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<SkillSource.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 SkillSource.Builder toBuilder()
-
validate
final SkillSource 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 SkillSource.Builder builder()
Returns a mutable builder for constructing an instance of SkillSource.
The following fields are required:
.type()
-
of
final static SkillSource of(SkillSource.Type type)
Returns an immutable instance of SkillSource with the required type set to the given value.
-
-
-
-