Class Deleter<T extends Resource>

    • Constructor Detail

      • Deleter

        public Deleter()
    • Method Detail

      • deleteAsync

        public CompletableFuture<Boolean> deleteAsync()
        Execute an async request using default client.
        Returns:
        future that resolves to true if the object was deleted
      • deleteAsync

        public CompletableFuture<Boolean> deleteAsync​(TwilioRestClient client)
        Execute an async request using specified client.
        Parameters:
        client - client used to make request
        Returns:
        future that resolves to true if the object was deleted
      • delete

        public boolean delete()
        Execute a request using default client.
        Returns:
        true if the object was deleted
      • delete

        public abstract boolean delete​(TwilioRestClient client)
        Execute a request using specified client.
        Parameters:
        client - client used to make request
        Returns:
        true if the object was deleted