com.twilio.sdk.resource.instance
Class Sandbox

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.InstanceResource
          extended by com.twilio.sdk.resource.instance.Sandbox

public class Sandbox
extends InstanceResource

The Class Sandbox. For more information see https://www.twilio.com/docs/api/rest/sandbox


Constructor Summary
Sandbox(TwilioRestClient client)
          Instantiates a new sandbox.
Sandbox(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new sandbox.
 
Method Summary
 String getApiVersion()
          Gets the api version.
 String getApplicationSid()
          Gets the application sid.
 Date getDateCreated()
          Gets the date created.
 Date getDateUpdated()
          Gets the date updated.
 String getPhoneNumber()
          Gets the phone number.
 String getPin()
          Gets the pin.
 String getSmsMethod()
          Gets the sms method.
 String getSmsUrl()
          Gets the sms url.
 String getVoiceMethod()
          Gets the voice method.
 String getVoiceUrl()
          Gets the voice url.
 
Methods inherited from class com.twilio.sdk.resource.InstanceResource
getObject, getProperty, update, update
 
Methods inherited from class com.twilio.sdk.resource.Resource
setRequestAccountSid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sandbox

public Sandbox(TwilioRestClient client)
Instantiates a new sandbox.

Parameters:
client - the client

Sandbox

public Sandbox(TwilioRestClient client,
               Map<String,Object> properties)
Instantiates a new sandbox.

Parameters:
client - the client
properties - the properties
Method Detail

getDateCreated

public Date getDateCreated()
Gets the date created.

Returns:
the date created

getDateUpdated

public Date getDateUpdated()
Gets the date updated.

Returns:
the date updated

getPhoneNumber

public String getPhoneNumber()
Gets the phone number.

Returns:
the phone number

getApplicationSid

public String getApplicationSid()
Gets the application sid.

Returns:
the application sid

getApiVersion

public String getApiVersion()
Gets the api version.

Returns:
the api version

getVoiceUrl

public String getVoiceUrl()
Gets the voice url.

Returns:
the voice url

getVoiceMethod

public String getVoiceMethod()
Gets the voice method.

Returns:
the voice method

getSmsUrl

public String getSmsUrl()
Gets the sms url.

Returns:
the sms url

getSmsMethod

public String getSmsMethod()
Gets the sms method.

Returns:
the sms method

getPin

public String getPin()
Gets the pin.

Returns:
the pin


Copyright © 2011 Twilio, Inc. All Rights Reserved.