mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-03-21 17:25:29 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.1 KiB
1.1 KiB
BatteryMetrics
Battery metrics for the endpoint agent.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| battery_level | BatteryLevel | ||
| battery_level_normalized_percent | float | Battery level as a normalized percentage (0-1). |
Example
from thousandeyes_sdk.endpoint_test_results.models.battery_metrics import BatteryMetrics
# TODO update the JSON string below
json = "{}"
# create an instance of BatteryMetrics from a JSON string
battery_metrics_instance = BatteryMetrics.from_json(json)
# print the JSON string representation of the object
print(BatteryMetrics.to_json())
# convert the object into a dict
battery_metrics_dict = battery_metrics_instance.to_dict()
# create an instance of BatteryMetrics from a dict
battery_metrics_from_dict = BatteryMetrics.from_dict(battery_metrics_dict)