共用方式為


NotificationEventField interface

封裝可篩選欄位的屬性。 可篩選欄位是事件中的欄位,可用來篩選特定事件類型的通知。

屬性

fieldType

取得或設定這個欄位的類型。

id

取得或設定此欄位的唯一標識碼。

name

取得或設定此欄位的名稱。

path

取得或設定事件物件中欄位的路徑。 此路徑可以是 Json Path 或 XPath,視事件是否會串行化為 Json 或 XML 而定

supportedScopes

取得或設定這個欄位所支援的範圍。 如果未指定,則會套用事件類型範圍。

屬性詳細資料

fieldType

取得或設定這個欄位的類型。

fieldType: NotificationEventFieldType

屬性值

id

取得或設定此欄位的唯一標識碼。

id: string

屬性值

string

name

取得或設定此欄位的名稱。

name: string

屬性值

string

path

取得或設定事件物件中欄位的路徑。 此路徑可以是 Json Path 或 XPath,視事件是否會串行化為 Json 或 XML 而定

path: string

屬性值

string

supportedScopes

取得或設定這個欄位所支援的範圍。 如果未指定,則會套用事件類型範圍。

supportedScopes: string[]

屬性值

string[]