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 classNewFactor.FactorStatusesstatic classNewFactor.FactorTypesstatic classNewFactor.NotificationPlatformsstatic classNewFactor.TotpAlgorithms
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NewFactorCreatorcreator(String pathServiceSid, String pathIdentity, String friendlyName, NewFactor.FactorTypes factorType)booleanequals(Object o)static NewFactorfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a NewFactor object using the provided ObjectMapper.static NewFactorfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a NewFactor object using the provided ObjectMapper.StringgetAccountSid()Map<String,Object>getBinding()Map<String,Object>getConfig()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetEntitySid()NewFactor.FactorTypesgetFactorType()StringgetFriendlyName()StringgetIdentity()Map<String,Object>getMetadata()StringgetServiceSid()StringgetSid()NewFactor.FactorStatusesgetStatus()URIgetUrl()inthashCode()
-
-
-
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()
-
-