Class AssetDeleter


  • public class AssetDeleter
    extends Deleter<Asset>
    PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
    • Constructor Detail

      • AssetDeleter

        public AssetDeleter​(String pathServiceSid,
                            String pathSid)
        Construct a new AssetDeleter.
        Parameters:
        pathServiceSid - Service Sid.
        pathSid - Asset 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<Asset>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        true if the object was deleted