Skip to content

Commit e711f6d

Browse files
committed
PATCH: empty commit for release viewport rename
1 parent 3a8a46e commit e711f6d

File tree

9 files changed

+52
-52
lines changed

9 files changed

+52
-52
lines changed

bimdata-api-client/api/collaboration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8815,7 +8815,7 @@ def create_document(
88158815
):
88168816
"""Create a document # noqa: E501
88178817

8818-
Create a document. If the document is one of {'GLTF', 'DWG', 'DXF', 'POINT_CLOUD', 'IFC', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
8818+
Create a document. If the document is one of {'DXF', 'IFC', 'DWG', 'OBJ', 'POINT_CLOUD', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
88198819
This method makes a synchronous HTTP request by default. To make an
88208820
asynchronous HTTP request, please pass async_req=True
88218821

bimdata-api-client/model/mask2_d.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def openapi_types():
8383
"""
8484
return {
8585
'id': (int,), # noqa: E501
86-
'viewport': ([[float]],), # noqa: E501
86+
'crop_path': ([[float]],), # noqa: E501
8787
'created_at': (datetime,), # noqa: E501
8888
'updated_at': (datetime,), # noqa: E501
8989
}
@@ -95,7 +95,7 @@ def discriminator():
9595

9696
attribute_map = {
9797
'id': 'id', # noqa: E501
98-
'viewport': 'viewport', # noqa: E501
98+
'crop_path': 'crop_path', # noqa: E501
9999
'created_at': 'created_at', # noqa: E501
100100
'updated_at': 'updated_at', # noqa: E501
101101
}
@@ -110,12 +110,12 @@ def discriminator():
110110

111111
@classmethod
112112
@convert_js_args_to_python_args
113-
def _from_openapi_data(cls, id, viewport, created_at, updated_at, *args, **kwargs): # noqa: E501
113+
def _from_openapi_data(cls, id, crop_path, created_at, updated_at, *args, **kwargs): # noqa: E501
114114
"""Mask2D - a model defined in OpenAPI
115115
116116
Args:
117117
id (int):
118-
viewport ([[float]]): Viewport of the manually created mask to show only a part of the model.
118+
crop_path ([[float]]): Crop path of the manually created mask to show only a part of the model.
119119
created_at (datetime): Creation date
120120
updated_at (datetime): Date of the last update
121121
@@ -178,7 +178,7 @@ def _from_openapi_data(cls, id, viewport, created_at, updated_at, *args, **kwarg
178178
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
179179

180180
self.id = id
181-
self.viewport = viewport
181+
self.crop_path = crop_path
182182
self.created_at = created_at
183183
self.updated_at = updated_at
184184
for var_name, var_value in kwargs.items():
@@ -201,10 +201,10 @@ def _from_openapi_data(cls, id, viewport, created_at, updated_at, *args, **kwarg
201201
])
202202

203203
@convert_js_args_to_python_args
204-
def __init__(self, viewport, *args, **kwargs): # noqa: E501
204+
def __init__(self, crop_path, *args, **kwargs): # noqa: E501
205205
"""Mask2D - a model defined in OpenAPI
206206
207-
viewport ([[float]]): Viewport of the manually created mask to show only a part of the model.
207+
crop_path ([[float]]): Crop path of the manually created mask to show only a part of the model.
208208
Keyword Args:
209209
_check_type (bool): if True, values for parameters in openapi_types
210210
will be type checked and a TypeError will be
@@ -261,7 +261,7 @@ def __init__(self, viewport, *args, **kwargs): # noqa: E501
261261
self._configuration = _configuration
262262
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
263263

264-
self.viewport = viewport
264+
self.crop_path = crop_path
265265
for var_name, var_value in kwargs.items():
266266
if var_name not in self.attribute_map and \
267267
self._configuration is not None and \

bimdata-api-client/model/mask2_d_request.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def openapi_types():
8282
and the value is attribute type.
8383
"""
8484
return {
85-
'viewport': ([[float]],), # noqa: E501
85+
'crop_path': ([[float]],), # noqa: E501
8686
}
8787

8888
@cached_property
@@ -91,7 +91,7 @@ def discriminator():
9191

9292

9393
attribute_map = {
94-
'viewport': 'viewport', # noqa: E501
94+
'crop_path': 'crop_path', # noqa: E501
9595
}
9696

9797
read_only_vars = {
@@ -101,11 +101,11 @@ def discriminator():
101101

102102
@classmethod
103103
@convert_js_args_to_python_args
104-
def _from_openapi_data(cls, viewport, *args, **kwargs): # noqa: E501
104+
def _from_openapi_data(cls, crop_path, *args, **kwargs): # noqa: E501
105105
"""Mask2DRequest - a model defined in OpenAPI
106106
107107
Args:
108-
viewport ([[float]]): Viewport of the manually created mask to show only a part of the model.
108+
crop_path ([[float]]): Crop path of the manually created mask to show only a part of the model.
109109
110110
Keyword Args:
111111
_check_type (bool): if True, values for parameters in openapi_types
@@ -165,7 +165,7 @@ def _from_openapi_data(cls, viewport, *args, **kwargs): # noqa: E501
165165
self._configuration = _configuration
166166
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
167167

