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';
  
  /**
   * Represents a collection of autoscale setting resources.
   */
  class AutoscaleSettingResourceCollection extends Array {
    /**
     * Create a AutoscaleSettingResourceCollection.
     * @member {string} [nextLink] URL to get the next set of results.
     */
    constructor() {
      super();
    }
  
    /**
     * Defines the metadata of AutoscaleSettingResourceCollection
     *
     * @returns {object} metadata of AutoscaleSettingResourceCollection
     *
     */
    mapper() {
      return {
        required: false,
        serializedName: 'AutoscaleSettingResourceCollection',
        type: {
          name: 'Composite',
          className: 'AutoscaleSettingResourceCollection',
          modelProperties: {
            value: {
              required: true,
              serializedName: '',
              type: {
                name: 'Sequence',
                element: {
                    required: false,
                    serializedName: 'AutoscaleSettingResourceElementType',
                    type: {
                      name: 'Composite',
                      className: 'AutoscaleSettingResource'
                    }
                }
              }
            },
            nextLink: {
              required: false,
              serializedName: 'nextLink',
              type: {
                name: 'String'
              }
            }
          }
        }
      };
    }
  }
  
  module.exports = AutoscaleSettingResourceCollection;
  