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 GetUserMetadataErrorModel.
   */
  class GetUserMetadataErrorModel {
    /**
     * Create a GetUserMetadataErrorModel.
     * @property {object} error
     * @property {string} [error.code] Possible values include: 'BadRequest',
     * 'Conflict', 'NotAcceptable', 'NotFound', 'InternalServerError',
     * 'Unauthorized'
     * @property {string} [error.message]
     */
    constructor() {
    }
  
    /**
     * Defines the metadata of GetUserMetadataErrorModel
     *
     * @returns {object} metadata of GetUserMetadataErrorModel
     *
     */
    mapper() {
      return {
        required: false,
        serializedName: 'GetUserMetadataErrorModel',
        type: {
          name: 'Composite',
          className: 'GetUserMetadataErrorModel',
          modelProperties: {
            error: {
              required: true,
              serializedName: 'error',
              type: {
                name: 'Composite',
                className: 'GetUserMetadataErrorModelError'
              }
            }
          }
        }
      };
    }
  }
  
  module.exports = GetUserMetadataErrorModel;
  