Package com.twilio.rest.verify.v2
Class VerificationAttempt
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.verify.v2.VerificationAttempt
-
- All Implemented Interfaces:
Serializable
public class VerificationAttempt extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerificationAttempt.Channelsstatic classVerificationAttempt.ConversionStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static VerificationAttemptFetcherfetcher(String pathSid)static VerificationAttemptfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a VerificationAttempt object using the provided ObjectMapper.static VerificationAttemptfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a VerificationAttempt object using the provided ObjectMapper.StringgetAccountSid()VerificationAttempt.ChannelsgetChannel()Map<String,Object>getChannelData()VerificationAttempt.ConversionStatusgetConversionStatus()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()Map<String,Object>getPrice()StringgetServiceSid()StringgetSid()URIgetUrl()StringgetVerificationSid()inthashCode()static VerificationAttemptReaderreader()
-
-
-
Method Detail
-
fetcher
public static VerificationAttemptFetcher fetcher(String pathSid)
-
reader
public static VerificationAttemptReader reader()
-
fromJson
public static VerificationAttempt fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a VerificationAttempt object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- VerificationAttempt object represented by the provided JSON
-
fromJson
public static VerificationAttempt fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a VerificationAttempt object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- VerificationAttempt object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getVerificationSid
public final String getVerificationSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getConversionStatus
public final VerificationAttempt.ConversionStatus getConversionStatus()
-
getChannel
public final VerificationAttempt.Channels getChannel()
-
getUrl
public final URI getUrl()
-
-