Class AssetUpdater


  • public class AssetUpdater
    extends Updater<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

      • AssetUpdater

        public AssetUpdater​(String pathServiceSid,
                            String pathSid,
                            String friendlyName)
        Construct a new AssetUpdater.
        Parameters:
        pathServiceSid - Service Sid.
        pathSid - Asset Sid.
        friendlyName - A human-readable description of this Asset.
    • Method Detail

      • update

        public Asset update​(TwilioRestClient client)
        Make the request to the Twilio API to perform the update.
        Specified by:
        update in class Updater<Asset>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Updated Asset