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 0.16.0.0
   * Changes may cause incorrect behavior and will be lost if the code is
   * regenerated.
   */
  
  'use strict';
  
  /**
   * @class
   * Initializes a new instance of the ResourceManagementError class.
   * @constructor
   * @member {string} code Gets or sets the error code returned from the server.
   * 
   * @member {string} message Gets or sets the error message returned from the
   * server.
   * 
   * @member {string} [target] Gets or sets the target of the error.
   * 
   */
  function ResourceManagementError() {
  }
  
  /**
   * Defines the metadata of ResourceManagementError
   *
   * @returns {object} metadata of ResourceManagementError
   *
   */
  ResourceManagementError.prototype.mapper = function () {
    return {
      required: false,
      serializedName: 'ResourceManagementError',
      type: {
        name: 'Composite',
        className: 'ResourceManagementError',
        modelProperties: {
          code: {
            required: true,
            serializedName: 'code',
            type: {
              name: 'String'
            }
          },
          message: {
            required: true,
            serializedName: 'message',
            type: {
              name: 'String'
            }
          },
          target: {
            required: false,
            serializedName: 'target',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  };
  
  module.exports = ResourceManagementError;
  