共用方式為


DataCollection 類別

定義 Webservice 的數據收集組態。

初始化 DataCollection 物件。

建構函式

DataCollection(event_hub_enabled, storage_enabled)

參數

名稱 Description
event_hub_enabled
必要

是否為 Web 服務啟用事件中樞

storage_enabled
必要

Web 服務是否啟用資料收集記憶體

event_hub_enabled
必要

是否為 Web 服務啟用事件中樞

storage_enabled
必要

Web 服務是否啟用資料收集記憶體

變數

名稱 Description
event_hub_enabled

指出是否為 Webservice 啟用事件中樞。

storage_enabled

指出是否為 Webservice 啟用資料收集記憶體。

方法

deserialize

將 JSON 物件轉換成 DataCollection 物件。

serialize

將此 DataCollection 物件轉換成 JSON 串行化字典。

deserialize

將 JSON 物件轉換成 DataCollection 物件。

static deserialize(payload_obj)

參數

名稱 Description
payload_obj
必要

要轉換成 DataCollection 物件的 JSON 物件。

傳回

類型 Description

所提供 JSON 物件的 DataCollection 表示。

serialize

將此 DataCollection 物件轉換成 JSON 串行化字典。

serialize()

傳回

類型 Description

此 DataCollection 的 JSON 表示法。