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

/**
 * Response for ListArpTable associated with the Express Route Circuits API.
 *
 */
class ExpressRouteCircuitsArpTableListResult {
  /**
   * Create a ExpressRouteCircuitsArpTableListResult.
   * @property {array} [value] Gets list of the ARP table.
   * @property {string} [nextLink] The URL to get the next set of results.
   */
  constructor() {
  }

  /**
   * Defines the metadata of ExpressRouteCircuitsArpTableListResult
   *
   * @returns {object} metadata of ExpressRouteCircuitsArpTableListResult
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'ExpressRouteCircuitsArpTableListResult',
      type: {
        name: 'Composite',
        className: 'ExpressRouteCircuitsArpTableListResult',
        modelProperties: {
          value: {
            required: false,
            serializedName: 'value',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ExpressRouteCircuitArpTableElementType',
                  type: {
                    name: 'Composite',
                    className: 'ExpressRouteCircuitArpTable'
                  }
              }
            }
          },
          nextLink: {
            required: false,
            serializedName: 'nextLink',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = ExpressRouteCircuitsArpTableListResult;
