Class: Inttegro::MessageTemplate::Reference
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::MessageTemplate::Reference
- Defined in:
- lib/inttegro/message_template/reference.rb
Overview
Typed representation of the reference object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#template_id ⇒ String
readonly
API-generated message template id.
-
#variables ⇒ Inttegro::MessageTemplate::Variables?
readonly
Variable values used when rendering a template.
Instance Attribute Details
#template_id ⇒ String (readonly)
API-generated message template id.
Required in the API payload. Wire name: template_id.
30 31 32 33 |
# File 'lib/inttegro/message_template/reference.rb', line 30 class Reference < T::Struct const :template_id, String const :variables, T.nilable(Inttegro::MessageTemplate::Variables), default: nil end |
#variables ⇒ Inttegro::MessageTemplate::Variables? (readonly)
Variable values used when rendering a template.
Optional in the API payload; omitted values default to nil. Wire name: variables.
30 31 32 33 |
# File 'lib/inttegro/message_template/reference.rb', line 30 class Reference < T::Struct const :template_id, String const :variables, T.nilable(Inttegro::MessageTemplate::Variables), default: nil end |