thousandeyes-sdk-python/dashboards/docs/ApiDataSourceFilter.md

1.2 KiB

ApiDataSourceFilter

List of different filter properties for a single datasource.

Properties

Name Type Description Notes
filter_id str Data source property to filter by.
values List[str] Values to filter by based on the specified `filterId`.
metric_ids List[str] Dashboard metric associated with the filter property.

Example

from dashboards.models.api_data_source_filter import ApiDataSourceFilter

# TODO update the JSON string below
json = "{}"
# create an instance of ApiDataSourceFilter from a JSON string
api_data_source_filter_instance = ApiDataSourceFilter.from_json(json)
# print the JSON string representation of the object
print(ApiDataSourceFilter.to_json())

# convert the object into a dict
api_data_source_filter_dict = api_data_source_filter_instance.to_dict()
# create an instance of ApiDataSourceFilter from a dict
api_data_source_filter_from_dict = ApiDataSourceFilter.from_dict(api_data_source_filter_dict)

[Back to Model list] [Back to API list] [Back to README]