ds/Config.js

/**
 * @fileoverview Exposed data type for use outside of DsClient.
 *               All properties should be exposed to allow use from uncompiled
 *               code.
 * @author anders.rejdebrant@spark-vision.com (Anders Rejdebrant)
 */

goog.provide('spv.ds.Config');

/**
 * Holds a serialized configuration state of dynamic encoding.
 * 
 * @export
 * @struct
 * @constructor
 * @param {string} encoding
 * @param {string} data
 */
spv.ds.Config = function(encoding, data, model_id)
{
	/**
	 * Name of config encoding
	 *
	 * @nocollapse
	 * @type {string}
	 */
	this.encoding = encoding;

	/**
	 * Configuration data encoded using the specified encoding
	 *
	 * @nocollapse
	 * @type {string}
	 */
	this.data = data;

	
	/**
	 * The model id of the configuration
	 *
	 * @nocollapse
	 * @type {string}
	 */
	this.model_id = model_id;
};