Defines the aggregation of data points
Name | Type | Description | Notes |
---|---|---|---|
id | int | ID of the aggregation | [optional] [readonly] |
asset_id | int | ID of the corresponding asset | |
subtype | DataSubtype | ||
attribute | str | Name of the attribute which holds the data points | [optional] |
mode | str | Calculation mode | |
raster | str | calculation interval | [optional] |
from eliona.api_client2.models.aggregation import Aggregation
# TODO update the JSON string below
json = "{}"
# create an instance of Aggregation from a JSON string
aggregation_instance = Aggregation.from_json(json)
# print the JSON string representation of the object
print(Aggregation.to_json())
# convert the object into a dict
aggregation_dict = aggregation_instance.to_dict()
# create an instance of Aggregation from a dict
aggregation_from_dict = Aggregation.from_dict(aggregation_dict)