TemplateResponse class

Provides information about a message template that's associated with your Amazon Pinpoint account.

Constructors

TemplateResponse({required String creationDate, required String lastModifiedDate, required String templateName, required TemplateType templateType, String? arn, String? defaultSubstitutions, String? templateDescription, String? version, Map<String, String>? tags})
TemplateResponse.fromJson(Map<String, dynamic> json)
factory

Properties

arn String?
The Amazon Resource Name (ARN) of the message template. This value isn't included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.
final
creationDate String
The date, in ISO 8601 format, when the message template was created.
final
defaultSubstitutions String?
The JSON object that specifies the default values that are used for message variables in the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
final
hashCode int
The hash code for this object.
no setterinherited
lastModifiedDate String
The date, in ISO 8601 format, when the message template was last modified.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags Map<String, String>?
A map of key-value pairs that identifies the tags that are associated with the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
final
templateDescription String?
The custom description of the message template. This value isn't included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.
final
templateName String
The name of the message template.
final
templateType TemplateType
The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.
final
version String?
The unique identifier, as an integer, for the active version of the message template.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited