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

util.inherits(DataLakeAnalyticsAccountListStorageAccountsResult, Array);

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

module.exports = DataLakeAnalyticsAccountListStorageAccountsResult;
