Class FunctionCreator


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

      • FunctionCreator

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

      • create

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