Class: OpenAI::Models::Beta::HostedSkill::Inline
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::HostedSkill::Inline
- Defined in:
- lib/openai/models/beta/hosted_skill.rb,
sig/openai/models/beta/hosted_skill.rbs
Instance Attribute Summary collapse
-
#description ⇒ String
The installed skill description.
-
#name ⇒ String
The installed skill name.
-
#type ⇒ Symbol, :inline
The type of the object.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(description:, name:, type: :inline) ⇒ Object
constructor
A skill installed from an inline ZIP archive.
- #to_hash ⇒ { description: String, name: String, ?type: :inline }
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_with_error, 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(description:, name:, type: :inline) ⇒ Object
A skill installed from an inline ZIP archive.
|
|
# File 'lib/openai/models/beta/hosted_skill.rb', line 37
|
Instance Attribute Details
#description ⇒ String
The installed skill description.
23 |
# File 'lib/openai/models/beta/hosted_skill.rb', line 23 required :description, String |
#name ⇒ String
The installed skill name.
29 |
# File 'lib/openai/models/beta/hosted_skill.rb', line 29 required :name, String |
#type ⇒ Symbol, :inline
The type of the object. Always inline.
35 |
# File 'lib/openai/models/beta/hosted_skill.rb', line 35 required :type, const: :inline |
Instance Method Details
#to_hash ⇒ { description: String, name: String, ?type: :inline }
25 |
# File 'sig/openai/models/beta/hosted_skill.rbs', line 25
def to_hash: -> { description: String, name: String, ?type: :inline }
|