public final class EmailTemplate extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Identity Toolkit API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
EmailTemplate() |
| Modifier and Type | Method and Description |
|---|---|
EmailTemplate |
clone() |
String |
getBody()
Email body.
|
String |
getFormat()
Email body format.
|
String |
getFrom()
From address of the email.
|
String |
getFromDisplayName()
From display name.
|
String |
getReplyTo()
Reply-to address.
|
String |
getSubject()
Subject of the email.
|
EmailTemplate |
set(String fieldName,
Object value) |
EmailTemplate |
setBody(String body)
Email body.
|
EmailTemplate |
setFormat(String format)
Email body format.
|
EmailTemplate |
setFrom(String from)
From address of the email.
|
EmailTemplate |
setFromDisplayName(String fromDisplayName)
From display name.
|
EmailTemplate |
setReplyTo(String replyTo)
Reply-to address.
|
EmailTemplate |
setSubject(String subject)
Subject of the email.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getBody()
null for nonepublic EmailTemplate setBody(String body)
body - body or null for nonepublic String getFormat()
null for nonepublic EmailTemplate setFormat(String format)
format - format or null for nonepublic String getFrom()
null for nonepublic EmailTemplate setFrom(String from)
from - from or null for nonepublic String getFromDisplayName()
null for nonepublic EmailTemplate setFromDisplayName(String fromDisplayName)
fromDisplayName - fromDisplayName or null for nonepublic String getReplyTo()
null for nonepublic EmailTemplate setReplyTo(String replyTo)
replyTo - replyTo or null for nonepublic String getSubject()
null for nonepublic EmailTemplate setSubject(String subject)
subject - subject or null for nonepublic EmailTemplate set(String fieldName, Object value)
set in class GenericJsonpublic EmailTemplate clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.