From c80cbc7e168b3f1461c4e012dde7310ee0f26aac Mon Sep 17 00:00:00 2001 From: wf-jenkins Date: Mon, 28 Aug 2023 07:06:02 -0700 Subject: [PATCH] Autogenerated Update v2.199.1. --- .swagger-codegen/config.json | 2 +- .swagger-codegen/config.jsone | 2 +- README.md | 2 +- docs/Alert.md | 2 +- docs/DerivedMetricDefinition.md | 2 +- docs/IngestionPolicyAlert.md | 2 +- setup.py | 2 +- wavefront_api_client/api_client.py | 2 +- wavefront_api_client/configuration.py | 2 +- wavefront_api_client/models/alert.py | 4 ++-- wavefront_api_client/models/derived_metric_definition.py | 4 ++-- wavefront_api_client/models/ingestion_policy_alert.py | 4 ++-- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.swagger-codegen/config.json b/.swagger-codegen/config.json index de0eb6ba..1f0b9a86 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.197.1" + "packageVersion": "2.199.1" } diff --git a/.swagger-codegen/config.jsone b/.swagger-codegen/config.jsone index adc445e0..de0eb6ba 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.196.2" + "packageVersion": "2.197.1" } diff --git a/README.md b/README.md index e49bbf42..1dc5bc17 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.197.1 +- Package version: 2.199.1 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/docs/Alert.md b/docs/Alert.md index 779bd42f..88e5467e 100644 --- a/docs/Alert.md +++ b/docs/Alert.md @@ -61,7 +61,7 @@ Name | Type | Description | Notes **orphan** | **bool** | | [optional] **points_scanned_at_last_query** | **int** | A derived field recording the number of data points scanned when the system last computed this alert's condition | [optional] **prefiring_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the series that are starting to fail, defined as failing for greater than 50% of the checks in the window determined by the \"minutes\" parameter | [optional] -**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional] +**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 5 minutes | [optional] **query_failing** | **bool** | Whether there was an exception when the alert condition last ran | [optional] **query_syntax_error** | **bool** | Whether there was an query syntax exception when the alert condition last ran | [optional] **resolve_after_minutes** | **int** | The number of consecutive minutes that a firing series matching the condition query must evaluate to \"false\" (zero value) before the alert resolves. When unset, this defaults to the same value as \"minutes\" | [optional] diff --git a/docs/DerivedMetricDefinition.md b/docs/DerivedMetricDefinition.md index d7bee97b..5ba55078 100644 --- a/docs/DerivedMetricDefinition.md +++ b/docs/DerivedMetricDefinition.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **minutes** | **int** | Number of minutes to query for the derived metric | **name** | **str** | | **points_scanned_at_last_query** | **int** | A derived field recording the number of data points scanned when the system last computed the query | [optional] -**process_rate_minutes** | **int** | The interval between executing the query, in minutes. Defaults to 1 minute | [optional] +**process_rate_minutes** | **int** | The interval between executing the query, in minutes. Defaults to 5 minutes | [optional] **query** | **str** | A Wavefront query that is evaluated at regular intervals (default 1m). | **query_failing** | **bool** | Whether there was an exception when the query last ran | [optional] **query_qb_enabled** | **bool** | Whether the query was created using the Query Builder. Default false | [optional] diff --git a/docs/IngestionPolicyAlert.md b/docs/IngestionPolicyAlert.md index 488b4561..dba435a8 100644 --- a/docs/IngestionPolicyAlert.md +++ b/docs/IngestionPolicyAlert.md @@ -63,7 +63,7 @@ Name | Type | Description | Notes **orphan** | **bool** | | [optional] **points_scanned_at_last_query** | **int** | A derived field recording the number of data points scanned when the system last computed this alert's condition | [optional] **prefiring_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the series that are starting to fail, defined as failing for greater than 50% of the checks in the window determined by the \"minutes\" parameter | [optional] -**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional] +**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 5 minutes | [optional] **query_failing** | **bool** | Whether there was an exception when the alert condition last ran | [optional] **query_syntax_error** | **bool** | Whether there was an query syntax exception when the alert condition last ran | [optional] **resolve_after_minutes** | **int** | The number of consecutive minutes that a firing series matching the condition query must evaluate to \"false\" (zero value) before the alert resolves. When unset, this defaults to the same value as \"minutes\" | [optional] diff --git a/setup.py b/setup.py index 14a2fc11..36ca0e4b 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.197.1" +VERSION = "2.199.1" # To install the library, run the following # # python setup.py install diff --git a/wavefront_api_client/api_client.py b/wavefront_api_client/api_client.py index b1a4e4b9..08e0e6d4 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.197.1/python' + self.user_agent = 'Swagger-Codegen/2.199.1/python' self.client_side_validation = configuration.client_side_validation def __del__(self): diff --git a/wavefront_api_client/configuration.py b/wavefront_api_client/configuration.py index bf0b663e..5c772d3d 100644 --- a/wavefront_api_client/configuration.py +++ b/wavefront_api_client/configuration.py @@ -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.197.1".\ + "SDK Package Version: 2.199.1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/wavefront_api_client/models/alert.py b/wavefront_api_client/models/alert.py index b566490e..7d20839f 100644 --- a/wavefront_api_client/models/alert.py +++ b/wavefront_api_client/models/alert.py @@ -1790,7 +1790,7 @@ def prefiring_host_label_pairs(self, prefiring_host_label_pairs): def process_rate_minutes(self): """Gets the process_rate_minutes of this Alert. # noqa: E501 - The interval between checks for this alert, in minutes. Defaults to 1 minute # noqa: E501 + The interval between checks for this alert, in minutes. Defaults to 5 minutes # noqa: E501 :return: The process_rate_minutes of this Alert. # noqa: E501 :rtype: int @@ -1801,7 +1801,7 @@ def process_rate_minutes(self): def process_rate_minutes(self, process_rate_minutes): """Sets the process_rate_minutes of this Alert. - The interval between checks for this alert, in minutes. Defaults to 1 minute # noqa: E501 + The interval between checks for this alert, in minutes. Defaults to 5 minutes # noqa: E501 :param process_rate_minutes: The process_rate_minutes of this Alert. # noqa: E501 :type: int diff --git a/wavefront_api_client/models/derived_metric_definition.py b/wavefront_api_client/models/derived_metric_definition.py index 4f66b9c2..b81da20e 100644 --- a/wavefront_api_client/models/derived_metric_definition.py +++ b/wavefront_api_client/models/derived_metric_definition.py @@ -602,7 +602,7 @@ def points_scanned_at_last_query(self, points_scanned_at_last_query): def process_rate_minutes(self): """Gets the process_rate_minutes of this DerivedMetricDefinition. # noqa: E501 - The interval between executing the query, in minutes. Defaults to 1 minute # noqa: E501 + The interval between executing the query, in minutes. Defaults to 5 minutes # noqa: E501 :return: The process_rate_minutes of this DerivedMetricDefinition. # noqa: E501 :rtype: int @@ -613,7 +613,7 @@ def process_rate_minutes(self): def process_rate_minutes(self, process_rate_minutes): """Sets the process_rate_minutes of this DerivedMetricDefinition. - The interval between executing the query, in minutes. Defaults to 1 minute # noqa: E501 + The interval between executing the query, in minutes. Defaults to 5 minutes # noqa: E501 :param process_rate_minutes: The process_rate_minutes of this DerivedMetricDefinition. # noqa: E501 :type: int diff --git a/wavefront_api_client/models/ingestion_policy_alert.py b/wavefront_api_client/models/ingestion_policy_alert.py index 2e75ab79..0210d62a 100644 --- a/wavefront_api_client/models/ingestion_policy_alert.py +++ b/wavefront_api_client/models/ingestion_policy_alert.py @@ -1845,7 +1845,7 @@ def prefiring_host_label_pairs(self, prefiring_host_label_pairs): def process_rate_minutes(self): """Gets the process_rate_minutes of this IngestionPolicyAlert. # noqa: E501 - The interval between checks for this alert, in minutes. Defaults to 1 minute # noqa: E501 + The interval between checks for this alert, in minutes. Defaults to 5 minutes # noqa: E501 :return: The process_rate_minutes of this IngestionPolicyAlert. # noqa: E501 :rtype: int @@ -1856,7 +1856,7 @@ def process_rate_minutes(self): def process_rate_minutes(self, process_rate_minutes): """Sets the process_rate_minutes of this IngestionPolicyAlert. - The interval between checks for this alert, in minutes. Defaults to 1 minute # noqa: E501 + The interval between checks for this alert, in minutes. Defaults to 5 minutes # noqa: E501 :param process_rate_minutes: The process_rate_minutes of this IngestionPolicyAlert. # noqa: E501 :type: int