Skip to content

Commit 46e4aea

Browse files
author
github-actions
committed
Bump version to 1.3.0
1 parent b4fa02e commit 46e4aea

File tree

10 files changed

+15
-10
lines changed

10 files changed

+15
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
The `cloudbeds_accounting` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: v0
7-
- Package version: 1.2.0
7+
- Package version: 1.3.0
88
- Generator version: 7.11.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.0
1+
1.3.0

cloudbeds_accounting/__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.2.0"
17+
__version__ = "1.3.0"
1818

1919
# import apis into sdk package
2020
from cloudbeds_accounting.api.accounts_receivable_ledger_api import AccountsReceivableLedgerApi

cloudbeds_accounting/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
self.default_headers[header_name] = header_value
9191
self.cookie = cookie
9292
# Set default User-Agent.
93-
self.user_agent = 'OpenAPI-Generator/1.2.0/python'
93+
self.user_agent = 'OpenAPI-Generator/1.3.0/python'
9494
self.client_side_validation = configuration.client_side_validation
9595

9696
def __enter__(self):

cloudbeds_accounting/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def to_debug_report(self) -> str:
504504
"OS: {env}\n"\
505505
"Python Version: {pyversion}\n"\
506506
"Version of the API: v0\n"\
507-
"SDK Package Version: 1.2.0".\
507+
"SDK Package Version: 1.3.0".\
508508
format(env=sys.platform, pyversion=sys.version)
509509

510510
def get_host_settings(self) -> List[HostSetting]:

cloudbeds_accounting/docs/AndOrGroupAndInner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**var_and** | [**List[AndOrGroupAndInner]**](AndOrGroupAndInner.md) | | [optional]
99
**var_or** | [**List[AndOrGroupAndInner]**](AndOrGroupAndInner.md) | | [optional]
1010
**operator** | [**ConditionalOperator**](ConditionalOperator.md) | |
11-
**value** | **object** | | [optional]
11+
**value** | **object** | Can be any of supported OpenApi types. | [optional]
1212
**var_field** | **str** | |
1313

1414
## Example

cloudbeds_accounting/docs/FieldFilter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**operator** | [**ConditionalOperator**](ConditionalOperator.md) | |
9-
**value** | **object** | | [optional]
9+
**value** | **object** | Can be any of supported OpenApi types. | [optional]
1010
**var_field** | **str** | |
1111

1212
## Example

cloudbeds_accounting/docs/Filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**var_and** | [**List[AndOrGroupAndInner]**](AndOrGroupAndInner.md) | | [optional]
99
**var_or** | [**List[AndOrGroupAndInner]**](AndOrGroupAndInner.md) | | [optional]
1010
**operator** | [**ConditionalOperator**](ConditionalOperator.md) | |
11-
**value** | **object** | | [optional]
11+
**value** | **object** | Can be any of supported OpenApi types. | [optional]
1212
**var_field** | **str** | |
1313

1414
## Example

cloudbeds_accounting/models/field_filter.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class FieldFilter(BaseModel):
2828
FieldFilter
2929
""" # noqa: E501
3030
operator: ConditionalOperator
31-
value: Optional[Dict[str, Any]] = None
31+
value: Optional[Any] = Field(default=None, description="Can be any of supported OpenApi types.")
3232
var_field: StrictStr = Field(alias="field")
3333
__properties: ClassVar[List[str]] = ["operator", "value", "field"]
3434

@@ -71,6 +71,11 @@ def to_dict(self) -> Dict[str, Any]:
7171
exclude=excluded_fields,
7272
exclude_none=True,
7373
)
74+
# set to None if value (nullable) is None
75+
# and model_fields_set contains the field
76+
if self.value is None and "value" in self.model_fields_set:
77+
_dict['value'] = None
78+
7479
return _dict
7580

7681
@classmethod

openapitools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"additionalProperties": {
99
"packageName": "cloudbeds_accounting",
1010
"projectName": "Cloudbeds Accounting",
11-
"packageVersion": "1.2.0",
11+
"packageVersion": "1.3.0",
1212
"packageDescription": "OpenAPI client for Cloudbeds Accounting API.",
1313
"generateSourceCodeOnly": true,
1414
"packageUrl": "https://github.com/cloudbeds/cloudbeds-accounting-python"

0 commit comments

Comments
 (0)