Class: Telnyx::Models::WhatsappInteractive::Action::Section

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/whatsapp_interactive.rb

Defined Under Namespace

Classes: ProductItem, Row

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(product_retailer_id: nil) ⇒ Object

Parameters:

  • product_retailer_id (String) (defaults to: nil)


# File 'lib/telnyx/models/whatsapp_interactive.rb', line 308

Instance Attribute Details

#product_itemsArray<Telnyx::Models::WhatsappInteractive::Action::Section::ProductItem>?



281
282
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 281

optional :product_items,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::WhatsappInteractive::Action::Section::ProductItem] }

#rowsArray<Telnyx::Models::WhatsappInteractive::Action::Section::Row>?



287
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 287

optional :rows, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::WhatsappInteractive::Action::Section::Row] }

#titleString?

section title, 24 character maximum

Returns:

  • (String, nil)


293
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 293

optional :title, String