Skip to content

Commit

Permalink
Autogenerated Update v2.201.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
wf-jenkins committed Sep 13, 2023
1 parent c80cbc7 commit 3fbde5c
Show file tree
Hide file tree
Showing 9 changed files with 124 additions and 8 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.199.1"
"packageVersion": "2.201.1"
}
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.197.1"
"packageVersion": "2.199.1"
}
2 changes: 1 addition & 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.199.1
- Package version: 2.201.1
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down
4 changes: 4 additions & 0 deletions docs/MonitoredServiceDTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**application** | **str** | Application Name of the monitored service |
**cluster** | **str** | Cluster of monitored service | [optional]
**component** | **str** | Component Name of the monitored service |
**created** | **int** | Created epoch of monitored service | [optional]
**custom_dashboard_link** | **str** | Customer dashboard link | [optional]
**favorite** | **bool** | favorite status of monitored service | [optional]
**hidden** | **bool** | Monitored service is hidden or not | [optional]
**id** | **str** | unique ID of monitored service | [optional]
**last_reported** | **int** | Last reported epoch of monitored service | [optional]
**last_updated** | **int** | Last update epoch of monitored service | [optional]
**origin** | **str** | origin of monitored service | [optional]
**satisfied_latency_millis** | **int** | Satisfied latency of monitored service | [optional]
**service** | **str** | Service Name of the monitored service |
**service_instance_count** | **int** | Service Instance count of the monitored service |
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.199.1"
VERSION = "2.201.1"
# To install the library, run the following
#
# python setup.py install
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.199.1/python'
self.user_agent = 'Swagger-Codegen/2.201.1/python'
self.client_side_validation = configuration.client_side_validation

def __del__(self):
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 @@ -251,5 +251,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v2\n"\
"SDK Package Version: 2.199.1".\
"SDK Package Version: 2.201.1".\
format(env=sys.platform, pyversion=sys.version)
114 changes: 113 additions & 1 deletion wavefront_api_client/models/monitored_service_dto.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ class MonitoredServiceDTO(object):
"""
swagger_types = {
'application': 'str',
'cluster': 'str',
'component': 'str',
'created': 'int',
'custom_dashboard_link': 'str',
'favorite': 'bool',
'hidden': 'bool',
'id': 'str',
'last_reported': 'int',
'last_updated': 'int',
'origin': 'str',
'satisfied_latency_millis': 'int',
'service': 'str',
'service_instance_count': 'int',
Expand All @@ -50,12 +54,16 @@ class MonitoredServiceDTO(object):

attribute_map = {
'application': 'application',
'cluster': 'cluster',
'component': 'component',
'created': 'created',
'custom_dashboard_link': 'customDashboardLink',
'favorite': 'favorite',
'hidden': 'hidden',
'id': 'id',
'last_reported': 'lastReported',
'last_updated': 'lastUpdated',
'origin': 'origin',
'satisfied_latency_millis': 'satisfiedLatencyMillis',
'service': 'service',
'service_instance_count': 'serviceInstanceCount',
Expand All @@ -64,19 +72,23 @@ class MonitoredServiceDTO(object):
'update_user_id': 'updateUserId'
}

def __init__(self, application=None, component=None, created=None, custom_dashboard_link=None, hidden=None, last_reported=None, last_updated=None, satisfied_latency_millis=None, service=None, service_instance_count=None, source=None, status=None, update_user_id=None, _configuration=None): # noqa: E501
def __init__(self, application=None, cluster=None, component=None, created=None, custom_dashboard_link=None, favorite=None, hidden=None, id=None, last_reported=None, last_updated=None, origin=None, satisfied_latency_millis=None, service=None, service_instance_count=None, source=None, status=None, update_user_id=None, _configuration=None): # noqa: E501
"""MonitoredServiceDTO - a model defined in Swagger""" # noqa: E501
if _configuration is None:
_configuration = Configuration()
self._configuration = _configuration

self._application = None
self._cluster = None
self._component = None
self._created = None
self._custom_dashboard_link = None
self._favorite = None
self._hidden = None
self._id = None
self._last_reported = None
self._last_updated = None
self._origin = None
self._satisfied_latency_millis = None
self._service = None
self._service_instance_count = None
Expand All @@ -86,17 +98,25 @@ def __init__(self, application=None, component=None, created=None, custom_dashbo
self.discriminator = None

self.application = application
if cluster is not None:
self.cluster = cluster
self.component = component
if created is not None:
self.created = created
if custom_dashboard_link is not None:
self.custom_dashboard_link = custom_dashboard_link
if favorite is not None:
self.favorite = favorite
if hidden is not None:
self.hidden = hidden
if id is not None:
self.id = id
if last_reported is not None:
self.last_reported = last_reported
if last_updated is not None:
self.last_updated = last_updated
if origin is not None:
self.origin = origin
if satisfied_latency_millis is not None:
self.satisfied_latency_millis = satisfied_latency_millis
self.service = service
Expand Down Expand Up @@ -132,6 +152,29 @@ def application(self, application):

self._application = application

@property
def cluster(self):
"""Gets the cluster of this MonitoredServiceDTO. # noqa: E501
Cluster of monitored service # noqa: E501
:return: The cluster of this MonitoredServiceDTO. # noqa: E501
:rtype: str
"""
return self._cluster

@cluster.setter
def cluster(self, cluster):
"""Sets the cluster of this MonitoredServiceDTO.
Cluster of monitored service # noqa: E501
:param cluster: The cluster of this MonitoredServiceDTO. # noqa: E501
:type: str
"""

self._cluster = cluster

@property
def component(self):
"""Gets the component of this MonitoredServiceDTO. # noqa: E501
Expand Down Expand Up @@ -203,6 +246,29 @@ def custom_dashboard_link(self, custom_dashboard_link):

