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.
Constructor Details
#initialize(**args) ⇒ EmailTemplate
Returns a new instance of EmailTemplate.
236 237 238 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body ⇒ String
Email body.
Corresponds to the JSON property body
209 210 211 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 209 def body @body end |
#format ⇒ String
Email body format.
Corresponds to the JSON property format
214 215 216 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 214 def format @format end |
#from ⇒ String
From address of the email.
Corresponds to the JSON property from
219 220 221 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 219 def from @from end |
#from_display_name ⇒ String
From display name.
Corresponds to the JSON property fromDisplayName
224 225 226 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 224 def from_display_name @from_display_name end |
#reply_to ⇒ String
Reply-to address.
Corresponds to the JSON property replyTo
229 230 231 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 229 def reply_to @reply_to end |
#subject ⇒ String
Subject of the email.
Corresponds to the JSON property subject
234 235 236 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 234 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
241 242 243 244 245 246 247 248 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 241 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 |