Class: Telnyx::Models::WhatsappMessageTemplateUpdateParams::Component::Carousel::Card

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

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

Parameters:

  • components (Array<Hash{Symbol=>Object}>) (defaults to: nil)


429
430
431
432
433
434
435
436
437
438
# File 'lib/telnyx/models/whatsapp_message_template_update_params.rb', line 429

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

Instance Attribute Details

#componentsArray<Hash{Symbol=>Object}>?

Returns:

  • (Array<Hash{Symbol=>Object}>, nil)


433
434
# File 'lib/telnyx/models/whatsapp_message_template_update_params.rb', line 433

optional :components,
Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]]