public class Factor extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Factor.FactorStatuses |
static class |
Factor.FactorTypes |
static class |
Factor.NotificationPlatforms |
static class |
Factor.TotpAlgorithms |
Modifier and Type | Method and Description |
---|---|
static FactorDeleter |
deleter(String pathServiceSid,
String pathIdentity,
String pathSid)
Create a FactorDeleter to execute delete.
|
boolean |
equals(Object o) |
static FactorFetcher |
fetcher(String pathServiceSid,
String pathIdentity,
String pathSid)
Create a FactorFetcher to execute fetch.
|
static Factor |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Factor object using the provided
ObjectMapper.
|
static Factor |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Factor object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns Account Sid..
|
Map<String,Object> |
getConfig()
Returns Configurations for a `factor_type`..
|
ZonedDateTime |
getDateCreated()
Returns The date this Factor was created.
|
ZonedDateTime |
getDateUpdated()
Returns The date this Factor was updated.
|
String |
getEntitySid()
Returns Entity Sid..
|
Factor.FactorTypes |
getFactorType()
Returns The Type of this Factor.
|
String |
getFriendlyName()
Returns A human readable description of this resource..
|
String |
getIdentity()
Returns Unique external identifier of the Entity.
|
Map<String,Object> |
getMetadata()
Returns Metadata of the factor..
|
String |
getServiceSid()
Returns Service Sid..
|
String |
getSid()
Returns A string that uniquely identifies this Factor..
|
Factor.FactorStatuses |
getStatus()
Returns The Status of this Factor.
|
URI |
getUrl()
Returns The URL of this resource..
|
int |
hashCode() |
static FactorReader |
reader(String pathServiceSid,
String pathIdentity)
Create a FactorReader to execute read.
|
static FactorUpdater |
updater(String pathServiceSid,
String pathIdentity,
String pathSid)
Create a FactorUpdater to execute update.
|
public static FactorDeleter deleter(String pathServiceSid, String pathIdentity, String pathSid)
pathServiceSid
- Service Sid.pathIdentity
- Unique external identifier of the EntitypathSid
- A string that uniquely identifies this Factor.public static FactorFetcher fetcher(String pathServiceSid, String pathIdentity, String pathSid)
pathServiceSid
- Service Sid.pathIdentity
- Unique external identifier of the EntitypathSid
- A string that uniquely identifies this Factor.public static FactorReader reader(String pathServiceSid, String pathIdentity)
pathServiceSid
- Service Sid.pathIdentity
- Unique external identifier of the Entitypublic static FactorUpdater updater(String pathServiceSid, String pathIdentity, String pathSid)
pathServiceSid
- Service Sid.pathIdentity
- Unique external identifier of the EntitypathSid
- A string that uniquely identifies this Factor.public static Factor fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Factor fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getServiceSid()
public final String getEntitySid()
public final String getIdentity()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final String getFriendlyName()
public final Factor.FactorStatuses getStatus()
public final Factor.FactorTypes getFactorType()
public final Map<String,Object> getConfig()
public final Map<String,Object> getMetadata()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.