"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); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

/**
* Enum class InstanceState.
* @enum {}
* @readonly
*/
var InstanceState = /*#__PURE__*/function () {
  function InstanceState() {
    _classCallCheck(this, InstanceState);

    _defineProperty(this, "on", "on");

    _defineProperty(this, "off", "off");

    _defineProperty(this, "booting", "booting");

    _defineProperty(this, "deleting", "deleting");

    _defineProperty(this, "creating", "creating");

    _defineProperty(this, "restoring", "restoring");

    _defineProperty(this, "paused", "paused");

    _defineProperty(this, "rebooting", "rebooting");

    _defineProperty(this, "error", "error");
  }

  _createClass(InstanceState, null, [{
    key: "constructFromObject",
    value:
    /**
    * Returns a <code>InstanceState</code> enum value from a Javascript object name.
    * @param {Object} data The plain JavaScript object containing the name of the enum value.
    * @return {module:model/InstanceState} The enum <code>InstanceState</code> value.
    */
    function constructFromObject(object) {
      return object;
    }
  }]);

  return InstanceState;
}();

exports["default"] = InstanceState;