/*
 * 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 DataLakeAnalyticsAccountListResult class.
 * @constructor
 * DataLakeAnalytics Account list information.
 * @member {array} [value] the results of the list operation
 * 
 * @member {string} [nextLink] the link (url) to the next page of results.
 * 
 */
function DataLakeAnalyticsAccountListResult() {
}

util.inherits(DataLakeAnalyticsAccountListResult, Array);

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

module.exports = DataLakeAnalyticsAccountListResult;
