Class: OpenAI::Models::Responses::InlineSkillSource
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::InlineSkillSource
- Defined in:
- lib/openai/models/responses/inline_skill_source.rb
Instance Attribute Summary collapse
-
#data ⇒ String
Base64-encoded skill zip bundle.
-
#media_type ⇒ Symbol, :"application/zip"
The media type of the inline skill payload.
-
#type ⇒ Symbol, :base64
The type of the inline skill source.
Instance Method Summary collapse
-
#initialize(data:, media_type: :"application/zip", type: :base64) ⇒ Object
constructor
Inline skill payload.
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(data:, media_type: :"application/zip", type: :base64) ⇒ Object
Inline skill payload
|
|
# File 'lib/openai/models/responses/inline_skill_source.rb', line 25
|
Instance Attribute Details
#data ⇒ String
Base64-encoded skill zip bundle.
11 |
# File 'lib/openai/models/responses/inline_skill_source.rb', line 11 required :data, String |
#media_type ⇒ Symbol, :"application/zip"
The media type of the inline skill payload. Must be application/zip.
17 |
# File 'lib/openai/models/responses/inline_skill_source.rb', line 17 required :media_type, const: :"application/zip" |
#type ⇒ Symbol, :base64
The type of the inline skill source. Must be base64.
23 |
# File 'lib/openai/models/responses/inline_skill_source.rb', line 23 required :type, const: :base64 |