Notification interface

定義處理訂閱事件結果的資料合約。

屬性

createdDate

取得或設定建立此結果的日期和時間。

details

此通知的詳細資料 (如有)

eventId

與此通知相關聯的事件識別碼

id

通知 ID

modifiedDate

取得或設定上次修改此結果的日期和時間。

result

通知結果

status

通知狀態

subscriberId

與此通知相關聯的訂閱者識別碼。 這是訂閱中最後一個接觸的身份。 在測試通知的情況下,如果尚未建立訂閱,則可以是測試人員。

subscriptionId

與此通知相關聯的訂閱識別碼

屬性詳細資料

createdDate

取得或設定建立此結果的日期和時間。

createdDate: Date

屬性值

Date

details

此通知的詳細資料 (如有)

details: NotificationDetails

屬性值

eventId

與此通知相關聯的事件識別碼

eventId: string

屬性值

string

id

通知 ID

id: number

屬性值

number

modifiedDate

取得或設定上次修改此結果的日期和時間。

modifiedDate: Date

屬性值

Date

result

通知結果

result: NotificationResult

屬性值

status

通知狀態

status: NotificationStatus

屬性值

subscriberId

與此通知相關聯的訂閱者識別碼。 這是訂閱中最後一個接觸的身份。 在測試通知的情況下,如果尚未建立訂閱,則可以是測試人員。

subscriberId: string

屬性值

string

subscriptionId

與此通知相關聯的訂閱識別碼

subscriptionId: string

屬性值

string