Class Factor
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.verify.v2.service.entity.Factor
-
- All Implemented Interfaces:
Serializable
public class Factor extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFactor.FactorStatusesstatic classFactor.FactorTypesstatic classFactor.TotpAlgorithms
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FactorDeleterdeleter(String pathServiceSid, String pathIdentity, String pathSid)booleanequals(Object o)static FactorFetcherfetcher(String pathServiceSid, String pathIdentity, String pathSid)static FactorfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Factor object using the provided ObjectMapper.static FactorfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Factor object using the provided ObjectMapper.StringgetAccountSid()Map<String,Object>getConfig()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetEntitySid()Factor.FactorTypesgetFactorType()StringgetFriendlyName()StringgetIdentity()Map<String,Object>getMetadata()StringgetServiceSid()StringgetSid()Factor.FactorStatusesgetStatus()URIgetUrl()inthashCode()static FactorReaderreader(String pathServiceSid, String pathIdentity)static FactorUpdaterupdater(String pathServiceSid, String pathIdentity, String pathSid)
-
-
-
Method Detail
-
fetcher
public static FactorFetcher fetcher(String pathServiceSid, String pathIdentity, String pathSid)
-
deleter
public static FactorDeleter deleter(String pathServiceSid, String pathIdentity, String pathSid)
-
reader
public static FactorReader reader(String pathServiceSid, String pathIdentity)
-
updater
public static FactorUpdater updater(String pathServiceSid, String pathIdentity, String pathSid)
-
fromJson
public static Factor fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Factor object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Factor object represented by the provided JSON
-
fromJson
public static Factor fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Factor object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Factor 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 Factor.FactorStatuses getStatus()
-
getFactorType
public final Factor.FactorTypes getFactorType()
-
getUrl
public final URI getUrl()
-
-