Class AssetCreator


  • public class AssetCreator
    extends Creator<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

      • AssetCreator

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

      • create

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