共用方式為


Event interface

封裝事件的屬性。

屬性

createdDate

取得或設定建立此事件的 UTC 型日期和時間。

detailedMessage

取得或設定與此事件相關聯的詳細訊息。

eventType

取得或設定此事件的類型。

id

取得或設定此事件的唯一識別碼。

message

取得或設定與此事件相關聯的 (簡短) 訊息。

publisherId

取得或設定引發此事件之發行者的識別碼。

resource

取得或設定與此事件相關聯的資料。

resourceContainers

取得或設定資源容器。

resourceVersion

取得或設定與此事件相關聯的資料版本。

sessionToken

取得或設定可用於進一步互動的工作階段權杖

屬性詳細資料

createdDate

取得或設定建立此事件的 UTC 型日期和時間。

createdDate: Date

屬性值

Date

detailedMessage

取得或設定與此事件相關聯的詳細訊息。

detailedMessage: FormattedEventMessage

屬性值

eventType

取得或設定此事件的類型。

eventType: string

屬性值

string

id

取得或設定此事件的唯一識別碼。

id: string

屬性值

string

message

取得或設定與此事件相關聯的 (簡短) 訊息。

message: FormattedEventMessage

屬性值

publisherId

取得或設定引發此事件之發行者的識別碼。

publisherId: string

屬性值

string

resource

取得或設定與此事件相關聯的資料。

resource: any

屬性值

any

resourceContainers

取得或設定資源容器。

resourceContainers: {[key: string]: ResourceContainer}

屬性值

{[key: string]: ResourceContainer}

resourceVersion

取得或設定與此事件相關聯的資料版本。

resourceVersion: string

屬性值

string

sessionToken

取得或設定可用於進一步互動的工作階段權杖

sessionToken: SessionToken

屬性值