text: /**
   * Vision
   * Sphereon Vision APIs
   *
   * OpenAPI spec version: 0.2
   * Contact: dev@sphereon.com
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   *
   * Swagger Codegen version: 2.3.1
   *
   * Do not edit the class manually.
   *
   */
  
  (function(root, factory) {
    if (typeof define === 'function' && define.amd) {
      // AMD. Register as an anonymous module.
      define(['SphereonSDKVision/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.Vision) {
        root.Vision = {};
      }
      root.Vision.StatusMessage = factory(root.Vision.ApiClient);
    }
  }(this, function(ApiClient) {
    'use strict';
  
  
  
  
    /**
     * The StatusMessage model module.
     * @module SphereonSDKVision/model/StatusMessage
     * @version 0.2
     */
  
    /**
     * Constructs a new <code>StatusMessage</code>.
     * @alias module:SphereonSDKVision/model/StatusMessage
     * @class
     */
    var exports = function() {
      var _this = this;
  
  
  
    };
  
    /**
     * Constructs a <code>StatusMessage</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:SphereonSDKVision/model/StatusMessage} obj Optional instance to populate.
     * @return {module:SphereonSDKVision/model/StatusMessage} The populated <code>StatusMessage</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports();
  
        if (data.hasOwnProperty('time')) {
          obj['time'] = ApiClient.convertToType(data['time'], 'Date');
        }
        if (data.hasOwnProperty('message')) {
          obj['message'] = ApiClient.convertToType(data['message'], 'String');
        }
      }
      return obj;
    }
  
    /**
     * The time that the status message occurred.
     * @member {Date} time
     */
    exports.prototype['time'] = undefined;
    /**
     * A status message, which can be informational, warning or error. A message here does not indicate an error perse.
     * @member {String} message
     */
    exports.prototype['message'] = undefined;
  
  
  
    return exports;
  }));
  
  
  