public class CredentialList extends ListResource<Credential,TwilioRestClient> implements CredentialFactory
| Constructor and Description |
|---|
CredentialList(TwilioRestClient client)
Instantiates a new sip domain list.
|
CredentialList(TwilioRestClient client,
Map<String,String> filters)
Instantiates a new sip domain list.
|
CredentialList(TwilioRestClient client,
String credentialListSid)
Instantiates a new sip domain list.
|
| Modifier and Type | Method and Description |
|---|---|
Credential |
create(List<org.apache.http.NameValuePair> params)
Creates the credential
|
Credential |
create(Map<String,String> params)
Creates the credential
|
String |
getRequestCredentialListSid()
Returns the sid of the containing credential list.
|
getEnd, getNextUri, getPage, getPageData, getStart, iteratorsetRequestAccountSidequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CredentialList(TwilioRestClient client)
client - the clientpublic CredentialList(TwilioRestClient client, String credentialListSid)
client - the clientpublic CredentialList(TwilioRestClient client, Map<String,String> filters)
client - the clientfilters - the filterspublic String getRequestCredentialListSid()
public Credential create(Map<String,String> params) throws TwilioRestException
CredentialFactorycreate in interface CredentialFactoryparams - the params mapTwilioRestExceptionpublic Credential create(List<org.apache.http.NameValuePair> params) throws TwilioRestException
CredentialFactorycreate in interface CredentialFactoryparams - the params listTwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.