Class SkillRetrieveResponse
-
- All Implemented Interfaces:
public final class SkillRetrieveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSkillRetrieveResponse.BuilderA builder for SkillRetrieveResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the skill. final StringcreatedAt()ISO 8601 timestamp of when the skill was created. final Optional<String>displayTitle()Display title for the skill. final Optional<String>latestVersion()The latest version identifier for the skill. final Stringsource()Source of the skill. final Stringtype()Object type. final StringupdatedAt()ISO 8601 timestamp of when the skill was last updated. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_displayTitle()Returns the raw JSON value of displayTitle. final JsonField<String>_latestVersion()Returns the raw JSON value of latestVersion. final JsonField<String>_source()Returns the raw JSON value of source. final JsonField<String>_type()Returns the raw JSON value of type. final JsonField<String>_updatedAt()Returns the raw JSON value of updatedAt. final Map<String, JsonValue>_additionalProperties()final SkillRetrieveResponse.BuildertoBuilder()final SkillRetrieveResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SkillRetrieveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of SkillRetrieveResponse. -
-
Method Detail
-
id
final String id()
Unique identifier for the skill.
The format and length of IDs may change over time.
-
displayTitle
final Optional<String> displayTitle()
Display title for the skill.
This is a human-readable label that is not included in the prompt sent to the model.
-
latestVersion
final Optional<String> latestVersion()
The latest version identifier for the skill.
This represents the most recent version of the skill that has been created.
-
source
final String source()
Source of the skill.
This may be one of the following values:
"custom": the skill was created by a user"anthropic": the skill was created by Anthropic
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<String> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_displayTitle
final JsonField<String> _displayTitle()
Returns the raw JSON value of displayTitle.
Unlike displayTitle, this method doesn't throw if the JSON field has an unexpected type.
-
_latestVersion
final JsonField<String> _latestVersion()
Returns the raw JSON value of latestVersion.
Unlike latestVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_source
final JsonField<String> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<String> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SkillRetrieveResponse.Builder toBuilder()
-
validate
final SkillRetrieveResponse validate()
-
builder
final static SkillRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of SkillRetrieveResponse.
The following fields are required:
.id() .createdAt() .displayTitle() .latestVersion() .source() .type() .updatedAt()
-
-
-
-