Class: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source
- Defined in:
- lib/openai/models/live/responses_delegation_update_config.rb,
sig/openai/models/live/responses_delegation_update_config.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#data ⇒ String
Base64-encoded skill zip bundle.
-
#media_type ⇒ OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::media_type
The media type of the inline skill payload.
-
#type ⇒ OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::type_
The type of the inline skill source.
Attributes inherited from Internal::Type::BaseModel
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data:, media_type:, type:) ⇒ Source
constructor
A new instance of Source.
- #to_hash ⇒ { data: String, media_type: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::media_type, type: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::type_ }
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(data:, media_type:, type:) ⇒ Source
Returns a new instance of Source.
|
|
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1191
|
Instance Attribute Details
#data ⇒ String
Base64-encoded skill zip bundle.
1167 |
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1167 required :data, String |
#media_type ⇒ OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::media_type
The media type of the inline skill payload. Must be application/zip.
1173 1174 1175 1176 1177 1178 |
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1173 required( :media_type, enum: -> { OpenAI::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::MediaType } ) |
#type ⇒ OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::type_
The type of the inline skill source. Must be base64.
1184 1185 1186 1187 1188 1189 |
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1184 required( :type, enum: -> { OpenAI::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::Type } ) |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1211
|
Instance Method Details
#to_hash ⇒ { data: String, media_type: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::media_type, type: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::type_ }
1017 1018 1019 1020 1021 |
# File 'sig/openai/models/live/responses_delegation_update_config.rbs', line 1017
def to_hash: -> {
data: String,
media_type: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::media_type,
type: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline::Source::type_
}
|