com.twilio.sdk.resource.instance
Class Sms

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

public class Sms
extends InstanceResource

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


Constructor Summary
Sms(TwilioRestClient client)
          Instantiates a new sms.
Sms(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new sms.
Sms(TwilioRestClient client, String sid)
          Instantiates a new sms.
 
Method Summary
 String getAccountSid()
          Gets the account sid.
 String getApiVersion()
          Gets the api version.
 String getBody()
          Gets the body.
 Date getDateCreated()
          Gets the date created.
 Date getDateSent()
          Gets the date sent.
 Date getDateUpdated()
          Gets the date updated.
 String getDirection()
          Gets the direction.
 String getFrom()
          Gets the from.
 String getPrice()
          Gets the price.
 String getSid()
          Gets the sid.
 String getStatus()
          Gets the status.
 String getTo()
          Gets the to.
 
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

Sms

public Sms(TwilioRestClient client)
Instantiates a new sms.

Parameters:
client - the client

Sms

public Sms(TwilioRestClient client,
           String sid)
Instantiates a new sms.

Parameters:
client - the client
sid - the sid

Sms

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

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

getSid

public String getSid()
Gets the sid.

Returns:
the sid

getDateCreated

public Date getDateCreated()
Gets the date created.

Returns:
the date created

getDateUpdated

public Date getDateUpdated()
Gets the date updated.

Returns:
the date updated

getDateSent

public Date getDateSent()
Gets the date sent.

Returns:
the date sent

getAccountSid

public String getAccountSid()
Gets the account sid.

Returns:
the account sid

getTo

public String getTo()
Gets the to.

Returns:
the to

getFrom

public String getFrom()
Gets the from.

Returns:
the from

getBody

public String getBody()
Gets the body.

Returns:
the body

getStatus

public String getStatus()
Gets the status.

Returns:
the status

getPrice

public String getPrice()
Gets the price.

Returns:
the price

getDirection

public String getDirection()
Gets the direction.

Returns:
the direction

getApiVersion

public String getApiVersion()
Gets the api version.

Returns:
the api version


Copyright © 2011 Twilio, Inc. All Rights Reserved.