Class: Sentdm::Models::TemplateRetrieveResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/template_retrieve_response.rb

Overview

See Also:

Instance Attribute Summary collapse

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

#categoryString?

Template category: MARKETING, UTILITY, AUTHENTICATION

Returns:

  • (String, nil)


54
# File 'lib/sentdm/models/template_retrieve_response.rb', line 54

optional :category, String

#channelsArray<String>?

Supported channels: sms, whatsapp

Returns:

  • (Array<String>, nil)


60
# File 'lib/sentdm/models/template_retrieve_response.rb', line 60

optional :channels, Sentdm::Internal::Type::ArrayOf[String], nil?: true

#created_atTime?

When the template was created

Returns:

  • (Time, nil)


66
# File 'lib/sentdm/models/template_retrieve_response.rb', line 66

optional :created_at, Time

#idString?

Unique template identifier

Returns:

  • (String, nil)


48
# File 'lib/sentdm/models/template_retrieve_response.rb', line 48

optional :id, String

#is_publishedBoolean?

Whether the template is published and active

Returns:

  • (Boolean, nil)


72
# File 'lib/sentdm/models/template_retrieve_response.rb', line 72

optional :is_published, Sentdm::Internal::Type::Boolean

#languageString?

Template language code (e.g., en_US)

Returns:

  • (String, nil)


78
# File 'lib/sentdm/models/template_retrieve_response.rb', line 78

optional :language, String

#nameString?

Template display name

Returns:

  • (String, nil)


84
# File 'lib/sentdm/models/template_retrieve_response.rb', line 84

optional :name, String

#statusString?

Template status: APPROVED, PENDING, REJECTED

Returns:

  • (String, nil)


90
# File 'lib/sentdm/models/template_retrieve_response.rb', line 90

optional :status, String

#updated_atTime?

When the template was last updated

Returns:

  • (Time, nil)


96
# File 'lib/sentdm/models/template_retrieve_response.rb', line 96

optional :updated_at, Time, nil?: true

#variablesArray<String>?

Template variables for personalization

Returns:

  • (Array<String>, nil)


102
# File 'lib/sentdm/models/template_retrieve_response.rb', line 102

optional :variables, Sentdm::Internal::Type::ArrayOf[String], nil?: true