UNPKG

diffusion

Version:

Diffusion JavaScript client

28 lines (27 loc) 899 B
"use strict"; /** * @module Services.TopicUpdate */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CreateUpdateStreamAndSetRequest = void 0; /** * Data type for a CREATE_UPDATE_STREAM_AND_SET request. */ var CreateUpdateStreamAndSetRequest = /** @class */ (function () { /** * Create a new CreateUpdateStreamAndSetRequest 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 CreateUpdateStreamAndSetRequest(path, topicType, value, constraint) { this.path = path; this.topicType = topicType; this.value = value; this.constraint = constraint; } return CreateUpdateStreamAndSetRequest; }()); exports.CreateUpdateStreamAndSetRequest = CreateUpdateStreamAndSetRequest;