Class PhoneNumberDeleter
- java.lang.Object
-
- com.twilio.base.Deleter<PhoneNumber>
-
- com.twilio.rest.messaging.v1.service.PhoneNumberDeleter
-
public class PhoneNumberDeleter extends Deleter<PhoneNumber>
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
-
Constructor Summary
Constructors Constructor Description PhoneNumberDeleter(String pathServiceSid, String pathSid)
Construct a new PhoneNumberDeleter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
delete(TwilioRestClient client)
Make the request to the Twilio API to perform the delete.-
Methods inherited from class com.twilio.base.Deleter
delete, deleteAsync, deleteAsync
-
-
-
-
Method Detail
-
delete
public boolean delete(TwilioRestClient client)
Make the request to the Twilio API to perform the delete.- Specified by:
delete
in classDeleter<PhoneNumber>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- true if the object was deleted
-
-