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




/**
 * @struct
 * @constructor
 * @param {string} name
 * @param {string} img_url
 * @param {string} checksum
 * @param {number} timestamp
 * @param {Array.<string>} items
 * @param {Object.<string, string>} meta
 */
spv.ds.FreshConfig = function(
		name,
		img_url,
		checksum,
		timestamp,
		items,
		meta)
{
	/**
	 * @type {string}
	 * @nocollapse
	 */
	this.name = name;

	/**
	 * @type {string}
	 * @nocollapse
	 */
	this.img_url = img_url;

	/**
	 * @type {string}
	 * @nocollapse
	 */
	this.checksum = checksum;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.timestamp = timestamp;

	/**
	 * @type {Array.<string>}
	 * @nocollapse
	 */
	this.items = items;

	/**
	 * @type {Object.<string, string>}
	 * @nocollapse
	 */
	this.meta = meta;
};