168-
self.viewport = viewport
168+
self.crop_path = crop_path
169169
for var_name, var_value in kwargs.items():
170170
if var_name not in self.attribute_map and \
171171
self._configuration is not None and \
@@ -186,11 +186,11 @@ def _from_openapi_data(cls, viewport, *args, **kwargs): # noqa: E501
186186
])
187187

188188
@convert_js_args_to_python_args
189-
def __init__(self, viewport, *args, **kwargs): # noqa: E501
189+
def __init__(self, crop_path, *args, **kwargs): # noqa: E501
190190
"""Mask2DRequest - a model defined in OpenAPI
191191
192192
Args:
193-
viewport ([[float]]): Viewport of the manually created mask to show only a part of the model.
193+
crop_path ([[float]]): Crop path of the manually created mask to show only a part of the model.
194194
195195
Keyword Args:
196196
_check_type (bool): if True, values for parameters in openapi_types
@@ -248,7 +248,7 @@ def __init__(self, viewport, *args, **kwargs): # noqa: E501
248248
self._configuration = _configuration
249249
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
250250

251-
self.viewport = viewport
251+
self.crop_path = crop_path
252252
for var_name, var_value in kwargs.items():
253253
if var_name not in self.attribute_map and \
254254
self._configuration is not None and \

bimdata-api-client/model/write_folder.py

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ def openapi_types():
107107
"""
108108
lazy_import()
109109
return {
110-
'created_at': (datetime,), # noqa: E501
110+
'nature': (str,), # noqa: E501
111+
'updated_at': (datetime,), # noqa: E501
111112
'id': (int,), # noqa: E501
112113
'type': (str,), # noqa: E501
113-
'user_permission': (int,), # noqa: E501
114-
'updated_at': (datetime,), # noqa: E501
115-
'name': (str,), # noqa: E501
116114
'created_by': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
117115
'groups_permissions': ([GroupFolderRead],), # noqa: E501
118-
'nature': (str,), # noqa: E501
116+
'created_at': (datetime,), # noqa: E501
117+
'name': (str,), # noqa: E501
118+
'user_permission': (int,), # noqa: E501
119119
'parent_id': (int, none_type,), # noqa: E501
120120
'default_permission': (int,), # noqa: E501
121121
'children': ([WriteFolder], none_type,), # noqa: E501
@@ -127,48 +127,48 @@ def discriminator():
127127

128128

129129
attribute_map = {
130-
'created_at': 'created_at', # noqa: E501
130+
'nature': 'nature', # noqa: E501
131+
'updated_at': 'updated_at', # noqa: E501
131132
'id': 'id', # noqa: E501
132133
'type': 'type', # noqa: E501
133-
'user_permission': 'user_permission', # noqa: E501
134-
'updated_at': 'updated_at', # noqa: E501
135-
'name': 'name', # noqa: E501
136134
'created_by': 'created_by', # noqa: E501
137135
'groups_permissions': 'groups_permissions', # noqa: E501
138-
'nature': 'nature', # noqa: E501
136+
'created_at': 'created_at', # noqa: E501
137+
'name': 'name', # noqa: E501
138+
'user_permission': 'user_permission', # noqa: E501
139139
'parent_id': 'parent_id', # noqa: E501
140140
'default_permission': 'default_permission', # noqa: E501
141141
'children': 'children', # noqa: E501
142142
}
143143

144144
read_only_vars = {
145-
'created_at', # noqa: E501
145+
'nature', # noqa: E501
146+
'updated_at', # noqa: E501
146147
'id', # noqa: E501
147148
'type', # noqa: E501
148-
'user_permission', # noqa: E501
149-
'updated_at', # noqa: E501
150149
'created_by', # noqa: E501
151150
'groups_permissions', # noqa: E501
152-
'nature', # noqa: E501
151+
'created_at', # noqa: E501
152+
'user_permission', # noqa: E501
153153
}
154154

155155
_composed_schemas = {}
156156

157157
@classmethod
158158
@convert_js_args_to_python_args
159-
def _from_openapi_data(cls, created_at, id, type, user_permission, updated_at, name, created_by, groups_permissions, nature, *args, **kwargs): # noqa: E501
159+
def _from_openapi_data(cls, nature, updated_at, id, type, created_by, groups_permissions, created_at, name, user_permission, *args, **kwargs): # noqa: E501
160160
"""WriteFolder - a model defined in OpenAPI
161161
162162
Args:
163-
created_at (datetime): Creation date
163+
nature (str): Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files
164+
updated_at (datetime): Date of the last update
164165
id (int):
165166
type (str): DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files
166-
user_permission (int): Aggregate of group user permissions and folder default permission
167-
updated_at (datetime): Date of the last update
168-
name (str): Name of the folder
169167
created_by (bool, date, datetime, dict, float, int, list, str, none_type):
170168
groups_permissions ([GroupFolderRead]): List of group permissions
171-
nature (str): Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files
169+
created_at (datetime): Creation date
170+
name (str): Name of the folder
171+
user_permission (int): Aggregate of group user permissions and folder default permission
172172
173173
Keyword Args:
174174
_check_type (bool): if True, values for parameters in openapi_types
@@ -231,15 +231,15 @@ def _from_openapi_data(cls, created_at, id, type, user_permission, updated_at, n
231231
self._configuration = _configuration
232232
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
233233

234-
self.created_at = created_at
234+
self.nature = nature
235+
self.updated_at = updated_at
235236
self.id = id
236237
self.type = type
237-
self.user_permission = user_permission
238-
self.updated_at = updated_at
239-
self.name = name
240238
self.created_by = created_by
241239
self.groups_permissions = groups_permissions
242-
self.nature = nature
240+
self.created_at = created_at
241+
self.name = name
242+
self.user_permission = user_permission
243243
for var_name, var_value in kwargs.items():
244244
if var_name not in self.attribute_map and \
245245
self._configuration is not None and \

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ Name | Type | Description | Notes
15451545
15461546
Create a document
15471547

1548-
Create a document. If the document is one of {'GLTF', 'DWG', 'DXF', 'POINT_CLOUD', 'IFC', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
1548+
Create a document. If the document is one of {'DXF', 'IFC', 'DWG', 'OBJ', 'POINT_CLOUD', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write
15491549

15501550
### Example
15511551

docs/Mask2D.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **int** | | [readonly]
8-
**viewport** | **[[float]]** | Viewport of the manually created mask to show only a part of the model. |
8+
**crop_path** | **[[float]]** | Crop path of the manually created mask to show only a part of the model. |
99
**created_at** | **datetime** | Creation date | [readonly]
1010
**updated_at** | **datetime** | Date of the last update | [readonly]
1111
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

docs/Mask2DRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**viewport** | **[[float]]** | Viewport of the manually created mask to show only a part of the model. |
7+
**crop_path** | **[[float]]** | Crop path of the manually created mask to show only a part of the model. |
88
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [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)

docs/ModelApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3507,7 +3507,7 @@ with bimdata-api-client.ApiClient(configuration) as api_client:
35073507
id = 1 # int | A unique integer value identifying this model.
35083508
project_pk = 1 # int |
35093509
mask2_d_request = Mask2DRequest(
3510-
viewport=[
3510+
crop_path=[
35113511
[
35123512
3.14,
35133513
],
@@ -16671,7 +16671,7 @@ with bimdata-api-client.ApiClient(configuration) as api_client:
1667116671
recommanded_2d_angle=3.14,
1667216672
layout_name="layout_name_example",
1667316673
mask_2d=Mask2DRequest(
16674-
viewport=[
16674+
crop_path=[
1667516675
[
1667616676
3.14,
1667716677
],

docs/WriteFolder.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**created_at** | **datetime** | Creation date | [readonly]
7+
**nature** | **str** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
8+
**updated_at** | **datetime** | Date of the last update | [readonly]
89
**id** | **int** | | [readonly]
910
**type** | **str** | DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
10-
**user_permission** | **int** | Aggregate of group user permissions and folder default permission | [readonly]
11-
**updated_at** | **datetime** | Date of the last update | [readonly]
12-
**name** | **str** | Name of the folder |
1311
**created_by** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [readonly]
1412
**groups_permissions** | [**[GroupFolderRead]**](GroupFolderRead.md) | List of group permissions | [readonly]
15-
**nature** | **str** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
13+
**created_at** | **datetime** | Creation date | [readonly]
14+
**name** | **str** | Name of the folder |
15+
**user_permission** | **int** | Aggregate of group user permissions and folder default permission | [readonly]
1616
**parent_id** | **int, none_type** | | [optional]
1717
**default_permission** | **int** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional]
1818
**children** | [**[WriteFolder], none_type**](WriteFolder.md) | | [optional]

0 commit comments

Comments
 (0)