com.twilio.sdk.resource.list
Class MessageList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<Message>
          extended by com.twilio.sdk.resource.list.MessageList
All Implemented Interfaces:
MessageFactory, Iterable<Message>

public class MessageList
extends ListResource<Message>
implements MessageFactory

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


Constructor Summary
MessageList(TwilioRestClient client)
          Instantiates a new Message list.
MessageList(TwilioRestClient client, Map<String,String> filters)
          Instantiates a new Message list.
 
Method Summary
 Message create(List<org.apache.http.NameValuePair> params)
          Creates the message.
 
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

MessageList

public MessageList(TwilioRestClient client)
Instantiates a new Message list.

Parameters:
client - the client

MessageList

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

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

create

public Message create(List<org.apache.http.NameValuePair> params)
               throws TwilioRestException
Description copied from interface: MessageFactory
Creates the message.

Specified by:
create in interface MessageFactory
Parameters:
params - the params list
Returns:
the message
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.