mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
2.5 KiB
2.5 KiB
ApiNumbersCard
An individual number card within the numbers card widget.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| min_scale | float | Minimum scale configured in the widget. | [optional] |
| max_scale | float | Maximum scale configured in the widget. | [optional] |
| unit | ApiWidgetFixedYScalePrefix | [optional] | |
| id | str | Identifier of the widget. | [optional] |
| description | str | Description of the number card. | [optional] |
| measure | ApiWidgetMeasure | [optional] | |
| compare_to_previous_value | bool | [optional] | |
| fixed_timespan | ApiDuration | [optional] | |
| should_exclude_alert_suppression_windows | bool | Excludes alert suppression windows from the widget when set to `true`. | [optional] |
| data_source | NumbersCardDatasource | [optional] | |
| metric_group | MetricGroup | [optional] | |
| direction | DashboardMetricDirection | [optional] | |
| metric | DashboardMetric | [optional] | |
| filters | Dict[str, List[object]] | (Optional) Specifies the filters applied to the widget. When present, the `filters` property displays. Each filter object has two properties: `filterProperty` and `filterValue`. The `filterProperty` can be values like `AGENT`, `ENDPOINT_MACHINE_ID`, `TEST`, `MONITOR`, etc. The `filterValue` represents an identifier array of the selected property. | [optional] |
| links | SelfLinks | [optional] |
Example
from thousandeyes_sdk.dashboards.models.api_numbers_card import ApiNumbersCard
# TODO update the JSON string below
json = "{}"
# create an instance of ApiNumbersCard from a JSON string
api_numbers_card_instance = ApiNumbersCard.from_json(json)
# print the JSON string representation of the object
print(ApiNumbersCard.to_json())
# convert the object into a dict
api_numbers_card_dict = api_numbers_card_instance.to_dict()
# create an instance of ApiNumbersCard from a dict
api_numbers_card_from_dict = ApiNumbersCard.from_dict(api_numbers_card_dict)