Class PhoneNumberCreator
- java.lang.Object
-
- com.twilio.base.Creator<PhoneNumber>
-
- com.twilio.rest.messaging.v1.service.PhoneNumberCreator
-
public class PhoneNumberCreator extends Creator<PhoneNumber>
-
-
Constructor Summary
Constructors Constructor Description PhoneNumberCreator(String pathServiceSid, String phoneNumberSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhoneNumber
create(TwilioRestClient client)
Execute a request using specified client.PhoneNumberCreator
setPhoneNumberSid(String phoneNumberSid)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setPhoneNumberSid
public PhoneNumberCreator setPhoneNumberSid(String phoneNumberSid)
-
create
public PhoneNumber create(TwilioRestClient client)
Description copied from class:Creator
Execute a request using specified client.- Specified by:
create
in classCreator<PhoneNumber>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-