Class DomainDeleter

    • Constructor Detail

      • DomainDeleter

        public DomainDeleter​(String pathSid)
        Construct a new DomainDeleter.
        Parameters:
        pathSid - The unique string that identifies the resource
      • DomainDeleter

        public DomainDeleter​(String pathAccountSid,
                             String pathSid)
        Construct a new DomainDeleter.
        Parameters:
        pathAccountSid - The SID of the Account that created the resources to delete
        pathSid - The unique string that identifies the resource
    • 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<Domain>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        true if the object was deleted