Class: Anthropic::Models::SkillSource
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::SkillSource
- Defined in:
- lib/anthropic/models/skill_source.rb,
sig/anthropic/models/skill_source.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#type ⇒ Symbol, Anthropic::Models::SkillSource::Type
Where the Skill comes from.
Instance Method Summary collapse
-
#initialize(type:) ⇒ SkillSource
constructor
Some parameter documentations has been truncated, see SkillSource for more details.
- #to_hash ⇒ { type: Anthropic::Models::SkillSource::type_ }
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(type:) ⇒ SkillSource
Some parameter documentations has been truncated, see Anthropic::Models::SkillSource for more details.
|
|
# File 'lib/anthropic/models/skill_source.rb', line 19
|
Instance Attribute Details
#type ⇒ Symbol, Anthropic::Models::SkillSource::Type
Where the Skill comes from.
Possible values:
"custom": authored by the platform user; private to their workspace"anthropic": published by Anthropic; shared and read-only"anthropic_example": Anthropic-published sample Skill"plugin": resolved from an installed plugin
17 |
# File 'lib/anthropic/models/skill_source.rb', line 17 required :type, enum: -> { Anthropic::SkillSource::Type } |
Instance Method Details
#to_hash ⇒ { type: Anthropic::Models::SkillSource::type_ }
10 |
# File 'sig/anthropic/models/skill_source.rbs', line 10
def to_hash: -> { type: Anthropic::Models::SkillSource::type_ }
|