/*
 * 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 0.16.0.0
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

var util = require('util');

/**
 * @class
 * Initializes a new instance of the GatewayResources class.
 * @constructor
 * collection of Gateway Resources
 * @member {array} [value] collection of Gateway Resources
 * 
 * @member {string} [nextLink] the URL to the next set of resources
 * 
 */
function GatewayResources() {
}

util.inherits(GatewayResources, Array);

/**
 * Defines the metadata of GatewayResources
 *
 * @returns {object} metadata of GatewayResources
 *
 */
GatewayResources.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'GatewayResources',
    type: {
      name: 'Composite',
      className: 'GatewayResources',
      modelProperties: {
        value: {
          required: false,
          serializedName: '',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serializedName: 'GatewayResourceElementType',
                type: {
                  name: 'Composite',
                  className: 'GatewayResource'
                }
            }
          }
        },
        nextLink: {
          required: false,
          serializedName: 'nextLink',
          type: {
            name: 'String'
          }
        }
      }
    }
  };
};

module.exports = GatewayResources;
