mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
2.1 KiB
2.1 KiB
ApiNumbersCard
An individual number card within the numbers card widget.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| min_scale | float | Mininum 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 | ApiNumbersCardAllOfFixedTimespan | [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]] | Filters to apply to the widget. | [optional] |
Example
from dashboards_api.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_form_dict = api_numbers_card.from_dict(api_numbers_card_dict)