diff --git a/.swagger-codegen/config.json b/.swagger-codegen/config.json index 2e779f8..9539a8a 100644 --- a/.swagger-codegen/config.json +++ b/.swagger-codegen/config.json @@ -3,5 +3,5 @@ "gitUserId": "wavefrontHQ", "packageName": "wavefront_api_client", "packageUrl": "https://github.com/wavefrontHQ/python-client", - "packageVersion": "2.64.3" + "packageVersion": "2.64.5" } diff --git a/.swagger-codegen/config.jsone b/.swagger-codegen/config.jsone index d28e50f..2e779f8 100644 --- a/.swagger-codegen/config.jsone +++ b/.swagger-codegen/config.jsone @@ -3,5 +3,5 @@ "gitUserId": "wavefrontHQ", "packageName": "wavefront_api_client", "packageUrl": "https://github.com/wavefrontHQ/python-client", - "packageVersion": "2.63.18" + "packageVersion": "2.64.3" } diff --git a/README.md b/README.md index 9669048..292c5b1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: v2 -- Package version: 2.64.3 +- Package version: 2.64.5 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. @@ -125,6 +125,12 @@ Class | Method | HTTP request | Description *AlertApi* | [**unhide_alert**](docs/AlertApi.md#unhide_alert) | **POST** /api/v2/alert/{id}/install | Unhide a specific integration alert *AlertApi* | [**unsnooze_alert**](docs/AlertApi.md#unsnooze_alert) | **POST** /api/v2/alert/{id}/unsnooze | Unsnooze a specific alert *AlertApi* | [**update_alert**](docs/AlertApi.md#update_alert) | **PUT** /api/v2/alert/{id} | Update a specific alert +*AnomalyApi* | [**get_all_anomalies**](docs/AnomalyApi.md#get_all_anomalies) | **GET** /api/v2/anomaly | Get all anomalies for a customer during a time interval +*AnomalyApi* | [**get_anomalies_for_chart_and_param_hash**](docs/AnomalyApi.md#get_anomalies_for_chart_and_param_hash) | **GET** /api/v2/anomaly/{dashboardId}/chart/{chartHash}/{paramHash} | Get all anomalies for a chart with a set of dashboard parameters during a time interval +*AnomalyApi* | [**get_chart_anomalies_for_chart**](docs/AnomalyApi.md#get_chart_anomalies_for_chart) | **GET** /api/v2/anomaly/{dashboardId}/chart/{chartHash} | Get all anomalies for a chart during a time interval +*AnomalyApi* | [**get_chart_anomalies_of_one_dashboard**](docs/AnomalyApi.md#get_chart_anomalies_of_one_dashboard) | **GET** /api/v2/anomaly/{dashboardId} | Get all anomalies for a dashboard that does not have any dashboard parameters during a time interval +*AnomalyApi* | [**get_dashboard_anomalies**](docs/AnomalyApi.md#get_dashboard_anomalies) | **GET** /api/v2/anomaly/{dashboardId}/{paramHash} | Get all anomalies for a dashboard with a particular set of dashboard parameters as identified by paramHash, during a time interval +*AnomalyApi* | [**get_related_anomalies**](docs/AnomalyApi.md#get_related_anomalies) | **GET** /api/v2/anomaly/{eventId}/anomalies | Get all related anomalies for a firing event with a time span *ApiTokenApi* | [**create_token**](docs/ApiTokenApi.md#create_token) | **POST** /api/v2/apitoken | Create new api token *ApiTokenApi* | [**delete_token**](docs/ApiTokenApi.md#delete_token) | **DELETE** /api/v2/apitoken/{id} | Delete the specified api token *ApiTokenApi* | [**delete_token_service_account**](docs/ApiTokenApi.md#delete_token_service_account) | **DELETE** /api/v2/apitoken/serviceaccount/{id}/{token} | Delete the specified api token of the given service account diff --git a/docs/Annotation.md b/docs/Annotation.md index f8bf731..7c74ed2 100644 --- a/docs/Annotation.md +++ b/docs/Annotation.md @@ -3,8 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**key** | **str** | | [optional] -**value** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/setup.py b/setup.py index f1a9483..6094b4b 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "wavefront-api-client" -VERSION = "2.64.3" +VERSION = "2.64.5" # To install the library, run the following # # python setup.py install diff --git a/wavefront_api_client/__init__.py b/wavefront_api_client/__init__.py index 309d559..acaf1d8 100644 --- a/wavefront_api_client/__init__.py +++ b/wavefront_api_client/__init__.py @@ -18,6 +18,7 @@ # import apis into sdk package from wavefront_api_client.api.account__user_and_service_account_api import AccountUserAndServiceAccountApi from wavefront_api_client.api.alert_api import AlertApi +from wavefront_api_client.api.anomaly_api import AnomalyApi from wavefront_api_client.api.api_token_api import ApiTokenApi from wavefront_api_client.api.cloud_integration_api import CloudIntegrationApi from wavefront_api_client.api.dashboard_api import DashboardApi diff --git a/wavefront_api_client/api/__init__.py b/wavefront_api_client/api/__init__.py index c780771..78b75b5 100644 --- a/wavefront_api_client/api/__init__.py +++ b/wavefront_api_client/api/__init__.py @@ -5,6 +5,7 @@ # import apis into api package from wavefront_api_client.api.account__user_and_service_account_api import AccountUserAndServiceAccountApi from wavefront_api_client.api.alert_api import AlertApi +from wavefront_api_client.api.anomaly_api import AnomalyApi from wavefront_api_client.api.api_token_api import ApiTokenApi from wavefront_api_client.api.cloud_integration_api import CloudIntegrationApi from wavefront_api_client.api.dashboard_api import DashboardApi diff --git a/wavefront_api_client/api_client.py b/wavefront_api_client/api_client.py index df1d671..6f8a125 100644 --- a/wavefront_api_client/api_client.py +++ b/wavefront_api_client/api_client.py @@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/2.64.3/python' + self.user_agent = 'Swagger-Codegen/2.64.5/python' def __del__(self): if self._pool is not None: diff --git a/wavefront_api_client/configuration.py b/wavefront_api_client/configuration.py index 4c8f74a..7af8485 100644 --- a/wavefront_api_client/configuration.py +++ b/wavefront_api_client/configuration.py @@ -248,5 +248,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v2\n"\ - "SDK Package Version: 2.64.3".\ + "SDK Package Version: 2.64.5".\ format(env=sys.platform, pyversion=sys.version) diff --git a/wavefront_api_client/models/annotation.py b/wavefront_api_client/models/annotation.py index 927f98e..cf05f3e 100644 --- a/wavefront_api_client/models/annotation.py +++ b/wavefront_api_client/models/annotation.py @@ -31,69 +31,15 @@ class Annotation(object): and the value is json key in definition. """ swagger_types = { - 'key': 'str', - 'value': 'str' } attribute_map = { - 'key': 'key', - 'value': 'value' } - def __init__(self, key=None, value=None): # noqa: E501 + def __init__(self): # noqa: E501 """Annotation - a model defined in Swagger""" # noqa: E501 - - self._key = None - self._value = None self.discriminator = None - if key is not None: - self.key = key - if value is not None: - self.value = value - - @property - def key(self): - """Gets the key of this Annotation. # noqa: E501 - - - :return: The key of this Annotation. # noqa: E501 - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this Annotation. - - - :param key: The key of this Annotation. # noqa: E501 - :type: str - """ - - self._key = key - - @property - def value(self): - """Gets the value of this Annotation. # noqa: E501 - - - :return: The value of this Annotation. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this Annotation. - - - :param value: The value of this Annotation. # noqa: E501 - :type: str - """ - - self._value = value - def to_dict(self): """Returns the model properties as a dict""" result = {}