public class PhoneNumberCreator extends Creator<PhoneNumber>
| Constructor and Description |
|---|
PhoneNumberCreator(String pathServiceSid)
Construct a new PhoneNumberCreator.
|
| Modifier and Type | Method and Description |
|---|---|
PhoneNumber |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
PhoneNumberCreator |
setPhoneNumber(PhoneNumber phoneNumber)
The phone_number.
|
PhoneNumberCreator |
setPhoneNumber(String phoneNumber)
The phone_number.
|
PhoneNumberCreator |
setSid(String sid)
A 34 character string that uniquely identifies this Phone Number..
|
create, createAsync, createAsyncpublic PhoneNumberCreator(String pathServiceSid)
pathServiceSid - Service Sid.public PhoneNumberCreator setSid(String sid)
sid - A string that uniquely identifies this Phone Number.public PhoneNumberCreator setPhoneNumber(PhoneNumber phoneNumber)
phoneNumber - The phone_numberpublic PhoneNumberCreator setPhoneNumber(String phoneNumber)
phoneNumber - The phone_numberpublic PhoneNumber create(TwilioRestClient client)
create in class Creator<PhoneNumber>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.