lib/request.js
function validateQuery(query) {
		Assert.ok(((query) && ((typeof query) === 'object')),
			'The Query object was not set?');
		Assert.ok(((query.QueryString) && ((typeof query.QueryString) === 'string')),
			'The query string was not set?');
		Assert.ok(((query.ResultConfiguration) && ((typeof query.ResultConfiguration) === 'object')),
			'The result configuation in the query object was not set?');
		Assert.ok(((query.ResultConfiguration.OutputLocation) && ((typeof query.ResultConfiguration.OutputLocation) === 'string')),
			'The output location of the result configuration in the query object was not set?');
		return query;
}
function validateQuery(query) {
		Assert.ok(((query) && ((typeof query) === 'object')),
			'The Query object was not set?');
		Assert.ok(((query.QueryString) && ((typeof query.QueryString) === 'string')),
			'The query string was not set?');
		Assert.ok(((query.ResultConfiguration) && ((typeof query.ResultConfiguration) === 'object')),
			'The result configuation in the query object was not set?');
		Assert.ok(((query.ResultConfiguration.OutputLocation) && ((typeof query.ResultConfiguration.OutputLocation) === 'string')),
			'The output location of the result configuration in the query object was not set?');
		return query;
}
function validateQuery ( query ) { Assert . ok ( ( ( query ) && ( ( typeof query ) === 'object' ) ) , 'The Query object was not set?' ) ; Assert . ok ( ( ( query . QueryString ) && ( ( typeof query . QueryString ) === 'string' ) ) , 'The query string was not set?' ) ; Assert . ok ( ( ( query . ResultConfiguration ) && ( ( typeof query . ResultConfiguration ) === 'object' ) ) , 'The result configuation in the query object was not set?' ) ; Assert . ok ( ( ( query . ResultConfiguration . OutputLocation ) && ( ( typeof query . ResultConfiguration . OutputLocation ) === 'string' ) ) , 'The output location of the result configuration in the query object was not set?' ) ; return query ; }
Fails if the minium set of values are not in a request.
Fails if the minium set of values are not in a request .