text: /**
   * Pydio API V2
   * Access to a Pydio Server. Second version of the API.
   *
   * OpenAPI spec version: 2.0.0
   * 
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   * Do not edit the class manually.
   *
   */
  
  'use strict';
  
  Object.defineProperty(exports, '__esModule', {
      value: true
  });
  
  var _createClass = (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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
  
  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'); } }
  
  var _ApiClient = require('../ApiClient');
  
  var _ApiClient2 = _interopRequireDefault(_ApiClient);
  
  var _TaskSchedule = require('./TaskSchedule');
  
  var _TaskSchedule2 = _interopRequireDefault(_TaskSchedule);
  
  /**
  * The Task model module.
  * @module model/Task
  * @version 2.0.0
  */
  
  var Task = (function () {
      /**
      * Constructs a new <code>Task</code>.
      * Background operation started on the server. It&#39;s the client mission to check it on a regular basis.
      * @alias module:model/Task
      * @class
      */
  
      function Task() {
          _classCallCheck(this, Task);
  
          this.id = undefined;
          this.status = undefined;
          this.label = undefined;
          this.description = undefined;
          this.userId = undefined;
          this.wsId = undefined;
          this.actionName = undefined;
          this.schedule = undefined;
          this.parameters = undefined;
      }
  
      /**
      * Constructs a <code>Task</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/Task} obj Optional instance to populate.
      * @return {module:model/Task} The populated <code>Task</code> instance.
      */
  
      _createClass(Task, null, [{
          key: 'constructFromObject',
          value: function constructFromObject(data, obj) {
              if (data) {
                  obj = obj || new Task();
  
                  if (data.hasOwnProperty('id')) {
                      obj['id'] = _ApiClient2['default'].convertToType(data['id'], 'String');
                  }
                  if (data.hasOwnProperty('status')) {
                      obj['status'] = _ApiClient2['default'].convertToType(data['status'], 'Number');
                  }
                  if (data.hasOwnProperty('label')) {
                      obj['label'] = _ApiClient2['default'].convertToType(data['label'], 'String');
                  }
                  if (data.hasOwnProperty('description')) {
                      obj['description'] = _ApiClient2['default'].convertToType(data['description'], 'String');
                  }
                  if (data.hasOwnProperty('userId')) {
                      obj['userId'] = _ApiClient2['default'].convertToType(data['userId'], 'String');
                  }
                  if (data.hasOwnProperty('wsId')) {
                      obj['wsId'] = _ApiClient2['default'].convertToType(data['wsId'], 'String');
                  }
                  if (data.hasOwnProperty('actionName')) {
                      obj['actionName'] = _ApiClient2['default'].convertToType(data['actionName'], 'String');
                  }
                  if (data.hasOwnProperty('schedule')) {
                      obj['schedule'] = _TaskSchedule2['default'].constructFromObject(data['schedule']);
                  }
                  if (data.hasOwnProperty('parameters')) {
                      obj['parameters'] = _ApiClient2['default'].convertToType(data['parameters'], Object);
                  }
              }
              return obj;
          }
  
          /**
          * @member {String} id
          */
      }]);
  
      return Task;
  })();
  
  exports['default'] = Task;
  module.exports = exports['default'];
  
  /**
  * @member {Number} status
  */
  
  /**
  * @member {String} label
  */
  
  /**
  * @member {String} description
  */
  
  /**
  * @member {String} userId
  */
  
  /**
  * @member {String} wsId
  */
  
  /**
  * @member {String} actionName
  */
  
  /**
  * @member {module:model/TaskSchedule} schedule
  */
  
  /**
  * @member {Object} parameters
  */
  