Skip to content

Commit 8f7a2a0

Browse files
author
devexperience
committed
Generated version 0.19.0
This commit was automatically created by a GitHub Action to generate version 0.19.0 of this library.
1 parent 7c52e43 commit 8f7a2a0

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

docs/SpendingPlansResponseBody.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**iteration_items** | [**List[SpendingPlanResponse]**](SpendingPlanResponse.md) | | [optional]
7+
**spending_plans** | [**List[SpendingPlanResponse]**](SpendingPlanResponse.md) | | [optional]
88
**pagination** | [**PaginationResponse**](PaginationResponse.md) | | [optional]
99

1010
## Example

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__ = "0.18.1"
17+
__version__ = "0.19.0"
1818

1919
# import apis into sdk package
2020
from mx_platform_python.api.mx_platform_api import MxPlatformApi

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/0.18.1/python'
79+
self.user_agent = 'OpenAPI-Generator/0.19.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
@@ -392,7 +392,7 @@ def to_debug_report(self):
392392
"OS: {env}\n"\
393393
"Python Version: {pyversion}\n"\
394394
"Version of the API: 0.1.0\n"\
395-
"SDK Package Version: 0.18.1".\
395+
"SDK Package Version: 0.19.0".\
396396
format(env=sys.platform, pyversion=sys.version)
397397

398398
def get_host_settings(self):

mx_platform_python/models/spending_plans_response_body.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class SpendingPlansResponseBody(BaseModel):
2727
"""
2828
SpendingPlansResponseBody
2929
"""
30-
iteration_items: Optional[conlist(SpendingPlanResponse)] = None
30+
spending_plans: Optional[conlist(SpendingPlanResponse)] = None
3131
pagination: Optional[PaginationResponse] = None
32-
__properties = ["iteration_items", "pagination"]
32+
__properties = ["spending_plans", "pagination"]
3333

3434
class Config:
3535
"""Pydantic configuration"""
@@ -55,13 +55,13 @@ def to_dict(self):
5555
exclude={
5656
},
5757
exclude_none=True)
58-
# override the default output from pydantic by calling `to_dict()` of each item in iteration_items (list)
58+
# override the default output from pydantic by calling `to_dict()` of each item in spending_plans (list)
5959
_items = []
60-
if self.iteration_items:
61-
for _item in self.iteration_items:
60+
if self.spending_plans:
61+
for _item in self.spending_plans:
6262
if _item:
6363
_items.append(_item.to_dict())
64-
_dict['iteration_items'] = _items
64+
_dict['spending_plans'] = _items
6565
# override the default output from pydantic by calling `to_dict()` of pagination
6666
if self.pagination:
6767
_dict['pagination'] = self.pagination.to_dict()
@@ -77,7 +77,7 @@ def from_dict(cls, obj: dict) -> SpendingPlansResponseBody:
7777
return SpendingPlansResponseBody.parse_obj(obj)
7878

7979
_obj = SpendingPlansResponseBody.parse_obj({
80-
"iteration_items": [SpendingPlanResponse.from_dict(_item) for _item in obj.get("iteration_items")] if obj.get("iteration_items") is not None else None,
80+
"spending_plans": [SpendingPlanResponse.from_dict(_item) for _item in obj.get("spending_plans")] if obj.get("spending_plans") is not None else None,
8181
"pagination": PaginationResponse.from_dict(obj.get("pagination")) if obj.get("pagination") is not None else None
8282
})
8383
return _obj

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: 0.18.1
4+
packageVersion: 0.19.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 = "0.18.1"
3+
version = "0.19.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 = "0.18.1"
24+
VERSION = "0.19.0"
2525
PYTHON_REQUIRES = ">=3.7"
2626
REQUIRES = [
2727
"urllib3 >= 1.25.3, < 2.1.0",

test/test_spending_plans_response_body.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> SpendingPlansResponseBody:
3636
model = SpendingPlansResponseBody() # noqa: E501
3737
if include_optional:
3838
return SpendingPlansResponseBody(
39-
iteration_items = [
39+
spending_plans = [
4040
mx_platform_python.models.spending_plan_response.SpendingPlanResponse(
4141
created_at = '2016-10-13T18:08:00+00:00',
4242
current_iteration_number = 1,

0 commit comments

Comments
 (0)