ds/ConfigLoadResult.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.ConfigLoadResult');

/**
 * Holds a serialized configuration state of dynamic encoding.
 * 
 * @struct
 * @constructor
 * @param {boolean} complete_success
 * @param {null|string} warnings
 */
spv.ds.ConfigLoadResult = function(complete_success, warnings)
{
	/**
	 * A configuration was fully loaded
	 *
	 * @nocollapse
	 * @type {boolean}
	 */
	this.complete_success = complete_success;

	/**
	 * There were some warnings
	 *
	 * @nocollapse
	 * @type {null|string}
	 */
	this.warnings = warnings;
};