Class: OpenAI::Models::Skill
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Skill
- Defined in:
- lib/openai/models/skill.rb
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Integer
Unix timestamp (seconds) for when the skill was created.
-
#default_version ⇒ String
Default version for the skill.
-
#description ⇒ String
Description of the skill.
-
#id ⇒ String
Unique identifier for the skill.
-
#latest_version ⇒ String
Latest version for the skill.
-
#name ⇒ String
Name of the skill.
-
#object ⇒ Symbol, :skill
The object type, which is
skill.
Instance Method Summary collapse
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:, created_at:, default_version:, description:, latest_version:, name:, object: :skill) ⇒ Object
|
|
# File 'lib/openai/models/skill.rb', line 49
|
Instance Attribute Details
#created_at ⇒ Integer
Unix timestamp (seconds) for when the skill was created.
17 |
# File 'lib/openai/models/skill.rb', line 17 required :created_at, Integer |
#default_version ⇒ String
Default version for the skill.
23 |
# File 'lib/openai/models/skill.rb', line 23 required :default_version, String |
#description ⇒ String
Description of the skill.
29 |
# File 'lib/openai/models/skill.rb', line 29 required :description, String |
#id ⇒ String
Unique identifier for the skill.
11 |
# File 'lib/openai/models/skill.rb', line 11 required :id, String |
#latest_version ⇒ String
Latest version for the skill.
35 |
# File 'lib/openai/models/skill.rb', line 35 required :latest_version, String |
#name ⇒ String
Name of the skill.
41 |
# File 'lib/openai/models/skill.rb', line 41 required :name, String |
#object ⇒ Symbol, :skill
The object type, which is skill.
47 |
# File 'lib/openai/models/skill.rb', line 47 required :object, const: :skill |