mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 16:05:30 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.3 KiB
1.3 KiB
EndpointZtaMetrics
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| loss | float | Percentage of packets that failed to reach the destination. | [optional] |
| avg_latency | int | Average latency in milliseconds. | [optional] |
| jitter | int | Standard deviation of latency in milliseconds. | [optional] |
| error_message | str | Error message if an error occurred. | [optional] |
| type | EndpointZtaSegmentType | [optional] |
Example
from thousandeyes_sdk.endpoint_test_results.models.endpoint_zta_metrics import EndpointZtaMetrics
# TODO update the JSON string below
json = "{}"
# create an instance of EndpointZtaMetrics from a JSON string
endpoint_zta_metrics_instance = EndpointZtaMetrics.from_json(json)
# print the JSON string representation of the object
print(EndpointZtaMetrics.to_json())
# convert the object into a dict
endpoint_zta_metrics_dict = endpoint_zta_metrics_instance.to_dict()
# create an instance of EndpointZtaMetrics from a dict
endpoint_zta_metrics_from_dict = EndpointZtaMetrics.from_dict(endpoint_zta_metrics_dict)