Class: Telnyx::Models::AI::ChatCompletionRequest::Message::Content::TextAndImageArray
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(type:, image_url: nil, text: nil) ⇒ Object
|
# File 'lib/telnyx/models/ai/chat_completion_request.rb', line 285
|
Instance Attribute Details
#image_url ⇒ String?
278
|
# File 'lib/telnyx/models/ai/chat_completion_request.rb', line 278
optional :image_url, String
|
#text ⇒ String?
283
|
# File 'lib/telnyx/models/ai/chat_completion_request.rb', line 283
optional :text, String
|
273
|
# File 'lib/telnyx/models/ai/chat_completion_request.rb', line 273
required :type, enum: -> { Telnyx::AI::ChatCompletionRequest::Message::Content::TextAndImageArray::Type }
|
Instance Method Details
#to_hash ⇒ {
255
|
# File 'sig/telnyx/models/ai/chat_completion_request.rbs', line 255
def to_hash: -> {
|