com.twilio.sdk.resource.list
Class TokenList
java.lang.Object
com.twilio.sdk.resource.Resource<C>
com.twilio.sdk.resource.ListResource<Token,TwilioRestClient>
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
|
Method Summary |
Token |
create(List<org.apache.http.NameValuePair> params)
Creates the token. |
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 clientfilters - the filters
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.