public class VerificationMessageTemplateType extends Object implements Serializable
The template for verification messages.
| Constructor and Description |
|---|
VerificationMessageTemplateType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDefaultEmailOption()
The default email option.
|
String |
getEmailMessage()
The email message template.
|
String |
getEmailMessageByLink()
The email message template for sending a confirmation link to the user.
|
String |
getEmailSubject()
The subject line for the email message template.
|
String |
getEmailSubjectByLink()
The subject line for the email message template for sending a
confirmation link to the user.
|
String |
getSmsMessage()
The SMS message template.
|
int |
hashCode() |
void |
setDefaultEmailOption(DefaultEmailOptionType defaultEmailOption)
The default email option.
|
void |
setDefaultEmailOption(String defaultEmailOption)
The default email option.
|
void |
setEmailMessage(String emailMessage)
The email message template.
|
void |
setEmailMessageByLink(String emailMessageByLink)
The email message template for sending a confirmation link to the user.
|
void |
setEmailSubject(String emailSubject)
The subject line for the email message template.
|
void |
setEmailSubjectByLink(String emailSubjectByLink)
The subject line for the email message template for sending a
confirmation link to the user.
|
void |
setSmsMessage(String smsMessage)
The SMS message template.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VerificationMessageTemplateType |
withDefaultEmailOption(DefaultEmailOptionType defaultEmailOption)
The default email option.
|
VerificationMessageTemplateType |
withDefaultEmailOption(String defaultEmailOption)
The default email option.
|
VerificationMessageTemplateType |
withEmailMessage(String emailMessage)
The email message template.
|
VerificationMessageTemplateType |
withEmailMessageByLink(String emailMessageByLink)
The email message template for sending a confirmation link to the user.
|
VerificationMessageTemplateType |
withEmailSubject(String emailSubject)
The subject line for the email message template.
|
VerificationMessageTemplateType |
withEmailSubjectByLink(String emailSubjectByLink)
The subject line for the email message template for sending a
confirmation link to the user.
|
VerificationMessageTemplateType |
withSmsMessage(String smsMessage)
The SMS message template.
|
public String getSmsMessage()
The SMS message template.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
The SMS message template.
public void setSmsMessage(String smsMessage)
The SMS message template.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsMessage - The SMS message template.
public VerificationMessageTemplateType withSmsMessage(String smsMessage)
The SMS message template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsMessage - The SMS message template.
public String getEmailMessage()
The email message template.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
The email message template.
public void setEmailMessage(String emailMessage)
The email message template.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
emailMessage - The email message template.
public VerificationMessageTemplateType withEmailMessage(String emailMessage)
The email message template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
emailMessage - The email message template.
public String getEmailSubject()
The subject line for the email message template.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
The subject line for the email message template.
public void setEmailSubject(String emailSubject)
The subject line for the email message template.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
emailSubject - The subject line for the email message template.
public VerificationMessageTemplateType withEmailSubject(String emailSubject)
The subject line for the email message template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
emailSubject - The subject line for the email message template.
public String getEmailMessageByLink()
The email message template for sending a confirmation link to the user.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{##[\p{L}\p{M}\p{S}\p{N}\p
{P}\s*]*##\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
The email message template for sending a confirmation link to the user.
public void setEmailMessageByLink(String emailMessageByLink)
The email message template for sending a confirmation link to the user.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{##[\p{L}\p{M}\p{S}\p{N}\p
{P}\s*]*##\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
emailMessageByLink - The email message template for sending a confirmation link to the user.
public VerificationMessageTemplateType withEmailMessageByLink(String emailMessageByLink)
The email message template for sending a confirmation link to the user.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{##[\p{L}\p{M}\p{S}\p{N}\p
{P}\s*]*##\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
emailMessageByLink - The email message template for sending a confirmation link to the user.
public String getEmailSubjectByLink()
The subject line for the email message template for sending a confirmation link to the user.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
The subject line for the email message template for sending a confirmation link to the user.
public void setEmailSubjectByLink(String emailSubjectByLink)
The subject line for the email message template for sending a confirmation link to the user.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
emailSubjectByLink - The subject line for the email message template for sending a confirmation link to the user.
public VerificationMessageTemplateType withEmailSubjectByLink(String emailSubjectByLink)
The subject line for the email message template for sending a confirmation link to the user.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
emailSubjectByLink - The subject line for the email message template for sending a confirmation link to the user.
public String getDefaultEmailOption()
The default email option.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
The default email option.
DefaultEmailOptionTypepublic void setDefaultEmailOption(String defaultEmailOption)
The default email option.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
defaultEmailOption - The default email option.
DefaultEmailOptionTypepublic VerificationMessageTemplateType withDefaultEmailOption(String defaultEmailOption)
The default email option.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
defaultEmailOption - The default email option.
DefaultEmailOptionTypepublic void setDefaultEmailOption(DefaultEmailOptionType defaultEmailOption)
The default email option.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
defaultEmailOption - The default email option.
DefaultEmailOptionTypepublic VerificationMessageTemplateType withDefaultEmailOption(DefaultEmailOptionType defaultEmailOption)
The default email option.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
defaultEmailOption - The default email option.
DefaultEmailOptionTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.