Class: Anthropic::Models::Skills::VersionRetrieveParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Skills::VersionRetrieveParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/skills/version_retrieve_params.rb,
sig/anthropic/models/skills/version_retrieve_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#skill_id ⇒ String
Unique identifier for the skill.
-
#version ⇒ String
Identifies the skill version: a version ID, or — where the endpoint accepts it — the literal
latestfor the skill's most recent version.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(skill_id:, version:, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see VersionRetrieveParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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:, version:, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Skills::VersionRetrieveParams for more details.
|
|
# File 'lib/anthropic/models/skills/version_retrieve_params.rb', line 29
|
Instance Attribute Details
#skill_id ⇒ String
Unique identifier for the skill.
The format and length of IDs may change over time.
17 |
# File 'lib/anthropic/models/skills/version_retrieve_params.rb', line 17 required :skill_id, String |
#version ⇒ String
Identifies the skill version: a version ID, or — where the endpoint accepts it —
the literal latest for the skill's most recent version.
Requests carrying the skills-2025-10-02 beta header address versions by their
Unix epoch timestamp instead (e.g., "1759178010641129").
27 |
# File 'lib/anthropic/models/skills/version_retrieve_params.rb', line 27 required :version, String |
Instance Method Details
#to_hash ⇒ {
22 |
# File 'sig/anthropic/models/skills/version_retrieve_params.rbs', line 22
def to_hash: -> {
|