NotificationsQuery interface

定义服务挂钩通知的查询。

属性

associatedSubscriptions

与从查询返回的通知关联的订阅

includeDetails

如果为 true,我们将返回所提供的查询的所有通知历史记录;否则,将返回摘要。

maxCreatedDate

创建通知的可选最大日期

maxResults

要包括的总结果的最大可选数目

maxResultsPerSubscription

每个订阅的可选最大结果数。 仅在查询中提供订阅 ID 列表时生效。

minCreatedDate

创建通知的可选最小日期

publisherId

可选发布者 ID,用于将结果限制为

results

来自查询的结果

resultType

用于筛选结果到的可选通知结果类型

status

要筛选结果的可选通知状态

subscriptionIds

用于将结果限制为的订阅 ID 的可选列表

summary

通知摘要 - 每个结果类型(成功、失败、..)的计数。

属性详细信息

associatedSubscriptions

与从查询返回的通知关联的订阅

associatedSubscriptions: Subscription[]

属性值

includeDetails

如果为 true,我们将返回所提供的查询的所有通知历史记录;否则,将返回摘要。

includeDetails: boolean

属性值

boolean

maxCreatedDate

创建通知的可选最大日期

maxCreatedDate: Date

属性值

Date

maxResults

要包括的总结果的最大可选数目

maxResults: number

属性值

number

maxResultsPerSubscription

每个订阅的可选最大结果数。 仅在查询中提供订阅 ID 列表时生效。

maxResultsPerSubscription: number

属性值

number

minCreatedDate

创建通知的可选最小日期

minCreatedDate: Date

属性值

Date

publisherId

可选发布者 ID,用于将结果限制为

publisherId: string

属性值

string

results

来自查询的结果

results: Notification[]

属性值

resultType

用于筛选结果到的可选通知结果类型

resultType: NotificationResult

属性值

status

要筛选结果的可选通知状态

status: NotificationStatus

属性值

subscriptionIds

用于将结果限制为的订阅 ID 的可选列表

subscriptionIds: string[]

属性值

string[]

summary

通知摘要 - 每个结果类型(成功、失败、..)的计数。

summary: NotificationSummary[]

属性值