Class: Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateFooter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateFooter
- Defined in:
- lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb
Instance Attribute Summary collapse
-
#template ⇒ String
The footer template text with optional variable placeholders.
-
#type ⇒ String?
The type of footer (typically “text”).
-
#variables ⇒ Array<Sentdm::Models::TemplateVariable>?
List of variables used in the footer template.
Instance Method Summary collapse
-
#initialize(template:, type: nil, variables: nil) ⇒ Object
constructor
Footer section of a message template.
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(template:, type: nil, variables: nil) ⇒ Object
Footer section of a message template
|
|
# File 'lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb', line 24
|
Instance Attribute Details
#template ⇒ String
The footer template text with optional variable placeholders
10 |
# File 'lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb', line 10 required :template, String |
#type ⇒ String?
The type of footer (typically “text”)
16 |
# File 'lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb', line 16 optional :type, String, nil?: true |
#variables ⇒ Array<Sentdm::Models::TemplateVariable>?
List of variables used in the footer template
22 |
# File 'lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb', line 22 optional :variables, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::TemplateVariable] }, nil?: true |