Class: Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card
- Defined in:
- lib/telnyx/models/message_send_whatsapp_response.rb
Defined Under Namespace
Modules: Type Classes: Action, Body, Header
Instance Attribute Summary collapse
- #action ⇒ Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Action?
- #body ⇒ Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Body?
-
#card_index ⇒ Integer?
unique index for each card (0-9).
- #header ⇒ Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Header?
- #type ⇒ Symbol, ...
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(text: nil) ⇒ Object constructor
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(text: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 527
|
Instance Attribute Details
#action ⇒ Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Action?
500 501 |
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 500 optional :action, -> { Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Action } |
#body ⇒ Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Body?
506 507 |
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 506 optional :body, -> { Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Body } |
#card_index ⇒ Integer?
unique index for each card (0-9)
513 |
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 513 optional :card_index, Integer |
#header ⇒ Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Header?
518 519 |
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 518 optional :header, -> { Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Header } |
#type ⇒ Symbol, ...
524 525 |
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 524 optional :type, enum: -> { Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action::Card::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 600
|