Class 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 Detail

      • PhoneNumberDeleter

        public PhoneNumberDeleter​(String pathServiceSid,
                                  String pathSid)
        Construct a new PhoneNumberDeleter.
        Parameters:
        pathServiceSid - The service_sid
        pathSid - The sid
    • Method Detail

      • delete

        public boolean delete​(TwilioRestClient client)
        Make the request to the Twilio API to perform the delete.
        Specified by:
        delete in class Deleter<PhoneNumber>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        true if the object was deleted