text: /**
   * Split Merger
   * The Split and Merge API allows you to split and merge files. For now you always have to define the filetype for the split or merge result. Supported types are Tiff, PDF or MS word files. In the future new types as well as type inferring will be implemented. Please note that this API will change in the way the merge or split is initiated from v0.1 to v0.2 which is scheduled later in 2017.
   *
   * OpenAPI spec version: 0.1
   * Contact: dev@sphereon.com
   *
   * 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.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   * http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  (function(root, factory) {
    if (typeof define === 'function' && define.amd) {
      // AMD. Register as an anonymous module.
      define(['SphereonSDKSplitMerge/ApiClient'], factory);
    } else if (typeof module === 'object' && module.exports) {
      // CommonJS-like environments that support module.exports, like Node.
      module.exports = factory(require('../ApiClient'));
    } else {
      // Browser globals (root is window)
      if (!root.SplitMerger) {
        root.SplitMerger = {};
      }
      root.SplitMerger.Lifecycle = factory(root.SplitMerger.ApiClient);
    }
  }(this, function(ApiClient) {
    'use strict';
  
  
  
  
    /**
     * The Lifecycle model module.
     * @module SphereonSDKSplitMerge/model/Lifecycle
     * @version 0.1
     */
  
    /**
     * Constructs a new <code>Lifecycle</code>.
     * Lifecycle settings. When no lifecycle settings are supplied, the job and files will be deleted directly after retrieval of the file
     * @alias module:SphereonSDKSplitMerge/model/Lifecycle
     * @class
     */
    var exports = function() {
      var _this = this;
  
  
  
  
    };
  
    /**
     * Constructs a <code>Lifecycle</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:SphereonSDKSplitMerge/model/Lifecycle} obj Optional instance to populate.
     * @return {module:SphereonSDKSplitMerge/model/Lifecycle} The populated <code>Lifecycle</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports();
  
        if (data.hasOwnProperty('actionTime')) {
          obj['actionTime'] = ApiClient.convertToType(data['actionTime'], 'Date');
        }
        if (data.hasOwnProperty('action')) {
          obj['action'] = ApiClient.convertToType(data['action'], 'String');
        }
        if (data.hasOwnProperty('type')) {
          obj['type'] = ApiClient.convertToType(data['type'], 'String');
        }
      }
      return obj;
    }
  
    /**
     * The time at which the job and files will be deleted, regardless of whether it has been retrieved or not. Maximal time is 1 day from job creation
     * @member {Date} actionTime
     */
    exports.prototype['actionTime'] = undefined;
    /**
     * The action that will be performed when result is retrieved. Currently only delete is supported
     * @member {module:SphereonSDKSplitMerge/model/Lifecycle.ActionEnum} action
     */
    exports.prototype['action'] = undefined;
    /**
     * Determine when to delete the job and associated files.  RETRIEVAL means delete directly after retrieving the PDF file. When the file has not been retrieved before the merger time, it will be deleted regardless.  Time means, delete on specific time, regardles of whether it has been processed
     * @member {module:SphereonSDKSplitMerge/model/Lifecycle.TypeEnum} type
     */
    exports.prototype['type'] = undefined;
  
  
    /**
     * Allowed values for the <code>action</code> property.
     * @enum {String}
     * @readonly
     */
    exports.ActionEnum = {
      /**
       * value: "DELETE"
       * @const
       */
      "DELETE": "DELETE"  };
  
    /**
     * Allowed values for the <code>type</code> property.
     * @enum {String}
     * @readonly
     */
    exports.TypeEnum = {
      /**
       * value: "RETRIEVAL"
       * @const
       */
      "RETRIEVAL": "RETRIEVAL",
      /**
       * value: "TIME"
       * @const
       */
      "TIME": "TIME"  };
  
  
    return exports;
  }));
  
  
  