Skip to content

Commit d8d5a83

Browse files
author
devexperience
committed
Generated version 1.1.0
This commit was automatically created by a GitHub Action to generate version 1.1.0 of this library.
1 parent f083b2f commit d8d5a83

File tree

11 files changed

+20
-9
lines changed

11 files changed

+20
-9
lines changed

docs/MemberResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
2020
**name** | **str** | | [optional]
2121
**oauth_window_uri** | **str** | | [optional]
2222
**successfully_aggregated_at** | **str** | | [optional]
23+
**use_cases** | **List[str]** | | [optional]
2324
**user_guid** | **str** | | [optional]
2425
**user_id** | **str** | | [optional]
2526

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.0.0"
17+
__version__ = "1.1.0"
1818

1919
# import apis into sdk package
2020
from mx_platform_python.api.budgets_api import BudgetsApi

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.0.0/python'
79+
self.user_agent = 'OpenAPI-Generator/1.1.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: 1.0.0".\
395+
"SDK Package Version: 1.1.0".\
396396
format(env=sys.platform, pyversion=sys.version)
397397

398398
def get_host_settings(self):

mx_platform_python/models/member_response.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
import json
1919

2020

21-
from typing import Optional
22-
from pydantic import BaseModel, StrictBool, StrictStr
21+
from typing import List, Optional
22+
from pydantic import BaseModel, StrictBool, StrictStr, conlist
2323

2424
class MemberResponse(BaseModel):
2525
"""
@@ -41,9 +41,10 @@ class MemberResponse(BaseModel):
4141
name: Optional[StrictStr] = None
4242
oauth_window_uri: Optional[StrictStr] = None
4343
successfully_aggregated_at: Optional[StrictStr] = None
44+
use_cases: Optional[conlist(StrictStr)] = None
4445
user_guid: Optional[StrictStr] = None
4546
user_id: Optional[StrictStr] = None
46-
__properties = ["aggregated_at", "background_aggregation_is_disabled", "connection_status", "guid", "id", "institution_code", "is_being_aggregated", "is_managed_by_user", "is_manual", "is_oauth", "metadata", "most_recent_job_detail_code", "most_recent_job_detail_text", "name", "oauth_window_uri", "successfully_aggregated_at", "user_guid", "user_id"]
47+
__properties = ["aggregated_at", "background_aggregation_is_disabled", "connection_status", "guid", "id", "institution_code", "is_being_aggregated", "is_managed_by_user", "is_manual", "is_oauth", "metadata", "most_recent_job_detail_code", "most_recent_job_detail_text", "name", "oauth_window_uri", "successfully_aggregated_at", "use_cases", "user_guid", "user_id"]
4748

4849
class Config:
4950
"""Pydantic configuration"""
@@ -144,6 +145,11 @@ def to_dict(self):
144145
if self.successfully_aggregated_at is None and "successfully_aggregated_at" in self.__fields_set__:
145146
_dict['successfully_aggregated_at'] = None
146147

148+
# set to None if use_cases (nullable) is None
149+
# and __fields_set__ contains the field
150+
if self.use_cases is None and "use_cases" in self.__fields_set__:
151+
_dict['use_cases'] = None
152+
147153
# set to None if user_guid (nullable) is None
148154
# and __fields_set__ contains the field
149155
if self.user_guid is None and "user_guid" in self.__fields_set__:
@@ -182,6 +188,7 @@ def from_dict(cls, obj: dict) -> MemberResponse:
182188
"name": obj.get("name"),
183189
"oauth_window_uri": obj.get("oauth_window_uri"),
184190
"successfully_aggregated_at": obj.get("successfully_aggregated_at"),
191+
"use_cases": obj.get("use_cases"),
185192
"user_guid": obj.get("user_guid"),
186193
"user_id": obj.get("user_id")
187194
})

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

test/test_member_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def make_instance(self, include_optional) -> MemberResponse:
5252
name = 'Chase Bank',
5353
oauth_window_uri = 'https://mxbank.mx.com/oauth/authorize?client_id=b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&redirect_uri=https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&response_type=code&scope=openid&state=d745bd4ee6f0f9c184757f574bcc2df2',
5454
successfully_aggregated_at = '2016-10-13T17:57:38.000Z',
55+
use_cases = ["PFM","IAV"],
5556
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54',
5657
user_id = 'user123'
5758
)

test/test_member_response_body.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def make_instance(self, include_optional) -> MemberResponseBody:
5353
name = 'Chase Bank',
5454
oauth_window_uri = 'https://mxbank.mx.com/oauth/authorize?client_id=b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&redirect_uri=https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&response_type=code&scope=openid&state=d745bd4ee6f0f9c184757f574bcc2df2',
5555
successfully_aggregated_at = '2016-10-13T17:57:38.000Z',
56+
use_cases = ["PFM","IAV"],
5657
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54',
5758
user_id = 'user123', )
5859
)

0 commit comments

Comments
 (0)