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 class
VerificationAttempt.Channels
static class
VerificationAttempt.ConversionStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static VerificationAttemptFetcher
fetcher(String pathSid)
static VerificationAttempt
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a VerificationAttempt object using the provided ObjectMapper.static VerificationAttempt
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a VerificationAttempt object using the provided ObjectMapper.String
getAccountSid()
VerificationAttempt.Channels
getChannel()
Map<String,Object>
getChannelData()
VerificationAttempt.ConversionStatus
getConversionStatus()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
Map<String,Object>
getPrice()
String
getServiceSid()
String
getSid()
URI
getUrl()
String
getVerificationSid()
int
hashCode()
static VerificationAttemptReader
reader()
-
-
-
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()
-
-