Class: OpenAI::Models::Skills::VersionRetrieveParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Skills::VersionRetrieveParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/skills/version_retrieve_params.rb,
sig/openai/models/skills/version_retrieve_params.rbs
Overview
Instance Attribute Summary collapse
- #skill_id ⇒ String
-
#version ⇒ String
The version number to retrieve.
Attributes included from Internal::Type::RequestParameters
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(skill_id:, version:, request_options: {}) ⇒ VersionRetrieveParams
constructor
A new instance of VersionRetrieveParams.
- #to_hash ⇒ { skill_id: String, version: String, ?request_options: OpenAI::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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: {}) ⇒ VersionRetrieveParams
Returns a new instance of VersionRetrieveParams.
|
|
# File 'lib/openai/models/skills/version_retrieve_params.rb', line 22
|
Instance Attribute Details
#skill_id ⇒ String
14 |
# File 'lib/openai/models/skills/version_retrieve_params.rb', line 14 required :skill_id, String |
#version ⇒ String
The version number to retrieve.
20 |
# File 'lib/openai/models/skills/version_retrieve_params.rb', line 20 required :version, String |
Instance Method Details
#to_hash ⇒ { skill_id: String, version: String, ?request_options: OpenAI::RequestOptions }
28 29 30 31 32 |
# File 'sig/openai/models/skills/version_retrieve_params.rbs', line 28 def to_hash: -> { skill_id: String, version: String, ?request_options: OpenAI::RequestOptions } |