Event interface
封裝事件的屬性。
屬性
| created |
取得或設定建立此事件的 UTC 型日期和時間。 |
| detailed |
取得或設定與此事件相關聯的詳細訊息。 |
| event |
取得或設定此事件的類型。 |
| id | 取得或設定此事件的唯一識別碼。 |
| message | 取得或設定與此事件相關聯的 (簡短) 訊息。 |
| publisher |
取得或設定引發此事件之發行者的識別碼。 |
| resource | 取得或設定與此事件相關聯的資料。 |
| resource |
取得或設定資源容器。 |
| resource |
取得或設定與此事件相關聯的資料版本。 |
| session |
取得或設定可用於進一步互動的工作階段權杖 |
屬性詳細資料
createdDate
取得或設定建立此事件的 UTC 型日期和時間。
createdDate: Date
屬性值
Date
detailedMessage
eventType
取得或設定此事件的類型。
eventType: string
屬性值
string
id
取得或設定此事件的唯一識別碼。
id: string
屬性值
string
message
publisherId
取得或設定引發此事件之發行者的識別碼。
publisherId: string
屬性值
string
resource
取得或設定與此事件相關聯的資料。
resource: any
屬性值
any
resourceContainers
取得或設定資源容器。
resourceContainers: {[key: string]: ResourceContainer}
屬性值
{[key: string]: ResourceContainer}
resourceVersion
取得或設定與此事件相關聯的資料版本。
resourceVersion: string
屬性值
string