Class: Anthropic::Models::Skills::DeletedSkillVersion
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Skills::DeletedSkillVersion
- Defined in:
- lib/anthropic/models/skills/deleted_skill_version.rb,
sig/anthropic/models/skills/deleted_skill_version.rbs
Overview
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier for this Skill Version.
-
#type ⇒ Symbol, :skill_version_deleted
Deleted object type.
Instance Method Summary collapse
-
#initialize(id:, type: :skill_version_deleted) ⇒ DeletedSkillVersion
constructor
Some parameter documentations has been truncated, see DeletedSkillVersion for more details.
- #to_hash ⇒ { id: String, type: :skill_version_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_version_deleted) ⇒ DeletedSkillVersion
Some parameter documentations has been truncated, see Anthropic::Models::Skills::DeletedSkillVersion for more details.
|
|
# File 'lib/anthropic/models/skills/deleted_skill_version.rb', line 23
|
Instance Attribute Details
#id ⇒ String
Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references.
13 |
# File 'lib/anthropic/models/skills/deleted_skill_version.rb', line 13 required :id, String |
#type ⇒ Symbol, :skill_version_deleted
Deleted object type.
For Skill Versions, this is always "skill_version_deleted".
21 |
# File 'lib/anthropic/models/skills/deleted_skill_version.rb', line 21 required :type, const: :skill_version_deleted |
Instance Method Details
#to_hash ⇒ { id: String, type: :skill_version_deleted }
13 |
# File 'sig/anthropic/models/skills/deleted_skill_version.rbs', line 13
def to_hash: -> { id: String, type: :skill_version_deleted }
|