public class CredentialCreator extends Creator<Credential>
| Constructor and Description |
|---|
CredentialCreator(String pathCredentialListSid,
String username,
String password)
Construct a new CredentialCreator.
|
CredentialCreator(String pathAccountSid,
String pathCredentialListSid,
String username,
String password)
Construct a new CredentialCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Credential |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
create, createAsync, createAsyncpublic CredentialCreator(String pathCredentialListSid, String username, String password)
pathCredentialListSid - The credential_list_sidusername - The usernamepassword - The passwordpublic CredentialCreator(String pathAccountSid, String pathCredentialListSid, String username, String password)
pathAccountSid - The account_sidpathCredentialListSid - The credential_list_sidusername - The usernamepassword - The passwordpublic Credential create(TwilioRestClient client)
create in class Creator<Credential>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.