Skip to content

Commit

Permalink
Autogenerated Update v2.64.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
wf-jenkins committed Oct 23, 2020
1 parent 6665852 commit f8c7b66
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .swagger-codegen/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion .swagger-codegen/config.jsone
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions docs/Annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions wavefront_api_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions wavefront_api_client/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wavefront_api_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion wavefront_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
56 changes: 1 addition & 55 deletions wavefront_api_client/models/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit f8c7b66

Please sign in to comment.