Skip to content

Commit 7bf1863

Browse files
committed
Autogenerated Update v2.37.6.
1 parent 8b09a14 commit 7bf1863

File tree

11 files changed

+55
-12
lines changed

11 files changed

+55
-12
lines changed

.swagger-codegen/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"gitUserId": "wavefrontHQ",
44
"packageName": "wavefront_api_client",
55
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6-
"packageVersion": "2.36.26"
6+
"packageVersion": "2.37.6"
77
}

.swagger-codegen/config.jsone

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"gitUserId": "wavefrontHQ",
44
"packageName": "wavefront_api_client",
55
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6-
"packageVersion": "2.36.18"
6+
"packageVersion": "2.36.26"
77
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: v2
7-
- Package version: 2.36.26
7+
- Package version: 2.37.6
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

docs/Alert.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
2424
**display_expression_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the display expression query. Applicable only when displayExpressionQBEnabled is true | [optional]
2525
**evaluate_realtime_data** | **bool** | Whether to alert on the real-time ingestion stream (may be noisy due to late data) | [optional]
2626
**event** | [**Event**](Event.md) | | [optional]
27+
**failing_host_label_pair_links** | **list[str]** | List of links to tracing applications that caused a failing series | [optional]
2728
**failing_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Failing host/metric pairs | [optional]
2829
**hidden** | **bool** | | [optional]
2930
**hosts_used** | **list[str]** | Number of hosts checked by the alert condition | [optional]

docs/IntegrationApi.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ This endpoint does not need any parameter.
224224
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
225225

226226
# **get_installed_integration**
227-
> ResponseContainerListIntegration get_installed_integration()
227+
> ResponseContainerListIntegration get_installed_integration(has_content=has_content, return_content=return_content)
228228
229229
Gets a flat list of all Integrations that are installed, along with their status
230230

@@ -246,17 +246,23 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
246246

247247
# create an instance of the API class
248248
api_instance = wavefront_api_client.IntegrationApi(wavefront_api_client.ApiClient(configuration))
249+
has_content = false # bool | (optional) (default to false)
250+
return_content = true # bool | (optional) (default to true)
249251