self._custom_dashboard_link = custom_dashboard_link

@property
def favorite(self):
"""Gets the favorite of this MonitoredServiceDTO. # noqa: E501
favorite status of monitored service # noqa: E501
:return: The favorite of this MonitoredServiceDTO. # noqa: E501
:rtype: bool
"""
return self._favorite

@favorite.setter
def favorite(self, favorite):
"""Sets the favorite of this MonitoredServiceDTO.
favorite status of monitored service # noqa: E501
:param favorite: The favorite of this MonitoredServiceDTO. # noqa: E501
:type: bool
"""

self._favorite = favorite

@property
def hidden(self):
"""Gets the hidden of this MonitoredServiceDTO. # noqa: E501
Expand All @@ -226,6 +292,29 @@ def hidden(self, hidden):

self._hidden = hidden

@property
def id(self):
"""Gets the id of this MonitoredServiceDTO. # noqa: E501
unique ID of monitored service # noqa: E501
:return: The id of this MonitoredServiceDTO. # noqa: E501
:rtype: str
"""
return self._id

@id.setter
def id(self, id):
"""Sets the id of this MonitoredServiceDTO.
unique ID of monitored service # noqa: E501
:param id: The id of this MonitoredServiceDTO. # noqa: E501
:type: str
"""

self._id = id

@property
def last_reported(self):
"""Gets the last_reported of this MonitoredServiceDTO. # noqa: E501
Expand Down Expand Up @@ -272,6 +361,29 @@ def last_updated(self, last_updated):

self._last_updated = last_updated

@property
def origin(self):
"""Gets the origin of this MonitoredServiceDTO. # noqa: E501
origin of monitored service # noqa: E501
:return: The origin of this MonitoredServiceDTO. # noqa: E501
:rtype: str
"""
return self._origin

@origin.setter
def origin(self, origin):
"""Sets the origin of this MonitoredServiceDTO.
origin of monitored service # noqa: E501
:param origin: The origin of this MonitoredServiceDTO. # noqa: E501
:type: str
"""

self._origin = origin

@property
def satisfied_latency_millis(self):
"""Gets the satisfied_latency_millis of this MonitoredServiceDTO. # noqa: E501
Expand Down
2 changes: 1 addition & 1 deletion wavefront_api_client/models/saved_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def entity_type(self, entity_type):
"""
if self._configuration.client_side_validation and entity_type is None:
raise ValueError("Invalid value for `entity_type`, must not be `None`") # noqa: E501
allowed_values = ["DASHBOARD", "ALERT", "MAINTENANCE_WINDOW", "NOTIFICANT", "EVENT", "SOURCE", "EXTERNAL_LINK", "AGENT", "CLOUD_INTEGRATION", "APPLICATION", "REGISTERED_QUERY", "USER", "USER_GROUP", "SERVICE_ACCOUNT", "INGESTION_POLICY", "ROLE", "TOKEN", "ALERT_ANALYTICS", "LOG_ALERT"] # noqa: E501
allowed_values = ["DASHBOARD", "ALERT", "MAINTENANCE_WINDOW", "NOTIFICANT", "EVENT", "SOURCE", "EXTERNAL_LINK", "AGENT", "CLOUD_INTEGRATION", "APPLICATION", "REGISTERED_QUERY", "USER", "USER_GROUP", "SERVICE_ACCOUNT", "INGESTION_POLICY", "ROLE", "TOKEN", "ALERT_ANALYTICS", "LOG_ALERT", "MONITORED_SERVICE"] # noqa: E501
if (self._configuration.client_side_validation and
entity_type not in allowed_values):
raise ValueError(
Expand Down

0 comments on commit 3fbde5c

Please sign in to comment.