Class: Telnyx::Models::Whatsapp::WhatsappTemplateButtonsComponent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Whatsapp::WhatsappTemplateButtonsComponent
- Defined in:
- lib/telnyx/models/whatsapp/whatsapp_template_buttons_component.rb,
sig/telnyx/models/whatsapp/whatsapp_template_buttons_component.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Telnyx::Models::Whatsapp::WhatsappTemplateButtonsComponent::Button>
Array of button objects.
- #type ⇒ Symbol, Telnyx::Models::Whatsapp::WhatsappTemplateButtonsComponent::Type
Class Method Summary collapse
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
17 |
# File 'sig/telnyx/models/whatsapp/whatsapp_template_buttons_component.rbs', line 17
def initialize: (
|
Instance Attribute Details
#buttons ⇒ Array<Telnyx::Models::Whatsapp::WhatsappTemplateButtonsComponent::Button>
Array of button objects. Meta supports various combinations of button types.
11 12 |
# File 'lib/telnyx/models/whatsapp/whatsapp_template_buttons_component.rb', line 11 required :buttons, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Whatsapp::WhatsappTemplateButtonsComponent::Button] } |
#type ⇒ Symbol, Telnyx::Models::Whatsapp::WhatsappTemplateButtonsComponent::Type
17 |
# File 'lib/telnyx/models/whatsapp/whatsapp_template_buttons_component.rb', line 17 required :type, enum: -> { Telnyx::Whatsapp::WhatsappTemplateButtonsComponent::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/whatsapp/whatsapp_template_buttons_component.rb', line 170
|
Instance Method Details
#to_hash ⇒ {
22 |
# File 'sig/telnyx/models/whatsapp/whatsapp_template_buttons_component.rbs', line 22
def to_hash: -> {
|