UNPKG

diffusion

Version:

Diffusion JavaScript client

24 lines (23 loc) 686 B
"use strict"; /** * @module Services.UnsubscriptionNotification */ Object.defineProperty(exports, "__esModule", { value: true }); exports.UnsubscriptionNotification = void 0; /** * Data type for a UNSUBSCRIPTION_NOTIFICATION request. */ var UnsubscriptionNotification = /** @class */ (function () { /** * Create a new UnsubscriptionNotification instance * * @param id the topic ID * @param reason the reason for unsubscribing */ function UnsubscriptionNotification(id, reason) { this.id = id; this.reason = reason; } return UnsubscriptionNotification; }()); exports.UnsubscriptionNotification = UnsubscriptionNotification;