public class TfaStartAuthenticationRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_APPLICATION_ID |
static String |
SERIALIZED_NAME_FROM |
static String |
SERIALIZED_NAME_MESSAGE_ID |
static String |
SERIALIZED_NAME_PLACEHOLDERS |
static String |
SERIALIZED_NAME_TO |
| Constructor and Description |
|---|
TfaStartAuthenticationRequest() |
| Modifier and Type | Method and Description |
|---|---|
TfaStartAuthenticationRequest |
applicationId(String applicationId) |
boolean |
equals(Object o) |
TfaStartAuthenticationRequest |
from(String from) |
String |
getApplicationId()
The ID of the application that represents your service, e.g.
|
String |
getFrom()
Use this parameter if you wish to override the sender ID from the
[created](#channels/sms/create-2fa-message-template) message template parameter
`senderId`.
|
String |
getMessageId()
The ID of the message template (message body with the PIN placeholder) that is sent to the
recipient.
|
Map<String,String> |
getPlaceholders()
Key value pairs that will be replaced during message sending.
|
String |
getTo()
Phone number to which the 2FA message will be sent.
|
int |
hashCode() |
TfaStartAuthenticationRequest |
messageId(String messageId) |
TfaStartAuthenticationRequest |
placeholders(Map<String,String> placeholders) |
TfaStartAuthenticationRequest |
putPlaceholdersItem(String key,
String placeholdersItem) |
void |
setApplicationId(String applicationId) |
void |
setFrom(String from) |
void |
setMessageId(String messageId) |
void |
setPlaceholders(Map<String,String> placeholders) |
void |
setTo(String to) |
TfaStartAuthenticationRequest |
to(String to) |
String |
toString() |
public static final String SERIALIZED_NAME_APPLICATION_ID
public static final String SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_MESSAGE_ID
public static final String SERIALIZED_NAME_PLACEHOLDERS
public static final String SERIALIZED_NAME_TO
public TfaStartAuthenticationRequest applicationId(String applicationId)
public String getApplicationId()
public void setApplicationId(String applicationId)
public TfaStartAuthenticationRequest from(String from)
public String getFrom()
public void setFrom(String from)
public TfaStartAuthenticationRequest messageId(String messageId)
public String getMessageId()
public void setMessageId(String messageId)
public TfaStartAuthenticationRequest placeholders(Map<String,String> placeholders)
public TfaStartAuthenticationRequest putPlaceholdersItem(String key, String placeholdersItem)
public Map<String,String> getPlaceholders()
public TfaStartAuthenticationRequest to(String to)
public String getTo()
public void setTo(String to)
Copyright © 2022. All rights reserved.