Class: Anthropic::Models::Beta::SkillRetrieveResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/skill_retrieve_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: , display_title: , latest_version: , source: , type: , updated_at: ) ⇒ void

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

Parameters:

  • id (String) (defaults to: )

    Unique identifier for the skill.

  • created_at (String) (defaults to: )

    ISO 8601 timestamp of when the skill was created.

  • display_title (String, nil) (defaults to: )

    Display title for the skill.

  • latest_version (String, nil) (defaults to: )

    The latest version identifier for the skill.

  • source (String) (defaults to: )

    Source of the skill.

  • type (String) (defaults to: )

    Object type.

  • updated_at (String) (defaults to: )

    ISO 8601 timestamp of when the skill was last updated.



# File 'lib/anthropic/models/beta/skill_retrieve_response.rb', line 64

Instance Attribute Details

#created_atString

ISO 8601 timestamp of when the skill was created.

Returns:

  • (String)


20
# File 'lib/anthropic/models/beta/skill_retrieve_response.rb', line 20

required :created_at, String

#display_titleString?

Display title for the skill.

This is a human-readable label that is not included in the prompt sent to the model.

Returns:

  • (String, nil)


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

required :display_title, String, nil?: true

#idString

Unique identifier for the skill.

The format and length of IDs may change over time.

Returns:

  • (String)


14
# File 'lib/anthropic/models/beta/skill_retrieve_response.rb', line 14

required :id, String

#latest_versionString?

The latest version identifier for the skill.

This represents the most recent version of the skill that has been created.

Returns:

  • (String, nil)


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

required :latest_version, String, nil?: true

#sourceString

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

Returns:

  • (String)


48
# File 'lib/anthropic/models/beta/skill_retrieve_response.rb', line 48

required :source, String

#typeString

Object type.

For Skills, this is always "skill".

Returns:

  • (String)


56
# File 'lib/anthropic/models/beta/skill_retrieve_response.rb', line 56

required :type, String

#updated_atString

ISO 8601 timestamp of when the skill was last updated.

Returns:

  • (String)


62
# File 'lib/anthropic/models/beta/skill_retrieve_response.rb', line 62

required :updated_at, String