Class: Telnyx::Models::WhatsappTemplateData
Defined Under Namespace
Modules: Category
Classes: WhatsappBusinessAccount
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
-
#initialize(id: nil, category: nil, components: nil, created_at: nil, language: nil, name: nil, record_type: nil, rejection_reason: nil, status: nil, template_id: nil, updated_at: nil, whatsapp_business_account: nil) ⇒ Object
constructor
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: nil, category: nil, components: nil, created_at: nil, language: nil, name: nil, record_type: nil, rejection_reason: nil, status: nil, template_id: nil, updated_at: nil, whatsapp_business_account: nil) ⇒ Object
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 72
|
Instance Attribute Details
#category ⇒ Symbol, ...
14
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 14
optional :category, enum: -> { Telnyx::WhatsappTemplateData::Category }
|
#components ⇒ Array<Hash{Symbol=>Object}>?
Template components (header, body, footer, buttons) as submitted, including example values.
#created_at ⇒ Time?
27
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 27
optional :created_at, Time
|
#id ⇒ String?
9
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 9
optional :id, String
|
#language ⇒ String?
32
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 32
optional :language, String
|
#name ⇒ String?
37
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 37
optional :name, String
|
#record_type ⇒ String?
42
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 42
optional :record_type, String
|
#rejection_reason ⇒ String?
47
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 47
optional :rejection_reason, String
|
#status ⇒ String?
Current template status from Meta (e.g. PENDING, APPROVED, REJECTED, PAUSED, DISABLED). Additional statuses may be returned as Meta evolves the template lifecycle.
55
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 55
optional :status, String
|
#template_id ⇒ String?
60
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 60
optional :template_id, String
|
#updated_at ⇒ Time?
65
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 65
optional :updated_at, Time
|
70
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 70
optional :whatsapp_business_account, -> { Telnyx::WhatsappTemplateData::WhatsappBusinessAccount }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/telnyx/models/whatsapp_template_data.rb', line 108
|