Class: Anthropic::Models::Beta::BetaSkill
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaSkill
- Defined in:
- lib/anthropic/models/beta/beta_skill.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#skill_id ⇒ String
Skill ID.
-
#type ⇒ Symbol, Anthropic::Models::Beta::BetaSkill::Type
Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined).
-
#version ⇒ String
Skill version or 'latest' for most recent version.
Instance Method Summary collapse
-
#initialize(skill_id: , type: , version: ) ⇒ void
constructor
A skill that was loaded in a container (response model).
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(skill_id: , type: , version: ) ⇒ void
A skill that was loaded in a container (response model).
|
|
# File 'lib/anthropic/models/beta/beta_skill.rb', line 25
|
Instance Attribute Details
#skill_id ⇒ String
Skill ID
11 |
# File 'lib/anthropic/models/beta/beta_skill.rb', line 11 required :skill_id, String |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaSkill::Type
Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
17 |
# File 'lib/anthropic/models/beta/beta_skill.rb', line 17 required :type, enum: -> { Anthropic::Beta::BetaSkill::Type } |
#version ⇒ String
Skill version or 'latest' for most recent version
23 |
# File 'lib/anthropic/models/beta/beta_skill.rb', line 23 required :version, String |