Skip to content

Commit e71a065

Browse files
committed
PATCH: fix raw element serializer
1 parent 70f974b commit e71a065

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

bimdata_api_client/models/raw_material_list_components.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ def material_option(self, material_option):
121121
:param material_option: The material_option of this RawMaterialListComponents. # noqa: E501
122122
:type: int
123123
"""
124-
if self.local_vars_configuration.client_side_validation and material_option is None: # noqa: E501
125-
raise ValueError("Invalid value for `material_option`, must not be `None`") # noqa: E501
126124

127125
self._material_option = material_option
128126

docs/RawMaterialListComponents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**id** | **int** | | [optional] [readonly]
77
**material** | **int** | | [optional]
8-
**material_option** | **int** | |
8+
**material_option** | **int** | | [optional]
99

1010
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1111

0 commit comments

Comments
 (0)