Class: Cadenya::Models::Objectives::SetToolCallContentRequestAudioBlock
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Objectives::SetToolCallContentRequestAudioBlock
- Defined in:
- lib/cadenya/models/objectives/set_tool_call_content_request_audio_block.rb,
sig/cadenya/models/objectives/set_tool_call_content_request_audio_block.rbs
Instance Attribute Summary collapse
-
#data ⇒ String
Base64-encoded audio bytes.
-
#mime_type ⇒ String
IANA media type of the audio, e.g.
Instance Method Summary collapse
-
#initialize(data:, mime_type:) ⇒ SetToolCallContentRequestAudioBlock
constructor
A new instance of SetToolCallContentRequestAudioBlock.
- #to_hash ⇒ { data: String, mime_type: String }
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:, mime_type:) ⇒ SetToolCallContentRequestAudioBlock
Returns a new instance of SetToolCallContentRequestAudioBlock.
|
|
# File 'lib/cadenya/models/objectives/set_tool_call_content_request_audio_block.rb', line 19
|
Instance Attribute Details
#data ⇒ String
Base64-encoded audio bytes.
11 |
# File 'lib/cadenya/models/objectives/set_tool_call_content_request_audio_block.rb', line 11 required :data, String |
#mime_type ⇒ String
IANA media type of the audio, e.g. audio/wav.
17 |
# File 'lib/cadenya/models/objectives/set_tool_call_content_request_audio_block.rb', line 17 required :mime_type, String, api_name: :mimeType |
Instance Method Details
#to_hash ⇒ { data: String, mime_type: String }
14 |
# File 'sig/cadenya/models/objectives/set_tool_call_content_request_audio_block.rbs', line 14
def to_hash: -> { data: String, mime_type: String }
|