UNPKG

diffusion

Version:

Diffusion JavaScript client

28 lines (27 loc) 768 B
"use strict"; /** * @module Services.TopicUpdate */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SetTopicRequest = void 0; /** * Data type for a SET_TOPIC request. */ var SetTopicRequest = /** @class */ (function () { /** * Create a new SetTopicRequest instance * * @param path the topic path * @param topicType the topic type * @param value the value to set the topic to * @param constraint the update constraint */ function SetTopicRequest(path, topicType, value, constraint) { this.path = path; this.topicType = topicType; this.value = value; this.constraint = constraint; } return SetTopicRequest; }()); exports.SetTopicRequest = SetTopicRequest;