diff --git a/README.md b/README.md index 8813975..9f6cde5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 2.0.0 -- Package version: 2.0.0 +- Package version: 2.0.1 - Build package: com.atlassian.opsgenie.codegen.geniepy.GeniepyGenerator For more information, please visit [https://www.opsgenie.com/contact-us](https://www.opsgenie.com/contact-us) diff --git a/opsgenie_sdk/__init__.py b/opsgenie_sdk/__init__.py index 42ed2a6..0a5766d 100644 --- a/opsgenie_sdk/__init__.py +++ b/opsgenie_sdk/__init__.py @@ -168,7 +168,7 @@ from opsgenie_sdk.models.weekday_time_restriction_interval import WeekdayTimeRestrictionInterval from opsgenie_sdk.models.weekday_time_restriction_interval_all_of import WeekdayTimeRestrictionIntervalAllOf -__version__ = "2.0.0" +__version__ = "2.0.1" # import apis into sdk package diff --git a/opsgenie_sdk/api_client.py b/opsgenie_sdk/api_client.py index 940a598..96d851b 100644 --- a/opsgenie_sdk/api_client.py +++ b/opsgenie_sdk/api_client.py @@ -91,7 +91,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 = 'opsgenie-sdk-python-2.0.0' + self.user_agent = 'opsgenie-sdk-python-2.0.1' # init metric publishers self.http_metric_publisher = self.rest_client.http_metric diff --git a/opsgenie_sdk/configuration.py b/opsgenie_sdk/configuration.py index 9433c45..5a0c22f 100644 --- a/opsgenie_sdk/configuration.py +++ b/opsgenie_sdk/configuration.py @@ -254,7 +254,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2.0.0\n"\ - "SDK Package Version: 2.0.0".\ + "SDK Package Version: 2.0.1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/scripts/sdk/config.json b/scripts/sdk/config.json index c171650..0552964 100644 --- a/scripts/sdk/config.json +++ b/scripts/sdk/config.json @@ -1,7 +1,7 @@ { "packageName": "opsgenie_sdk", "projectName": "opsgenie-sdk", - "packageVersion": "2.0.0", + "packageVersion": "2.0.1", "packageUrl": "https://github.com/opsgenie/opsgenie-python-sdk", "sortParamsByRequiredFlag": "true", "hideGenerationTimestamp": "true", diff --git a/setup.py b/setup.py index aecfd55..517989a 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "opsgenie-sdk" -VERSION = "2.0.0" +VERSION = "2.0.1" # To install the library, run the following # # python setup.py install