text: /*
   * Copyright (c) Microsoft Corporation. All rights reserved.
   * Licensed under the MIT License. See License.txt in the project root for
   * license information.
   *
   * Code generated by Microsoft (R) AutoRest Code Generator.
   * Changes may cause incorrect behavior and will be lost if the code is
   * regenerated.
   */
  
  'use strict';
  
  const models = require('./index');
  
  /**
   * The properties for updating encoded task step.
   *
   * @extends models['TaskStepUpdateParameters']
   */
  class EncodedTaskStepUpdateParameters extends models['TaskStepUpdateParameters'] {
    /**
     * Create a EncodedTaskStepUpdateParameters.
     * @property {string} [encodedTaskContent] Base64 encoded value of the
     * template/definition file content.
     * @property {string} [encodedValuesContent] Base64 encoded value of the
     * parameters/values file content.
     * @property {array} [values] The collection of overridable values that can
     * be passed when running a task.
     */
    constructor() {
      super();
    }
  
    /**
     * Defines the metadata of EncodedTaskStepUpdateParameters
     *
     * @returns {object} metadata of EncodedTaskStepUpdateParameters
     *
     */
    mapper() {
      return {
        required: false,
        serializedName: 'EncodedTask',
        type: {
          name: 'Composite',
          polymorphicDiscriminator: {
            serializedName: 'type',
            clientName: 'type'
          },
          uberParent: 'TaskStepUpdateParameters',
          className: 'EncodedTaskStepUpdateParameters',
          modelProperties: {
            contextPath: {
              required: false,
              serializedName: 'contextPath',
              type: {
                name: 'String'
              }
            },
            contextAccessToken: {
              required: false,
              serializedName: 'contextAccessToken',
              type: {
                name: 'String'
              }
            },
            type: {
              required: true,
              serializedName: 'type',
              isPolymorphicDiscriminator: true,
              type: {
                name: 'String'
              }
            },
            encodedTaskContent: {
              required: false,
              serializedName: 'encodedTaskContent',
              type: {
                name: 'String'
              }
            },
            encodedValuesContent: {
              required: false,
              serializedName: 'encodedValuesContent',
              type: {
                name: 'String'
              }
            },
            values: {
              required: false,
              serializedName: 'values',
              type: {
                name: 'Sequence',
                element: {
                    required: false,
                    serializedName: 'SetValueElementType',
                    type: {
                      name: 'Composite',
                      className: 'SetValue'
                    }
                }
              }
            }
          }
        }
      };
    }
  }
  
  module.exports = EncodedTaskStepUpdateParameters;
  