ignos-api-client 2023.12.29.7928__py3-none-any.whl → 2023.12.29.7935__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ignos/api/client/_version.py +1 -1
- ignos/api/client/aio/operations/_operations.py +1932 -102
- ignos/api/client/models/__init__.py +34 -0
- ignos/api/client/models/_models.py +1071 -0
- ignos/api/client/operations/_operations.py +2143 -23
- {ignos_api_client-2023.12.29.7928.dist-info → ignos_api_client-2023.12.29.7935.dist-info}/METADATA +1 -1
- {ignos_api_client-2023.12.29.7928.dist-info → ignos_api_client-2023.12.29.7935.dist-info}/RECORD +9 -9
- {ignos_api_client-2023.12.29.7928.dist-info → ignos_api_client-2023.12.29.7935.dist-info}/WHEEL +0 -0
- {ignos_api_client-2023.12.29.7928.dist-info → ignos_api_client-2023.12.29.7935.dist-info}/top_level.txt +0 -0
|
@@ -85,6 +85,8 @@ from ...operations._operations import (
|
|
|
85
85
|
build_cnc_setup_list_cnc_tool_by_cnc_machine_request,
|
|
86
86
|
build_cnc_setup_list_cnc_tool_by_operation_request,
|
|
87
87
|
build_cnc_setup_list_cnc_tool_types_request,
|
|
88
|
+
build_cnc_setup_post_list_cnc_machine_operations_request,
|
|
89
|
+
build_cnc_setup_post_list_cnc_parts_request,
|
|
88
90
|
build_cnc_setup_update_cnc_machine_communication_settings_request,
|
|
89
91
|
build_cnc_setup_update_cnc_machine_operation_request,
|
|
90
92
|
build_cnc_setup_update_cnc_machine_operation_tool_request,
|
|
@@ -96,6 +98,7 @@ from ...operations._operations import (
|
|
|
96
98
|
build_customer_orders_get_customer_order_request,
|
|
97
99
|
build_customer_orders_list_customer_order_lines_request,
|
|
98
100
|
build_customer_orders_list_customer_orders_request,
|
|
101
|
+
build_customer_orders_post_list_customer_orders_request,
|
|
99
102
|
build_customer_orders_upsert_customer_order_line_request,
|
|
100
103
|
build_customer_orders_upsert_customer_order_request,
|
|
101
104
|
build_customers_create_customer_mapping_request,
|
|
@@ -105,6 +108,7 @@ from ...operations._operations import (
|
|
|
105
108
|
build_customers_get_current_customer_request,
|
|
106
109
|
build_customers_list_customer_groups_request,
|
|
107
110
|
build_customers_list_customers_request,
|
|
111
|
+
build_customers_post_list_customers_request,
|
|
108
112
|
build_customers_upsert_customer_request,
|
|
109
113
|
build_document_types_activate_document_type_request,
|
|
110
114
|
build_document_types_create_document_type_request,
|
|
@@ -117,7 +121,7 @@ from ...operations._operations import (
|
|
|
117
121
|
build_document_types_list_document_types_request,
|
|
118
122
|
build_document_types_update_document_type_request,
|
|
119
123
|
build_document_types_update_document_type_rules_request,
|
|
120
|
-
|
|
124
|
+
build_documents_check_if_imported_document_exists_request,
|
|
121
125
|
build_documents_import_document_request,
|
|
122
126
|
build_electrical_create_electrical_iot_config_request,
|
|
123
127
|
build_electrical_delete_electrical_iot_config_request,
|
|
@@ -196,6 +200,12 @@ from ...operations._operations import (
|
|
|
196
200
|
build_measurement_form_schemas_list_measurment_form_schemas_request,
|
|
197
201
|
build_measurement_form_schemas_list_measurment_form_schemas_with_history_request,
|
|
198
202
|
build_measurement_form_schemas_list_resource_types_for_needs_generator_request,
|
|
203
|
+
build_measurement_form_schemas_post_list_linkable_measurement_form_schemas_request,
|
|
204
|
+
build_measurement_form_schemas_post_list_measurement_form_instance_schema_feedback_request,
|
|
205
|
+
build_measurement_form_schemas_post_list_measurement_form_needs_request,
|
|
206
|
+
build_measurement_form_schemas_post_list_measurement_form_schemas_not_needed_request,
|
|
207
|
+
build_measurement_form_schemas_post_list_measurement_form_schemas_request,
|
|
208
|
+
build_measurement_form_schemas_post_list_measurement_form_schemas_with_history_request,
|
|
199
209
|
build_measurement_form_schemas_release_schema_request,
|
|
200
210
|
build_measurement_form_schemas_revoke_schema_request,
|
|
201
211
|
build_measurement_form_schemas_set_measurement_form_instance_schema_feedback_user_request,
|
|
@@ -229,6 +239,8 @@ from ...operations._operations import (
|
|
|
229
239
|
build_measurement_forms_instances_list_measurement_forms_by_status_request,
|
|
230
240
|
build_measurement_forms_instances_list_measurement_forms_request,
|
|
231
241
|
build_measurement_forms_instances_list_supplier_measurement_form_instances_request,
|
|
242
|
+
build_measurement_forms_instances_post_list_measurement_forms_by_status_request,
|
|
243
|
+
build_measurement_forms_instances_post_list_measurement_forms_request,
|
|
232
244
|
build_measurement_forms_instances_reactivate_measurement_form_instance_request,
|
|
233
245
|
build_measurement_forms_instances_remove_supplier_from_measurment_form_instance_request,
|
|
234
246
|
build_measurement_forms_instances_save_comment_request,
|
|
@@ -284,6 +296,7 @@ from ...operations._operations import (
|
|
|
284
296
|
build_mes_production_order_post_material_pick_list_request,
|
|
285
297
|
build_mes_production_schedule_list_my_current_work_activities_request,
|
|
286
298
|
build_mes_production_schedule_list_production_schedule_operations_request,
|
|
299
|
+
build_mes_production_schedule_post_list_production_schedule_operations_request,
|
|
287
300
|
build_mes_production_schedule_report_operation_progress_request,
|
|
288
301
|
build_mes_production_schedule_start_operations_request,
|
|
289
302
|
build_mes_resource_list_resource_group_resources_request,
|
|
@@ -311,6 +324,7 @@ from ...operations._operations import (
|
|
|
311
324
|
build_mrb_list_mrb_templates_request,
|
|
312
325
|
build_mrb_list_recent_mrb_intances_request,
|
|
313
326
|
build_mrb_mark_mrb_revision_as_sent_request,
|
|
327
|
+
build_mrb_post_list_mrb_instance_reports_request,
|
|
314
328
|
build_mrb_refresh_mrb_revision_content_request,
|
|
315
329
|
build_mrb_reject_mrb_revision_request,
|
|
316
330
|
build_mrb_update_mrb_template_request,
|
|
@@ -344,9 +358,11 @@ from ...operations._operations import (
|
|
|
344
358
|
build_trace_get_trace_request,
|
|
345
359
|
build_trace_list_customer_order_line_traces_request,
|
|
346
360
|
build_trace_list_trace_workorders_request,
|
|
361
|
+
build_trace_post_list_trace_workorders_request,
|
|
347
362
|
build_trace_update_trace_request,
|
|
348
363
|
build_upload_create_upload_info_request,
|
|
349
364
|
build_users_list_users_request,
|
|
365
|
+
build_users_post_list_users_request,
|
|
350
366
|
build_welding_create_welding_iot_config_request,
|
|
351
367
|
build_welding_delete_welding_iot_config_request,
|
|
352
368
|
build_welding_list_electrical_data_configs_request,
|
|
@@ -361,6 +377,7 @@ from ...operations._operations import (
|
|
|
361
377
|
build_workorders_get_workorder_request,
|
|
362
378
|
build_workorders_list_active_workorder_operations_request,
|
|
363
379
|
build_workorders_list_workorders_request,
|
|
380
|
+
build_workorders_post_list_workorders_request,
|
|
364
381
|
build_workorders_register_workorder_operation_event_request,
|
|
365
382
|
build_workorders_set_workorder_customer_order_reference_request,
|
|
366
383
|
build_workorders_start_workorder_operation_request,
|
|
@@ -2990,6 +3007,112 @@ class CncSetupOperations: # pylint: disable=too-many-public-methods
|
|
|
2990
3007
|
|
|
2991
3008
|
return deserialized # type: ignore
|
|
2992
3009
|
|
|
3010
|
+
@overload
|
|
3011
|
+
async def post_list_cnc_parts(
|
|
3012
|
+
self,
|
|
3013
|
+
body: Optional[_models.ListCncPartsRequest] = None,
|
|
3014
|
+
*,
|
|
3015
|
+
content_type: str = "application/json",
|
|
3016
|
+
**kwargs: Any
|
|
3017
|
+
) -> _models.CncPartListDtoPagedResult:
|
|
3018
|
+
"""post_list_cnc_parts.
|
|
3019
|
+
|
|
3020
|
+
:param body: Default value is None.
|
|
3021
|
+
:type body: ~ignos.api.client.models.ListCncPartsRequest
|
|
3022
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
3023
|
+
Default value is "application/json".
|
|
3024
|
+
:paramtype content_type: str
|
|
3025
|
+
:return: CncPartListDtoPagedResult
|
|
3026
|
+
:rtype: ~ignos.api.client.models.CncPartListDtoPagedResult
|
|
3027
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3028
|
+
"""
|
|
3029
|
+
|
|
3030
|
+
@overload
|
|
3031
|
+
async def post_list_cnc_parts(
|
|
3032
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
3033
|
+
) -> _models.CncPartListDtoPagedResult:
|
|
3034
|
+
"""post_list_cnc_parts.
|
|
3035
|
+
|
|
3036
|
+
:param body: Default value is None.
|
|
3037
|
+
:type body: IO[bytes]
|
|
3038
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
3039
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
3040
|
+
"application/json".
|
|
3041
|
+
:paramtype content_type: str
|
|
3042
|
+
:return: CncPartListDtoPagedResult
|
|
3043
|
+
:rtype: ~ignos.api.client.models.CncPartListDtoPagedResult
|
|
3044
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3045
|
+
"""
|
|
3046
|
+
|
|
3047
|
+
@distributed_trace_async
|
|
3048
|
+
async def post_list_cnc_parts(
|
|
3049
|
+
self, body: Optional[Union[_models.ListCncPartsRequest, IO[bytes]]] = None, **kwargs: Any
|
|
3050
|
+
) -> _models.CncPartListDtoPagedResult:
|
|
3051
|
+
"""post_list_cnc_parts.
|
|
3052
|
+
|
|
3053
|
+
:param body: Is either a ListCncPartsRequest type or a IO[bytes] type. Default value is None.
|
|
3054
|
+
:type body: ~ignos.api.client.models.ListCncPartsRequest or IO[bytes]
|
|
3055
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
3056
|
+
'application/json', 'text/json'. Default value is None.
|
|
3057
|
+
:paramtype content_type: str
|
|
3058
|
+
:return: CncPartListDtoPagedResult
|
|
3059
|
+
:rtype: ~ignos.api.client.models.CncPartListDtoPagedResult
|
|
3060
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3061
|
+
"""
|
|
3062
|
+
error_map = {
|
|
3063
|
+
401: ClientAuthenticationError,
|
|
3064
|
+
404: ResourceNotFoundError,
|
|
3065
|
+
409: ResourceExistsError,
|
|
3066
|
+
304: ResourceNotModifiedError,
|
|
3067
|
+
}
|
|
3068
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
3069
|
+
|
|
3070
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
3071
|
+
_params = kwargs.pop("params", {}) or {}
|
|
3072
|
+
|
|
3073
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
3074
|
+
cls: ClsType[_models.CncPartListDtoPagedResult] = kwargs.pop("cls", None)
|
|
3075
|
+
|
|
3076
|
+
content_type = content_type or "application/json"
|
|
3077
|
+
_json = None
|
|
3078
|
+
_content = None
|
|
3079
|
+
if isinstance(body, (IOBase, bytes)):
|
|
3080
|
+
_content = body
|
|
3081
|
+
else:
|
|
3082
|
+
if body is not None:
|
|
3083
|
+
_json = self._serialize.body(body, "ListCncPartsRequest")
|
|
3084
|
+
else:
|
|
3085
|
+
_json = None
|
|
3086
|
+
|
|
3087
|
+
_request = build_cnc_setup_post_list_cnc_parts_request(
|
|
3088
|
+
content_type=content_type,
|
|
3089
|
+
json=_json,
|
|
3090
|
+
content=_content,
|
|
3091
|
+
headers=_headers,
|
|
3092
|
+
params=_params,
|
|
3093
|
+
)
|
|
3094
|
+
_request.url = self._client.format_url(_request.url)
|
|
3095
|
+
|
|
3096
|
+
_stream = False
|
|
3097
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
3098
|
+
_request, stream=_stream, **kwargs
|
|
3099
|
+
)
|
|
3100
|
+
|
|
3101
|
+
response = pipeline_response.http_response
|
|
3102
|
+
|
|
3103
|
+
if response.status_code not in [200]:
|
|
3104
|
+
if _stream:
|
|
3105
|
+
await response.read() # Load the body in memory and close the socket
|
|
3106
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
3107
|
+
raise HttpResponseError(response=response)
|
|
3108
|
+
|
|
3109
|
+
deserialized = self._deserialize("CncPartListDtoPagedResult", pipeline_response)
|
|
3110
|
+
|
|
3111
|
+
if cls:
|
|
3112
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
3113
|
+
|
|
3114
|
+
return deserialized # type: ignore
|
|
3115
|
+
|
|
2993
3116
|
@overload
|
|
2994
3117
|
async def copy_cnc_part(
|
|
2995
3118
|
self, body: Optional[_models.CopyCncPart] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
@@ -3574,6 +3697,113 @@ class CncSetupOperations: # pylint: disable=too-many-public-methods
|
|
|
3574
3697
|
|
|
3575
3698
|
return deserialized # type: ignore
|
|
3576
3699
|
|
|
3700
|
+
@overload
|
|
3701
|
+
async def post_list_cnc_machine_operations(
|
|
3702
|
+
self,
|
|
3703
|
+
body: Optional[_models.ListCncMachineOperationsRequest] = None,
|
|
3704
|
+
*,
|
|
3705
|
+
content_type: str = "application/json",
|
|
3706
|
+
**kwargs: Any
|
|
3707
|
+
) -> _models.CncMachineOperationSearchResultDtoPagedResult:
|
|
3708
|
+
"""post_list_cnc_machine_operations.
|
|
3709
|
+
|
|
3710
|
+
:param body: Default value is None.
|
|
3711
|
+
:type body: ~ignos.api.client.models.ListCncMachineOperationsRequest
|
|
3712
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
3713
|
+
Default value is "application/json".
|
|
3714
|
+
:paramtype content_type: str
|
|
3715
|
+
:return: CncMachineOperationSearchResultDtoPagedResult
|
|
3716
|
+
:rtype: ~ignos.api.client.models.CncMachineOperationSearchResultDtoPagedResult
|
|
3717
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3718
|
+
"""
|
|
3719
|
+
|
|
3720
|
+
@overload
|
|
3721
|
+
async def post_list_cnc_machine_operations(
|
|
3722
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
3723
|
+
) -> _models.CncMachineOperationSearchResultDtoPagedResult:
|
|
3724
|
+
"""post_list_cnc_machine_operations.
|
|
3725
|
+
|
|
3726
|
+
:param body: Default value is None.
|
|
3727
|
+
:type body: IO[bytes]
|
|
3728
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
3729
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
3730
|
+
"application/json".
|
|
3731
|
+
:paramtype content_type: str
|
|
3732
|
+
:return: CncMachineOperationSearchResultDtoPagedResult
|
|
3733
|
+
:rtype: ~ignos.api.client.models.CncMachineOperationSearchResultDtoPagedResult
|
|
3734
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3735
|
+
"""
|
|
3736
|
+
|
|
3737
|
+
@distributed_trace_async
|
|
3738
|
+
async def post_list_cnc_machine_operations(
|
|
3739
|
+
self, body: Optional[Union[_models.ListCncMachineOperationsRequest, IO[bytes]]] = None, **kwargs: Any
|
|
3740
|
+
) -> _models.CncMachineOperationSearchResultDtoPagedResult:
|
|
3741
|
+
"""post_list_cnc_machine_operations.
|
|
3742
|
+
|
|
3743
|
+
:param body: Is either a ListCncMachineOperationsRequest type or a IO[bytes] type. Default
|
|
3744
|
+
value is None.
|
|
3745
|
+
:type body: ~ignos.api.client.models.ListCncMachineOperationsRequest or IO[bytes]
|
|
3746
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
3747
|
+
'application/json', 'text/json'. Default value is None.
|
|
3748
|
+
:paramtype content_type: str
|
|
3749
|
+
:return: CncMachineOperationSearchResultDtoPagedResult
|
|
3750
|
+
:rtype: ~ignos.api.client.models.CncMachineOperationSearchResultDtoPagedResult
|
|
3751
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3752
|
+
"""
|
|
3753
|
+
error_map = {
|
|
3754
|
+
401: ClientAuthenticationError,
|
|
3755
|
+
404: ResourceNotFoundError,
|
|
3756
|
+
409: ResourceExistsError,
|
|
3757
|
+
304: ResourceNotModifiedError,
|
|
3758
|
+
}
|
|
3759
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
3760
|
+
|
|
3761
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
3762
|
+
_params = kwargs.pop("params", {}) or {}
|
|
3763
|
+
|
|
3764
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
3765
|
+
cls: ClsType[_models.CncMachineOperationSearchResultDtoPagedResult] = kwargs.pop("cls", None)
|
|
3766
|
+
|
|
3767
|
+
content_type = content_type or "application/json"
|
|
3768
|
+
_json = None
|
|
3769
|
+
_content = None
|
|
3770
|
+
if isinstance(body, (IOBase, bytes)):
|
|
3771
|
+
_content = body
|
|
3772
|
+
else:
|
|
3773
|
+
if body is not None:
|
|
3774
|
+
_json = self._serialize.body(body, "ListCncMachineOperationsRequest")
|
|
3775
|
+
else:
|
|
3776
|
+
_json = None
|
|
3777
|
+
|
|
3778
|
+
_request = build_cnc_setup_post_list_cnc_machine_operations_request(
|
|
3779
|
+
content_type=content_type,
|
|
3780
|
+
json=_json,
|
|
3781
|
+
content=_content,
|
|
3782
|
+
headers=_headers,
|
|
3783
|
+
params=_params,
|
|
3784
|
+
)
|
|
3785
|
+
_request.url = self._client.format_url(_request.url)
|
|
3786
|
+
|
|
3787
|
+
_stream = False
|
|
3788
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
3789
|
+
_request, stream=_stream, **kwargs
|
|
3790
|
+
)
|
|
3791
|
+
|
|
3792
|
+
response = pipeline_response.http_response
|
|
3793
|
+
|
|
3794
|
+
if response.status_code not in [200]:
|
|
3795
|
+
if _stream:
|
|
3796
|
+
await response.read() # Load the body in memory and close the socket
|
|
3797
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
3798
|
+
raise HttpResponseError(response=response)
|
|
3799
|
+
|
|
3800
|
+
deserialized = self._deserialize("CncMachineOperationSearchResultDtoPagedResult", pipeline_response)
|
|
3801
|
+
|
|
3802
|
+
if cls:
|
|
3803
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
3804
|
+
|
|
3805
|
+
return deserialized # type: ignore
|
|
3806
|
+
|
|
3577
3807
|
@overload
|
|
3578
3808
|
async def update_cnc_machine_operation(
|
|
3579
3809
|
self,
|
|
@@ -6079,14 +6309,56 @@ class CustomersOperations:
|
|
|
6079
6309
|
|
|
6080
6310
|
return deserialized # type: ignore
|
|
6081
6311
|
|
|
6082
|
-
@
|
|
6083
|
-
async def
|
|
6084
|
-
|
|
6312
|
+
@overload
|
|
6313
|
+
async def post_list_customers(
|
|
6314
|
+
self,
|
|
6315
|
+
body: Optional[_models.ListCustomersRequest] = None,
|
|
6316
|
+
*,
|
|
6317
|
+
content_type: str = "application/json",
|
|
6318
|
+
**kwargs: Any
|
|
6319
|
+
) -> _models.CustomerDtoPagedResult:
|
|
6320
|
+
"""post_list_customers.
|
|
6085
6321
|
|
|
6086
|
-
|
|
6322
|
+
:param body: Default value is None.
|
|
6323
|
+
:type body: ~ignos.api.client.models.ListCustomersRequest
|
|
6324
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
6325
|
+
Default value is "application/json".
|
|
6326
|
+
:paramtype content_type: str
|
|
6327
|
+
:return: CustomerDtoPagedResult
|
|
6328
|
+
:rtype: ~ignos.api.client.models.CustomerDtoPagedResult
|
|
6329
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
6330
|
+
"""
|
|
6087
6331
|
|
|
6088
|
-
|
|
6089
|
-
|
|
6332
|
+
@overload
|
|
6333
|
+
async def post_list_customers(
|
|
6334
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
6335
|
+
) -> _models.CustomerDtoPagedResult:
|
|
6336
|
+
"""post_list_customers.
|
|
6337
|
+
|
|
6338
|
+
:param body: Default value is None.
|
|
6339
|
+
:type body: IO[bytes]
|
|
6340
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
6341
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
6342
|
+
"application/json".
|
|
6343
|
+
:paramtype content_type: str
|
|
6344
|
+
:return: CustomerDtoPagedResult
|
|
6345
|
+
:rtype: ~ignos.api.client.models.CustomerDtoPagedResult
|
|
6346
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
6347
|
+
"""
|
|
6348
|
+
|
|
6349
|
+
@distributed_trace_async
|
|
6350
|
+
async def post_list_customers(
|
|
6351
|
+
self, body: Optional[Union[_models.ListCustomersRequest, IO[bytes]]] = None, **kwargs: Any
|
|
6352
|
+
) -> _models.CustomerDtoPagedResult:
|
|
6353
|
+
"""post_list_customers.
|
|
6354
|
+
|
|
6355
|
+
:param body: Is either a ListCustomersRequest type or a IO[bytes] type. Default value is None.
|
|
6356
|
+
:type body: ~ignos.api.client.models.ListCustomersRequest or IO[bytes]
|
|
6357
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
6358
|
+
'application/json', 'text/json'. Default value is None.
|
|
6359
|
+
:paramtype content_type: str
|
|
6360
|
+
:return: CustomerDtoPagedResult
|
|
6361
|
+
:rtype: ~ignos.api.client.models.CustomerDtoPagedResult
|
|
6090
6362
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
6091
6363
|
"""
|
|
6092
6364
|
error_map = {
|
|
@@ -6097,12 +6369,27 @@ class CustomersOperations:
|
|
|
6097
6369
|
}
|
|
6098
6370
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
6099
6371
|
|
|
6100
|
-
_headers = kwargs.pop("headers", {}) or {}
|
|
6372
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
6101
6373
|
_params = kwargs.pop("params", {}) or {}
|
|
6102
6374
|
|
|
6103
|
-
|
|
6375
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
6376
|
+
cls: ClsType[_models.CustomerDtoPagedResult] = kwargs.pop("cls", None)
|
|
6104
6377
|
|
|
6105
|
-
|
|
6378
|
+
content_type = content_type or "application/json"
|
|
6379
|
+
_json = None
|
|
6380
|
+
_content = None
|
|
6381
|
+
if isinstance(body, (IOBase, bytes)):
|
|
6382
|
+
_content = body
|
|
6383
|
+
else:
|
|
6384
|
+
if body is not None:
|
|
6385
|
+
_json = self._serialize.body(body, "ListCustomersRequest")
|
|
6386
|
+
else:
|
|
6387
|
+
_json = None
|
|
6388
|
+
|
|
6389
|
+
_request = build_customers_post_list_customers_request(
|
|
6390
|
+
content_type=content_type,
|
|
6391
|
+
json=_json,
|
|
6392
|
+
content=_content,
|
|
6106
6393
|
headers=_headers,
|
|
6107
6394
|
params=_params,
|
|
6108
6395
|
)
|
|
@@ -6121,7 +6408,7 @@ class CustomersOperations:
|
|
|
6121
6408
|
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
6122
6409
|
raise HttpResponseError(response=response)
|
|
6123
6410
|
|
|
6124
|
-
deserialized = self._deserialize("
|
|
6411
|
+
deserialized = self._deserialize("CustomerDtoPagedResult", pipeline_response)
|
|
6125
6412
|
|
|
6126
6413
|
if cls:
|
|
6127
6414
|
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
@@ -6129,10 +6416,59 @@ class CustomersOperations:
|
|
|
6129
6416
|
return deserialized # type: ignore
|
|
6130
6417
|
|
|
6131
6418
|
@distributed_trace_async
|
|
6132
|
-
async def
|
|
6133
|
-
"""
|
|
6419
|
+
async def list_customer_groups(self, **kwargs: Any) -> List[_models.CustomerGroupDto]:
|
|
6420
|
+
"""List customer groups.
|
|
6134
6421
|
|
|
6135
|
-
|
|
6422
|
+
List customer groups.
|
|
6423
|
+
|
|
6424
|
+
:return: list of CustomerGroupDto
|
|
6425
|
+
:rtype: list[~ignos.api.client.models.CustomerGroupDto]
|
|
6426
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
6427
|
+
"""
|
|
6428
|
+
error_map = {
|
|
6429
|
+
401: ClientAuthenticationError,
|
|
6430
|
+
404: ResourceNotFoundError,
|
|
6431
|
+
409: ResourceExistsError,
|
|
6432
|
+
304: ResourceNotModifiedError,
|
|
6433
|
+
}
|
|
6434
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
6435
|
+
|
|
6436
|
+
_headers = kwargs.pop("headers", {}) or {}
|
|
6437
|
+
_params = kwargs.pop("params", {}) or {}
|
|
6438
|
+
|
|
6439
|
+
cls: ClsType[List[_models.CustomerGroupDto]] = kwargs.pop("cls", None)
|
|
6440
|
+
|
|
6441
|
+
_request = build_customers_list_customer_groups_request(
|
|
6442
|
+
headers=_headers,
|
|
6443
|
+
params=_params,
|
|
6444
|
+
)
|
|
6445
|
+
_request.url = self._client.format_url(_request.url)
|
|
6446
|
+
|
|
6447
|
+
_stream = False
|
|
6448
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
6449
|
+
_request, stream=_stream, **kwargs
|
|
6450
|
+
)
|
|
6451
|
+
|
|
6452
|
+
response = pipeline_response.http_response
|
|
6453
|
+
|
|
6454
|
+
if response.status_code not in [200]:
|
|
6455
|
+
if _stream:
|
|
6456
|
+
await response.read() # Load the body in memory and close the socket
|
|
6457
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
6458
|
+
raise HttpResponseError(response=response)
|
|
6459
|
+
|
|
6460
|
+
deserialized = self._deserialize("[CustomerGroupDto]", pipeline_response)
|
|
6461
|
+
|
|
6462
|
+
if cls:
|
|
6463
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
6464
|
+
|
|
6465
|
+
return deserialized # type: ignore
|
|
6466
|
+
|
|
6467
|
+
@distributed_trace_async
|
|
6468
|
+
async def deactivate_customer(self, id: str, **kwargs: Any) -> _models.ProblemDetails:
|
|
6469
|
+
"""Deactivates an existing customer.
|
|
6470
|
+
|
|
6471
|
+
Deactivates an existing customer.
|
|
6136
6472
|
|
|
6137
6473
|
:param id: Customer id. Required.
|
|
6138
6474
|
:type id: str
|
|
@@ -6462,19 +6798,17 @@ class DocumentsOperations:
|
|
|
6462
6798
|
return deserialized # type: ignore
|
|
6463
6799
|
|
|
6464
6800
|
@distributed_trace_async
|
|
6465
|
-
async def
|
|
6466
|
-
self, *,
|
|
6467
|
-
) ->
|
|
6468
|
-
"""
|
|
6801
|
+
async def check_if_imported_document_exists(
|
|
6802
|
+
self, *, imported_reference: Optional[str] = None, **kwargs: Any
|
|
6803
|
+
) -> str:
|
|
6804
|
+
"""Checks if a document exists with import reference. Returns document id if document exists.
|
|
6469
6805
|
|
|
6470
|
-
|
|
6806
|
+
Checks if a document exists with import reference. Returns document id if document exists.
|
|
6471
6807
|
|
|
6472
|
-
:keyword
|
|
6473
|
-
:paramtype
|
|
6474
|
-
:
|
|
6475
|
-
:
|
|
6476
|
-
:return: int
|
|
6477
|
-
:rtype: int
|
|
6808
|
+
:keyword imported_reference: Default value is None.
|
|
6809
|
+
:paramtype imported_reference: str
|
|
6810
|
+
:return: str
|
|
6811
|
+
:rtype: str
|
|
6478
6812
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
6479
6813
|
"""
|
|
6480
6814
|
error_map = {
|
|
@@ -6488,11 +6822,10 @@ class DocumentsOperations:
|
|
|
6488
6822
|
_headers = kwargs.pop("headers", {}) or {}
|
|
6489
6823
|
_params = kwargs.pop("params", {}) or {}
|
|
6490
6824
|
|
|
6491
|
-
cls: ClsType[
|
|
6825
|
+
cls: ClsType[str] = kwargs.pop("cls", None)
|
|
6492
6826
|
|
|
6493
|
-
_request =
|
|
6494
|
-
|
|
6495
|
-
tag_value=tag_value,
|
|
6827
|
+
_request = build_documents_check_if_imported_document_exists_request(
|
|
6828
|
+
imported_reference=imported_reference,
|
|
6496
6829
|
headers=_headers,
|
|
6497
6830
|
params=_params,
|
|
6498
6831
|
)
|
|
@@ -6511,7 +6844,7 @@ class DocumentsOperations:
|
|
|
6511
6844
|
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
6512
6845
|
raise HttpResponseError(response=response)
|
|
6513
6846
|
|
|
6514
|
-
deserialized = self._deserialize("
|
|
6847
|
+
deserialized = self._deserialize("str", pipeline_response)
|
|
6515
6848
|
|
|
6516
6849
|
if cls:
|
|
6517
6850
|
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
@@ -7647,6 +7980,113 @@ class CustomerOrdersOperations:
|
|
|
7647
7980
|
|
|
7648
7981
|
return deserialized # type: ignore
|
|
7649
7982
|
|
|
7983
|
+
@overload
|
|
7984
|
+
async def post_list_customer_orders(
|
|
7985
|
+
self,
|
|
7986
|
+
body: Optional[_models.ListCustomerOrdersRequest] = None,
|
|
7987
|
+
*,
|
|
7988
|
+
content_type: str = "application/json",
|
|
7989
|
+
**kwargs: Any
|
|
7990
|
+
) -> _models.CustomerOrderDtoPagedResult:
|
|
7991
|
+
"""post_list_customer_orders.
|
|
7992
|
+
|
|
7993
|
+
:param body: Default value is None.
|
|
7994
|
+
:type body: ~ignos.api.client.models.ListCustomerOrdersRequest
|
|
7995
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
7996
|
+
Default value is "application/json".
|
|
7997
|
+
:paramtype content_type: str
|
|
7998
|
+
:return: CustomerOrderDtoPagedResult
|
|
7999
|
+
:rtype: ~ignos.api.client.models.CustomerOrderDtoPagedResult
|
|
8000
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
8001
|
+
"""
|
|
8002
|
+
|
|
8003
|
+
@overload
|
|
8004
|
+
async def post_list_customer_orders(
|
|
8005
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
8006
|
+
) -> _models.CustomerOrderDtoPagedResult:
|
|
8007
|
+
"""post_list_customer_orders.
|
|
8008
|
+
|
|
8009
|
+
:param body: Default value is None.
|
|
8010
|
+
:type body: IO[bytes]
|
|
8011
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
8012
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
8013
|
+
"application/json".
|
|
8014
|
+
:paramtype content_type: str
|
|
8015
|
+
:return: CustomerOrderDtoPagedResult
|
|
8016
|
+
:rtype: ~ignos.api.client.models.CustomerOrderDtoPagedResult
|
|
8017
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
8018
|
+
"""
|
|
8019
|
+
|
|
8020
|
+
@distributed_trace_async
|
|
8021
|
+
async def post_list_customer_orders(
|
|
8022
|
+
self, body: Optional[Union[_models.ListCustomerOrdersRequest, IO[bytes]]] = None, **kwargs: Any
|
|
8023
|
+
) -> _models.CustomerOrderDtoPagedResult:
|
|
8024
|
+
"""post_list_customer_orders.
|
|
8025
|
+
|
|
8026
|
+
:param body: Is either a ListCustomerOrdersRequest type or a IO[bytes] type. Default value is
|
|
8027
|
+
None.
|
|
8028
|
+
:type body: ~ignos.api.client.models.ListCustomerOrdersRequest or IO[bytes]
|
|
8029
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
8030
|
+
'application/json', 'text/json'. Default value is None.
|
|
8031
|
+
:paramtype content_type: str
|
|
8032
|
+
:return: CustomerOrderDtoPagedResult
|
|
8033
|
+
:rtype: ~ignos.api.client.models.CustomerOrderDtoPagedResult
|
|
8034
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
8035
|
+
"""
|
|
8036
|
+
error_map = {
|
|
8037
|
+
401: ClientAuthenticationError,
|
|
8038
|
+
404: ResourceNotFoundError,
|
|
8039
|
+
409: ResourceExistsError,
|
|
8040
|
+
304: ResourceNotModifiedError,
|
|
8041
|
+
}
|
|
8042
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
8043
|
+
|
|
8044
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
8045
|
+
_params = kwargs.pop("params", {}) or {}
|
|
8046
|
+
|
|
8047
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
8048
|
+
cls: ClsType[_models.CustomerOrderDtoPagedResult] = kwargs.pop("cls", None)
|
|
8049
|
+
|
|
8050
|
+
content_type = content_type or "application/json"
|
|
8051
|
+
_json = None
|
|
8052
|
+
_content = None
|
|
8053
|
+
if isinstance(body, (IOBase, bytes)):
|
|
8054
|
+
_content = body
|
|
8055
|
+
else:
|
|
8056
|
+
if body is not None:
|
|
8057
|
+
_json = self._serialize.body(body, "ListCustomerOrdersRequest")
|
|
8058
|
+
else:
|
|
8059
|
+
_json = None
|
|
8060
|
+
|
|
8061
|
+
_request = build_customer_orders_post_list_customer_orders_request(
|
|
8062
|
+
content_type=content_type,
|
|
8063
|
+
json=_json,
|
|
8064
|
+
content=_content,
|
|
8065
|
+
headers=_headers,
|
|
8066
|
+
params=_params,
|
|
8067
|
+
)
|
|
8068
|
+
_request.url = self._client.format_url(_request.url)
|
|
8069
|
+
|
|
8070
|
+
_stream = False
|
|
8071
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
8072
|
+
_request, stream=_stream, **kwargs
|
|
8073
|
+
)
|
|
8074
|
+
|
|
8075
|
+
response = pipeline_response.http_response
|
|
8076
|
+
|
|
8077
|
+
if response.status_code not in [200]:
|
|
8078
|
+
if _stream:
|
|
8079
|
+
await response.read() # Load the body in memory and close the socket
|
|
8080
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
8081
|
+
raise HttpResponseError(response=response)
|
|
8082
|
+
|
|
8083
|
+
deserialized = self._deserialize("CustomerOrderDtoPagedResult", pipeline_response)
|
|
8084
|
+
|
|
8085
|
+
if cls:
|
|
8086
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
8087
|
+
|
|
8088
|
+
return deserialized # type: ignore
|
|
8089
|
+
|
|
7650
8090
|
@distributed_trace_async
|
|
7651
8091
|
async def list_customer_order_lines(self, id: str, **kwargs: Any) -> List[_models.CustomerOrderLineDto]:
|
|
7652
8092
|
"""list_customer_order_lines.
|
|
@@ -9346,6 +9786,112 @@ class WorkordersOperations: # pylint: disable=too-many-public-methods
|
|
|
9346
9786
|
if cls:
|
|
9347
9787
|
return cls(pipeline_response, None, {}) # type: ignore
|
|
9348
9788
|
|
|
9789
|
+
@overload
|
|
9790
|
+
async def post_list_workorders(
|
|
9791
|
+
self,
|
|
9792
|
+
body: Optional[_models.ListWorkOrdersRequest] = None,
|
|
9793
|
+
*,
|
|
9794
|
+
content_type: str = "application/json",
|
|
9795
|
+
**kwargs: Any
|
|
9796
|
+
) -> _models.WorkorderListDtoPagedResult:
|
|
9797
|
+
"""post_list_workorders.
|
|
9798
|
+
|
|
9799
|
+
:param body: Default value is None.
|
|
9800
|
+
:type body: ~ignos.api.client.models.ListWorkOrdersRequest
|
|
9801
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
9802
|
+
Default value is "application/json".
|
|
9803
|
+
:paramtype content_type: str
|
|
9804
|
+
:return: WorkorderListDtoPagedResult
|
|
9805
|
+
:rtype: ~ignos.api.client.models.WorkorderListDtoPagedResult
|
|
9806
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
9807
|
+
"""
|
|
9808
|
+
|
|
9809
|
+
@overload
|
|
9810
|
+
async def post_list_workorders(
|
|
9811
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
9812
|
+
) -> _models.WorkorderListDtoPagedResult:
|
|
9813
|
+
"""post_list_workorders.
|
|
9814
|
+
|
|
9815
|
+
:param body: Default value is None.
|
|
9816
|
+
:type body: IO[bytes]
|
|
9817
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
9818
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
9819
|
+
"application/json".
|
|
9820
|
+
:paramtype content_type: str
|
|
9821
|
+
:return: WorkorderListDtoPagedResult
|
|
9822
|
+
:rtype: ~ignos.api.client.models.WorkorderListDtoPagedResult
|
|
9823
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
9824
|
+
"""
|
|
9825
|
+
|
|
9826
|
+
@distributed_trace_async
|
|
9827
|
+
async def post_list_workorders(
|
|
9828
|
+
self, body: Optional[Union[_models.ListWorkOrdersRequest, IO[bytes]]] = None, **kwargs: Any
|
|
9829
|
+
) -> _models.WorkorderListDtoPagedResult:
|
|
9830
|
+
"""post_list_workorders.
|
|
9831
|
+
|
|
9832
|
+
:param body: Is either a ListWorkOrdersRequest type or a IO[bytes] type. Default value is None.
|
|
9833
|
+
:type body: ~ignos.api.client.models.ListWorkOrdersRequest or IO[bytes]
|
|
9834
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
9835
|
+
'application/json', 'text/json'. Default value is None.
|
|
9836
|
+
:paramtype content_type: str
|
|
9837
|
+
:return: WorkorderListDtoPagedResult
|
|
9838
|
+
:rtype: ~ignos.api.client.models.WorkorderListDtoPagedResult
|
|
9839
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
9840
|
+
"""
|
|
9841
|
+
error_map = {
|
|
9842
|
+
401: ClientAuthenticationError,
|
|
9843
|
+
404: ResourceNotFoundError,
|
|
9844
|
+
409: ResourceExistsError,
|
|
9845
|
+
304: ResourceNotModifiedError,
|
|
9846
|
+
}
|
|
9847
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
9848
|
+
|
|
9849
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
9850
|
+
_params = kwargs.pop("params", {}) or {}
|
|
9851
|
+
|
|
9852
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
9853
|
+
cls: ClsType[_models.WorkorderListDtoPagedResult] = kwargs.pop("cls", None)
|
|
9854
|
+
|
|
9855
|
+
content_type = content_type or "application/json"
|
|
9856
|
+
_json = None
|
|
9857
|
+
_content = None
|
|
9858
|
+
if isinstance(body, (IOBase, bytes)):
|
|
9859
|
+
_content = body
|
|
9860
|
+
else:
|
|
9861
|
+
if body is not None:
|
|
9862
|
+
_json = self._serialize.body(body, "ListWorkOrdersRequest")
|
|
9863
|
+
else:
|
|
9864
|
+
_json = None
|
|
9865
|
+
|
|
9866
|
+
_request = build_workorders_post_list_workorders_request(
|
|
9867
|
+
content_type=content_type,
|
|
9868
|
+
json=_json,
|
|
9869
|
+
content=_content,
|
|
9870
|
+
headers=_headers,
|
|
9871
|
+
params=_params,
|
|
9872
|
+
)
|
|
9873
|
+
_request.url = self._client.format_url(_request.url)
|
|
9874
|
+
|
|
9875
|
+
_stream = False
|
|
9876
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
9877
|
+
_request, stream=_stream, **kwargs
|
|
9878
|
+
)
|
|
9879
|
+
|
|
9880
|
+
response = pipeline_response.http_response
|
|
9881
|
+
|
|
9882
|
+
if response.status_code not in [200]:
|
|
9883
|
+
if _stream:
|
|
9884
|
+
await response.read() # Load the body in memory and close the socket
|
|
9885
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
9886
|
+
raise HttpResponseError(response=response)
|
|
9887
|
+
|
|
9888
|
+
deserialized = self._deserialize("WorkorderListDtoPagedResult", pipeline_response)
|
|
9889
|
+
|
|
9890
|
+
if cls:
|
|
9891
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
9892
|
+
|
|
9893
|
+
return deserialized # type: ignore
|
|
9894
|
+
|
|
9349
9895
|
@distributed_trace_async
|
|
9350
9896
|
async def get_workorder_operation_event(self, event_id: str, **kwargs: Any) -> _models.WorkorderOperationEventDto:
|
|
9351
9897
|
"""Get a specific work order operation event.
|
|
@@ -13371,16 +13917,123 @@ class MeasurementFormSchemasOperations: # pylint: disable=too-many-public-metho
|
|
|
13371
13917
|
|
|
13372
13918
|
return deserialized # type: ignore
|
|
13373
13919
|
|
|
13374
|
-
@
|
|
13375
|
-
async def
|
|
13376
|
-
|
|
13920
|
+
@overload
|
|
13921
|
+
async def post_list_measurement_form_schemas(
|
|
13922
|
+
self,
|
|
13923
|
+
body: Optional[_models.ListMeasurementFormSchemasRequest] = None,
|
|
13924
|
+
*,
|
|
13925
|
+
content_type: str = "application/json",
|
|
13926
|
+
**kwargs: Any
|
|
13927
|
+
) -> _models.MeasurementFormListDtoPagedResult:
|
|
13928
|
+
"""post_list_measurement_form_schemas.
|
|
13377
13929
|
|
|
13378
|
-
:param
|
|
13379
|
-
:type
|
|
13380
|
-
:
|
|
13381
|
-
|
|
13382
|
-
:
|
|
13383
|
-
|
|
13930
|
+
:param body: Default value is None.
|
|
13931
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormSchemasRequest
|
|
13932
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
13933
|
+
Default value is "application/json".
|
|
13934
|
+
:paramtype content_type: str
|
|
13935
|
+
:return: MeasurementFormListDtoPagedResult
|
|
13936
|
+
:rtype: ~ignos.api.client.models.MeasurementFormListDtoPagedResult
|
|
13937
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
13938
|
+
"""
|
|
13939
|
+
|
|
13940
|
+
@overload
|
|
13941
|
+
async def post_list_measurement_form_schemas(
|
|
13942
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
13943
|
+
) -> _models.MeasurementFormListDtoPagedResult:
|
|
13944
|
+
"""post_list_measurement_form_schemas.
|
|
13945
|
+
|
|
13946
|
+
:param body: Default value is None.
|
|
13947
|
+
:type body: IO[bytes]
|
|
13948
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
13949
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
13950
|
+
"application/json".
|
|
13951
|
+
:paramtype content_type: str
|
|
13952
|
+
:return: MeasurementFormListDtoPagedResult
|
|
13953
|
+
:rtype: ~ignos.api.client.models.MeasurementFormListDtoPagedResult
|
|
13954
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
13955
|
+
"""
|
|
13956
|
+
|
|
13957
|
+
@distributed_trace_async
|
|
13958
|
+
async def post_list_measurement_form_schemas(
|
|
13959
|
+
self, body: Optional[Union[_models.ListMeasurementFormSchemasRequest, IO[bytes]]] = None, **kwargs: Any
|
|
13960
|
+
) -> _models.MeasurementFormListDtoPagedResult:
|
|
13961
|
+
"""post_list_measurement_form_schemas.
|
|
13962
|
+
|
|
13963
|
+
:param body: Is either a ListMeasurementFormSchemasRequest type or a IO[bytes] type. Default
|
|
13964
|
+
value is None.
|
|
13965
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormSchemasRequest or IO[bytes]
|
|
13966
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
13967
|
+
'application/json', 'text/json'. Default value is None.
|
|
13968
|
+
:paramtype content_type: str
|
|
13969
|
+
:return: MeasurementFormListDtoPagedResult
|
|
13970
|
+
:rtype: ~ignos.api.client.models.MeasurementFormListDtoPagedResult
|
|
13971
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
13972
|
+
"""
|
|
13973
|
+
error_map = {
|
|
13974
|
+
401: ClientAuthenticationError,
|
|
13975
|
+
404: ResourceNotFoundError,
|
|
13976
|
+
409: ResourceExistsError,
|
|
13977
|
+
304: ResourceNotModifiedError,
|
|
13978
|
+
}
|
|
13979
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
13980
|
+
|
|
13981
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
13982
|
+
_params = kwargs.pop("params", {}) or {}
|
|
13983
|
+
|
|
13984
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
13985
|
+
cls: ClsType[_models.MeasurementFormListDtoPagedResult] = kwargs.pop("cls", None)
|
|
13986
|
+
|
|
13987
|
+
content_type = content_type or "application/json"
|
|
13988
|
+
_json = None
|
|
13989
|
+
_content = None
|
|
13990
|
+
if isinstance(body, (IOBase, bytes)):
|
|
13991
|
+
_content = body
|
|
13992
|
+
else:
|
|
13993
|
+
if body is not None:
|
|
13994
|
+
_json = self._serialize.body(body, "ListMeasurementFormSchemasRequest")
|
|
13995
|
+
else:
|
|
13996
|
+
_json = None
|
|
13997
|
+
|
|
13998
|
+
_request = build_measurement_form_schemas_post_list_measurement_form_schemas_request(
|
|
13999
|
+
content_type=content_type,
|
|
14000
|
+
json=_json,
|
|
14001
|
+
content=_content,
|
|
14002
|
+
headers=_headers,
|
|
14003
|
+
params=_params,
|
|
14004
|
+
)
|
|
14005
|
+
_request.url = self._client.format_url(_request.url)
|
|
14006
|
+
|
|
14007
|
+
_stream = False
|
|
14008
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
14009
|
+
_request, stream=_stream, **kwargs
|
|
14010
|
+
)
|
|
14011
|
+
|
|
14012
|
+
response = pipeline_response.http_response
|
|
14013
|
+
|
|
14014
|
+
if response.status_code not in [200]:
|
|
14015
|
+
if _stream:
|
|
14016
|
+
await response.read() # Load the body in memory and close the socket
|
|
14017
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
14018
|
+
raise HttpResponseError(response=response)
|
|
14019
|
+
|
|
14020
|
+
deserialized = self._deserialize("MeasurementFormListDtoPagedResult", pipeline_response)
|
|
14021
|
+
|
|
14022
|
+
if cls:
|
|
14023
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
14024
|
+
|
|
14025
|
+
return deserialized # type: ignore
|
|
14026
|
+
|
|
14027
|
+
@distributed_trace_async
|
|
14028
|
+
async def get_measurement_form_schema(self, id: str, **kwargs: Any) -> _models.MeasurementFormSchemaDto:
|
|
14029
|
+
"""get_measurement_form_schema.
|
|
14030
|
+
|
|
14031
|
+
:param id: Required.
|
|
14032
|
+
:type id: str
|
|
14033
|
+
:return: MeasurementFormSchemaDto
|
|
14034
|
+
:rtype: ~ignos.api.client.models.MeasurementFormSchemaDto
|
|
14035
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
14036
|
+
"""
|
|
13384
14037
|
error_map = {
|
|
13385
14038
|
401: ClientAuthenticationError,
|
|
13386
14039
|
404: ResourceNotFoundError,
|
|
@@ -14118,6 +14771,113 @@ class MeasurementFormSchemasOperations: # pylint: disable=too-many-public-metho
|
|
|
14118
14771
|
|
|
14119
14772
|
return deserialized # type: ignore
|
|
14120
14773
|
|
|
14774
|
+
@overload
|
|
14775
|
+
async def post_list_linkable_measurement_form_schemas( # pylint: disable=name-too-long
|
|
14776
|
+
self,
|
|
14777
|
+
body: Optional[_models.ListLinkableMeasurementFormSchemasRequest] = None,
|
|
14778
|
+
*,
|
|
14779
|
+
content_type: str = "application/json",
|
|
14780
|
+
**kwargs: Any
|
|
14781
|
+
) -> _models.MeasurementFormListDtoPagedResult:
|
|
14782
|
+
"""post_list_linkable_measurement_form_schemas.
|
|
14783
|
+
|
|
14784
|
+
:param body: Default value is None.
|
|
14785
|
+
:type body: ~ignos.api.client.models.ListLinkableMeasurementFormSchemasRequest
|
|
14786
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
14787
|
+
Default value is "application/json".
|
|
14788
|
+
:paramtype content_type: str
|
|
14789
|
+
:return: MeasurementFormListDtoPagedResult
|
|
14790
|
+
:rtype: ~ignos.api.client.models.MeasurementFormListDtoPagedResult
|
|
14791
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
14792
|
+
"""
|
|
14793
|
+
|
|
14794
|
+
@overload
|
|
14795
|
+
async def post_list_linkable_measurement_form_schemas( # pylint: disable=name-too-long
|
|
14796
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
14797
|
+
) -> _models.MeasurementFormListDtoPagedResult:
|
|
14798
|
+
"""post_list_linkable_measurement_form_schemas.
|
|
14799
|
+
|
|
14800
|
+
:param body: Default value is None.
|
|
14801
|
+
:type body: IO[bytes]
|
|
14802
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
14803
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
14804
|
+
"application/json".
|
|
14805
|
+
:paramtype content_type: str
|
|
14806
|
+
:return: MeasurementFormListDtoPagedResult
|
|
14807
|
+
:rtype: ~ignos.api.client.models.MeasurementFormListDtoPagedResult
|
|
14808
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
14809
|
+
"""
|
|
14810
|
+
|
|
14811
|
+
@distributed_trace_async
|
|
14812
|
+
async def post_list_linkable_measurement_form_schemas( # pylint: disable=name-too-long
|
|
14813
|
+
self, body: Optional[Union[_models.ListLinkableMeasurementFormSchemasRequest, IO[bytes]]] = None, **kwargs: Any
|
|
14814
|
+
) -> _models.MeasurementFormListDtoPagedResult:
|
|
14815
|
+
"""post_list_linkable_measurement_form_schemas.
|
|
14816
|
+
|
|
14817
|
+
:param body: Is either a ListLinkableMeasurementFormSchemasRequest type or a IO[bytes] type.
|
|
14818
|
+
Default value is None.
|
|
14819
|
+
:type body: ~ignos.api.client.models.ListLinkableMeasurementFormSchemasRequest or IO[bytes]
|
|
14820
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
14821
|
+
'application/json', 'text/json'. Default value is None.
|
|
14822
|
+
:paramtype content_type: str
|
|
14823
|
+
:return: MeasurementFormListDtoPagedResult
|
|
14824
|
+
:rtype: ~ignos.api.client.models.MeasurementFormListDtoPagedResult
|
|
14825
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
14826
|
+
"""
|
|
14827
|
+
error_map = {
|
|
14828
|
+
401: ClientAuthenticationError,
|
|
14829
|
+
404: ResourceNotFoundError,
|
|
14830
|
+
409: ResourceExistsError,
|
|
14831
|
+
304: ResourceNotModifiedError,
|
|
14832
|
+
}
|
|
14833
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
14834
|
+
|
|
14835
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
14836
|
+
_params = kwargs.pop("params", {}) or {}
|
|
14837
|
+
|
|
14838
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
14839
|
+
cls: ClsType[_models.MeasurementFormListDtoPagedResult] = kwargs.pop("cls", None)
|
|
14840
|
+
|
|
14841
|
+
content_type = content_type or "application/json"
|
|
14842
|
+
_json = None
|
|
14843
|
+
_content = None
|
|
14844
|
+
if isinstance(body, (IOBase, bytes)):
|
|
14845
|
+
_content = body
|
|
14846
|
+
else:
|
|
14847
|
+
if body is not None:
|
|
14848
|
+
_json = self._serialize.body(body, "ListLinkableMeasurementFormSchemasRequest")
|
|
14849
|
+
else:
|
|
14850
|
+
_json = None
|
|
14851
|
+
|
|
14852
|
+
_request = build_measurement_form_schemas_post_list_linkable_measurement_form_schemas_request(
|
|
14853
|
+
content_type=content_type,
|
|
14854
|
+
json=_json,
|
|
14855
|
+
content=_content,
|
|
14856
|
+
headers=_headers,
|
|
14857
|
+
params=_params,
|
|
14858
|
+
)
|
|
14859
|
+
_request.url = self._client.format_url(_request.url)
|
|
14860
|
+
|
|
14861
|
+
_stream = False
|
|
14862
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
14863
|
+
_request, stream=_stream, **kwargs
|
|
14864
|
+
)
|
|
14865
|
+
|
|
14866
|
+
response = pipeline_response.http_response
|
|
14867
|
+
|
|
14868
|
+
if response.status_code not in [200]:
|
|
14869
|
+
if _stream:
|
|
14870
|
+
await response.read() # Load the body in memory and close the socket
|
|
14871
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
14872
|
+
raise HttpResponseError(response=response)
|
|
14873
|
+
|
|
14874
|
+
deserialized = self._deserialize("MeasurementFormListDtoPagedResult", pipeline_response)
|
|
14875
|
+
|
|
14876
|
+
if cls:
|
|
14877
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
14878
|
+
|
|
14879
|
+
return deserialized # type: ignore
|
|
14880
|
+
|
|
14121
14881
|
@overload
|
|
14122
14882
|
async def create_measurement_form_schema_link(
|
|
14123
14883
|
self,
|
|
@@ -15565,63 +16325,56 @@ class MeasurementFormSchemasOperations: # pylint: disable=too-many-public-metho
|
|
|
15565
16325
|
return deserialized # type: ignore
|
|
15566
16326
|
|
|
15567
16327
|
@overload
|
|
15568
|
-
async def
|
|
16328
|
+
async def post_list_measurement_form_needs(
|
|
15569
16329
|
self,
|
|
15570
|
-
|
|
15571
|
-
body: Optional[_models.SetMeasurementFormNeedUserRequest] = None,
|
|
16330
|
+
body: Optional[_models.ListMeasurementFormNeedsRequest] = None,
|
|
15572
16331
|
*,
|
|
15573
16332
|
content_type: str = "application/json",
|
|
15574
16333
|
**kwargs: Any
|
|
15575
|
-
) ->
|
|
15576
|
-
"""
|
|
16334
|
+
) -> _models.MeasurementFormNeedDtoPagedResult:
|
|
16335
|
+
"""post_list_measurement_form_needs.
|
|
15577
16336
|
|
|
15578
|
-
:param id: Required.
|
|
15579
|
-
:type id: str
|
|
15580
16337
|
:param body: Default value is None.
|
|
15581
|
-
:type body: ~ignos.api.client.models.
|
|
16338
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormNeedsRequest
|
|
15582
16339
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
15583
16340
|
Default value is "application/json".
|
|
15584
16341
|
:paramtype content_type: str
|
|
15585
|
-
:return:
|
|
15586
|
-
:rtype:
|
|
16342
|
+
:return: MeasurementFormNeedDtoPagedResult
|
|
16343
|
+
:rtype: ~ignos.api.client.models.MeasurementFormNeedDtoPagedResult
|
|
15587
16344
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
15588
16345
|
"""
|
|
15589
16346
|
|
|
15590
16347
|
@overload
|
|
15591
|
-
async def
|
|
15592
|
-
self,
|
|
15593
|
-
) ->
|
|
15594
|
-
"""
|
|
16348
|
+
async def post_list_measurement_form_needs(
|
|
16349
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
16350
|
+
) -> _models.MeasurementFormNeedDtoPagedResult:
|
|
16351
|
+
"""post_list_measurement_form_needs.
|
|
15595
16352
|
|
|
15596
|
-
:param id: Required.
|
|
15597
|
-
:type id: str
|
|
15598
16353
|
:param body: Default value is None.
|
|
15599
16354
|
:type body: IO[bytes]
|
|
15600
16355
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
15601
16356
|
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
15602
16357
|
"application/json".
|
|
15603
16358
|
:paramtype content_type: str
|
|
15604
|
-
:return:
|
|
15605
|
-
:rtype:
|
|
16359
|
+
:return: MeasurementFormNeedDtoPagedResult
|
|
16360
|
+
:rtype: ~ignos.api.client.models.MeasurementFormNeedDtoPagedResult
|
|
15606
16361
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
15607
16362
|
"""
|
|
15608
16363
|
|
|
15609
16364
|
@distributed_trace_async
|
|
15610
|
-
async def
|
|
15611
|
-
self,
|
|
15612
|
-
) ->
|
|
15613
|
-
"""
|
|
16365
|
+
async def post_list_measurement_form_needs(
|
|
16366
|
+
self, body: Optional[Union[_models.ListMeasurementFormNeedsRequest, IO[bytes]]] = None, **kwargs: Any
|
|
16367
|
+
) -> _models.MeasurementFormNeedDtoPagedResult:
|
|
16368
|
+
"""post_list_measurement_form_needs.
|
|
15614
16369
|
|
|
15615
|
-
:param
|
|
15616
|
-
:type id: str
|
|
15617
|
-
:param body: Is either a SetMeasurementFormNeedUserRequest type or a IO[bytes] type. Default
|
|
16370
|
+
:param body: Is either a ListMeasurementFormNeedsRequest type or a IO[bytes] type. Default
|
|
15618
16371
|
value is None.
|
|
15619
|
-
:type body: ~ignos.api.client.models.
|
|
16372
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormNeedsRequest or IO[bytes]
|
|
15620
16373
|
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
15621
16374
|
'application/json', 'text/json'. Default value is None.
|
|
15622
16375
|
:paramtype content_type: str
|
|
15623
|
-
:return:
|
|
15624
|
-
:rtype:
|
|
16376
|
+
:return: MeasurementFormNeedDtoPagedResult
|
|
16377
|
+
:rtype: ~ignos.api.client.models.MeasurementFormNeedDtoPagedResult
|
|
15625
16378
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
15626
16379
|
"""
|
|
15627
16380
|
error_map = {
|
|
@@ -15636,7 +16389,7 @@ class MeasurementFormSchemasOperations: # pylint: disable=too-many-public-metho
|
|
|
15636
16389
|
_params = kwargs.pop("params", {}) or {}
|
|
15637
16390
|
|
|
15638
16391
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
15639
|
-
cls: ClsType[
|
|
16392
|
+
cls: ClsType[_models.MeasurementFormNeedDtoPagedResult] = kwargs.pop("cls", None)
|
|
15640
16393
|
|
|
15641
16394
|
content_type = content_type or "application/json"
|
|
15642
16395
|
_json = None
|
|
@@ -15645,12 +16398,11 @@ class MeasurementFormSchemasOperations: # pylint: disable=too-many-public-metho
|
|
|
15645
16398
|
_content = body
|
|
15646
16399
|
else:
|
|
15647
16400
|
if body is not None:
|
|
15648
|
-
_json = self._serialize.body(body, "
|
|
16401
|
+
_json = self._serialize.body(body, "ListMeasurementFormNeedsRequest")
|
|
15649
16402
|
else:
|
|
15650
16403
|
_json = None
|
|
15651
16404
|
|
|
15652
|
-
_request =
|
|
15653
|
-
id=id,
|
|
16405
|
+
_request = build_measurement_form_schemas_post_list_measurement_form_needs_request(
|
|
15654
16406
|
content_type=content_type,
|
|
15655
16407
|
json=_json,
|
|
15656
16408
|
content=_content,
|
|
@@ -15666,35 +16418,150 @@ class MeasurementFormSchemasOperations: # pylint: disable=too-many-public-metho
|
|
|
15666
16418
|
|
|
15667
16419
|
response = pipeline_response.http_response
|
|
15668
16420
|
|
|
15669
|
-
if response.status_code not in [
|
|
16421
|
+
if response.status_code not in [200]:
|
|
15670
16422
|
if _stream:
|
|
15671
16423
|
await response.read() # Load the body in memory and close the socket
|
|
15672
16424
|
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
15673
16425
|
raise HttpResponseError(response=response)
|
|
15674
16426
|
|
|
16427
|
+
deserialized = self._deserialize("MeasurementFormNeedDtoPagedResult", pipeline_response)
|
|
16428
|
+
|
|
15675
16429
|
if cls:
|
|
15676
|
-
return cls(pipeline_response,
|
|
16430
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
16431
|
+
|
|
16432
|
+
return deserialized # type: ignore
|
|
15677
16433
|
|
|
15678
16434
|
@overload
|
|
15679
|
-
async def
|
|
16435
|
+
async def set_measurement_form_need_user( # pylint: disable=inconsistent-return-statements
|
|
15680
16436
|
self,
|
|
15681
16437
|
id: str,
|
|
15682
|
-
body: Optional[_models.
|
|
16438
|
+
body: Optional[_models.SetMeasurementFormNeedUserRequest] = None,
|
|
15683
16439
|
*,
|
|
15684
16440
|
content_type: str = "application/json",
|
|
15685
16441
|
**kwargs: Any
|
|
15686
|
-
) ->
|
|
15687
|
-
"""
|
|
16442
|
+
) -> None:
|
|
16443
|
+
"""set_measurement_form_need_user.
|
|
15688
16444
|
|
|
15689
16445
|
:param id: Required.
|
|
15690
16446
|
:type id: str
|
|
15691
16447
|
:param body: Default value is None.
|
|
15692
|
-
:type body: ~ignos.api.client.models.
|
|
16448
|
+
:type body: ~ignos.api.client.models.SetMeasurementFormNeedUserRequest
|
|
15693
16449
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
15694
16450
|
Default value is "application/json".
|
|
15695
16451
|
:paramtype content_type: str
|
|
15696
|
-
:return:
|
|
15697
|
-
:rtype:
|
|
16452
|
+
:return: None
|
|
16453
|
+
:rtype: None
|
|
16454
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
16455
|
+
"""
|
|
16456
|
+
|
|
16457
|
+
@overload
|
|
16458
|
+
async def set_measurement_form_need_user( # pylint: disable=inconsistent-return-statements
|
|
16459
|
+
self, id: str, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
16460
|
+
) -> None:
|
|
16461
|
+
"""set_measurement_form_need_user.
|
|
16462
|
+
|
|
16463
|
+
:param id: Required.
|
|
16464
|
+
:type id: str
|
|
16465
|
+
:param body: Default value is None.
|
|
16466
|
+
:type body: IO[bytes]
|
|
16467
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
16468
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
16469
|
+
"application/json".
|
|
16470
|
+
:paramtype content_type: str
|
|
16471
|
+
:return: None
|
|
16472
|
+
:rtype: None
|
|
16473
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
16474
|
+
"""
|
|
16475
|
+
|
|
16476
|
+
@distributed_trace_async
|
|
16477
|
+
async def set_measurement_form_need_user( # pylint: disable=inconsistent-return-statements
|
|
16478
|
+
self, id: str, body: Optional[Union[_models.SetMeasurementFormNeedUserRequest, IO[bytes]]] = None, **kwargs: Any
|
|
16479
|
+
) -> None:
|
|
16480
|
+
"""set_measurement_form_need_user.
|
|
16481
|
+
|
|
16482
|
+
:param id: Required.
|
|
16483
|
+
:type id: str
|
|
16484
|
+
:param body: Is either a SetMeasurementFormNeedUserRequest type or a IO[bytes] type. Default
|
|
16485
|
+
value is None.
|
|
16486
|
+
:type body: ~ignos.api.client.models.SetMeasurementFormNeedUserRequest or IO[bytes]
|
|
16487
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
16488
|
+
'application/json', 'text/json'. Default value is None.
|
|
16489
|
+
:paramtype content_type: str
|
|
16490
|
+
:return: None
|
|
16491
|
+
:rtype: None
|
|
16492
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
16493
|
+
"""
|
|
16494
|
+
error_map = {
|
|
16495
|
+
401: ClientAuthenticationError,
|
|
16496
|
+
404: ResourceNotFoundError,
|
|
16497
|
+
409: ResourceExistsError,
|
|
16498
|
+
304: ResourceNotModifiedError,
|
|
16499
|
+
}
|
|
16500
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
16501
|
+
|
|
16502
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
16503
|
+
_params = kwargs.pop("params", {}) or {}
|
|
16504
|
+
|
|
16505
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
16506
|
+
cls: ClsType[None] = kwargs.pop("cls", None)
|
|
16507
|
+
|
|
16508
|
+
content_type = content_type or "application/json"
|
|
16509
|
+
_json = None
|
|
16510
|
+
_content = None
|
|
16511
|
+
if isinstance(body, (IOBase, bytes)):
|
|
16512
|
+
_content = body
|
|
16513
|
+
else:
|
|
16514
|
+
if body is not None:
|
|
16515
|
+
_json = self._serialize.body(body, "SetMeasurementFormNeedUserRequest")
|
|
16516
|
+
else:
|
|
16517
|
+
_json = None
|
|
16518
|
+
|
|
16519
|
+
_request = build_measurement_form_schemas_set_measurement_form_need_user_request(
|
|
16520
|
+
id=id,
|
|
16521
|
+
content_type=content_type,
|
|
16522
|
+
json=_json,
|
|
16523
|
+
content=_content,
|
|
16524
|
+
headers=_headers,
|
|
16525
|
+
params=_params,
|
|
16526
|
+
)
|
|
16527
|
+
_request.url = self._client.format_url(_request.url)
|
|
16528
|
+
|
|
16529
|
+
_stream = False
|
|
16530
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
16531
|
+
_request, stream=_stream, **kwargs
|
|
16532
|
+
)
|
|
16533
|
+
|
|
16534
|
+
response = pipeline_response.http_response
|
|
16535
|
+
|
|
16536
|
+
if response.status_code not in [204]:
|
|
16537
|
+
if _stream:
|
|
16538
|
+
await response.read() # Load the body in memory and close the socket
|
|
16539
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
16540
|
+
raise HttpResponseError(response=response)
|
|
16541
|
+
|
|
16542
|
+
if cls:
|
|
16543
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
|
16544
|
+
|
|
16545
|
+
@overload
|
|
16546
|
+
async def set_measurement_form_need_as_not_needed(
|
|
16547
|
+
self,
|
|
16548
|
+
id: str,
|
|
16549
|
+
body: Optional[_models.SetMeasurementFormNeedAsNotNeededRequest] = None,
|
|
16550
|
+
*,
|
|
16551
|
+
content_type: str = "application/json",
|
|
16552
|
+
**kwargs: Any
|
|
16553
|
+
) -> _models.MeasurementFormSchemaNotNeededDto:
|
|
16554
|
+
"""set_measurement_form_need_as_not_needed.
|
|
16555
|
+
|
|
16556
|
+
:param id: Required.
|
|
16557
|
+
:type id: str
|
|
16558
|
+
:param body: Default value is None.
|
|
16559
|
+
:type body: ~ignos.api.client.models.SetMeasurementFormNeedAsNotNeededRequest
|
|
16560
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
16561
|
+
Default value is "application/json".
|
|
16562
|
+
:paramtype content_type: str
|
|
16563
|
+
:return: MeasurementFormSchemaNotNeededDto
|
|
16564
|
+
:rtype: ~ignos.api.client.models.MeasurementFormSchemaNotNeededDto
|
|
15698
16565
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
15699
16566
|
"""
|
|
15700
16567
|
|
|
@@ -16044,6 +16911,113 @@ class MeasurementFormSchemasOperations: # pylint: disable=too-many-public-metho
|
|
|
16044
16911
|
|
|
16045
16912
|
return deserialized # type: ignore
|
|
16046
16913
|
|
|
16914
|
+
@overload
|
|
16915
|
+
async def post_list_measurement_form_schemas_not_needed( # pylint: disable=name-too-long
|
|
16916
|
+
self,
|
|
16917
|
+
body: Optional[_models.ListMeasurementFormSchemasNotNeededRequest] = None,
|
|
16918
|
+
*,
|
|
16919
|
+
content_type: str = "application/json",
|
|
16920
|
+
**kwargs: Any
|
|
16921
|
+
) -> _models.MeasurementFormSchemaNotNeededDtoPagedResult:
|
|
16922
|
+
"""post_list_measurement_form_schemas_not_needed.
|
|
16923
|
+
|
|
16924
|
+
:param body: Default value is None.
|
|
16925
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormSchemasNotNeededRequest
|
|
16926
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
16927
|
+
Default value is "application/json".
|
|
16928
|
+
:paramtype content_type: str
|
|
16929
|
+
:return: MeasurementFormSchemaNotNeededDtoPagedResult
|
|
16930
|
+
:rtype: ~ignos.api.client.models.MeasurementFormSchemaNotNeededDtoPagedResult
|
|
16931
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
16932
|
+
"""
|
|
16933
|
+
|
|
16934
|
+
@overload
|
|
16935
|
+
async def post_list_measurement_form_schemas_not_needed( # pylint: disable=name-too-long
|
|
16936
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
16937
|
+
) -> _models.MeasurementFormSchemaNotNeededDtoPagedResult:
|
|
16938
|
+
"""post_list_measurement_form_schemas_not_needed.
|
|
16939
|
+
|
|
16940
|
+
:param body: Default value is None.
|
|
16941
|
+
:type body: IO[bytes]
|
|
16942
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
16943
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
16944
|
+
"application/json".
|
|
16945
|
+
:paramtype content_type: str
|
|
16946
|
+
:return: MeasurementFormSchemaNotNeededDtoPagedResult
|
|
16947
|
+
:rtype: ~ignos.api.client.models.MeasurementFormSchemaNotNeededDtoPagedResult
|
|
16948
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
16949
|
+
"""
|
|
16950
|
+
|
|
16951
|
+
@distributed_trace_async
|
|
16952
|
+
async def post_list_measurement_form_schemas_not_needed( # pylint: disable=name-too-long
|
|
16953
|
+
self, body: Optional[Union[_models.ListMeasurementFormSchemasNotNeededRequest, IO[bytes]]] = None, **kwargs: Any
|
|
16954
|
+
) -> _models.MeasurementFormSchemaNotNeededDtoPagedResult:
|
|
16955
|
+
"""post_list_measurement_form_schemas_not_needed.
|
|
16956
|
+
|
|
16957
|
+
:param body: Is either a ListMeasurementFormSchemasNotNeededRequest type or a IO[bytes] type.
|
|
16958
|
+
Default value is None.
|
|
16959
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormSchemasNotNeededRequest or IO[bytes]
|
|
16960
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
16961
|
+
'application/json', 'text/json'. Default value is None.
|
|
16962
|
+
:paramtype content_type: str
|
|
16963
|
+
:return: MeasurementFormSchemaNotNeededDtoPagedResult
|
|
16964
|
+
:rtype: ~ignos.api.client.models.MeasurementFormSchemaNotNeededDtoPagedResult
|
|
16965
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
16966
|
+
"""
|
|
16967
|
+
error_map = {
|
|
16968
|
+
401: ClientAuthenticationError,
|
|
16969
|
+
404: ResourceNotFoundError,
|
|
16970
|
+
409: ResourceExistsError,
|
|
16971
|
+
304: ResourceNotModifiedError,
|
|
16972
|
+
}
|
|
16973
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
16974
|
+
|
|
16975
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
16976
|
+
_params = kwargs.pop("params", {}) or {}
|
|
16977
|
+
|
|
16978
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
16979
|
+
cls: ClsType[_models.MeasurementFormSchemaNotNeededDtoPagedResult] = kwargs.pop("cls", None)
|
|
16980
|
+
|
|
16981
|
+
content_type = content_type or "application/json"
|
|
16982
|
+
_json = None
|
|
16983
|
+
_content = None
|
|
16984
|
+
if isinstance(body, (IOBase, bytes)):
|
|
16985
|
+
_content = body
|
|
16986
|
+
else:
|
|
16987
|
+
if body is not None:
|
|
16988
|
+
_json = self._serialize.body(body, "ListMeasurementFormSchemasNotNeededRequest")
|
|
16989
|
+
else:
|
|
16990
|
+
_json = None
|
|
16991
|
+
|
|
16992
|
+
_request = build_measurement_form_schemas_post_list_measurement_form_schemas_not_needed_request(
|
|
16993
|
+
content_type=content_type,
|
|
16994
|
+
json=_json,
|
|
16995
|
+
content=_content,
|
|
16996
|
+
headers=_headers,
|
|
16997
|
+
params=_params,
|
|
16998
|
+
)
|
|
16999
|
+
_request.url = self._client.format_url(_request.url)
|
|
17000
|
+
|
|
17001
|
+
_stream = False
|
|
17002
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
17003
|
+
_request, stream=_stream, **kwargs
|
|
17004
|
+
)
|
|
17005
|
+
|
|
17006
|
+
response = pipeline_response.http_response
|
|
17007
|
+
|
|
17008
|
+
if response.status_code not in [200]:
|
|
17009
|
+
if _stream:
|
|
17010
|
+
await response.read() # Load the body in memory and close the socket
|
|
17011
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
17012
|
+
raise HttpResponseError(response=response)
|
|
17013
|
+
|
|
17014
|
+
deserialized = self._deserialize("MeasurementFormSchemaNotNeededDtoPagedResult", pipeline_response)
|
|
17015
|
+
|
|
17016
|
+
if cls:
|
|
17017
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
17018
|
+
|
|
17019
|
+
return deserialized # type: ignore
|
|
17020
|
+
|
|
16047
17021
|
@distributed_trace_async
|
|
16048
17022
|
async def delete_measurment_form_schemas_not_needed( # pylint: disable=inconsistent-return-statements,name-too-long
|
|
16049
17023
|
self, id: str, **kwargs: Any
|
|
@@ -16406,6 +17380,116 @@ class MeasurementFormSchemasOperations: # pylint: disable=too-many-public-metho
|
|
|
16406
17380
|
|
|
16407
17381
|
return deserialized # type: ignore
|
|
16408
17382
|
|
|
17383
|
+
@overload
|
|
17384
|
+
async def post_list_measurement_form_instance_schema_feedback( # pylint: disable=name-too-long
|
|
17385
|
+
self,
|
|
17386
|
+
body: Optional[_models.ListMeasurementFormInstanceSchemaFeedbackRequest] = None,
|
|
17387
|
+
*,
|
|
17388
|
+
content_type: str = "application/json",
|
|
17389
|
+
**kwargs: Any
|
|
17390
|
+
) -> _models.SchemaFeedbackDtoPagedResult:
|
|
17391
|
+
"""post_list_measurement_form_instance_schema_feedback.
|
|
17392
|
+
|
|
17393
|
+
:param body: Default value is None.
|
|
17394
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormInstanceSchemaFeedbackRequest
|
|
17395
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
17396
|
+
Default value is "application/json".
|
|
17397
|
+
:paramtype content_type: str
|
|
17398
|
+
:return: SchemaFeedbackDtoPagedResult
|
|
17399
|
+
:rtype: ~ignos.api.client.models.SchemaFeedbackDtoPagedResult
|
|
17400
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
17401
|
+
"""
|
|
17402
|
+
|
|
17403
|
+
@overload
|
|
17404
|
+
async def post_list_measurement_form_instance_schema_feedback( # pylint: disable=name-too-long
|
|
17405
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
17406
|
+
) -> _models.SchemaFeedbackDtoPagedResult:
|
|
17407
|
+
"""post_list_measurement_form_instance_schema_feedback.
|
|
17408
|
+
|
|
17409
|
+
:param body: Default value is None.
|
|
17410
|
+
:type body: IO[bytes]
|
|
17411
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
17412
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
17413
|
+
"application/json".
|
|
17414
|
+
:paramtype content_type: str
|
|
17415
|
+
:return: SchemaFeedbackDtoPagedResult
|
|
17416
|
+
:rtype: ~ignos.api.client.models.SchemaFeedbackDtoPagedResult
|
|
17417
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
17418
|
+
"""
|
|
17419
|
+
|
|
17420
|
+
@distributed_trace_async
|
|
17421
|
+
async def post_list_measurement_form_instance_schema_feedback( # pylint: disable=name-too-long
|
|
17422
|
+
self,
|
|
17423
|
+
body: Optional[Union[_models.ListMeasurementFormInstanceSchemaFeedbackRequest, IO[bytes]]] = None,
|
|
17424
|
+
**kwargs: Any
|
|
17425
|
+
) -> _models.SchemaFeedbackDtoPagedResult:
|
|
17426
|
+
"""post_list_measurement_form_instance_schema_feedback.
|
|
17427
|
+
|
|
17428
|
+
:param body: Is either a ListMeasurementFormInstanceSchemaFeedbackRequest type or a IO[bytes]
|
|
17429
|
+
type. Default value is None.
|
|
17430
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormInstanceSchemaFeedbackRequest or
|
|
17431
|
+
IO[bytes]
|
|
17432
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
17433
|
+
'application/json', 'text/json'. Default value is None.
|
|
17434
|
+
:paramtype content_type: str
|
|
17435
|
+
:return: SchemaFeedbackDtoPagedResult
|
|
17436
|
+
:rtype: ~ignos.api.client.models.SchemaFeedbackDtoPagedResult
|
|
17437
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
17438
|
+
"""
|
|
17439
|
+
error_map = {
|
|
17440
|
+
401: ClientAuthenticationError,
|
|
17441
|
+
404: ResourceNotFoundError,
|
|
17442
|
+
409: ResourceExistsError,
|
|
17443
|
+
304: ResourceNotModifiedError,
|
|
17444
|
+
}
|
|
17445
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
17446
|
+
|
|
17447
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
17448
|
+
_params = kwargs.pop("params", {}) or {}
|
|
17449
|
+
|
|
17450
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
17451
|
+
cls: ClsType[_models.SchemaFeedbackDtoPagedResult] = kwargs.pop("cls", None)
|
|
17452
|
+
|
|
17453
|
+
content_type = content_type or "application/json"
|
|
17454
|
+
_json = None
|
|
17455
|
+
_content = None
|
|
17456
|
+
if isinstance(body, (IOBase, bytes)):
|
|
17457
|
+
_content = body
|
|
17458
|
+
else:
|
|
17459
|
+
if body is not None:
|
|
17460
|
+
_json = self._serialize.body(body, "ListMeasurementFormInstanceSchemaFeedbackRequest")
|
|
17461
|
+
else:
|
|
17462
|
+
_json = None
|
|
17463
|
+
|
|
17464
|
+
_request = build_measurement_form_schemas_post_list_measurement_form_instance_schema_feedback_request(
|
|
17465
|
+
content_type=content_type,
|
|
17466
|
+
json=_json,
|
|
17467
|
+
content=_content,
|
|
17468
|
+
headers=_headers,
|
|
17469
|
+
params=_params,
|
|
17470
|
+
)
|
|
17471
|
+
_request.url = self._client.format_url(_request.url)
|
|
17472
|
+
|
|
17473
|
+
_stream = False
|
|
17474
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
17475
|
+
_request, stream=_stream, **kwargs
|
|
17476
|
+
)
|
|
17477
|
+
|
|
17478
|
+
response = pipeline_response.http_response
|
|
17479
|
+
|
|
17480
|
+
if response.status_code not in [200]:
|
|
17481
|
+
if _stream:
|
|
17482
|
+
await response.read() # Load the body in memory and close the socket
|
|
17483
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
17484
|
+
raise HttpResponseError(response=response)
|
|
17485
|
+
|
|
17486
|
+
deserialized = self._deserialize("SchemaFeedbackDtoPagedResult", pipeline_response)
|
|
17487
|
+
|
|
17488
|
+
if cls:
|
|
17489
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
17490
|
+
|
|
17491
|
+
return deserialized # type: ignore
|
|
17492
|
+
|
|
16409
17493
|
@distributed_trace_async
|
|
16410
17494
|
async def get_measurement_form_instance_schema_feedback( # pylint: disable=name-too-long
|
|
16411
17495
|
self, id: str, **kwargs: Any
|
|
@@ -16703,6 +17787,115 @@ class MeasurementFormSchemasOperations: # pylint: disable=too-many-public-metho
|
|
|
16703
17787
|
|
|
16704
17788
|
return deserialized # type: ignore
|
|
16705
17789
|
|
|
17790
|
+
@overload
|
|
17791
|
+
async def post_list_measurement_form_schemas_with_history( # pylint: disable=name-too-long
|
|
17792
|
+
self,
|
|
17793
|
+
body: Optional[_models.ListMeasurementFormSchemasWithHistoryRequest] = None,
|
|
17794
|
+
*,
|
|
17795
|
+
content_type: str = "application/json",
|
|
17796
|
+
**kwargs: Any
|
|
17797
|
+
) -> _models.MeasurementFormListDtoPagedResult:
|
|
17798
|
+
"""post_list_measurement_form_schemas_with_history.
|
|
17799
|
+
|
|
17800
|
+
:param body: Default value is None.
|
|
17801
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormSchemasWithHistoryRequest
|
|
17802
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
17803
|
+
Default value is "application/json".
|
|
17804
|
+
:paramtype content_type: str
|
|
17805
|
+
:return: MeasurementFormListDtoPagedResult
|
|
17806
|
+
:rtype: ~ignos.api.client.models.MeasurementFormListDtoPagedResult
|
|
17807
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
17808
|
+
"""
|
|
17809
|
+
|
|
17810
|
+
@overload
|
|
17811
|
+
async def post_list_measurement_form_schemas_with_history( # pylint: disable=name-too-long
|
|
17812
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
17813
|
+
) -> _models.MeasurementFormListDtoPagedResult:
|
|
17814
|
+
"""post_list_measurement_form_schemas_with_history.
|
|
17815
|
+
|
|
17816
|
+
:param body: Default value is None.
|
|
17817
|
+
:type body: IO[bytes]
|
|
17818
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
17819
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
17820
|
+
"application/json".
|
|
17821
|
+
:paramtype content_type: str
|
|
17822
|
+
:return: MeasurementFormListDtoPagedResult
|
|
17823
|
+
:rtype: ~ignos.api.client.models.MeasurementFormListDtoPagedResult
|
|
17824
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
17825
|
+
"""
|
|
17826
|
+
|
|
17827
|
+
@distributed_trace_async
|
|
17828
|
+
async def post_list_measurement_form_schemas_with_history( # pylint: disable=name-too-long
|
|
17829
|
+
self,
|
|
17830
|
+
body: Optional[Union[_models.ListMeasurementFormSchemasWithHistoryRequest, IO[bytes]]] = None,
|
|
17831
|
+
**kwargs: Any
|
|
17832
|
+
) -> _models.MeasurementFormListDtoPagedResult:
|
|
17833
|
+
"""post_list_measurement_form_schemas_with_history.
|
|
17834
|
+
|
|
17835
|
+
:param body: Is either a ListMeasurementFormSchemasWithHistoryRequest type or a IO[bytes] type.
|
|
17836
|
+
Default value is None.
|
|
17837
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormSchemasWithHistoryRequest or IO[bytes]
|
|
17838
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
17839
|
+
'application/json', 'text/json'. Default value is None.
|
|
17840
|
+
:paramtype content_type: str
|
|
17841
|
+
:return: MeasurementFormListDtoPagedResult
|
|
17842
|
+
:rtype: ~ignos.api.client.models.MeasurementFormListDtoPagedResult
|
|
17843
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
17844
|
+
"""
|
|
17845
|
+
error_map = {
|
|
17846
|
+
401: ClientAuthenticationError,
|
|
17847
|
+
404: ResourceNotFoundError,
|
|
17848
|
+
409: ResourceExistsError,
|
|
17849
|
+
304: ResourceNotModifiedError,
|
|
17850
|
+
}
|
|
17851
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
17852
|
+
|
|
17853
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
17854
|
+
_params = kwargs.pop("params", {}) or {}
|
|
17855
|
+
|
|
17856
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
17857
|
+
cls: ClsType[_models.MeasurementFormListDtoPagedResult] = kwargs.pop("cls", None)
|
|
17858
|
+
|
|
17859
|
+
content_type = content_type or "application/json"
|
|
17860
|
+
_json = None
|
|
17861
|
+
_content = None
|
|
17862
|
+
if isinstance(body, (IOBase, bytes)):
|
|
17863
|
+
_content = body
|
|
17864
|
+
else:
|
|
17865
|
+
if body is not None:
|
|
17866
|
+
_json = self._serialize.body(body, "ListMeasurementFormSchemasWithHistoryRequest")
|
|
17867
|
+
else:
|
|
17868
|
+
_json = None
|
|
17869
|
+
|
|
17870
|
+
_request = build_measurement_form_schemas_post_list_measurement_form_schemas_with_history_request(
|
|
17871
|
+
content_type=content_type,
|
|
17872
|
+
json=_json,
|
|
17873
|
+
content=_content,
|
|
17874
|
+
headers=_headers,
|
|
17875
|
+
params=_params,
|
|
17876
|
+
)
|
|
17877
|
+
_request.url = self._client.format_url(_request.url)
|
|
17878
|
+
|
|
17879
|
+
_stream = False
|
|
17880
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
17881
|
+
_request, stream=_stream, **kwargs
|
|
17882
|
+
)
|
|
17883
|
+
|
|
17884
|
+
response = pipeline_response.http_response
|
|
17885
|
+
|
|
17886
|
+
if response.status_code not in [200]:
|
|
17887
|
+
if _stream:
|
|
17888
|
+
await response.read() # Load the body in memory and close the socket
|
|
17889
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
17890
|
+
raise HttpResponseError(response=response)
|
|
17891
|
+
|
|
17892
|
+
deserialized = self._deserialize("MeasurementFormListDtoPagedResult", pipeline_response)
|
|
17893
|
+
|
|
17894
|
+
if cls:
|
|
17895
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
17896
|
+
|
|
17897
|
+
return deserialized # type: ignore
|
|
17898
|
+
|
|
16706
17899
|
|
|
16707
17900
|
class MeasurementFormsInstancesOperations: # pylint: disable=too-many-public-methods
|
|
16708
17901
|
"""
|
|
@@ -16766,13 +17959,120 @@ class MeasurementFormsInstancesOperations: # pylint: disable=too-many-public-me
|
|
|
16766
17959
|
|
|
16767
17960
|
cls: ClsType[_models.MeasurementFormInstanceOverviewDtoPagedResult] = kwargs.pop("cls", None)
|
|
16768
17961
|
|
|
16769
|
-
_request = build_measurement_forms_instances_list_measurement_forms_request(
|
|
16770
|
-
page_size=page_size,
|
|
16771
|
-
search=search,
|
|
16772
|
-
continuation_token_parameter=continuation_token_parameter,
|
|
16773
|
-
tenant_id=tenant_id,
|
|
16774
|
-
inactive=inactive,
|
|
16775
|
-
include_inactive_supplier_access=include_inactive_supplier_access,
|
|
17962
|
+
_request = build_measurement_forms_instances_list_measurement_forms_request(
|
|
17963
|
+
page_size=page_size,
|
|
17964
|
+
search=search,
|
|
17965
|
+
continuation_token_parameter=continuation_token_parameter,
|
|
17966
|
+
tenant_id=tenant_id,
|
|
17967
|
+
inactive=inactive,
|
|
17968
|
+
include_inactive_supplier_access=include_inactive_supplier_access,
|
|
17969
|
+
headers=_headers,
|
|
17970
|
+
params=_params,
|
|
17971
|
+
)
|
|
17972
|
+
_request.url = self._client.format_url(_request.url)
|
|
17973
|
+
|
|
17974
|
+
_stream = False
|
|
17975
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
17976
|
+
_request, stream=_stream, **kwargs
|
|
17977
|
+
)
|
|
17978
|
+
|
|
17979
|
+
response = pipeline_response.http_response
|
|
17980
|
+
|
|
17981
|
+
if response.status_code not in [200]:
|
|
17982
|
+
if _stream:
|
|
17983
|
+
await response.read() # Load the body in memory and close the socket
|
|
17984
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
17985
|
+
raise HttpResponseError(response=response)
|
|
17986
|
+
|
|
17987
|
+
deserialized = self._deserialize("MeasurementFormInstanceOverviewDtoPagedResult", pipeline_response)
|
|
17988
|
+
|
|
17989
|
+
if cls:
|
|
17990
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
17991
|
+
|
|
17992
|
+
return deserialized # type: ignore
|
|
17993
|
+
|
|
17994
|
+
@overload
|
|
17995
|
+
async def post_list_measurement_forms(
|
|
17996
|
+
self,
|
|
17997
|
+
body: Optional[_models.ListMeasurementFormsRequest] = None,
|
|
17998
|
+
*,
|
|
17999
|
+
content_type: str = "application/json",
|
|
18000
|
+
**kwargs: Any
|
|
18001
|
+
) -> _models.MeasurementFormInstanceOverviewDtoPagedResult:
|
|
18002
|
+
"""post_list_measurement_forms.
|
|
18003
|
+
|
|
18004
|
+
:param body: Default value is None.
|
|
18005
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormsRequest
|
|
18006
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
18007
|
+
Default value is "application/json".
|
|
18008
|
+
:paramtype content_type: str
|
|
18009
|
+
:return: MeasurementFormInstanceOverviewDtoPagedResult
|
|
18010
|
+
:rtype: ~ignos.api.client.models.MeasurementFormInstanceOverviewDtoPagedResult
|
|
18011
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
18012
|
+
"""
|
|
18013
|
+
|
|
18014
|
+
@overload
|
|
18015
|
+
async def post_list_measurement_forms(
|
|
18016
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
18017
|
+
) -> _models.MeasurementFormInstanceOverviewDtoPagedResult:
|
|
18018
|
+
"""post_list_measurement_forms.
|
|
18019
|
+
|
|
18020
|
+
:param body: Default value is None.
|
|
18021
|
+
:type body: IO[bytes]
|
|
18022
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
18023
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
18024
|
+
"application/json".
|
|
18025
|
+
:paramtype content_type: str
|
|
18026
|
+
:return: MeasurementFormInstanceOverviewDtoPagedResult
|
|
18027
|
+
:rtype: ~ignos.api.client.models.MeasurementFormInstanceOverviewDtoPagedResult
|
|
18028
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
18029
|
+
"""
|
|
18030
|
+
|
|
18031
|
+
@distributed_trace_async
|
|
18032
|
+
async def post_list_measurement_forms(
|
|
18033
|
+
self, body: Optional[Union[_models.ListMeasurementFormsRequest, IO[bytes]]] = None, **kwargs: Any
|
|
18034
|
+
) -> _models.MeasurementFormInstanceOverviewDtoPagedResult:
|
|
18035
|
+
"""post_list_measurement_forms.
|
|
18036
|
+
|
|
18037
|
+
:param body: Is either a ListMeasurementFormsRequest type or a IO[bytes] type. Default value is
|
|
18038
|
+
None.
|
|
18039
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormsRequest or IO[bytes]
|
|
18040
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
18041
|
+
'application/json', 'text/json'. Default value is None.
|
|
18042
|
+
:paramtype content_type: str
|
|
18043
|
+
:return: MeasurementFormInstanceOverviewDtoPagedResult
|
|
18044
|
+
:rtype: ~ignos.api.client.models.MeasurementFormInstanceOverviewDtoPagedResult
|
|
18045
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
18046
|
+
"""
|
|
18047
|
+
error_map = {
|
|
18048
|
+
401: ClientAuthenticationError,
|
|
18049
|
+
404: ResourceNotFoundError,
|
|
18050
|
+
409: ResourceExistsError,
|
|
18051
|
+
304: ResourceNotModifiedError,
|
|
18052
|
+
}
|
|
18053
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
18054
|
+
|
|
18055
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
18056
|
+
_params = kwargs.pop("params", {}) or {}
|
|
18057
|
+
|
|
18058
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
18059
|
+
cls: ClsType[_models.MeasurementFormInstanceOverviewDtoPagedResult] = kwargs.pop("cls", None)
|
|
18060
|
+
|
|
18061
|
+
content_type = content_type or "application/json"
|
|
18062
|
+
_json = None
|
|
18063
|
+
_content = None
|
|
18064
|
+
if isinstance(body, (IOBase, bytes)):
|
|
18065
|
+
_content = body
|
|
18066
|
+
else:
|
|
18067
|
+
if body is not None:
|
|
18068
|
+
_json = self._serialize.body(body, "ListMeasurementFormsRequest")
|
|
18069
|
+
else:
|
|
18070
|
+
_json = None
|
|
18071
|
+
|
|
18072
|
+
_request = build_measurement_forms_instances_post_list_measurement_forms_request(
|
|
18073
|
+
content_type=content_type,
|
|
18074
|
+
json=_json,
|
|
18075
|
+
content=_content,
|
|
16776
18076
|
headers=_headers,
|
|
16777
18077
|
params=_params,
|
|
16778
18078
|
)
|
|
@@ -16874,6 +18174,113 @@ class MeasurementFormsInstancesOperations: # pylint: disable=too-many-public-me
|
|
|
16874
18174
|
|
|
16875
18175
|
return deserialized # type: ignore
|
|
16876
18176
|
|
|
18177
|
+
@overload
|
|
18178
|
+
async def post_list_measurement_forms_by_status(
|
|
18179
|
+
self,
|
|
18180
|
+
body: Optional[_models.ListMeasurementFormsByStatusRequest] = None,
|
|
18181
|
+
*,
|
|
18182
|
+
content_type: str = "application/json",
|
|
18183
|
+
**kwargs: Any
|
|
18184
|
+
) -> _models.MeasurementFormInstanceDtoPagedResult:
|
|
18185
|
+
"""post_list_measurement_forms_by_status.
|
|
18186
|
+
|
|
18187
|
+
:param body: Default value is None.
|
|
18188
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormsByStatusRequest
|
|
18189
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
18190
|
+
Default value is "application/json".
|
|
18191
|
+
:paramtype content_type: str
|
|
18192
|
+
:return: MeasurementFormInstanceDtoPagedResult
|
|
18193
|
+
:rtype: ~ignos.api.client.models.MeasurementFormInstanceDtoPagedResult
|
|
18194
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
18195
|
+
"""
|
|
18196
|
+
|
|
18197
|
+
@overload
|
|
18198
|
+
async def post_list_measurement_forms_by_status(
|
|
18199
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
18200
|
+
) -> _models.MeasurementFormInstanceDtoPagedResult:
|
|
18201
|
+
"""post_list_measurement_forms_by_status.
|
|
18202
|
+
|
|
18203
|
+
:param body: Default value is None.
|
|
18204
|
+
:type body: IO[bytes]
|
|
18205
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
18206
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
18207
|
+
"application/json".
|
|
18208
|
+
:paramtype content_type: str
|
|
18209
|
+
:return: MeasurementFormInstanceDtoPagedResult
|
|
18210
|
+
:rtype: ~ignos.api.client.models.MeasurementFormInstanceDtoPagedResult
|
|
18211
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
18212
|
+
"""
|
|
18213
|
+
|
|
18214
|
+
@distributed_trace_async
|
|
18215
|
+
async def post_list_measurement_forms_by_status(
|
|
18216
|
+
self, body: Optional[Union[_models.ListMeasurementFormsByStatusRequest, IO[bytes]]] = None, **kwargs: Any
|
|
18217
|
+
) -> _models.MeasurementFormInstanceDtoPagedResult:
|
|
18218
|
+
"""post_list_measurement_forms_by_status.
|
|
18219
|
+
|
|
18220
|
+
:param body: Is either a ListMeasurementFormsByStatusRequest type or a IO[bytes] type. Default
|
|
18221
|
+
value is None.
|
|
18222
|
+
:type body: ~ignos.api.client.models.ListMeasurementFormsByStatusRequest or IO[bytes]
|
|
18223
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
18224
|
+
'application/json', 'text/json'. Default value is None.
|
|
18225
|
+
:paramtype content_type: str
|
|
18226
|
+
:return: MeasurementFormInstanceDtoPagedResult
|
|
18227
|
+
:rtype: ~ignos.api.client.models.MeasurementFormInstanceDtoPagedResult
|
|
18228
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
18229
|
+
"""
|
|
18230
|
+
error_map = {
|
|
18231
|
+
401: ClientAuthenticationError,
|
|
18232
|
+
404: ResourceNotFoundError,
|
|
18233
|
+
409: ResourceExistsError,
|
|
18234
|
+
304: ResourceNotModifiedError,
|
|
18235
|
+
}
|
|
18236
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
18237
|
+
|
|
18238
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
18239
|
+
_params = kwargs.pop("params", {}) or {}
|
|
18240
|
+
|
|
18241
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
18242
|
+
cls: ClsType[_models.MeasurementFormInstanceDtoPagedResult] = kwargs.pop("cls", None)
|
|
18243
|
+
|
|
18244
|
+
content_type = content_type or "application/json"
|
|
18245
|
+
_json = None
|
|
18246
|
+
_content = None
|
|
18247
|
+
if isinstance(body, (IOBase, bytes)):
|
|
18248
|
+
_content = body
|
|
18249
|
+
else:
|
|
18250
|
+
if body is not None:
|
|
18251
|
+
_json = self._serialize.body(body, "ListMeasurementFormsByStatusRequest")
|
|
18252
|
+
else:
|
|
18253
|
+
_json = None
|
|
18254
|
+
|
|
18255
|
+
_request = build_measurement_forms_instances_post_list_measurement_forms_by_status_request(
|
|
18256
|
+
content_type=content_type,
|
|
18257
|
+
json=_json,
|
|
18258
|
+
content=_content,
|
|
18259
|
+
headers=_headers,
|
|
18260
|
+
params=_params,
|
|
18261
|
+
)
|
|
18262
|
+
_request.url = self._client.format_url(_request.url)
|
|
18263
|
+
|
|
18264
|
+
_stream = False
|
|
18265
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
18266
|
+
_request, stream=_stream, **kwargs
|
|
18267
|
+
)
|
|
18268
|
+
|
|
18269
|
+
response = pipeline_response.http_response
|
|
18270
|
+
|
|
18271
|
+
if response.status_code not in [200]:
|
|
18272
|
+
if _stream:
|
|
18273
|
+
await response.read() # Load the body in memory and close the socket
|
|
18274
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
18275
|
+
raise HttpResponseError(response=response)
|
|
18276
|
+
|
|
18277
|
+
deserialized = self._deserialize("MeasurementFormInstanceDtoPagedResult", pipeline_response)
|
|
18278
|
+
|
|
18279
|
+
if cls:
|
|
18280
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
18281
|
+
|
|
18282
|
+
return deserialized # type: ignore
|
|
18283
|
+
|
|
16877
18284
|
@distributed_trace_async
|
|
16878
18285
|
async def get_measurement_form_instance(
|
|
16879
18286
|
self, id: str, *, tenant_id: Optional[str] = None, **kwargs: Any
|
|
@@ -22807,6 +24214,113 @@ class MesProductionScheduleOperations:
|
|
|
22807
24214
|
|
|
22808
24215
|
return deserialized # type: ignore
|
|
22809
24216
|
|
|
24217
|
+
@overload
|
|
24218
|
+
async def post_list_production_schedule_operations(
|
|
24219
|
+
self,
|
|
24220
|
+
body: Optional[_models.ListProductionScheduleOperationsRequest] = None,
|
|
24221
|
+
*,
|
|
24222
|
+
content_type: str = "application/json",
|
|
24223
|
+
**kwargs: Any
|
|
24224
|
+
) -> _models.ProductionScheduleOperationDtoPagedResult:
|
|
24225
|
+
"""post_list_production_schedule_operations.
|
|
24226
|
+
|
|
24227
|
+
:param body: Default value is None.
|
|
24228
|
+
:type body: ~ignos.api.client.models.ListProductionScheduleOperationsRequest
|
|
24229
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
24230
|
+
Default value is "application/json".
|
|
24231
|
+
:paramtype content_type: str
|
|
24232
|
+
:return: ProductionScheduleOperationDtoPagedResult
|
|
24233
|
+
:rtype: ~ignos.api.client.models.ProductionScheduleOperationDtoPagedResult
|
|
24234
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
24235
|
+
"""
|
|
24236
|
+
|
|
24237
|
+
@overload
|
|
24238
|
+
async def post_list_production_schedule_operations(
|
|
24239
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
24240
|
+
) -> _models.ProductionScheduleOperationDtoPagedResult:
|
|
24241
|
+
"""post_list_production_schedule_operations.
|
|
24242
|
+
|
|
24243
|
+
:param body: Default value is None.
|
|
24244
|
+
:type body: IO[bytes]
|
|
24245
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
24246
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
24247
|
+
"application/json".
|
|
24248
|
+
:paramtype content_type: str
|
|
24249
|
+
:return: ProductionScheduleOperationDtoPagedResult
|
|
24250
|
+
:rtype: ~ignos.api.client.models.ProductionScheduleOperationDtoPagedResult
|
|
24251
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
24252
|
+
"""
|
|
24253
|
+
|
|
24254
|
+
@distributed_trace_async
|
|
24255
|
+
async def post_list_production_schedule_operations(
|
|
24256
|
+
self, body: Optional[Union[_models.ListProductionScheduleOperationsRequest, IO[bytes]]] = None, **kwargs: Any
|
|
24257
|
+
) -> _models.ProductionScheduleOperationDtoPagedResult:
|
|
24258
|
+
"""post_list_production_schedule_operations.
|
|
24259
|
+
|
|
24260
|
+
:param body: Is either a ListProductionScheduleOperationsRequest type or a IO[bytes] type.
|
|
24261
|
+
Default value is None.
|
|
24262
|
+
:type body: ~ignos.api.client.models.ListProductionScheduleOperationsRequest or IO[bytes]
|
|
24263
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
24264
|
+
'application/json', 'text/json'. Default value is None.
|
|
24265
|
+
:paramtype content_type: str
|
|
24266
|
+
:return: ProductionScheduleOperationDtoPagedResult
|
|
24267
|
+
:rtype: ~ignos.api.client.models.ProductionScheduleOperationDtoPagedResult
|
|
24268
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
24269
|
+
"""
|
|
24270
|
+
error_map = {
|
|
24271
|
+
401: ClientAuthenticationError,
|
|
24272
|
+
404: ResourceNotFoundError,
|
|
24273
|
+
409: ResourceExistsError,
|
|
24274
|
+
304: ResourceNotModifiedError,
|
|
24275
|
+
}
|
|
24276
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
24277
|
+
|
|
24278
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
24279
|
+
_params = kwargs.pop("params", {}) or {}
|
|
24280
|
+
|
|
24281
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
24282
|
+
cls: ClsType[_models.ProductionScheduleOperationDtoPagedResult] = kwargs.pop("cls", None)
|
|
24283
|
+
|
|
24284
|
+
content_type = content_type or "application/json"
|
|
24285
|
+
_json = None
|
|
24286
|
+
_content = None
|
|
24287
|
+
if isinstance(body, (IOBase, bytes)):
|
|
24288
|
+
_content = body
|
|
24289
|
+
else:
|
|
24290
|
+
if body is not None:
|
|
24291
|
+
_json = self._serialize.body(body, "ListProductionScheduleOperationsRequest")
|
|
24292
|
+
else:
|
|
24293
|
+
_json = None
|
|
24294
|
+
|
|
24295
|
+
_request = build_mes_production_schedule_post_list_production_schedule_operations_request(
|
|
24296
|
+
content_type=content_type,
|
|
24297
|
+
json=_json,
|
|
24298
|
+
content=_content,
|
|
24299
|
+
headers=_headers,
|
|
24300
|
+
params=_params,
|
|
24301
|
+
)
|
|
24302
|
+
_request.url = self._client.format_url(_request.url)
|
|
24303
|
+
|
|
24304
|
+
_stream = False
|
|
24305
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
24306
|
+
_request, stream=_stream, **kwargs
|
|
24307
|
+
)
|
|
24308
|
+
|
|
24309
|
+
response = pipeline_response.http_response
|
|
24310
|
+
|
|
24311
|
+
if response.status_code not in [200]:
|
|
24312
|
+
if _stream:
|
|
24313
|
+
await response.read() # Load the body in memory and close the socket
|
|
24314
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
24315
|
+
raise HttpResponseError(response=response)
|
|
24316
|
+
|
|
24317
|
+
deserialized = self._deserialize("ProductionScheduleOperationDtoPagedResult", pipeline_response)
|
|
24318
|
+
|
|
24319
|
+
if cls:
|
|
24320
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
24321
|
+
|
|
24322
|
+
return deserialized # type: ignore
|
|
24323
|
+
|
|
22810
24324
|
@distributed_trace_async
|
|
22811
24325
|
async def list_my_current_work_activities(self, **kwargs: Any) -> List[_models.CurrentWorkActivityDto]:
|
|
22812
24326
|
"""list_my_current_work_activities.
|
|
@@ -24438,10 +25952,65 @@ class MrbOperations: # pylint: disable=too-many-public-methods
|
|
|
24438
25952
|
_headers = kwargs.pop("headers", {}) or {}
|
|
24439
25953
|
_params = kwargs.pop("params", {}) or {}
|
|
24440
25954
|
|
|
24441
|
-
cls: ClsType[_models.MrbPdfExportJobDto] = kwargs.pop("cls", None)
|
|
25955
|
+
cls: ClsType[_models.MrbPdfExportJobDto] = kwargs.pop("cls", None)
|
|
25956
|
+
|
|
25957
|
+
_request = build_mrb_get_mrb_pdf_export_job_status_request(
|
|
25958
|
+
job_id=job_id,
|
|
25959
|
+
headers=_headers,
|
|
25960
|
+
params=_params,
|
|
25961
|
+
)
|
|
25962
|
+
_request.url = self._client.format_url(_request.url)
|
|
25963
|
+
|
|
25964
|
+
_stream = False
|
|
25965
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
25966
|
+
_request, stream=_stream, **kwargs
|
|
25967
|
+
)
|
|
25968
|
+
|
|
25969
|
+
response = pipeline_response.http_response
|
|
25970
|
+
|
|
25971
|
+
if response.status_code not in [200]:
|
|
25972
|
+
if _stream:
|
|
25973
|
+
await response.read() # Load the body in memory and close the socket
|
|
25974
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
25975
|
+
raise HttpResponseError(response=response)
|
|
25976
|
+
|
|
25977
|
+
deserialized = self._deserialize("MrbPdfExportJobDto", pipeline_response)
|
|
25978
|
+
|
|
25979
|
+
if cls:
|
|
25980
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
25981
|
+
|
|
25982
|
+
return deserialized # type: ignore
|
|
25983
|
+
|
|
25984
|
+
@distributed_trace_async
|
|
25985
|
+
async def list_mrb_instance_reports(
|
|
25986
|
+
self, *, page_size: int = 50, continuation_token_parameter: Optional[str] = None, **kwargs: Any
|
|
25987
|
+
) -> _models.MrbInstanceReportDtoPagedResult:
|
|
25988
|
+
"""list_mrb_instance_reports.
|
|
25989
|
+
|
|
25990
|
+
:keyword page_size: Default value is 50.
|
|
25991
|
+
:paramtype page_size: int
|
|
25992
|
+
:keyword continuation_token_parameter: Default value is None.
|
|
25993
|
+
:paramtype continuation_token_parameter: str
|
|
25994
|
+
:return: MrbInstanceReportDtoPagedResult
|
|
25995
|
+
:rtype: ~ignos.api.client.models.MrbInstanceReportDtoPagedResult
|
|
25996
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
25997
|
+
"""
|
|
25998
|
+
error_map = {
|
|
25999
|
+
401: ClientAuthenticationError,
|
|
26000
|
+
404: ResourceNotFoundError,
|
|
26001
|
+
409: ResourceExistsError,
|
|
26002
|
+
304: ResourceNotModifiedError,
|
|
26003
|
+
}
|
|
26004
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
26005
|
+
|
|
26006
|
+
_headers = kwargs.pop("headers", {}) or {}
|
|
26007
|
+
_params = kwargs.pop("params", {}) or {}
|
|
26008
|
+
|
|
26009
|
+
cls: ClsType[_models.MrbInstanceReportDtoPagedResult] = kwargs.pop("cls", None)
|
|
24442
26010
|
|
|
24443
|
-
_request =
|
|
24444
|
-
|
|
26011
|
+
_request = build_mrb_list_mrb_instance_reports_request(
|
|
26012
|
+
page_size=page_size,
|
|
26013
|
+
continuation_token_parameter=continuation_token_parameter,
|
|
24445
26014
|
headers=_headers,
|
|
24446
26015
|
params=_params,
|
|
24447
26016
|
)
|
|
@@ -24460,23 +26029,62 @@ class MrbOperations: # pylint: disable=too-many-public-methods
|
|
|
24460
26029
|
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
24461
26030
|
raise HttpResponseError(response=response)
|
|
24462
26031
|
|
|
24463
|
-
deserialized = self._deserialize("
|
|
26032
|
+
deserialized = self._deserialize("MrbInstanceReportDtoPagedResult", pipeline_response)
|
|
24464
26033
|
|
|
24465
26034
|
if cls:
|
|
24466
26035
|
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
24467
26036
|
|
|
24468
26037
|
return deserialized # type: ignore
|
|
24469
26038
|
|
|
26039
|
+
@overload
|
|
26040
|
+
async def post_list_mrb_instance_reports(
|
|
26041
|
+
self,
|
|
26042
|
+
body: Optional[_models.ListMrbInstanceReportsRequest] = None,
|
|
26043
|
+
*,
|
|
26044
|
+
content_type: str = "application/json",
|
|
26045
|
+
**kwargs: Any
|
|
26046
|
+
) -> _models.MrbInstanceReportDtoPagedResult:
|
|
26047
|
+
"""post_list_mrb_instance_reports.
|
|
26048
|
+
|
|
26049
|
+
:param body: Default value is None.
|
|
26050
|
+
:type body: ~ignos.api.client.models.ListMrbInstanceReportsRequest
|
|
26051
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
26052
|
+
Default value is "application/json".
|
|
26053
|
+
:paramtype content_type: str
|
|
26054
|
+
:return: MrbInstanceReportDtoPagedResult
|
|
26055
|
+
:rtype: ~ignos.api.client.models.MrbInstanceReportDtoPagedResult
|
|
26056
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
26057
|
+
"""
|
|
26058
|
+
|
|
26059
|
+
@overload
|
|
26060
|
+
async def post_list_mrb_instance_reports(
|
|
26061
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
26062
|
+
) -> _models.MrbInstanceReportDtoPagedResult:
|
|
26063
|
+
"""post_list_mrb_instance_reports.
|
|
26064
|
+
|
|
26065
|
+
:param body: Default value is None.
|
|
26066
|
+
:type body: IO[bytes]
|
|
26067
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
26068
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
26069
|
+
"application/json".
|
|
26070
|
+
:paramtype content_type: str
|
|
26071
|
+
:return: MrbInstanceReportDtoPagedResult
|
|
26072
|
+
:rtype: ~ignos.api.client.models.MrbInstanceReportDtoPagedResult
|
|
26073
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
26074
|
+
"""
|
|
26075
|
+
|
|
24470
26076
|
@distributed_trace_async
|
|
24471
|
-
async def
|
|
24472
|
-
self,
|
|
26077
|
+
async def post_list_mrb_instance_reports(
|
|
26078
|
+
self, body: Optional[Union[_models.ListMrbInstanceReportsRequest, IO[bytes]]] = None, **kwargs: Any
|
|
24473
26079
|
) -> _models.MrbInstanceReportDtoPagedResult:
|
|
24474
|
-
"""
|
|
26080
|
+
"""post_list_mrb_instance_reports.
|
|
24475
26081
|
|
|
24476
|
-
:
|
|
24477
|
-
|
|
24478
|
-
:
|
|
24479
|
-
:
|
|
26082
|
+
:param body: Is either a ListMrbInstanceReportsRequest type or a IO[bytes] type. Default value
|
|
26083
|
+
is None.
|
|
26084
|
+
:type body: ~ignos.api.client.models.ListMrbInstanceReportsRequest or IO[bytes]
|
|
26085
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
26086
|
+
'application/json', 'text/json'. Default value is None.
|
|
26087
|
+
:paramtype content_type: str
|
|
24480
26088
|
:return: MrbInstanceReportDtoPagedResult
|
|
24481
26089
|
:rtype: ~ignos.api.client.models.MrbInstanceReportDtoPagedResult
|
|
24482
26090
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
@@ -24489,14 +26097,27 @@ class MrbOperations: # pylint: disable=too-many-public-methods
|
|
|
24489
26097
|
}
|
|
24490
26098
|
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
24491
26099
|
|
|
24492
|
-
_headers = kwargs.pop("headers", {}) or {}
|
|
26100
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
24493
26101
|
_params = kwargs.pop("params", {}) or {}
|
|
24494
26102
|
|
|
26103
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
24495
26104
|
cls: ClsType[_models.MrbInstanceReportDtoPagedResult] = kwargs.pop("cls", None)
|
|
24496
26105
|
|
|
24497
|
-
|
|
24498
|
-
|
|
24499
|
-
|
|
26106
|
+
content_type = content_type or "application/json"
|
|
26107
|
+
_json = None
|
|
26108
|
+
_content = None
|
|
26109
|
+
if isinstance(body, (IOBase, bytes)):
|
|
26110
|
+
_content = body
|
|
26111
|
+
else:
|
|
26112
|
+
if body is not None:
|
|
26113
|
+
_json = self._serialize.body(body, "ListMrbInstanceReportsRequest")
|
|
26114
|
+
else:
|
|
26115
|
+
_json = None
|
|
26116
|
+
|
|
26117
|
+
_request = build_mrb_post_list_mrb_instance_reports_request(
|
|
26118
|
+
content_type=content_type,
|
|
26119
|
+
json=_json,
|
|
26120
|
+
content=_content,
|
|
24500
26121
|
headers=_headers,
|
|
24501
26122
|
params=_params,
|
|
24502
26123
|
)
|
|
@@ -27492,6 +29113,113 @@ class TraceOperations:
|
|
|
27492
29113
|
|
|
27493
29114
|
return deserialized # type: ignore
|
|
27494
29115
|
|
|
29116
|
+
@overload
|
|
29117
|
+
async def post_list_trace_workorders(
|
|
29118
|
+
self,
|
|
29119
|
+
body: Optional[_models.ListTraceWorkordersRequest] = None,
|
|
29120
|
+
*,
|
|
29121
|
+
content_type: str = "application/json",
|
|
29122
|
+
**kwargs: Any
|
|
29123
|
+
) -> _models.TraceWorkOrderListDtoPagedResult:
|
|
29124
|
+
"""post_list_trace_workorders.
|
|
29125
|
+
|
|
29126
|
+
:param body: Default value is None.
|
|
29127
|
+
:type body: ~ignos.api.client.models.ListTraceWorkordersRequest
|
|
29128
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
29129
|
+
Default value is "application/json".
|
|
29130
|
+
:paramtype content_type: str
|
|
29131
|
+
:return: TraceWorkOrderListDtoPagedResult
|
|
29132
|
+
:rtype: ~ignos.api.client.models.TraceWorkOrderListDtoPagedResult
|
|
29133
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
29134
|
+
"""
|
|
29135
|
+
|
|
29136
|
+
@overload
|
|
29137
|
+
async def post_list_trace_workorders(
|
|
29138
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
29139
|
+
) -> _models.TraceWorkOrderListDtoPagedResult:
|
|
29140
|
+
"""post_list_trace_workorders.
|
|
29141
|
+
|
|
29142
|
+
:param body: Default value is None.
|
|
29143
|
+
:type body: IO[bytes]
|
|
29144
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
29145
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
29146
|
+
"application/json".
|
|
29147
|
+
:paramtype content_type: str
|
|
29148
|
+
:return: TraceWorkOrderListDtoPagedResult
|
|
29149
|
+
:rtype: ~ignos.api.client.models.TraceWorkOrderListDtoPagedResult
|
|
29150
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
29151
|
+
"""
|
|
29152
|
+
|
|
29153
|
+
@distributed_trace_async
|
|
29154
|
+
async def post_list_trace_workorders(
|
|
29155
|
+
self, body: Optional[Union[_models.ListTraceWorkordersRequest, IO[bytes]]] = None, **kwargs: Any
|
|
29156
|
+
) -> _models.TraceWorkOrderListDtoPagedResult:
|
|
29157
|
+
"""post_list_trace_workorders.
|
|
29158
|
+
|
|
29159
|
+
:param body: Is either a ListTraceWorkordersRequest type or a IO[bytes] type. Default value is
|
|
29160
|
+
None.
|
|
29161
|
+
:type body: ~ignos.api.client.models.ListTraceWorkordersRequest or IO[bytes]
|
|
29162
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
29163
|
+
'application/json', 'text/json'. Default value is None.
|
|
29164
|
+
:paramtype content_type: str
|
|
29165
|
+
:return: TraceWorkOrderListDtoPagedResult
|
|
29166
|
+
:rtype: ~ignos.api.client.models.TraceWorkOrderListDtoPagedResult
|
|
29167
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
29168
|
+
"""
|
|
29169
|
+
error_map = {
|
|
29170
|
+
401: ClientAuthenticationError,
|
|
29171
|
+
404: ResourceNotFoundError,
|
|
29172
|
+
409: ResourceExistsError,
|
|
29173
|
+
304: ResourceNotModifiedError,
|
|
29174
|
+
}
|
|
29175
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
29176
|
+
|
|
29177
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
29178
|
+
_params = kwargs.pop("params", {}) or {}
|
|
29179
|
+
|
|
29180
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
29181
|
+
cls: ClsType[_models.TraceWorkOrderListDtoPagedResult] = kwargs.pop("cls", None)
|
|
29182
|
+
|
|
29183
|
+
content_type = content_type or "application/json"
|
|
29184
|
+
_json = None
|
|
29185
|
+
_content = None
|
|
29186
|
+
if isinstance(body, (IOBase, bytes)):
|
|
29187
|
+
_content = body
|
|
29188
|
+
else:
|
|
29189
|
+
if body is not None:
|
|
29190
|
+
_json = self._serialize.body(body, "ListTraceWorkordersRequest")
|
|
29191
|
+
else:
|
|
29192
|
+
_json = None
|
|
29193
|
+
|
|
29194
|
+
_request = build_trace_post_list_trace_workorders_request(
|
|
29195
|
+
content_type=content_type,
|
|
29196
|
+
json=_json,
|
|
29197
|
+
content=_content,
|
|
29198
|
+
headers=_headers,
|
|
29199
|
+
params=_params,
|
|
29200
|
+
)
|
|
29201
|
+
_request.url = self._client.format_url(_request.url)
|
|
29202
|
+
|
|
29203
|
+
_stream = False
|
|
29204
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
29205
|
+
_request, stream=_stream, **kwargs
|
|
29206
|
+
)
|
|
29207
|
+
|
|
29208
|
+
response = pipeline_response.http_response
|
|
29209
|
+
|
|
29210
|
+
if response.status_code not in [200]:
|
|
29211
|
+
if _stream:
|
|
29212
|
+
await response.read() # Load the body in memory and close the socket
|
|
29213
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
29214
|
+
raise HttpResponseError(response=response)
|
|
29215
|
+
|
|
29216
|
+
deserialized = self._deserialize("TraceWorkOrderListDtoPagedResult", pipeline_response)
|
|
29217
|
+
|
|
29218
|
+
if cls:
|
|
29219
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
29220
|
+
|
|
29221
|
+
return deserialized # type: ignore
|
|
29222
|
+
|
|
27495
29223
|
|
|
27496
29224
|
class UploadOperations:
|
|
27497
29225
|
"""
|
|
@@ -27642,6 +29370,108 @@ class UsersOperations:
|
|
|
27642
29370
|
|
|
27643
29371
|
return deserialized # type: ignore
|
|
27644
29372
|
|
|
29373
|
+
@overload
|
|
29374
|
+
async def post_list_users(
|
|
29375
|
+
self, body: Optional[_models.ListUsersRequest] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
29376
|
+
) -> _models.UserDtoPagedResult:
|
|
29377
|
+
"""post_list_users.
|
|
29378
|
+
|
|
29379
|
+
:param body: Default value is None.
|
|
29380
|
+
:type body: ~ignos.api.client.models.ListUsersRequest
|
|
29381
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
|
29382
|
+
Default value is "application/json".
|
|
29383
|
+
:paramtype content_type: str
|
|
29384
|
+
:return: UserDtoPagedResult
|
|
29385
|
+
:rtype: ~ignos.api.client.models.UserDtoPagedResult
|
|
29386
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
29387
|
+
"""
|
|
29388
|
+
|
|
29389
|
+
@overload
|
|
29390
|
+
async def post_list_users(
|
|
29391
|
+
self, body: Optional[IO[bytes]] = None, *, content_type: str = "application/json", **kwargs: Any
|
|
29392
|
+
) -> _models.UserDtoPagedResult:
|
|
29393
|
+
"""post_list_users.
|
|
29394
|
+
|
|
29395
|
+
:param body: Default value is None.
|
|
29396
|
+
:type body: IO[bytes]
|
|
29397
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
|
29398
|
+
Known values are: 'application/*+json', 'application/json', 'text/json'. Default value is
|
|
29399
|
+
"application/json".
|
|
29400
|
+
:paramtype content_type: str
|
|
29401
|
+
:return: UserDtoPagedResult
|
|
29402
|
+
:rtype: ~ignos.api.client.models.UserDtoPagedResult
|
|
29403
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
29404
|
+
"""
|
|
29405
|
+
|
|
29406
|
+
@distributed_trace_async
|
|
29407
|
+
async def post_list_users(
|
|
29408
|
+
self, body: Optional[Union[_models.ListUsersRequest, IO[bytes]]] = None, **kwargs: Any
|
|
29409
|
+
) -> _models.UserDtoPagedResult:
|
|
29410
|
+
"""post_list_users.
|
|
29411
|
+
|
|
29412
|
+
:param body: Is either a ListUsersRequest type or a IO[bytes] type. Default value is None.
|
|
29413
|
+
:type body: ~ignos.api.client.models.ListUsersRequest or IO[bytes]
|
|
29414
|
+
:keyword content_type: Body Parameter content-type. Known values are: 'application/*+json',
|
|
29415
|
+
'application/json', 'text/json'. Default value is None.
|
|
29416
|
+
:paramtype content_type: str
|
|
29417
|
+
:return: UserDtoPagedResult
|
|
29418
|
+
:rtype: ~ignos.api.client.models.UserDtoPagedResult
|
|
29419
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
29420
|
+
"""
|
|
29421
|
+
error_map = {
|
|
29422
|
+
401: ClientAuthenticationError,
|
|
29423
|
+
404: ResourceNotFoundError,
|
|
29424
|
+
409: ResourceExistsError,
|
|
29425
|
+
304: ResourceNotModifiedError,
|
|
29426
|
+
}
|
|
29427
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
29428
|
+
|
|
29429
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
29430
|
+
_params = kwargs.pop("params", {}) or {}
|
|
29431
|
+
|
|
29432
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
|
29433
|
+
cls: ClsType[_models.UserDtoPagedResult] = kwargs.pop("cls", None)
|
|
29434
|
+
|
|
29435
|
+
content_type = content_type or "application/json"
|
|
29436
|
+
_json = None
|
|
29437
|
+
_content = None
|
|
29438
|
+
if isinstance(body, (IOBase, bytes)):
|
|
29439
|
+
_content = body
|
|
29440
|
+
else:
|
|
29441
|
+
if body is not None:
|
|
29442
|
+
_json = self._serialize.body(body, "ListUsersRequest")
|
|
29443
|
+
else:
|
|
29444
|
+
_json = None
|
|
29445
|
+
|
|
29446
|
+
_request = build_users_post_list_users_request(
|
|
29447
|
+
content_type=content_type,
|
|
29448
|
+
json=_json,
|
|
29449
|
+
content=_content,
|
|
29450
|
+
headers=_headers,
|
|
29451
|
+
params=_params,
|
|
29452
|
+
)
|
|
29453
|
+
_request.url = self._client.format_url(_request.url)
|
|
29454
|
+
|
|
29455
|
+
_stream = False
|
|
29456
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
29457
|
+
_request, stream=_stream, **kwargs
|
|
29458
|
+
)
|
|
29459
|
+
|
|
29460
|
+
response = pipeline_response.http_response
|
|
29461
|
+
|
|
29462
|
+
if response.status_code not in [200]:
|
|
29463
|
+
if _stream:
|
|
29464
|
+
await response.read() # Load the body in memory and close the socket
|
|
29465
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
29466
|
+
raise HttpResponseError(response=response)
|
|
29467
|
+
|
|
29468
|
+
deserialized = self._deserialize("UserDtoPagedResult", pipeline_response)
|
|
29469
|
+
|
|
29470
|
+
if cls:
|
|
29471
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
|
29472
|
+
|
|
29473
|
+
return deserialized # type: ignore
|
|
29474
|
+
|
|
27645
29475
|
|
|
27646
29476
|
class WorkspacesOperations:
|
|
27647
29477
|
"""
|