Class: Google::Apis::IdentitytoolkitV3::EmailTemplate
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::EmailTemplate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/identitytoolkit_v3/classes.rb,
generated/google/apis/identitytoolkit_v3/representations.rb,
generated/google/apis/identitytoolkit_v3/representations.rb
Overview
Template for an email template.
Instance Attribute Summary collapse
-
#body ⇒ String
Email body.
-
#format ⇒ String
Email body format.
-
#from ⇒ String
From address of the email.
-
#from_display_name ⇒ String
From display name.
-
#reply_to ⇒ String
Reply-to address.
-
#subject ⇒ String
Subject of the email.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EmailTemplate
constructor
A new instance of EmailTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EmailTemplate
Returns a new instance of EmailTemplate
174 175 176 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body ⇒ String
Email body.
Corresponds to the JSON property body
147 148 149 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 147 def body @body end |
#format ⇒ String
Email body format.
Corresponds to the JSON property format
152 153 154 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 152 def format @format end |
#from ⇒ String
From address of the email.
Corresponds to the JSON property from
157 158 159 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 157 def from @from end |
#from_display_name ⇒ String
From display name.
Corresponds to the JSON property fromDisplayName
162 163 164 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 162 def from_display_name @from_display_name end |
#reply_to ⇒ String
Reply-to address.
Corresponds to the JSON property replyTo
167 168 169 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 167 def reply_to @reply_to end |
#subject ⇒ String
Subject of the email.
Corresponds to the JSON property subject
172 173 174 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 172 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
179 180 181 182 183 184 185 186 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 179 def update!(**args) @body = args[:body] if args.key?(:body) @format = args[:format] if args.key?(:format) @from = args[:from] if args.key?(:from) @from_display_name = args[:from_display_name] if args.key?(:from_display_name) @reply_to = args[:reply_to] if args.key?(:reply_to) @subject = args[:subject] if args.key?(:subject) end |