mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
3.0 KiB
3.0 KiB
ApiTestTableWidget
Displays tests and statuses with options to sort and filter. It can be set to show only certain tests, like those with specific labels or failing tests.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Identifier of the widget. | [optional] [readonly] |
| title | str | Title of the widget | [optional] |
| visual_mode | VisualMode | [optional] | |
| embed_url | str | When `isEmbedded` is set to `true`, an `embedUrl` is provided. | [optional] [readonly] |
| is_embedded | bool | Set to `true` if widget is marked as embedded; otherwise, set to `false`. | [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] |
| measure | ApiWidgetMeasure | [optional] | |
| fixed_timespan | ApiDuration | [optional] | |
| api_link | str | [optional] [readonly] | |
| should_exclude_alert_suppression_windows | bool | Excludes alert suppression window data if set to `true`. | [optional] |
| links | SelfLinks | [optional] | |
| type | str | Test Table widget type, | |
| filter | ApiWidgetFilterApiTestTableFilterKey | [optional] | |
| exclude | ApiWidgetFilterApiTestTableFilterKey | [optional] | |
| data_source | TestTableDatasource | [optional] |
Example
from thousandeyes_sdk.dashboards.models.api_test_table_widget import ApiTestTableWidget
# TODO update the JSON string below
json = "{}"
# create an instance of ApiTestTableWidget from a JSON string
api_test_table_widget_instance = ApiTestTableWidget.from_json(json)
# print the JSON string representation of the object
print(ApiTestTableWidget.to_json())
# convert the object into a dict
api_test_table_widget_dict = api_test_table_widget_instance.to_dict()
# create an instance of ApiTestTableWidget from a dict
api_test_table_widget_from_dict = ApiTestTableWidget.from_dict(api_test_table_widget_dict)