Skip to content

Commit

Permalink
Generated version 0.29.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 0.29.0 of this library.
  • Loading branch information
devexperience committed Jul 11, 2024
1 parent c9d2ee0 commit 7aa83a9
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/AccountResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Name | Type | Description | Notes
**today_ugl_amount** | **float** | | [optional]
**today_ugl_percentage** | **float** | | [optional]
**total_account_value** | **float** | | [optional]
**total_account_value_ugl** | **float** | | [optional]
**type** | **str** | | [optional]
**updated_at** | **str** | | [optional]
**user_guid** | **str** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion mx_platform_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "0.28.0"
__version__ = "0.29.0"

# import apis into sdk package
from mx_platform_python.api.insights_api import InsightsApi
Expand Down
2 changes: 1 addition & 1 deletion mx_platform_python/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,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 = 'OpenAPI-Generator/0.28.0/python'
self.user_agent = 'OpenAPI-Generator/0.29.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion mx_platform_python/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.1.0\n"\
"SDK Package Version: 0.28.0".\
"SDK Package Version: 0.29.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
9 changes: 8 additions & 1 deletion mx_platform_python/models/account_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,12 @@ class AccountResponse(BaseModel):
today_ugl_amount: Optional[Union[StrictFloat, StrictInt]] = None
today_ugl_percentage: Optional[Union[StrictFloat, StrictInt]] = None
total_account_value: Optional[Union[StrictFloat, StrictInt]] = None
total_account_value_ugl: Optional[Union[StrictFloat, StrictInt]] = None
type: Optional[StrictStr] = None
updated_at: Optional[StrictStr] = None
user_guid: Optional[StrictStr] = None
user_id: Optional[StrictStr] = None
__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", "type", "updated_at", "user_guid", "user_id"]
__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"]

class Config:
"""Pydantic configuration"""
Expand Down Expand Up @@ -362,6 +363,11 @@ def to_dict(self):
if self.total_account_value is None and "total_account_value" in self.__fields_set__:
_dict['total_account_value'] = None

# set to None if total_account_value_ugl (nullable) is None
# and __fields_set__ contains the field
if self.total_account_value_ugl is None and "total_account_value_ugl" in self.__fields_set__:
_dict['total_account_value_ugl'] = None

# set to None if type (nullable) is None
# and __fields_set__ contains the field
if self.type is None and "type" in self.__fields_set__:
Expand Down Expand Up @@ -446,6 +452,7 @@ def from_dict(cls, obj: dict) -> AccountResponse:
"today_ugl_amount": obj.get("today_ugl_amount"),
"today_ugl_percentage": obj.get("today_ugl_percentage"),
"total_account_value": obj.get("total_account_value"),
"total_account_value_ugl": obj.get("total_account_value_ugl"),
"type": obj.get("type"),
"updated_at": obj.get("updated_at"),
"user_guid": obj.get("user_guid"),
Expand Down
2 changes: 1 addition & 1 deletion openapi/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
packageName: mx_platform_python
packageUrl: https://pypi.org/project/mx-platform-python
packageVersion: 0.28.0
packageVersion: 0.29.0
projectName: mx-platform-python
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mx_platform_python"
version = "0.28.0"
version = "0.29.0"
description = "MX Platform API"
authors = ["MX Platform API <[email protected]>"]
license = "NoLicense"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "mx-platform-python"
VERSION = "0.28.0"
VERSION = "0.29.0"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
Expand Down
1 change: 1 addition & 0 deletions test/test_account_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def make_instance(self, include_optional) -> AccountResponse:
today_ugl_amount = 1000.5,
today_ugl_percentage = 6.9,
total_account_value = 1.0,
total_account_value_ugl = 1.1,
type = 'SAVINGS',
updated_at = '2016-10-13T18:08:00.000Z',
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54',
Expand Down
1 change: 1 addition & 0 deletions test/test_account_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def make_instance(self, include_optional) -> AccountResponseBody:
today_ugl_amount = 1000.5,
today_ugl_percentage = 6.9,
total_account_value = 1.0,
total_account_value_ugl = 1.1,
type = 'SAVINGS',
updated_at = '2016-10-13T18:08:00.000Z',
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54',
Expand Down
1 change: 1 addition & 0 deletions test/test_accounts_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def make_instance(self, include_optional) -> AccountsResponseBody:
today_ugl_amount = 1000.5,
today_ugl_percentage = 6.9,
total_account_value = 1.0,
total_account_value_ugl = 1.1,
type = 'SAVINGS',
updated_at = '2016-10-13T18:08:00.000Z',
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54',
Expand Down

0 comments on commit 7aa83a9

Please sign in to comment.