"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _ParseObject = _interopRequireDefault(require("./ParseObject"));
function _interopRequireDefault(obj) {
  return obj && obj.__esModule ? obj : {
    default: obj
  };
}
/**
 * @flow
 */
/*:: import type { AttributeMap } from './ObjectStateMutations';*/
class Installation extends _ParseObject.default {
  constructor(attributes /*: ?AttributeMap*/) {
    super('_Installation');
    if (attributes && typeof attributes === 'object') {
      if (!this.set(attributes || {})) {
        throw new Error("Can't create an invalid Installation");
      }
    }
  }
}
exports.default = Installation;
_ParseObject.default.registerSubclass('_Installation', Installation);