Class: Anthropic::Models::Beta::Skills::VersionListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/skills/version_list_response.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id: , created_at: , description: , directory: , name: , skill_id: , type: , version: ) ⇒ void

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Skills::VersionListResponse for more details.

Parameters:

  • id (String) (defaults to: )

    Unique identifier for the skill version.

  • created_at (String) (defaults to: )

    ISO 8601 timestamp of when the skill version was created.

  • description (String) (defaults to: )

    Description of the skill version.

  • directory (String) (defaults to: )

    Directory name of the skill version.

  • name (String) (defaults to: )

    Human-readable name of the skill version.

  • skill_id (String) (defaults to: )

    Identifier for the skill that this version belongs to.

  • type (String) (defaults to: )

    Object type.

  • version (String) (defaults to: )

    Version identifier for the skill.



# File 'lib/anthropic/models/beta/skills/version_list_response.rb', line 69


Instance Attribute Details

#created_atString

ISO 8601 timestamp of when the skill version was created.

Returns:

  • (String)


21
# File 'lib/anthropic/models/beta/skills/version_list_response.rb', line 21

required :created_at, String

#descriptionString

Description of the skill version.

This is extracted from the SKILL.md file in the skill upload.

Returns:

  • (String)


29
# File 'lib/anthropic/models/beta/skills/version_list_response.rb', line 29

required :description, String

#directoryString

Directory name of the skill version.

This is the top-level directory name that was extracted from the uploaded files.

Returns:

  • (String)


37
# File 'lib/anthropic/models/beta/skills/version_list_response.rb', line 37

required :directory, String

#idString

Unique identifier for the skill version.

The format and length of IDs may change over time.

Returns:

  • (String)


15
# File 'lib/anthropic/models/beta/skills/version_list_response.rb', line 15

required :id, String

#nameString

Human-readable name of the skill version.

This is extracted from the SKILL.md file in the skill upload.

Returns:

  • (String)


45
# File 'lib/anthropic/models/beta/skills/version_list_response.rb', line 45

required :name, String

#skill_idString

Identifier for the skill that this version belongs to.

Returns:

  • (String)


51
# File 'lib/anthropic/models/beta/skills/version_list_response.rb', line 51

required :skill_id, String

#typeString

Object type.

For Skill Versions, this is always "skill_version".

Returns:

  • (String)


59
# File 'lib/anthropic/models/beta/skills/version_list_response.rb', line 59

required :type, String

#versionString

Version identifier for the skill.

Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129").

Returns:

  • (String)


67
# File 'lib/anthropic/models/beta/skills/version_list_response.rb', line 67

required :version, String