|
70 | 70 | from bimdata_api_client.model.tag_id_request import TagIdRequest |
71 | 71 | from bimdata_api_client.model.tag_request import TagRequest |
72 | 72 | from bimdata_api_client.model.user import User |
| 73 | +from bimdata_api_client.model.user_cloud import UserCloud |
73 | 74 | from bimdata_api_client.model.user_invitation import UserInvitation |
74 | 75 | from bimdata_api_client.model.user_project import UserProject |
75 | 76 | from bimdata_api_client.model.user_project_id_request import UserProjectIdRequest |
@@ -3127,69 +3128,9 @@ def __init__(self, api_client=None): |
3127 | 3128 | }, |
3128 | 3129 | api_client=api_client |
3129 | 3130 | ) |
3130 | | - self.get_cloud_user_endpoint = _Endpoint( |
3131 | | - settings={ |
3132 | | - 'response_type': (User,), |
3133 | | - 'auth': [ |
3134 | | - 'ApiKey', |
3135 | | - 'BIMData_Connect', |
3136 | | - 'BIMData_Connect', |
3137 | | - 'Bearer' |
3138 | | - ], |
3139 | | - 'endpoint_path': '/cloud/{cloud_pk}/user/{id}', |
3140 | | - 'operation_id': 'get_cloud_user', |
3141 | | - 'http_method': 'GET', |
3142 | | - 'servers': None, |
3143 | | - }, |
3144 | | - params_map={ |
3145 | | - 'all': [ |
3146 | | - 'cloud_pk', |
3147 | | - 'id', |
3148 | | - ], |
3149 | | - 'required': [ |
3150 | | - 'cloud_pk', |
3151 | | - 'id', |
3152 | | - ], |
3153 | | - 'nullable': [ |
3154 | | - ], |
3155 | | - 'enum': [ |
3156 | | - ], |
3157 | | - 'validation': [ |
3158 | | - ] |
3159 | | - }, |
3160 | | - root_map={ |
3161 | | - 'validations': { |
3162 | | - }, |
3163 | | - 'allowed_values': { |
3164 | | - }, |
3165 | | - 'openapi_types': { |
3166 | | - 'cloud_pk': |
3167 | | - (int,), |
3168 | | - 'id': |
3169 | | - (int,), |
3170 | | - }, |
3171 | | - 'attribute_map': { |
3172 | | - 'cloud_pk': 'cloud_pk', |
3173 | | - 'id': 'id', |
3174 | | - }, |
3175 | | - 'location_map': { |
3176 | | - 'cloud_pk': 'path', |
3177 | | - 'id': 'path', |
3178 | | - }, |
3179 | | - 'collection_format_map': { |
3180 | | - } |
3181 | | - }, |
3182 | | - headers_map={ |
3183 | | - 'accept': [ |
3184 | | - 'application/json' |
3185 | | - ], |
3186 | | - 'content_type': [], |
3187 | | - }, |
3188 | | - api_client=api_client |
3189 | | - ) |
3190 | 3131 | self.get_cloud_users_endpoint = _Endpoint( |
3191 | 3132 | settings={ |
3192 | | - 'response_type': ([User],), |
| 3133 | + 'response_type': ([UserCloud],), |
3193 | 3134 | 'auth': [ |
3194 | 3135 | 'ApiKey', |
3195 | 3136 | 'BIMData_Connect', |
@@ -8940,7 +8881,7 @@ def create_document( |
8940 | 8881 | ): |
8941 | 8882 | """Create a document # noqa: E501 |
8942 | 8883 |
|
8943 | | - Create a document. If the document is one of {'GLTF', 'OBJ', 'PHOTOSPHERE', 'DWG', 'DXF', 'POINT_CLOUD', 'IFC'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501 |
| 8884 | + Create a document. If the document is one of {'OBJ', 'IFC', 'GLTF', 'DWG', 'DXF', 'PHOTOSPHERE', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501 |
8944 | 8885 | This method makes a synchronous HTTP request by default. To make an |
8945 | 8886 | asynchronous HTTP request, please pass async_req=True |
8946 | 8887 |
|
@@ -11688,88 +11629,6 @@ def get_cloud_size( |
11688 | 11629 | id |
11689 | 11630 | return self.get_cloud_size_endpoint.call_with_http_info(**kwargs) |
11690 | 11631 |
|
11691 | | - def get_cloud_user( |
11692 | | - self, |
11693 | | - cloud_pk, |
11694 | | - id, |
11695 | | - **kwargs |
11696 | | - ): |
11697 | | - """Retrieve a user in a cloud # noqa: E501 |
11698 | | - |
11699 | | - Only administrators can see a cloud member Required scopes: cloud:read # noqa: E501 |
11700 | | - This method makes a synchronous HTTP request by default. To make an |
11701 | | - asynchronous HTTP request, please pass async_req=True |
11702 | | - |
11703 | | - >>> thread = api.get_cloud_user(cloud_pk, id, async_req=True) |
11704 | | - >>> result = thread.get() |
11705 | | - |
11706 | | - Args: |
11707 | | - cloud_pk (int): |
11708 | | - id (int): A unique integer value identifying this fos user. |
11709 | | - |
11710 | | - Keyword Args: |
11711 | | - _return_http_data_only (bool): response data without head status |
11712 | | - code and headers. Default is True. |
11713 | | - _preload_content (bool): if False, the urllib3.HTTPResponse object |
11714 | | - will be returned without reading/decoding response data. |
11715 | | - Default is True. |
11716 | | - _request_timeout (int/float/tuple): timeout setting for this request. If |
11717 | | - one number provided, it will be total request timeout. It can also |
11718 | | - be a pair (tuple) of (connection, read) timeouts. |
11719 | | - Default is None. |
11720 | | - _check_input_type (bool): specifies if type checking |
11721 | | - should be done one the data sent to the server. |
11722 | | - Default is True. |
11723 | | - _check_return_type (bool): specifies if type checking |
11724 | | - should be done one the data received from the server. |
11725 | | - Default is True. |
11726 | | - _spec_property_naming (bool): True if the variable names in the input data |
11727 | | - are serialized names, as specified in the OpenAPI document. |
11728 | | - False if the variable names in the input data |
11729 | | - are pythonic names, e.g. snake case (default) |
11730 | | - _content_type (str/None): force body content-type. |
11731 | | - Default is None and content-type will be predicted by allowed |
11732 | | - content-types and body. |
11733 | | - _host_index (int/None): specifies the index of the server |
11734 | | - that we want to use. |
11735 | | - Default is read from the configuration. |
11736 | | - async_req (bool): execute request asynchronously |
11737 | | - |
11738 | | - Returns: |
11739 | | - User |
11740 | | - If the method is called asynchronously, returns the request |
11741 | | - thread. |
11742 | | - """ |
11743 | | - kwargs['async_req'] = kwargs.get( |
11744 | | - 'async_req', False |
11745 | | - ) |
11746 | | - kwargs['_return_http_data_only'] = kwargs.get( |
11747 | | - '_return_http_data_only', True |
11748 | | - ) |
11749 | | - kwargs['_preload_content'] = kwargs.get( |
11750 | | - '_preload_content', True |
11751 | | - ) |
11752 | | - kwargs['_request_timeout'] = kwargs.get( |
11753 | | - '_request_timeout', None |
11754 | | - ) |
11755 | | - kwargs['_check_input_type'] = kwargs.get( |
11756 | | - '_check_input_type', True |
11757 | | - ) |
11758 | | - kwargs['_check_return_type'] = kwargs.get( |
11759 | | - '_check_return_type', True |
11760 | | - ) |
11761 | | - kwargs['_spec_property_naming'] = kwargs.get( |
11762 | | - '_spec_property_naming', False |
11763 | | - ) |
11764 | | - kwargs['_content_type'] = kwargs.get( |
11765 | | - '_content_type') |
11766 | | - kwargs['_host_index'] = kwargs.get('_host_index') |
11767 | | - kwargs['cloud_pk'] = \ |
11768 | | - cloud_pk |
11769 | | - kwargs['id'] = \ |
11770 | | - id |
11771 | | - return self.get_cloud_user_endpoint.call_with_http_info(**kwargs) |
11772 | | - |
11773 | 11632 | def get_cloud_users( |
11774 | 11633 | self, |
11775 | 11634 | cloud_pk, |
@@ -11820,7 +11679,7 @@ def get_cloud_users( |
11820 | 11679 | async_req (bool): execute request asynchronously |
11821 | 11680 |
|
11822 | 11681 | Returns: |
11823 | | - [User] |
| 11682 | + [UserCloud] |
11824 | 11683 | If the method is called asynchronously, returns the request |
11825 | 11684 | thread. |
11826 | 11685 | """ |
|
0 commit comments