diffusion
Version:
Diffusion JavaScript client
28 lines (27 loc) • 911 B
JavaScript
;
/**
* @module Services.TopicUpdate
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddAndSetTopicRequest = void 0;
/**
* Data type for the ADD_AND_SET_TOPIC_SERVICE and STREAM_ADD_AND_SET_TOPIC_SERVICE requests.
*/
var AddAndSetTopicRequest = /** @class */ (function () {
/**
* Create a new AddAndSetTopicRequest instance
*
* @param path the topic path
* @param topicSpecification the topic specification
* @param value the value to set the topic to
* @param constraint the update constraint
*/
function AddAndSetTopicRequest(path, topicSpecification, value, constraint) {
this.path = path;
this.topicSpecification = topicSpecification;
this.value = value;
this.constraint = constraint;
}
return AddAndSetTopicRequest;
}());
exports.AddAndSetTopicRequest = AddAndSetTopicRequest;