public class Sandbox extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static SandboxFetcher |
fetch(String accountSid)
Create a SandboxFetcher to execute fetch.
|
static Sandbox |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Sandbox object using the provided
ObjectMapper.
|
static Sandbox |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Sandbox object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getApiVersion()
Returns The The api_version.
|
String |
getApplicationSid()
Returns The The application_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
PhoneNumber |
getPhoneNumber()
Returns The The phone_number.
|
Integer |
getPin()
Returns The The pin.
|
HttpMethod |
getSmsMethod()
Returns The The sms_method.
|
URI |
getSmsUrl()
Returns The The sms_url.
|
URI |
getStatusCallback()
Returns The The status_callback.
|
HttpMethod |
getStatusCallbackMethod()
Returns The The status_callback_method.
|
URI |
getUri()
Returns The The uri.
|
HttpMethod |
getVoiceMethod()
Returns The The voice_method.
|
URI |
getVoiceUrl()
Returns The The voice_url.
|
int |
hashCode() |
String |
toString() |
static SandboxUpdater |
update(String accountSid)
Create a SandboxUpdater to execute update.
|
public static SandboxFetcher fetch(String accountSid)
accountSid
- The account_sidpublic static SandboxUpdater update(String accountSid)
accountSid
- The account_sidpublic static Sandbox fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Sandbox fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final Integer getPin()
public final String getAccountSid()
public final PhoneNumber getPhoneNumber()
public final String getApplicationSid()
public final String getApiVersion()
public final URI getVoiceUrl()
public final HttpMethod getVoiceMethod()
public final URI getSmsUrl()
public final HttpMethod getSmsMethod()
public final URI getStatusCallback()
public final HttpMethod getStatusCallbackMethod()
public final URI getUri()
Copyright © 2011 Twilio, Inc. All Rights Reserved.