Class BetaSkillVersion
-
- All Implemented Interfaces:
public final class BetaSkillVersion
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaSkillVersion.BuilderA builder for BetaSkillVersion.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this Skill Version. final OffsetDateTimecreatedAt()ISO 8601 timestamp of when the skill was created. final Stringdescription()Description of the skill version. final Stringname()The Skill's immutable kebab-case slug, set at creation from the first upload's SKILL. final StringskillId()Unique identifier for the skill. final JsonValue_type()Object type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_skillId()Returns the raw JSON value of skillId. final Map<String, JsonValue>_additionalProperties()final BetaSkillVersion.BuildertoBuilder()final BetaSkillVersionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaSkillVersion.Builderbuilder()Returns a mutable builder for constructing an instance of BetaSkillVersion. -
-
Method Detail
-
id
final String id()
Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references.
-
createdAt
final OffsetDateTime createdAt()
ISO 8601 timestamp of when the skill was created.
-
description
final String description()
Description of the skill version.
This is extracted from the SKILL.md file in the skill upload.
-
name
final String name()
The Skill's immutable kebab-case slug, set at creation from the first upload's SKILL.md frontmatter
name(or its enclosing directory). Every later upload must resolve to the same value. Also the top-level directory of the Skill's mounted files and the base name of a downloaded archive.
-
skillId
final String skillId()
Unique identifier for the skill.
The format and length of IDs may change over time.
-
_type
final JsonValue _type()
Object type.
For Skill Versions, this is always
"skill_version".Expected to always return the following:
JsonValue.from("skill_version")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaSkillVersion.Builder toBuilder()
-
validate
final BetaSkillVersion 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 BetaSkillVersion.Builder builder()
Returns a mutable builder for constructing an instance of BetaSkillVersion.
The following fields are required:
.id() .createdAt() .description() .name() .skillId()
-
-
-
-