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', 'rustici-software-cloud-v2/rustici-software-cloud-v2-model/LaunchAuthOptionsSchema'], factory);
    } else if (typeof module === 'object' && module.exports) {
      // CommonJS-like environments that support module.exports, like Node.
      module.exports = factory(require('../ApiClient'), require('./LaunchAuthOptionsSchema'));
    } else {
      // Browser globals (root is window)
      if (!root.RusticiSoftwareCloudV2) {
        root.RusticiSoftwareCloudV2 = {};
      }
      root.RusticiSoftwareCloudV2.LaunchAuthSchema = factory(root.RusticiSoftwareCloudV2.ApiClient, root.RusticiSoftwareCloudV2.LaunchAuthOptionsSchema);
    }
  }(this, function(ApiClient, LaunchAuthOptionsSchema) {
    'use strict';
  
    /**
     * The LaunchAuthSchema model module.
     * @module rustici-software-cloud-v2/rustici-software-cloud-v2-model/LaunchAuthSchema
     * @version 2.0.1
     */
  
    /**
     * Constructs a new <code>LaunchAuthSchema</code>.
     * @alias module:rustici-software-cloud-v2/rustici-software-cloud-v2-model/LaunchAuthSchema
     * @class
     */
    var exports = function() {
    };
  
    /**
     * Constructs a <code>LaunchAuthSchema</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/LaunchAuthSchema} obj Optional instance to populate.
     * @return {module:rustici-software-cloud-v2/rustici-software-cloud-v2-model/LaunchAuthSchema} The populated <code>LaunchAuthSchema</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports();
        if (data.hasOwnProperty('type'))
          obj.type = ApiClient.convertToType(data['type'], 'String');
        if (data.hasOwnProperty('options'))
          obj.options = LaunchAuthOptionsSchema.constructFromObject(data['options']);
      }
      return obj;
    }
  
    /**
     * @member {module:rustici-software-cloud-v2/rustici-software-cloud-v2-model/LaunchAuthSchema.TypeEnum} type
     * @default 'cookies'
     */
    exports.prototype.type = 'cookies';
  
    /**
     * @member {module:rustici-software-cloud-v2/rustici-software-cloud-v2-model/LaunchAuthOptionsSchema} options
     */
    exports.prototype.options = undefined;
  
  
  
    /**
     * Allowed values for the <code>type</code> property.
     * @enum {String}
     * @readonly
     */
    exports.TypeEnum = {
      /**
       * value: "cookies"
       * @const
       */
      cookies: "cookies",
  
      /**
       * value: "vault"
       * @const
       */
      vault: "vault"
    };
  
    return exports;
  
  }));
  