text: /*
   * SCORM Cloud Rest API
   * REST API used for SCORM Cloud integrations.
   *
   * OpenAPI spec version: 2.0
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   *
   * Swagger Codegen version: 2.4.12
   *
   * Do not edit the class manually.
   *
   */
  
  (function(root, factory) {
    if (typeof define === 'function' && define.amd) {
      // AMD. Register as an anonymous module.
      define(['rustici-software-cloud-v2/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.RusticiSoftwareCloudV2) {
        root.RusticiSoftwareCloudV2 = {};
      }
      root.RusticiSoftwareCloudV2.RuntimeInteractionSchema = factory(root.RusticiSoftwareCloudV2.ApiClient);
    }
  }(this, function(ApiClient) {
    'use strict';
  
    /**
     * The RuntimeInteractionSchema model module.
     * @module rustici-software-cloud-v2/rustici-software-cloud-v2-model/RuntimeInteractionSchema
     * @version 2.0.1
     */
  
    /**
     * Constructs a new <code>RuntimeInteractionSchema</code>.
     * @alias module:rustici-software-cloud-v2/rustici-software-cloud-v2-model/RuntimeInteractionSchema
     * @class
     */
    var exports = function() {
    };
  
    /**
     * Constructs a <code>RuntimeInteractionSchema</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:rustici-software-cloud-v2/rustici-software-cloud-v2-model/RuntimeInteractionSchema} obj Optional instance to populate.
     * @return {module:rustici-software-cloud-v2/rustici-software-cloud-v2-model/RuntimeInteractionSchema} The populated <code>RuntimeInteractionSchema</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports();
        if (data.hasOwnProperty('id'))
          obj.id = ApiClient.convertToType(data['id'], 'String');
        if (data.hasOwnProperty('type'))
          obj.type = ApiClient.convertToType(data['type'], 'String');
        if (data.hasOwnProperty('objectives'))
          obj.objectives = ApiClient.convertToType(data['objectives'], ['String']);
        if (data.hasOwnProperty('timestamp'))
          obj.timestamp = ApiClient.convertToType(data['timestamp'], 'String');
        if (data.hasOwnProperty('timestampUtc'))
          obj.timestampUtc = ApiClient.convertToType(data['timestampUtc'], 'String');
        if (data.hasOwnProperty('correctResponses'))
          obj.correctResponses = ApiClient.convertToType(data['correctResponses'], ['String']);
        if (data.hasOwnProperty('weighting'))
          obj.weighting = ApiClient.convertToType(data['weighting'], 'String');
        if (data.hasOwnProperty('learnerResponse'))
          obj.learnerResponse = ApiClient.convertToType(data['learnerResponse'], 'String');
        if (data.hasOwnProperty('result'))
          obj.result = ApiClient.convertToType(data['result'], 'String');
        if (data.hasOwnProperty('latency'))
          obj.latency = ApiClient.convertToType(data['latency'], 'String');
        if (data.hasOwnProperty('description'))
          obj.description = ApiClient.convertToType(data['description'], 'String');
      }
      return obj;
    }
  
    /**
     * @member {String} id
     */
    exports.prototype.id = undefined;
  
    /**
     * @member {module:rustici-software-cloud-v2/rustici-software-cloud-v2-model/RuntimeInteractionSchema.TypeEnum} type
     */
    exports.prototype.type = undefined;
  
    /**
     * @member {Array.<String>} objectives
     */
    exports.prototype.objectives = undefined;
  
    /**
     * @member {String} timestamp
     */
    exports.prototype.timestamp = undefined;
  
    /**
     * @member {String} timestampUtc
     */
    exports.prototype.timestampUtc = undefined;
  
    /**
     * @member {Array.<String>} correctResponses
     */
    exports.prototype.correctResponses = undefined;
  
    /**
     * @member {String} weighting
     */
    exports.prototype.weighting = undefined;
  
    /**
     * @member {String} learnerResponse
     */
    exports.prototype.learnerResponse = undefined;
  
    /**
     * @member {String} result
     */
    exports.prototype.result = undefined;
  
    /**
     * @member {String} latency
     */
    exports.prototype.latency = undefined;
  
    /**
     * @member {String} description
     */
    exports.prototype.description = undefined;
  
  
  
    /**
     * Allowed values for the <code>type</code> property.
     * @enum {String}
     * @readonly
     */
    exports.TypeEnum = {
      /**
       * value: "TrueFalse"
       * @const
       */
      trueFalse: "TrueFalse",
  
      /**
       * value: "Choice"
       * @const
       */
      choice: "Choice",
  
      /**
       * value: "FillIn"
       * @const
       */
      fillIn: "FillIn",
  
      /**
       * value: "LongFillIn"
       * @const
       */
      longFillIn: "LongFillIn",
  
      /**
       * value: "Likert"
       * @const
       */
      likert: "Likert",
  
      /**
       * value: "Matching"
       * @const
       */
      matching: "Matching",
  
      /**
       * value: "Performance"
       * @const
       */
      performance: "Performance",
  
      /**
       * value: "Sequencing"
       * @const
       */
      sequencing: "Sequencing",
  
      /**
       * value: "Numeric"
       * @const
       */
      numeric: "Numeric",
  
      /**
       * value: "Other"
       * @const
       */
      other: "Other"
    };
  
    return exports;
  
  }));
  