DataCollection Class

Defines data collection configuration for a Webservice.

Intialize the DataCollection object.

Inheritance
builtins.object
DataCollection

Constructor

DataCollection(event_hub_enabled, storage_enabled)

Parameters

Name Description
event_hub_enabled
Required

Whether or not event hub is enabled for the Webservice

storage_enabled
Required

Whether or not data collection storage is enabled for the Webservice

event_hub_enabled
Required

Whether or not event hub is enabled for the Webservice

storage_enabled
Required

Whether or not data collection storage is enabled for the Webservice

Variables

Name Description
event_hub_enabled

Indicates whether event hub is enabled for the Webservice.

storage_enabled

Indicates whether data collection storage is enabled for the Webservice.

Methods

deserialize

Convert a JSON object into a DataCollection object.

serialize

Convert this DataCollection object into a JSON serialized dictionary.

deserialize

Convert a JSON object into a DataCollection object.

static deserialize(payload_obj)

Parameters

Name Description
payload_obj
Required

A JSON object to convert to a DataCollection object.

Returns

Type Description

The DataCollection representation of the provided JSON object.

serialize

Convert this DataCollection object into a JSON serialized dictionary.

serialize()

Returns

Type Description

The JSON representation of this DataCollection.