text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports["default"] = void 0;
  
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
  
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
  
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
  
  /**
   * The ScimError model module.
   * @module model/ScimError
   * @version 0.0.5
   */
  var ScimError = /*#__PURE__*/function () {
    /**
     * Constructs a new <code>ScimError</code>.
     * Scim Error
     * @alias module:model/ScimError
     */
    function ScimError() {
      _classCallCheck(this, ScimError);
  
      ScimError.initialize(this);
    }
    /**
     * Initializes the fields of this object.
     * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
     * Only for internal use.
     */
  
  
    _createClass(ScimError, null, [{
      key: "initialize",
      value: function initialize(obj) {}
      /**
       * Constructs a <code>ScimError</code> from a plain JavaScript object, optionally creating a new instance.
       * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
       * @param {Object} data The plain JavaScript object bearing properties of interest.
       * @param {module:model/ScimError} obj Optional instance to populate.
       * @return {module:model/ScimError} The populated <code>ScimError</code> instance.
       */
  
    }, {
      key: "constructFromObject",
      value: function constructFromObject(data, obj) {
        if (data) {
          obj = obj || new ScimError();
  
          if (data.hasOwnProperty('detail')) {
            obj['detail'] = _ApiClient["default"].convertToType(data['detail'], 'String');
          }
  
          if (data.hasOwnProperty('documentation_url')) {
            obj['documentation_url'] = _ApiClient["default"].convertToType(data['documentation_url'], 'String');
          }
  
          if (data.hasOwnProperty('message')) {
            obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
          }
  
          if (data.hasOwnProperty('schemas')) {
            obj['schemas'] = _ApiClient["default"].convertToType(data['schemas'], ['String']);
          }
  
          if (data.hasOwnProperty('scimType')) {
            obj['scimType'] = _ApiClient["default"].convertToType(data['scimType'], 'String');
          }
  
          if (data.hasOwnProperty('status')) {
            obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
          }
        }
  
        return obj;
      }
    }]);
  
    return ScimError;
  }();
  /**
   * @member {String} detail
   */
  
  
  ScimError.prototype['detail'] = undefined;
  /**
   * @member {String} documentation_url
   */
  
  ScimError.prototype['documentation_url'] = undefined;
  /**
   * @member {String} message
   */
  
  ScimError.prototype['message'] = undefined;
  /**
   * @member {Array.<String>} schemas
   */
  
  ScimError.prototype['schemas'] = undefined;
  /**
   * @member {String} scimType
   */
  
  ScimError.prototype['scimType'] = undefined;
  /**
   * @member {Number} status
   */
  
  ScimError.prototype['status'] = undefined;
  var _default = ScimError;
  exports["default"] = _default;