com.twilio.sdk.resource.list
Class TokenList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource<C>
      extended by com.twilio.sdk.resource.ListResource<Token,TwilioRestClient>
          extended by com.twilio.sdk.resource.list.TokenList
All Implemented Interfaces:
TokenFactory, Iterable<Token>

public class TokenList
extends ListResource<Token,TwilioRestClient>
implements TokenFactory

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


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

TokenList

public TokenList(TwilioRestClient client)
Instantiates a new Token list.

Parameters:
client - the client

TokenList

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

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

create

public Token create(List<org.apache.http.NameValuePair> params)
             throws TwilioRestException
Description copied from interface: TokenFactory
Creates the token.

Specified by:
create in interface TokenFactory
Parameters:
params - the params list
Returns:
the token
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.