Skip to content

Commit 658f01e

Browse files
authored
Merge pull request #51 from mxenabled/openapi-generator-0.35.0
Generated version 0.35.0
2 parents 6cff5e2 + d3e6f9b commit 658f01e

File tree

11 files changed

+18
-7
lines changed

11 files changed

+18
-7
lines changed

docs/AccountResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Name | Type | Description | Notes
5252
**property_type** | **str** | | [optional]
5353
**routing_number** | **str** | | [optional]
5454
**started_on** | **str** | | [optional]
55+
**statement_balance** | **float** | | [optional]
5556
**subtype** | **str** | | [optional]
5657
**today_ugl_amount** | **float** | | [optional]
5758
**today_ugl_percentage** | **float** | | [optional]

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.34.0"
17+
__version__ = "0.35.0"
1818

1919
# import apis into sdk package
2020
from mx_platform_python.api.insights_api import InsightsApi

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

398398
def get_host_settings(self):

mx_platform_python/models/account_response.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ class AccountResponse(BaseModel):
7373
property_type: Optional[StrictStr] = None
7474
routing_number: Optional[StrictStr] = None
7575
started_on: Optional[StrictStr] = None
76+
statement_balance: Optional[Union[StrictFloat, StrictInt]] = None
7677
subtype: Optional[StrictStr] = None
7778
today_ugl_amount: Optional[Union[StrictFloat, StrictInt]] = None
7879
today_ugl_percentage: Optional[Union[StrictFloat, StrictInt]] = None
@@ -82,7 +83,7 @@ class AccountResponse(BaseModel):
8283
updated_at: Optional[StrictStr] = None
8384
user_guid: Optional[StrictStr] = None
8485
user_id: Optional[StrictStr] = None
85-
__properties = ["account_number", "account_ownership", "annuity_policy_to_date", "annuity_provider", "annuity_term_year", "apr", "apy", "available_balance", "available_credit", "balance", "cash_balance", "cash_surrender_value", "created_at", "credit_limit", "currency_code", "day_payment_is_due", "death_benefit", "guid", "holdings_value", "id", "imported_at", "institution_code", "insured_name", "interest_rate", "is_closed", "is_hidden", "is_manual", "last_payment", "last_payment_at", "loan_amount", "margin_balance", "matures_on", "member_guid", "member_id", "member_is_managed_by_user", "metadata", "minimum_balance", "minimum_payment", "name", "nickname", "original_balance", "pay_out_amount", "payment_due_at", "payoff_balance", "premium_amount", "property_type", "routing_number", "started_on", "subtype", "today_ugl_amount", "today_ugl_percentage", "total_account_value", "total_account_value_ugl", "type", "updated_at", "user_guid", "user_id"]
86+
__properties = ["account_number", "account_ownership", "annuity_policy_to_date", "annuity_provider", "annuity_term_year", "apr", "apy", "available_balance", "available_credit", "balance", "cash_balance", "cash_surrender_value", "created_at", "credit_limit", "currency_code", "day_payment_is_due", "death_benefit", "guid", "holdings_value", "id", "imported_at", "institution_code", "insured_name", "interest_rate", "is_closed", "is_hidden", "is_manual", "last_payment", "last_payment_at", "loan_amount", "margin_balance", "matures_on", "member_guid", "member_id", "member_is_managed_by_user", "metadata", "minimum_balance", "minimum_payment", "name", "nickname", "original_balance", "pay_out_amount", "payment_due_at", "payoff_balance", "premium_amount", "property_type", "routing_number", "started_on", "statement_balance", "subtype", "today_ugl_amount", "today_ugl_percentage", "total_account_value", "total_account_value_ugl", "type", "updated_at", "user_guid", "user_id"]
8687

8788
class Config:
8889
"""Pydantic configuration"""
@@ -343,6 +344,11 @@ def to_dict(self):
343344
if self.started_on is None and "started_on" in self.__fields_set__:
344345
_dict['started_on'] = None
345346

347+
# set to None if statement_balance (nullable) is None
348+
# and __fields_set__ contains the field
349+
if self.statement_balance is None and "statement_balance" in self.__fields_set__:
350+
_dict['statement_balance'] = None
351+
346352
# set to None if subtype (nullable) is None
347353
# and __fields_set__ contains the field
348354
if self.subtype is None and "subtype" in self.__fields_set__:
@@ -448,6 +454,7 @@ def from_dict(cls, obj: dict) -> AccountResponse:
448454
"property_type": obj.get("property_type"),
449455
"routing_number": obj.get("routing_number"),
450456
"started_on": obj.get("started_on"),
457+
"statement_balance": obj.get("statement_balance"),
451458
"subtype": obj.get("subtype"),
452459
"today_ugl_amount": obj.get("today_ugl_amount"),
453460
"today_ugl_percentage": obj.get("today_ugl_percentage"),

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.34.0
4+
packageVersion: 0.35.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.34.0"
3+
version = "0.35.0"
44
description = "MX Platform API"
55
authors = ["MX Platform API <team@openapitools.org>"]
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.34.0"
24+
VERSION = "0.35.0"
2525
PYTHON_REQUIRES = ">=3.7"
2626
REQUIRES = [
2727
"urllib3 >= 1.25.3, < 2.1.0",

test/test_account_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def make_instance(self, include_optional) -> AccountResponse:
8484
property_type = 'VEHICLE',
8585
routing_number = '68899990000000',
8686
started_on = '2015-10-13T17:57:37.000Z',
87+
statement_balance = 100.1,
8788
subtype = 'NONE',
8889
today_ugl_amount = 1000.5,
8990
today_ugl_percentage = 6.9,

test/test_account_response_body.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def make_instance(self, include_optional) -> AccountResponseBody:
8585
property_type = 'VEHICLE',
8686
routing_number = '68899990000000',
8787
started_on = '2015-10-13T17:57:37.000Z',
88+
statement_balance = 100.1,
8889
subtype = 'NONE',
8990
today_ugl_amount = 1000.5,
9091
today_ugl_percentage = 6.9,

0 commit comments

Comments
 (0)