Class: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::Local::Skill
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::Local::Skill
- Defined in:
- lib/openai/models/live/responses_delegation_update_config.rb,
sig/openai/models/live/responses_delegation_update_config.rbs
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the skill.
-
#name ⇒ String
The name of the skill.
-
#path ⇒ String
The path to the directory containing the skill.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(skills: nil, type: :local) ⇒ Skill
constructor
A new instance of Skill.
- #to_hash ⇒ { description: String, name: String, path: 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(skills: nil, type: :local) ⇒ Skill
Returns a new instance of Skill.
1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 |
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1282 class Skill < OpenAI::Internal::Type::BaseModel # @!attribute description # The description of the skill. # # @return [String] required :description, String # @!attribute name # The name of the skill. # # @return [String] required :name, String # @!attribute path # The path to the directory containing the skill. # # @return [String] required :path, String # @!method initialize(description:, name:, path:) # @param description [String] # The description of the skill. # # @param name [String] # The name of the skill. # # @param path [String] # The path to the directory containing the skill. end |
Instance Attribute Details
#description ⇒ String
The description of the skill.
1287 |
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1287 required :description, String |
#name ⇒ String
The name of the skill.
1293 |
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1293 required :name, String |
#path ⇒ String
The path to the directory containing the skill.
1299 |
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1299 required :path, String |
Instance Method Details
#to_hash ⇒ { description: String, name: String, path: String }
1125 1126 1127 1128 1129 |
# File 'sig/openai/models/live/responses_delegation_update_config.rbs', line 1125
def to_hash: -> {
description: String,
name: String,
path: String
}
|