|
66 | 66 | from bimdata_api_client.model.patched_space_request import PatchedSpaceRequest |
67 | 67 | from bimdata_api_client.model.patched_storey_building_request import PatchedStoreyBuildingRequest |
68 | 68 | from bimdata_api_client.model.patched_system_request import PatchedSystemRequest |
| 69 | +from bimdata_api_client.model.patched_transform_request import PatchedTransformRequest |
69 | 70 | from bimdata_api_client.model.patched_unit_request import PatchedUnitRequest |
70 | 71 | from bimdata_api_client.model.patched_zone_request import PatchedZoneRequest |
71 | 72 | from bimdata_api_client.model.patched_zone_space_request import PatchedZoneSpaceRequest |
|
86 | 87 | from bimdata_api_client.model.storey_model_plan_request import StoreyModelPlanRequest |
87 | 88 | from bimdata_api_client.model.system import System |
88 | 89 | from bimdata_api_client.model.system_request import SystemRequest |
| 90 | +from bimdata_api_client.model.transform import Transform |
89 | 91 | from bimdata_api_client.model.unit import Unit |
90 | 92 | from bimdata_api_client.model.unit_request import UnitRequest |
91 | 93 | from bimdata_api_client.model.xkt_file import XktFile |
@@ -11060,6 +11062,80 @@ def __init__(self, api_client=None): |
11060 | 11062 | }, |
11061 | 11063 | api_client=api_client |
11062 | 11064 | ) |
| 11065 | + self.update_model_transform_endpoint = _Endpoint( |
| 11066 | + settings={ |
| 11067 | + 'response_type': (Transform,), |
| 11068 | + 'auth': [ |
| 11069 | + 'ApiKey', |
| 11070 | + 'BIMData_Connect', |
| 11071 | + 'BIMData_Connect', |
| 11072 | + 'Bearer' |
| 11073 | + ], |
| 11074 | + 'endpoint_path': '/cloud/{cloud_pk}/project/{project_pk}/model/{id}/transform', |
| 11075 | + 'operation_id': 'update_model_transform', |
| 11076 | + 'http_method': 'PATCH', |
| 11077 | + 'servers': None, |
| 11078 | + }, |
| 11079 | + params_map={ |
| 11080 | + 'all': [ |
| 11081 | + 'cloud_pk', |
| 11082 | + 'id', |
| 11083 | + 'project_pk', |
| 11084 | + 'patched_transform_request', |
| 11085 | + ], |
| 11086 | + 'required': [ |
| 11087 | + 'cloud_pk', |
| 11088 | + 'id', |
| 11089 | + 'project_pk', |
| 11090 | + ], |
| 11091 | + 'nullable': [ |
| 11092 | + ], |
| 11093 | + 'enum': [ |
| 11094 | + ], |
| 11095 | + 'validation': [ |
| 11096 | + ] |
| 11097 | + }, |
| 11098 | + root_map={ |
| 11099 | + 'validations': { |
| 11100 | + }, |
| 11101 | + 'allowed_values': { |
| 11102 | + }, |
| 11103 | + 'openapi_types': { |
| 11104 | + 'cloud_pk': |
| 11105 | + (int,), |
| 11106 | + 'id': |
| 11107 | + (int,), |
| 11108 | + 'project_pk': |
| 11109 | + (int,), |
| 11110 | + 'patched_transform_request': |
| 11111 | + (PatchedTransformRequest,), |
| 11112 | + }, |
| 11113 | + 'attribute_map': { |
| 11114 | + 'cloud_pk': 'cloud_pk', |
| 11115 | + 'id': 'id', |
| 11116 | + 'project_pk': 'project_pk', |
| 11117 | + }, |
| 11118 | + 'location_map': { |
| 11119 | + 'cloud_pk': 'path', |
| 11120 | + 'id': 'path', |
| 11121 | + 'project_pk': 'path', |
| 11122 | + 'patched_transform_request': 'body', |
| 11123 | + }, |
| 11124 | + 'collection_format_map': { |
| 11125 | + } |
| 11126 | + }, |
| 11127 | + headers_map={ |
| 11128 | + 'accept': [ |
| 11129 | + 'application/json' |
| 11130 | + ], |
| 11131 | + 'content_type': [ |
| 11132 | + 'application/json', |
| 11133 | + 'application/x-www-form-urlencoded', |
| 11134 | + 'multipart/form-data' |
| 11135 | + ] |
| 11136 | + }, |
| 11137 | + api_client=api_client |
| 11138 | + ) |
11063 | 11139 | self.update_model_unit_endpoint = _Endpoint( |
11064 | 11140 | settings={ |
11065 | 11141 | 'response_type': (Unit,), |
@@ -25203,6 +25279,93 @@ def update_model_property_definition( |
25203 | 25279 | project_pk |
25204 | 25280 | return self.update_model_property_definition_endpoint.call_with_http_info(**kwargs) |
25205 | 25281 |
|
| 25282 | + def update_model_transform( |
| 25283 | + self, |
| 25284 | + cloud_pk, |
| 25285 | + id, |
| 25286 | + project_pk, |
| 25287 | + **kwargs |
| 25288 | + ): |
| 25289 | + """Update model transform # noqa: E501 |
| 25290 | + |
| 25291 | + Update model transform (translate, scale, rotate and opacity) Required scopes: ifc:write, model:write # noqa: E501 |
| 25292 | + This method makes a synchronous HTTP request by default. To make an |
| 25293 | + asynchronous HTTP request, please pass async_req=True |
| 25294 | + |
| 25295 | + >>> thread = api.update_model_transform(cloud_pk, id, project_pk, async_req=True) |
| 25296 | + >>> result = thread.get() |
| 25297 | + |
| 25298 | + Args: |
| 25299 | + cloud_pk (int): |
| 25300 | + id (int): A unique integer value identifying this model. |
| 25301 | + project_pk (int): |
| 25302 | + |
| 25303 | + Keyword Args: |
| 25304 | + patched_transform_request (PatchedTransformRequest): [optional] |
| 25305 | + _return_http_data_only (bool): response data without head status |
| 25306 | + code and headers. Default is True. |
| 25307 | + _preload_content (bool): if False, the urllib3.HTTPResponse object |
| 25308 | + will be returned without reading/decoding response data. |
| 25309 | + Default is True. |
| 25310 | + _request_timeout (int/float/tuple): timeout setting for this request. If |
| 25311 | + one number provided, it will be total request timeout. It can also |
| 25312 | + be a pair (tuple) of (connection, read) timeouts. |
| 25313 | + Default is None. |
| 25314 | + _check_input_type (bool): specifies if type checking |
| 25315 | + should be done one the data sent to the server. |
| 25316 | + Default is True. |
| 25317 | + _check_return_type (bool): specifies if type checking |
| 25318 | + should be done one the data received from the server. |
| 25319 | + Default is True. |
| 25320 | + _spec_property_naming (bool): True if the variable names in the input data |
| 25321 | + are serialized names, as specified in the OpenAPI document. |
| 25322 | + False if the variable names in the input data |
| 25323 | + are pythonic names, e.g. snake case (default) |
| 25324 | + _content_type (str/None): force body content-type. |
| 25325 | + Default is None and content-type will be predicted by allowed |
| 25326 | + content-types and body. |
| 25327 | + _host_index (int/None): specifies the index of the server |
| 25328 | + that we want to use. |
| 25329 | + Default is read from the configuration. |
| 25330 | + async_req (bool): execute request asynchronously |
| 25331 | + |
| 25332 | + Returns: |
| 25333 | + Transform |
| 25334 | + If the method is called asynchronously, returns the request |
| 25335 | + thread. |
| 25336 | + """ |
| 25337 | + kwargs['async_req'] = kwargs.get( |
| 25338 | + 'async_req', False |
| 25339 | + ) |
| 25340 | + kwargs['_return_http_data_only'] = kwargs.get( |
| 25341 | + '_return_http_data_only', True |
| 25342 | + ) |
| 25343 | + kwargs['_preload_content'] = kwargs.get( |
| 25344 | + '_preload_content', True |
| 25345 | + ) |
| 25346 | + kwargs['_request_timeout'] = kwargs.get( |
| 25347 | + '_request_timeout', None |
| 25348 | + ) |
| 25349 | + kwargs['_check_input_type'] = kwargs.get( |
| 25350 | + '_check_input_type', True |
| 25351 | + ) |
| 25352 | + kwargs['_check_return_type'] = kwargs.get( |
| 25353 | + '_check_return_type', True |
| 25354 | + ) |
| 25355 | + kwargs['_spec_property_naming'] = kwargs.get( |
| 25356 | + '_spec_property_naming', False |
| 25357 | + ) |
| 25358 | + kwargs['_content_type'] = kwargs.get( |
| 25359 | + '_content_type') |
| 25360 | + kwargs['_host_index'] = kwargs.get('_host_index') |
| 25361 | + kwargs['cloud_pk'] = \ |
| 25362 | + cloud_pk |
| 25363 | + kwargs['id'] = \ |
| 25364 | + id |
| 25365 | + kwargs['project_pk'] = \ |
| 25366 | + project_pk |
| 25367 | + return self.update_model_transform_endpoint.call_with_http_info(**kwargs) |
| 25368 | + |
25206 | 25369 | def update_model_unit( |
25207 | 25370 | self, |
25208 | 25371 | cloud_pk, |
|
0 commit comments