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

/**
 * Paged Report records list representation.
 */
class RequestReportCollection extends Array {
  /**
   * Create a RequestReportCollection.
   * @member {number} [count] Total record count number across all pages.
   */
  constructor() {
    super();
  }

  /**
   * Defines the metadata of RequestReportCollection
   *
   * @returns {object} metadata of RequestReportCollection
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'RequestReportCollection',
      type: {
        name: 'Composite',
        className: 'RequestReportCollection',
        modelProperties: {
          value: {
            required: false,
            serializedName: '',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'RequestReportRecordContractElementType',
                  type: {
                    name: 'Composite',
                    className: 'RequestReportRecordContract'
                  }
              }
            }
          }
          count: {
            required: false,
            serializedName: 'count',
            type: {
              name: 'Number'
            }
          }
        }
      }
    };
  }
}

module.exports = RequestReportCollection;

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

/**
 * Paged Report records list representation.
 */
class RequestReportCollection extends Array {
  /**
   * Create a RequestReportCollection.
   * @member {number} [count] Total record count number across all pages.
   */
  constructor() {
    super();
  }

  /**
   * Defines the metadata of RequestReportCollection
   *
   * @returns {object} metadata of RequestReportCollection
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'RequestReportCollection',
      type: {
        name: 'Composite',
        className: 'RequestReportCollection',
        modelProperties: {
          value: {
            required: false,
            serializedName: '',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'RequestReportRecordContractElementType',
                  type: {
                    name: 'Composite',
                    className: 'RequestReportRecordContract'
                  }
              }
            }
          },
          count: {
            required: false,
            serializedName: 'count',
            type: {
              name: 'Number'
            }
          }
        }
      }
    };
  }
}

module.exports = RequestReportCollection;

Add missing comma in apimanagement mapper
Add missing comma in apimanagement mapper
