text: /*
   * 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';
  
  /**
   * Class representing a HandledErrors.
   */
  class HandledErrors {
    /**
     * Create a HandledErrors.
     * @property {string} [nextLink]
     * @property {array} [errors] Errors list.
     */
    constructor() {
    }
  
    /**
     * Defines the metadata of HandledErrors
     *
     * @returns {object} metadata of HandledErrors
     *
     */
    mapper() {
      return {
        required: false,
        serializedName: 'HandledErrors',
        type: {
          name: 'Composite',
          className: 'HandledErrors',
          modelProperties: {
            nextLink: {
              required: false,
              serializedName: 'nextLink',
              type: {
                name: 'String'
              }
            },
            errors: {
              required: false,
              serializedName: 'errors',
              type: {
                name: 'Sequence',
                element: {
                    required: false,
                    serializedName: 'HandledErrorsErrorsItemElementType',
                    type: {
                      name: 'Composite',
                      className: 'HandledErrorsErrorsItem'
                    }
                }
              }
            }
          }
        }
      };
    }
  }
  
  module.exports = HandledErrors;
  