Class: Sentdm::Models::TemplateListResponse::Data::Template
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::TemplateListResponse::Data::Template
- Defined in:
- lib/sentdm/models/template_list_response.rb
Instance Attribute Summary collapse
-
#category ⇒ String?
Template category: MARKETING, UTILITY, AUTHENTICATION.
-
#channels ⇒ Array<String>?
Supported channels: sms, whatsapp.
-
#created_at ⇒ Time?
When the template was created.
-
#id ⇒ String?
Unique template identifier.
-
#is_published ⇒ Boolean?
Whether the template is published and active.
-
#language ⇒ String?
Template language code (e.g., en_US).
-
#name ⇒ String?
Template display name.
-
#status ⇒ String?
Template status: APPROVED, PENDING, REJECTED.
-
#updated_at ⇒ Time?
When the template was last updated.
-
#variables ⇒ Array<String>?
Template variables for personalization.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Sentdm::Internal::Type::BaseModel
Instance Attribute Details
#category ⇒ String?
Template category: MARKETING, UTILITY, AUTHENTICATION
151 |
# File 'lib/sentdm/models/template_list_response.rb', line 151 optional :category, String |
#channels ⇒ Array<String>?
Supported channels: sms, whatsapp
157 |
# File 'lib/sentdm/models/template_list_response.rb', line 157 optional :channels, Sentdm::Internal::Type::ArrayOf[String], nil?: true |
#created_at ⇒ Time?
When the template was created
163 |
# File 'lib/sentdm/models/template_list_response.rb', line 163 optional :created_at, Time |
#id ⇒ String?
Unique template identifier
145 |
# File 'lib/sentdm/models/template_list_response.rb', line 145 optional :id, String |
#is_published ⇒ Boolean?
Whether the template is published and active
169 |
# File 'lib/sentdm/models/template_list_response.rb', line 169 optional :is_published, Sentdm::Internal::Type::Boolean |
#language ⇒ String?
Template language code (e.g., en_US)
175 |
# File 'lib/sentdm/models/template_list_response.rb', line 175 optional :language, String |
#name ⇒ String?
Template display name
181 |
# File 'lib/sentdm/models/template_list_response.rb', line 181 optional :name, String |
#status ⇒ String?
Template status: APPROVED, PENDING, REJECTED
187 |
# File 'lib/sentdm/models/template_list_response.rb', line 187 optional :status, String |
#updated_at ⇒ Time?
When the template was last updated
193 |
# File 'lib/sentdm/models/template_list_response.rb', line 193 optional :updated_at, Time, nil?: true |