Class: Anthropic::Models::DeletedSkill
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::DeletedSkill
- Defined in:
- lib/anthropic/models/deleted_skill.rb,
sig/anthropic/models/deleted_skill.rbs
Overview
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier for the skill.
-
#type ⇒ Symbol, :skill_deleted
Deleted object type.
Instance Method Summary collapse
-
#initialize(id:, type: :skill_deleted) ⇒ DeletedSkill
constructor
Some parameter documentations has been truncated, see DeletedSkill for more details.
- #to_hash ⇒ { id: String, type: :skill_deleted }
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:, type: :skill_deleted) ⇒ DeletedSkill
Some parameter documentations has been truncated, see Anthropic::Models::DeletedSkill for more details.
|
|
# File 'lib/anthropic/models/deleted_skill.rb', line 23
|
Instance Attribute Details
#id ⇒ String
Unique identifier for the skill.
The format and length of IDs may change over time.
13 |
# File 'lib/anthropic/models/deleted_skill.rb', line 13 required :id, String |
#type ⇒ Symbol, :skill_deleted
Deleted object type.
For Skills, this is always "skill_deleted".
21 |
# File 'lib/anthropic/models/deleted_skill.rb', line 21 required :type, const: :skill_deleted |
Instance Method Details
#to_hash ⇒ { id: String, type: :skill_deleted }
12 |
# File 'sig/anthropic/models/deleted_skill.rbs', line 12
def to_hash: -> { id: String, type: :skill_deleted }
|