import { Client } from '../client' import { NotificationMessage } from '../types' export class NotificationMessageEvent { protected _client: Client protected _requestPayload: NotificationMessage private readonly _childDeviceId: string | undefined constructor(client: Client, payload: NotificationMessage, childDeviceId?: string) { this._client = client this._requestPayload = payload this._childDeviceId = childDeviceId } public get params (): any { return this._requestPayload.params } public get childDeviceId(): string | undefined { return this._childDeviceId } }