Class: Telnyx::Models::Whatsapp::WhatsappTemplateCarouselComponent::Card
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Whatsapp::WhatsappTemplateCarouselComponent::Card
- Defined in:
- lib/telnyx/models/whatsapp/whatsapp_template_carousel_component.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(cards:, type:) ⇒ Object
constructor
Carousel component for multi-card templates.
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(cards:, type:) ⇒ Object
Carousel component for multi-card templates. Each card can contain its own header, body, and buttons.
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/telnyx/models/whatsapp/whatsapp_template_carousel_component.rb', line 27 class Card < Telnyx::Internal::Type::BaseModel # @!attribute components # # @return [Array<Hash{Symbol=>Object}>, nil] optional :components, Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]] # @!method initialize(components: nil) # @param components [Array<Hash{Symbol=>Object}>] end |