Skip to content

Commit 97a85e0

Browse files
author
devexperience
committed
Generated version 1.10.0
This commit was automatically created by a GitHub Action to generate version 1.10.0 of this library.
1 parent 98a921e commit 97a85e0

16 files changed

+34
-8
lines changed

docs/ImageOptionResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**data_uri** | **str** | | [optional]
8+
**guid** | **str** | | [optional]
89
**label** | **str** | | [optional]
910
**value** | **str** | | [optional]
1011

docs/OptionResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**guid** | **str** | | [optional]
78
**label** | **str** | | [optional]
89
**value** | **str** | | [optional]
910

mx_platform_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.9.1"
17+
__version__ = "1.10.0"
1818

1919
# import apis into sdk package
2020
from mx_platform_python.api.accounts_api import AccountsApi

mx_platform_python/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7676
self.default_headers[header_name] = header_value
7777
self.cookie = cookie
7878
# Set default User-Agent.
79-
self.user_agent = 'OpenAPI-Generator/1.9.1/python'
79+
self.user_agent = 'OpenAPI-Generator/1.10.0/python'
8080
self.client_side_validation = configuration.client_side_validation
8181

8282
def __enter__(self):

mx_platform_python/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def to_debug_report(self):
399399
"OS: {env}\n"\
400400
"Python Version: {pyversion}\n"\
401401
"Version of the API: 20111101\n"\
402-
"SDK Package Version: 1.9.1".\
402+
"SDK Package Version: 1.10.0".\
403403
format(env=sys.platform, pyversion=sys.version)
404404

405405
def get_host_settings(self):

mx_platform_python/models/image_option_response.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ class ImageOptionResponse(BaseModel):
2626
ImageOptionResponse
2727
"""
2828
data_uri: Optional[StrictStr] = None
29+
guid: Optional[StrictStr] = None
2930
label: Optional[StrictStr] = None
3031
value: Optional[StrictStr] = None
31-
__properties = ["data_uri", "label", "value"]
32+
__properties = ["data_uri", "guid", "label", "value"]
3233

3334
class Config:
3435
"""Pydantic configuration"""
@@ -59,6 +60,11 @@ def to_dict(self):
5960
if self.data_uri is None and "data_uri" in self.__fields_set__:
6061
_dict['data_uri'] = None
6162

63+
# set to None if guid (nullable) is None
64+
# and __fields_set__ contains the field
65+
if self.guid is None and "guid" in self.__fields_set__:
66+
_dict['guid'] = None
67+
6268
# set to None if label (nullable) is None
6369
# and __fields_set__ contains the field
6470
if self.label is None and "label" in self.__fields_set__:
@@ -82,6 +88,7 @@ def from_dict(cls, obj: dict) -> ImageOptionResponse:
8288

8389
_obj = ImageOptionResponse.parse_obj({
8490
"data_uri": obj.get("data_uri"),
91+
"guid": obj.get("guid"),
8592
"label": obj.get("label"),
8693
"value": obj.get("value")
8794
})

mx_platform_python/models/option_response.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ class OptionResponse(BaseModel):
2525
"""
2626
OptionResponse
2727
"""
28+
guid: Optional[StrictStr] = None
2829
label: Optional[StrictStr] = None
2930
value: Optional[StrictStr] = None
30-
__properties = ["label", "value"]
31+
__properties = ["guid", "label", "value"]
3132

3233
class Config:
3334
"""Pydantic configuration"""
@@ -53,6 +54,11 @@ def to_dict(self):
5354
exclude={
5455
},
5556
exclude_none=True)
57+
# set to None if guid (nullable) is None
58+
# and __fields_set__ contains the field
59+
if self.guid is None and "guid" in self.__fields_set__:
60+
_dict['guid'] = None
61+
5662
# set to None if label (nullable) is None
5763
# and __fields_set__ contains the field
5864
if self.label is None and "label" in self.__fields_set__:
@@ -75,6 +81,7 @@ def from_dict(cls, obj: dict) -> OptionResponse:
7581
return OptionResponse.parse_obj(obj)
7682

7783
_obj = OptionResponse.parse_obj({
84+
"guid": obj.get("guid"),
7885
"label": obj.get("label"),
7986
"value": obj.get("value")
8087
})

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
packageName: mx_platform_python
33
packageUrl: https://pypi.org/project/mx-platform-python
4-
packageVersion: 1.9.1
4+
packageVersion: 1.10.0
55
projectName: mx-platform-python

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mx_platform_python"
3-
version = "1.9.1"
3+
version = "1.10.0"
44
description = "MX Platform API"
55
authors = ["MX Platform API <[email protected]>"]
66
license = "NoLicense"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# prerequisite: setuptools
2222
# http://pypi.python.org/pypi/setuptools
2323
NAME = "mx-platform-python"
24-
VERSION = "1.9.1"
24+
VERSION = "1.10.0"
2525
PYTHON_REQUIRES = ">=3.7"
2626
REQUIRES = [
2727
"urllib3 >= 1.25.3, < 2.1.0",

0 commit comments

Comments
 (0)