com.twilio.sdk.resource.list
Class SmsList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<Sms>
          extended by com.twilio.sdk.resource.list.SmsList
All Implemented Interfaces:
SmsFactory, Iterable<Sms>

public class SmsList
extends ListResource<Sms>
implements SmsFactory

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


Constructor Summary
SmsList(TwilioRestClient client)
          Instantiates a new sms list.
SmsList(TwilioRestClient client, Map<String,String> filters)
          Instantiates a new sms list.
 
Method Summary
 Sms create(List<org.apache.http.NameValuePair> params)
          Creates the sms.
 Sms create(Map<String,String> params)
          Creates the sms.
 
Methods inherited from class com.twilio.sdk.resource.ListResource
getEnd, getNextUri, getNumPages, getPage, getPageData, getStart, getTotal, iterator
 
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

SmsList

public SmsList(TwilioRestClient client)
Instantiates a new sms list.

Parameters:
client - the client

SmsList

public SmsList(TwilioRestClient client,
               Map<String,String> filters)
Instantiates a new sms list.

Parameters:
client - the client
filters - the filters
Method Detail

create

public Sms create(Map<String,String> params)
           throws TwilioRestException
Description copied from interface: SmsFactory
Creates the sms.

Specified by:
create in interface SmsFactory
Parameters:
params - the params map
Returns:
the sms
Throws:
TwilioRestException

create

public Sms create(List<org.apache.http.NameValuePair> params)
           throws TwilioRestException
Description copied from interface: SmsFactory
Creates the sms.

Specified by:
create in interface SmsFactory
Parameters:
params - the params list
Returns:
the sms
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.