public class Verification extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Verification.Channel |
| Modifier and Type | Method and Description |
|---|---|
static VerificationCreator |
creator(String pathServiceSid,
String to,
String channel)
Create a VerificationCreator to execute create.
|
boolean |
equals(Object o) |
static Verification |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Verification object using the provided
ObjectMapper.
|
static Verification |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Verification object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The Account Sid..
|
Verification.Channel |
getChannel()
Returns The sms or call.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this Verification was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Verification was updated.
|
String |
getServiceSid()
Returns The Service Sid..
|
String |
getSid()
Returns The A string that uniquely identifies this Verification..
|
String |
getStatus()
Returns The pending, approved, denied or expired.
|
PhoneNumber |
getTo()
Returns The To phonenumber.
|
Boolean |
getValid()
Returns The successful verification.
|
int |
hashCode() |
String |
toString() |
public static VerificationCreator creator(String pathServiceSid, String to, String channel)
pathServiceSid - Service Sid.to - To phonenumberchannel - sms or callpublic static Verification fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Verification fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getServiceSid()
public final String getAccountSid()
public final PhoneNumber getTo()
public final Verification.Channel getChannel()
public final String getStatus()
public final Boolean getValid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
Copyright © 2016 Twilio, Inc. All Rights Reserved.