Class AssetVersionFetcher


  • public class AssetVersionFetcher
    extends Fetcher<AssetVersion>
    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

      • AssetVersionFetcher

        public AssetVersionFetcher​(String pathServiceSid,
                                   String pathAssetSid,
                                   String pathSid)
        Construct a new AssetVersionFetcher.
        Parameters:
        pathServiceSid - Service Sid.
        pathAssetSid - Asset Sid.
        pathSid - Asset Version Sid.
    • Method Detail

      • fetch

        public AssetVersion fetch​(TwilioRestClient client)
        Make the request to the Twilio API to perform the fetch.
        Specified by:
        fetch in class Fetcher<AssetVersion>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Fetched AssetVersion