export class Subscription {
    /**
     *
     * @param {string|null} id
     * @param {IFilter[]|null} filter
     */
    constructor(id, filter) {
        // id is defined as string, but then is potentially assigned null
        this.id = id ? id : null;
        // id is defined as IFilter, but then is assigned to an optional value, so it may be undefined
        this.filter = filter;
        this.channel = "";
    }
}
//# sourceMappingURL=Subscription.js.map