Class NewFactor
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.verify.v2.service.entity.NewFactor
-
- All Implemented Interfaces:
Serializable
public class NewFactor extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NewFactor.FactorStatuses
static class
NewFactor.FactorTypes
static class
NewFactor.NotificationPlatforms
static class
NewFactor.TotpAlgorithms
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NewFactorCreator
creator(String pathServiceSid, String pathIdentity, String friendlyName, NewFactor.FactorTypes factorType)
boolean
equals(Object o)
static NewFactor
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a NewFactor object using the provided ObjectMapper.static NewFactor
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a NewFactor object using the provided ObjectMapper.String
getAccountSid()
Map<String,Object>
getBinding()
Map<String,Object>
getConfig()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getEntitySid()
NewFactor.FactorTypes
getFactorType()
String
getFriendlyName()
String
getIdentity()
Map<String,Object>
getMetadata()
String
getServiceSid()
String
getSid()
NewFactor.FactorStatuses
getStatus()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
creator
public static NewFactorCreator creator(String pathServiceSid, String pathIdentity, String friendlyName, NewFactor.FactorTypes factorType)
-
fromJson
public static NewFactor fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a NewFactor object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- NewFactor object represented by the provided JSON
-
fromJson
public static NewFactor fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a NewFactor object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- NewFactor object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getEntitySid
public final String getEntitySid()
-
getIdentity
public final String getIdentity()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getFriendlyName
public final String getFriendlyName()
-
getStatus
public final NewFactor.FactorStatuses getStatus()
-
getFactorType
public final NewFactor.FactorTypes getFactorType()
-
getUrl
public final URI getUrl()
-
-