Class VariableCreator


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

      • VariableCreator

        public VariableCreator​(String pathServiceSid,
                               String pathEnvironmentSid,
                               String key,
                               String value)
        Construct a new VariableCreator.
        Parameters:
        pathServiceSid - Service Sid.
        pathEnvironmentSid - Environment Sid.
        key - A string by which this Variable can be referenced.
        value - A string that contains the actual value of this Variable.
    • Method Detail

      • create

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