Class: OpenAI::Models::Beta::Agents::AutomationEnvironment::OpenAIHosted::Skill::SkillReference
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Agents::AutomationEnvironment::OpenAIHosted::Skill::SkillReference
- Defined in:
- lib/openai/models/beta/agents/automation_environment.rb,
sig/openai/models/beta/agents/automation_environment.rbs
Instance Attribute Summary collapse
-
#skill_id ⇒ String
The referenced skill ID.
-
#type ⇒ :skill_reference
The type of the object.
-
#version ⇒ String?
The requested version selector, including
latest.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ SkillReference
constructor
A new instance of SkillReference.
- #to_hash ⇒ { skill_id: String, ?type: :skill_reference, version: String? }
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 ⇒ SkillReference
Returns a new instance of SkillReference.
330 331 332 333 334 |
# File 'sig/openai/models/beta/agents/automation_environment.rbs', line 330
def initialize: (
skill_id: String,
version: String?,
?type: :skill_reference
) -> void
|
Instance Attribute Details
#skill_id ⇒ String
The referenced skill ID.
375 |
# File 'lib/openai/models/beta/agents/automation_environment.rb', line 375 required :skill_id, String |
#type ⇒ :skill_reference
The type of the object. Always skill_reference.
381 |
# File 'lib/openai/models/beta/agents/automation_environment.rb', line 381 required :type, const: :skill_reference |
#version ⇒ String?
The requested version selector, including latest.
387 |
# File 'lib/openai/models/beta/agents/automation_environment.rb', line 387 required :version, String, nil?: true |
Instance Method Details
#to_hash ⇒ { skill_id: String, ?type: :skill_reference, version: String? }
336 337 338 339 340 |
# File 'sig/openai/models/beta/agents/automation_environment.rbs', line 336
def to_hash: -> {
skill_id: String,
?type: :skill_reference,
version: String?
}
|