250252
try:
251253
# Gets a flat list of all Integrations that are installed, along with their status
252-
api_response = api_instance.get_installed_integration()
254+
api_response = api_instance.get_installed_integration(has_content=has_content, return_content=return_content)
253255
pprint(api_response)
254256
except ApiException as e:
255257
print("Exception when calling IntegrationApi->get_installed_integration: %s\n" % e)
256258
```
257259

258260
### Parameters
259-
This endpoint does not need any parameter.
261+
262+
Name | Type | Description | Notes
263+
------------- | ------------- | ------------- | -------------
264+
**has_content** | **bool**| | [optional] [default to false]
265+
**return_content** | **bool**| | [optional] [default to true]
260266

261267
### Return type
262268

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from setuptools import setup, find_packages # noqa: H301
1515

1616
NAME = "wavefront-api-client"
17-
VERSION = "2.36.26"
17+
VERSION = "2.37.6"
1818
# To install the library, run the following
1919
#
2020
# python setup.py install

wavefront_api_client/api/integration_api.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ def get_installed_integration(self, **kwargs): # noqa: E501
399399
>>> result = thread.get()
400400
401401
:param async_req bool
402+
:param bool has_content:
403+
:param bool return_content:
402404
:return: ResponseContainerListIntegration
403405
If the method is called asynchronously,
404406
returns the request thread.
@@ -420,12 +422,14 @@ def get_installed_integration_with_http_info(self, **kwargs): # noqa: E501
420422
>>> result = thread.get()
421423
422424
:param async_req bool
425+
:param bool has_content:
426+
:param bool return_content:
423427
:return: ResponseContainerListIntegration
424428
If the method is called asynchronously,
425429
returns the request thread.
426430
"""
427431

428-
all_params = [] # noqa: E501
432+
all_params = ['has_content', 'return_content'] # noqa: E501
429433
all_params.append('async_req')
430434
all_params.append('_return_http_data_only')
431435
all_params.append('_preload_content')
@@ -446,6 +450,10 @@ def get_installed_integration_with_http_info(self, **kwargs): # noqa: E501
446450
path_params = {}
447451

448452
query_params = []
453+
if 'has_content' in params:
454+
query_params.append(('hasContent', params['has_content'])) # noqa: E501
455+
if 'return_content' in params:
456+
query_params.append(('returnContent', params['return_content'])) # noqa: E501
449457

450458
header_params = {}
451459

wavefront_api_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7474
self.default_headers[header_name] = header_value
7575
self.cookie = cookie
7676
# Set default User-Agent.
77-
self.user_agent = 'Swagger-Codegen/2.36.26/python'
77+
self.user_agent = 'Swagger-Codegen/2.37.6/python'
7878

7979
def __del__(self):
8080
if self._pool is not None:

wavefront_api_client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,5 +240,5 @@ def to_debug_report(self):
240240
"OS: {env}\n"\
241241
"Python Version: {pyversion}\n"\
242242
"Version of the API: v2\n"\
243-
"SDK Package Version: 2.36.26".\
243+
"SDK Package Version: 2.37.6".\
244244
format(env=sys.platform, pyversion=sys.version)

wavefront_api_client/models/alert.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class Alert(object):
5858
'display_expression_qb_serialization': 'str',
5959
'evaluate_realtime_data': 'bool',
6060
'event': 'Event',
61+
'failing_host_label_pair_links': 'list[str]',
6162
'failing_host_label_pairs': 'list[SourceLabelPair]',
6263
'hidden': 'bool',
6364
'hosts_used': 'list[str]',
@@ -123,6 +124,7 @@ class Alert(object):
123124
'display_expression_qb_serialization': 'displayExpressionQBSerialization',
124125
'evaluate_realtime_data': 'evaluateRealtimeData',
125126
'event': 'event',
127+
'failing_host_label_pair_links': 'failingHostLabelPairLinks',
126128
'failing_host_label_pairs': 'failingHostLabelPairs',
127129
'hidden': 'hidden',
128130
'hosts_used': 'hostsUsed',
@@ -166,7 +168,7 @@ class Alert(object):
166168
'updater_id': 'updaterId'
167169
}
168170

169-
def __init__(self, acl=None, active_maintenance_windows=None, additional_information=None, alert_type=None, alerts_last_day=None, alerts_last_month=None, alerts_last_week=None, condition=None, condition_qb_enabled=None, condition_qb_serialization=None, conditions=None, create_user_id=None, created=None, created_epoch_millis=None, creator_id=None, deleted=None, display_expression=None, display_expression_qb_enabled=None, display_expression_qb_serialization=None, evaluate_realtime_data=None, event=None, failing_host_label_pairs=None, hidden=None, hosts_used=None, id=None, in_maintenance_host_label_pairs=None, in_trash=None, include_obsolete_metrics=None, last_error_message=None, last_event_time=None, last_failed_time=None, last_notification_millis=None, last_processed_millis=None, last_query_time=None, metrics_used=None, minutes=None, modify_acl_access=None, name=None, no_data_event=None, notificants=None, notification_resend_frequency_minutes=None, num_points_in_failure_frame=None, orphan=None, points_scanned_at_last_query=None, prefiring_host_label_pairs=None, process_rate_minutes=None, query_failing=None, resolve_after_minutes=None, severity=None, severity_list=None, snoozed=None, sort_attr=None, status=None, system_owned=None, tags=None, target=None, target_info=None, targets=None, update_user_id=None, updated=None, updated_epoch_millis=None, updater_id=None): # noqa: E501
171+
def __init__(self, acl=None, active_maintenance_windows=None, additional_information=None, alert_type=None, alerts_last_day=None, alerts_last_month=None, alerts_last_week=None, condition=None, condition_qb_enabled=None, condition_qb_serialization=None, conditions=None, create_user_id=None, created=None, created_epoch_millis=None, creator_id=None, deleted=None, display_expression=None, display_expression_qb_enabled=None, display_expression_qb_serialization=None, evaluate_realtime_data=None, event=None, failing_host_label_pair_links=None, failing_host_label_pairs=None, hidden=None, hosts_used=None, id=None, in_maintenance_host_label_pairs=None, in_trash=None, include_obsolete_metrics=None, last_error_message=None, last_event_time=None, last_failed_time=None, last_notification_millis=None, last_processed_millis=None, last_query_time=None, metrics_used=None, minutes=None, modify_acl_access=None, name=None, no_data_event=None, notificants=None, notification_resend_frequency_minutes=None, num_points_in_failure_frame=None, orphan=None, points_scanned_at_last_query=None, prefiring_host_label_pairs=None, process_rate_minutes=None, query_failing=None, resolve_after_minutes=None, severity=None, severity_list=None, snoozed=None, sort_attr=None, status=None, system_owned=None, tags=None, target=None, target_info=None, targets=None, update_user_id=None, updated=None, updated_epoch_millis=None, updater_id=None): # noqa: E501
170172
"""Alert - a model defined in Swagger""" # noqa: E501
171173

172174
self._acl = None
@@ -190,6 +192,7 @@ def __init__(self, acl=None, active_maintenance_windows=None, additional_informa
190192
self._display_expression_qb_serialization = None
191193
self._evaluate_realtime_data = None
192194
self._event = None
195+
self._failing_host_label_pair_links = None
193196
self._failing_host_label_pairs = None
194197
self._hidden = None
195198
self._hosts_used = None
@@ -274,6 +277,8 @@ def __init__(self, acl=None, active_maintenance_windows=None, additional_informa
274277
self.evaluate_realtime_data = evaluate_realtime_data
275278
if event is not None:
276279
self.event = event
280+
if failing_host_label_pair_links is not None:
281+
self.failing_host_label_pair_links = failing_host_label_pair_links
277282
if failing_host_label_pairs is not None:
278283
self.failing_host_label_pairs = failing_host_label_pairs
279284
if hidden is not None:
@@ -828,6 +833,29 @@ def event(self, event):
828833

829834
self._event = event
830835

836+
@property
837+
def failing_host_label_pair_links(self):
838+
"""Gets the failing_host_label_pair_links of this Alert. # noqa: E501
839+
840+
List of links to tracing applications that caused a failing series # noqa: E501
841+
842+
:return: The failing_host_label_pair_links of this Alert. # noqa: E501
843+
:rtype: list[str]
844+
"""
845+
return self._failing_host_label_pair_links
846+
847+
@failing_host_label_pair_links.setter
848+
def failing_host_label_pair_links(self, failing_host_label_pair_links):
849+
"""Sets the failing_host_label_pair_links of this Alert.
850+
851+
List of links to tracing applications that caused a failing series # noqa: E501
852+
853+
:param failing_host_label_pair_links: The failing_host_label_pair_links of this Alert. # noqa: E501
854+
:type: list[str]
855+
"""
856+
857+
self._failing_host_label_pair_links = failing_host_label_pair_links
858+
831859
@property
832860
def failing_host_label_pairs(self):
833861
"""Gets the failing_host_label_pairs of this Alert. # noqa: E501

0 commit comments

Comments
 (0)