Class: OpenAI::Models::Responses::InlineSkillSource

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/responses/inline_skill_source.rb

Instance Attribute Summary collapse

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(data:, media_type: :"application/zip", type: :base64) ⇒ Object

Inline skill payload

Parameters:

  • Base64-encoded skill zip bundle.

  • (defaults to: :"application/zip")

    The media type of the inline skill payload. Must be application/zip.

  • (defaults to: :base64)

    The type of the inline skill source. Must be base64.



# File 'lib/openai/models/responses/inline_skill_source.rb', line 25


Instance Attribute Details

#dataString

Base64-encoded skill zip bundle.

Returns:



11
# File 'lib/openai/models/responses/inline_skill_source.rb', line 11

required :data, String

#media_typeSymbol, :"application/zip"

The media type of the inline skill payload. Must be application/zip.

Returns:



17
# File 'lib/openai/models/responses/inline_skill_source.rb', line 17

required :media_type, const: :"application/zip"

#typeSymbol, :base64

The type of the inline skill source. Must be base64.

Returns:



23
# File 'lib/openai/models/responses/inline_skill_source.rb', line 23

required :type, const: :base64