Class: Telnyx::Models::Whatsapp::WhatsappTemplateHeaderComponent::Example

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/whatsapp/whatsapp_template_header_component.rb,
sig/telnyx/models/whatsapp/whatsapp_template_header_component.rbs

Overview

See Also:

  • Telnyx::Models::Whatsapp::WhatsappTemplateHeaderComponent#example

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

#initializeObject



79
# File 'sig/telnyx/models/whatsapp/whatsapp_template_header_component.rbs', line 79

def initialize: (

Instance Attribute Details

#header_handleArray<String>?

Media handle for IMAGE, VIDEO, or DOCUMENT headers.

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


81
# File 'lib/telnyx/models/whatsapp/whatsapp_template_header_component.rb', line 81

optional :header_handle, Telnyx::Internal::Type::ArrayOf[String]

#header_textArray<String>?

Sample values for text header variables.

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


87
# File 'lib/telnyx/models/whatsapp/whatsapp_template_header_component.rb', line 87

optional :header_text, Telnyx::Internal::Type::ArrayOf[String]

Instance Method Details

#to_hash{

Returns:

  • ({)


84
# File 'sig/telnyx/models/whatsapp/whatsapp_template_header_component.rbs', line 84

def to_hash: -> {