public class ValidationRequest extends Resource
Modifier and Type | Method and Description |
---|---|
static ValidationRequestCreator |
creator(PhoneNumber phoneNumber)
Create a ValidationRequestCreator to execute create.
|
static ValidationRequestCreator |
creator(String pathAccountSid,
PhoneNumber phoneNumber)
Create a ValidationRequestCreator to execute create.
|
boolean |
equals(Object o) |
static ValidationRequest |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ValidationRequest object using the
provided ObjectMapper.
|
static ValidationRequest |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ValidationRequest object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getCallSid()
Returns The The call_sid.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
PhoneNumber |
getPhoneNumber()
Returns The The phone_number.
|
Integer |
getValidationCode()
Returns The The validation_code.
|
int |
hashCode() |
String |
toString() |
public static ValidationRequestCreator creator(String pathAccountSid, PhoneNumber phoneNumber)
pathAccountSid
- The account_sidphoneNumber
- The phone_numberpublic static ValidationRequestCreator creator(PhoneNumber phoneNumber)
phoneNumber
- The phone_numberpublic static ValidationRequest fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static ValidationRequest fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final PhoneNumber getPhoneNumber()
public final String getFriendlyName()
public final Integer getValidationCode()
public final String getCallSid()
Copyright © 2016 Twilio, Inc. All Rights Reserved.