/*
 * 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';

var util = require('util');

/**
 * @class
 * Initializes a new instance of the DataLakeStoreFirewallRuleListResult class.
 * @constructor
 * Data Lake Store firewall rule list information.
 * @member {array} [value] the results of the list operation
 * 
 * @member {string} [nextLink] the link (url) to the next page of results.
 * 
 * @member {number} [count] the total count of results that are available, but
 * might not be returned in the current page.
 * 
 */
function DataLakeStoreFirewallRuleListResult() {
}

util.inherits(DataLakeStoreFirewallRuleListResult, Array);

/**
 * Defines the metadata of DataLakeStoreFirewallRuleListResult
 *
 * @returns {object} metadata of DataLakeStoreFirewallRuleListResult
 *
 */
DataLakeStoreFirewallRuleListResult.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'DataLakeStoreFirewallRuleListResult',
    type: {
      name: 'Composite',
      className: 'DataLakeStoreFirewallRuleListResult',
      modelProperties: {
        value: {
          required: false,
          readOnly: true,
          serializedName: '',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serializedName: 'FirewallRuleElementType',
                type: {
                  name: 'Composite',
                  className: 'FirewallRule'
                }
            }
          }
        },
        nextLink: {
          required: false,
          readOnly: true,
          serializedName: 'nextLink',
          type: {
            name: 'String'
          }
        },
        count: {
          required: false,
          readOnly: true,
          serializedName: 'count',
          type: {
            name: 'Number'
          }
        }
      }
    }
  };
};

module.exports = DataLakeStoreFirewallRuleListResult;
