cosmotech-api 3.2.6.dev2__py3-none-any.whl → 4.0.0.dev8__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.
Potentially problematic release.
This version of cosmotech-api might be problematic. Click here for more details.
- cosmotech_api/__init__.py +3 -45
- cosmotech_api/api/__init__.py +0 -3
- cosmotech_api/api/connector_api.py +30 -282
- cosmotech_api/api/dataset_api.py +214 -187
- cosmotech_api/api/organization_api.py +94 -943
- cosmotech_api/api/run_api.py +51 -45
- cosmotech_api/api/runner_api.py +101 -88
- cosmotech_api/api/scenario_api.py +1 -1
- cosmotech_api/api/scenariorun_api.py +1 -1
- cosmotech_api/api/scenariorunresult_api.py +1 -1
- cosmotech_api/api/solution_api.py +487 -1124
- cosmotech_api/api/twingraph_api.py +1 -1
- cosmotech_api/api/validator_api.py +1 -1
- cosmotech_api/api/workspace_api.py +129 -416
- cosmotech_api/api_client.py +59 -29
- cosmotech_api/configuration.py +21 -15
- cosmotech_api/exceptions.py +1 -1
- cosmotech_api/model/component_role_permissions.py +1 -1
- cosmotech_api/model/connector.py +1 -1
- cosmotech_api/model/connector_parameter.py +1 -1
- cosmotech_api/model/connector_parameter_group.py +1 -1
- cosmotech_api/model/container_resource_size_info.py +1 -1
- cosmotech_api/model/container_resource_sizing.py +1 -1
- cosmotech_api/model/dataset.py +1 -1
- cosmotech_api/model/dataset_access_control.py +1 -1
- cosmotech_api/model/dataset_compatibility.py +1 -1
- cosmotech_api/model/dataset_connector.py +1 -1
- cosmotech_api/model/dataset_copy_parameters.py +1 -1
- cosmotech_api/model/dataset_role.py +1 -1
- cosmotech_api/model/dataset_search.py +1 -1
- cosmotech_api/model/dataset_security.py +1 -1
- cosmotech_api/model/dataset_source_type.py +1 -1
- cosmotech_api/model/dataset_twin_graph_hash.py +1 -1
- cosmotech_api/model/dataset_twin_graph_info.py +1 -1
- cosmotech_api/model/dataset_twin_graph_query.py +1 -1
- cosmotech_api/model/delete_historical_data.py +1 -1
- cosmotech_api/model/file_upload_metadata.py +1 -1
- cosmotech_api/model/file_upload_validation.py +1 -1
- cosmotech_api/model/graph_properties.py +1 -1
- cosmotech_api/model/organization.py +1 -1
- cosmotech_api/model/organization_access_control.py +1 -1
- cosmotech_api/model/organization_role.py +1 -1
- cosmotech_api/model/organization_security.py +1 -1
- cosmotech_api/model/organization_service.py +1 -1
- cosmotech_api/model/organization_services.py +1 -1
- cosmotech_api/model/resource_size_info.py +1 -1
- cosmotech_api/model/run.py +1 -1
- cosmotech_api/model/run_container.py +1 -1
- cosmotech_api/model/run_container_artifact.py +1 -1
- cosmotech_api/model/run_container_logs.py +1 -1
- cosmotech_api/model/run_logs.py +1 -1
- cosmotech_api/model/run_resource_requested.py +1 -1
- cosmotech_api/model/run_search.py +1 -1
- cosmotech_api/model/run_start_containers.py +1 -1
- cosmotech_api/model/run_state.py +1 -1
- cosmotech_api/model/run_status.py +1 -1
- cosmotech_api/model/run_status_node.py +1 -1
- cosmotech_api/model/run_template.py +1 -1
- cosmotech_api/model/run_template_handler_id.py +1 -1
- cosmotech_api/model/run_template_orchestrator.py +1 -1
- cosmotech_api/model/run_template_parameter.py +1 -1
- cosmotech_api/model/run_template_parameter_group.py +1 -1
- cosmotech_api/model/run_template_parameter_value.py +1 -1
- cosmotech_api/model/run_template_resource_sizing.py +1 -1
- cosmotech_api/model/run_template_step_source.py +1 -1
- cosmotech_api/model/runner.py +21 -5
- cosmotech_api/model/runner_access_control.py +1 -1
- cosmotech_api/model/runner_changed_parameter_value.py +1 -1
- cosmotech_api/model/runner_comparison_result.py +1 -1
- cosmotech_api/model/runner_data_download_info.py +11 -1
- cosmotech_api/model/runner_data_download_job.py +1 -1
- cosmotech_api/model/runner_job_state.py +1 -1
- cosmotech_api/model/runner_last_run.py +1 -1
- cosmotech_api/model/runner_resource_sizing.py +1 -1
- cosmotech_api/model/runner_role.py +1 -1
- cosmotech_api/model/runner_run_template_parameter_value.py +1 -1
- cosmotech_api/model/runner_security.py +1 -1
- cosmotech_api/model/runner_validation_status.py +1 -1
- cosmotech_api/model/scenario.py +1 -1
- cosmotech_api/model/scenario_access_control.py +1 -1
- cosmotech_api/model/scenario_changed_parameter_value.py +1 -1
- cosmotech_api/model/scenario_comparison_result.py +1 -1
- cosmotech_api/model/scenario_data_download_info.py +1 -1
- cosmotech_api/model/scenario_data_download_job.py +1 -1
- cosmotech_api/model/scenario_job_state.py +1 -1
- cosmotech_api/model/scenario_last_run.py +1 -1
- cosmotech_api/model/scenario_resource_sizing.py +1 -1
- cosmotech_api/model/scenario_role.py +1 -1
- cosmotech_api/model/scenario_run.py +1 -1
- cosmotech_api/model/scenario_run_container.py +1 -1
- cosmotech_api/model/scenario_run_container_artifact.py +1 -1
- cosmotech_api/model/scenario_run_container_logs.py +1 -1
- cosmotech_api/model/scenario_run_logs.py +1 -1
- cosmotech_api/model/scenario_run_resource_requested.py +1 -1
- cosmotech_api/model/scenario_run_result.py +1 -1
- cosmotech_api/model/scenario_run_search.py +1 -1
- cosmotech_api/model/scenario_run_start_containers.py +1 -1
- cosmotech_api/model/scenario_run_state.py +1 -1
- cosmotech_api/model/scenario_run_status.py +1 -1
- cosmotech_api/model/scenario_run_status_node.py +1 -1
- cosmotech_api/model/scenario_run_template_parameter_value.py +1 -1
- cosmotech_api/model/scenario_security.py +1 -1
- cosmotech_api/model/scenario_validation_status.py +1 -1
- cosmotech_api/model/solution.py +1 -1
- cosmotech_api/model/solution_access_control.py +1 -1
- cosmotech_api/model/solution_role.py +1 -1
- cosmotech_api/model/solution_security.py +1 -1
- cosmotech_api/model/source_info.py +1 -1
- cosmotech_api/model/sub_dataset_graph_query.py +1 -1
- cosmotech_api/model/translated_labels.py +1 -1
- cosmotech_api/model/twin_graph_batch_result.py +1 -1
- cosmotech_api/model/twin_graph_hash.py +1 -1
- cosmotech_api/model/twin_graph_query.py +1 -1
- cosmotech_api/model/validator.py +1 -1
- cosmotech_api/model/validator_run.py +1 -1
- cosmotech_api/model/workspace.py +1 -1
- cosmotech_api/model/workspace_access_control.py +1 -1
- cosmotech_api/model/workspace_file.py +1 -1
- cosmotech_api/model/workspace_role.py +1 -1
- cosmotech_api/model/workspace_secret.py +1 -1
- cosmotech_api/model/workspace_security.py +1 -1
- cosmotech_api/model/workspace_solution.py +1 -1
- cosmotech_api/model/workspace_web_app.py +1 -1
- cosmotech_api/model_utils.py +1 -1
- cosmotech_api/models/__init__.py +3 -42
- cosmotech_api/models/component_role_permissions.py +7 -7
- cosmotech_api/models/connector.py +11 -15
- cosmotech_api/models/connector_parameter.py +7 -7
- cosmotech_api/models/connector_parameter_group.py +10 -10
- cosmotech_api/models/container_resource_size_info.py +7 -7
- cosmotech_api/models/container_resource_sizing.py +7 -7
- cosmotech_api/models/created_run.py +88 -0
- cosmotech_api/models/dataset.py +10 -10
- cosmotech_api/models/dataset_access_control.py +7 -7
- cosmotech_api/models/dataset_compatibility.py +7 -7
- cosmotech_api/models/dataset_connector.py +7 -7
- cosmotech_api/models/dataset_copy_parameters.py +7 -7
- cosmotech_api/models/dataset_role.py +7 -7
- cosmotech_api/models/dataset_search.py +7 -7
- cosmotech_api/models/dataset_security.py +10 -10
- cosmotech_api/models/dataset_source_type.py +1 -1
- cosmotech_api/models/dataset_twin_graph_hash.py +7 -7
- cosmotech_api/models/dataset_twin_graph_info.py +7 -7
- cosmotech_api/models/dataset_twin_graph_query.py +7 -7
- cosmotech_api/models/delete_historical_data.py +7 -7
- cosmotech_api/models/file_upload_metadata.py +7 -7
- cosmotech_api/models/file_upload_validation.py +13 -13
- cosmotech_api/models/graph_properties.py +7 -7
- cosmotech_api/models/ingestion_status_enum.py +1 -1
- cosmotech_api/models/io_types_enum.py +1 -1
- cosmotech_api/models/organization.py +8 -14
- cosmotech_api/models/organization_access_control.py +7 -7
- cosmotech_api/models/organization_role.py +7 -7
- cosmotech_api/models/organization_security.py +10 -10
- cosmotech_api/models/organization_service.py +1 -1
- cosmotech_api/models/organization_services.py +1 -1
- cosmotech_api/models/query_result.py +7 -7
- cosmotech_api/models/resource_size_info.py +7 -7
- cosmotech_api/models/run.py +13 -13
- cosmotech_api/models/run_container.py +9 -19
- cosmotech_api/models/run_container_artifact.py +1 -1
- cosmotech_api/models/run_container_logs.py +1 -1
- cosmotech_api/models/run_data.py +7 -7
- cosmotech_api/models/run_data_query.py +7 -7
- cosmotech_api/models/run_logs.py +22 -27
- cosmotech_api/models/run_logs_entry.py +88 -0
- cosmotech_api/models/run_resource_requested.py +7 -7
- cosmotech_api/models/run_search.py +1 -1
- cosmotech_api/models/run_search_state.py +1 -1
- cosmotech_api/models/run_start_containers.py +1 -1
- cosmotech_api/models/run_state.py +1 -1
- cosmotech_api/models/run_status.py +10 -10
- cosmotech_api/models/run_status_node.py +7 -7
- cosmotech_api/models/run_template.py +7 -7
- cosmotech_api/models/run_template_handler_id.py +1 -1
- cosmotech_api/models/run_template_orchestrator.py +1 -1
- cosmotech_api/models/run_template_parameter.py +7 -7
- cosmotech_api/models/run_template_parameter_group.py +7 -7
- cosmotech_api/models/run_template_parameter_value.py +7 -7
- cosmotech_api/models/run_template_resource_sizing.py +7 -7
- cosmotech_api/models/run_template_step_source.py +1 -1
- cosmotech_api/models/runner.py +11 -11
- cosmotech_api/models/runner_access_control.py +7 -7
- cosmotech_api/models/runner_changed_parameter_value.py +1 -1
- cosmotech_api/models/runner_comparison_result.py +1 -1
- cosmotech_api/models/runner_data_download_info.py +1 -1
- cosmotech_api/models/runner_data_download_job.py +1 -1
- cosmotech_api/models/runner_resource_sizing.py +7 -7
- cosmotech_api/models/runner_role.py +7 -7
- cosmotech_api/models/runner_run_template_parameter_value.py +7 -7
- cosmotech_api/models/runner_security.py +10 -10
- cosmotech_api/models/runner_validation_status.py +1 -1
- cosmotech_api/models/scenario.py +2 -2
- cosmotech_api/models/scenario_access_control.py +1 -1
- cosmotech_api/models/scenario_changed_parameter_value.py +1 -1
- cosmotech_api/models/scenario_comparison_result.py +1 -1
- cosmotech_api/models/scenario_data_download_info.py +1 -1
- cosmotech_api/models/scenario_data_download_job.py +1 -1
- cosmotech_api/models/scenario_job_state.py +1 -1
- cosmotech_api/models/scenario_last_run.py +1 -1
- cosmotech_api/models/scenario_resource_sizing.py +1 -1
- cosmotech_api/models/scenario_role.py +1 -1
- cosmotech_api/models/scenario_run.py +1 -1
- cosmotech_api/models/scenario_run_container.py +1 -1
- cosmotech_api/models/scenario_run_container_artifact.py +1 -1
- cosmotech_api/models/scenario_run_container_logs.py +1 -1
- cosmotech_api/models/scenario_run_logs.py +1 -1
- cosmotech_api/models/scenario_run_resource_requested.py +1 -1
- cosmotech_api/models/scenario_run_search.py +1 -1
- cosmotech_api/models/scenario_run_search_state.py +1 -1
- cosmotech_api/models/scenario_run_start_containers.py +1 -1
- cosmotech_api/models/scenario_run_state.py +1 -1
- cosmotech_api/models/scenario_run_status.py +1 -1
- cosmotech_api/models/scenario_run_status_node.py +1 -1
- cosmotech_api/models/scenario_run_template_parameter_value.py +1 -1
- cosmotech_api/models/scenario_security.py +1 -1
- cosmotech_api/models/scenario_validation_status.py +1 -1
- cosmotech_api/models/send_run_data_request.py +7 -7
- cosmotech_api/models/solution.py +17 -17
- cosmotech_api/models/solution_access_control.py +7 -7
- cosmotech_api/models/solution_role.py +7 -7
- cosmotech_api/models/solution_security.py +10 -10
- cosmotech_api/models/source_info.py +7 -7
- cosmotech_api/models/sub_dataset_graph_query.py +7 -7
- cosmotech_api/models/twin_graph_batch_result.py +7 -7
- cosmotech_api/models/twin_graph_hash.py +1 -1
- cosmotech_api/models/twin_graph_query.py +1 -1
- cosmotech_api/models/twincache_status_enum.py +1 -1
- cosmotech_api/models/validator.py +1 -1
- cosmotech_api/models/workspace.py +8 -8
- cosmotech_api/models/workspace_access_control.py +7 -7
- cosmotech_api/models/workspace_file.py +7 -7
- cosmotech_api/models/workspace_role.py +7 -7
- cosmotech_api/models/workspace_secret.py +1 -1
- cosmotech_api/models/workspace_security.py +10 -10
- cosmotech_api/models/workspace_solution.py +7 -7
- cosmotech_api/models/workspace_web_app.py +7 -7
- cosmotech_api/rest.py +3 -1
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/METADATA +1 -1
- cosmotech_api-4.0.0.dev8.dist-info/RECORD +262 -0
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/WHEEL +1 -1
- cosmotech_api-3.2.6.dev2.dist-info/RECORD +0 -260
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/LICENSE +0 -0
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Cosmo Tech Platform API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 4.0.0-onprem.8
|
|
9
9
|
Contact: platform@cosmotech.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -18,14 +18,13 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictInt, StrictStr
|
|
21
|
-
from typing import
|
|
21
|
+
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from cosmotech_api.models.component_role_permissions import ComponentRolePermissions
|
|
24
24
|
from cosmotech_api.models.organization import Organization
|
|
25
25
|
from cosmotech_api.models.organization_access_control import OrganizationAccessControl
|
|
26
26
|
from cosmotech_api.models.organization_role import OrganizationRole
|
|
27
27
|
from cosmotech_api.models.organization_security import OrganizationSecurity
|
|
28
|
-
from cosmotech_api.models.organization_service import OrganizationService
|
|
29
28
|
|
|
30
29
|
from cosmotech_api.api_client import ApiClient, RequestSerialized
|
|
31
30
|
from cosmotech_api.api_response import ApiResponse
|
|
@@ -273,7 +272,7 @@ class OrganizationApi:
|
|
|
273
272
|
_query_params: List[Tuple[str, str]] = []
|
|
274
273
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
275
274
|
_form_params: List[Tuple[str, str]] = []
|
|
276
|
-
_files: Dict[str, str] = {}
|
|
275
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
277
276
|
_body_params: Optional[bytes] = None
|
|
278
277
|
|
|
279
278
|
# process the path parameters
|
|
@@ -288,11 +287,12 @@ class OrganizationApi:
|
|
|
288
287
|
|
|
289
288
|
|
|
290
289
|
# set the HTTP header `Accept`
|
|
291
|
-
|
|
292
|
-
[
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
290
|
+
if 'Accept' not in _header_params:
|
|
291
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
292
|
+
[
|
|
293
|
+
'application/json'
|
|
294
|
+
]
|
|
295
|
+
)
|
|
296
296
|
|
|
297
297
|
# set the HTTP header `Content-Type`
|
|
298
298
|
if _content_type:
|
|
@@ -335,7 +335,7 @@ class OrganizationApi:
|
|
|
335
335
|
@validate_call
|
|
336
336
|
def find_all_organizations(
|
|
337
337
|
self,
|
|
338
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
338
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
339
339
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
340
340
|
_request_timeout: Union[
|
|
341
341
|
None,
|
|
@@ -353,7 +353,7 @@ class OrganizationApi:
|
|
|
353
353
|
"""List all Organizations
|
|
354
354
|
|
|
355
355
|
|
|
356
|
-
:param page: page number to query
|
|
356
|
+
:param page: page number to query (first page is at index 0)
|
|
357
357
|
:type page: int
|
|
358
358
|
:param size: amount of result by page
|
|
359
359
|
:type size: int
|
|
@@ -405,7 +405,7 @@ class OrganizationApi:
|
|
|
405
405
|
@validate_call
|
|
406
406
|
def find_all_organizations_with_http_info(
|
|
407
407
|
self,
|
|
408
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
408
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
409
409
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
410
410
|
_request_timeout: Union[
|
|
411
411
|
None,
|
|
@@ -423,7 +423,7 @@ class OrganizationApi:
|
|
|
423
423
|
"""List all Organizations
|
|
424
424
|
|
|
425
425
|
|
|
426
|
-
:param page: page number to query
|
|
426
|
+
:param page: page number to query (first page is at index 0)
|
|
427
427
|
:type page: int
|
|
428
428
|
:param size: amount of result by page
|
|
429
429
|
:type size: int
|
|
@@ -475,7 +475,7 @@ class OrganizationApi:
|
|
|
475
475
|
@validate_call
|
|
476
476
|
def find_all_organizations_without_preload_content(
|
|
477
477
|
self,
|
|
478
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
478
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
479
479
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
480
480
|
_request_timeout: Union[
|
|
481
481
|
None,
|
|
@@ -493,7 +493,7 @@ class OrganizationApi:
|
|
|
493
493
|
"""List all Organizations
|
|
494
494
|
|
|
495
495
|
|
|
496
|
-
:param page: page number to query
|
|
496
|
+
:param page: page number to query (first page is at index 0)
|
|
497
497
|
:type page: int
|
|
498
498
|
:param size: amount of result by page
|
|
499
499
|
:type size: int
|
|
@@ -557,7 +557,7 @@ class OrganizationApi:
|
|
|
557
557
|
_query_params: List[Tuple[str, str]] = []
|
|
558
558
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
559
559
|
_form_params: List[Tuple[str, str]] = []
|
|
560
|
-
_files: Dict[str, str] = {}
|
|
560
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
561
561
|
_body_params: Optional[bytes] = None
|
|
562
562
|
|
|
563
563
|
# process the path parameters
|
|
@@ -576,11 +576,12 @@ class OrganizationApi:
|
|
|
576
576
|
|
|
577
577
|
|
|
578
578
|
# set the HTTP header `Accept`
|
|
579
|
-
|
|
580
|
-
[
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
579
|
+
if 'Accept' not in _header_params:
|
|
580
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
581
|
+
[
|
|
582
|
+
'application/json'
|
|
583
|
+
]
|
|
584
|
+
)
|
|
584
585
|
|
|
585
586
|
|
|
586
587
|
# authentication setting
|
|
@@ -821,7 +822,7 @@ class OrganizationApi:
|
|
|
821
822
|
_query_params: List[Tuple[str, str]] = []
|
|
822
823
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
823
824
|
_form_params: List[Tuple[str, str]] = []
|
|
824
|
-
_files: Dict[str, str] = {}
|
|
825
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
825
826
|
_body_params: Optional[bytes] = None
|
|
826
827
|
|
|
827
828
|
# process the path parameters
|
|
@@ -834,11 +835,12 @@ class OrganizationApi:
|
|
|
834
835
|
|
|
835
836
|
|
|
836
837
|
# set the HTTP header `Accept`
|
|
837
|
-
|
|
838
|
-
[
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
838
|
+
if 'Accept' not in _header_params:
|
|
839
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
840
|
+
[
|
|
841
|
+
'application/json'
|
|
842
|
+
]
|
|
843
|
+
)
|
|
842
844
|
|
|
843
845
|
|
|
844
846
|
# authentication setting
|
|
@@ -1063,7 +1065,7 @@ class OrganizationApi:
|
|
|
1063
1065
|
_query_params: List[Tuple[str, str]] = []
|
|
1064
1066
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1065
1067
|
_form_params: List[Tuple[str, str]] = []
|
|
1066
|
-
_files: Dict[str, str] = {}
|
|
1068
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1067
1069
|
_body_params: Optional[bytes] = None
|
|
1068
1070
|
|
|
1069
1071
|
# process the path parameters
|
|
@@ -1074,11 +1076,12 @@ class OrganizationApi:
|
|
|
1074
1076
|
|
|
1075
1077
|
|
|
1076
1078
|
# set the HTTP header `Accept`
|
|
1077
|
-
|
|
1078
|
-
[
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1079
|
+
if 'Accept' not in _header_params:
|
|
1080
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1081
|
+
[
|
|
1082
|
+
'application/json'
|
|
1083
|
+
]
|
|
1084
|
+
)
|
|
1082
1085
|
|
|
1083
1086
|
|
|
1084
1087
|
# authentication setting
|
|
@@ -1332,7 +1335,7 @@ class OrganizationApi:
|
|
|
1332
1335
|
_query_params: List[Tuple[str, str]] = []
|
|
1333
1336
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1334
1337
|
_form_params: List[Tuple[str, str]] = []
|
|
1335
|
-
_files: Dict[str, str] = {}
|
|
1338
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1336
1339
|
_body_params: Optional[bytes] = None
|
|
1337
1340
|
|
|
1338
1341
|
# process the path parameters
|
|
@@ -1347,11 +1350,12 @@ class OrganizationApi:
|
|
|
1347
1350
|
|
|
1348
1351
|
|
|
1349
1352
|
# set the HTTP header `Accept`
|
|
1350
|
-
|
|
1351
|
-
[
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1353
|
+
if 'Accept' not in _header_params:
|
|
1354
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1355
|
+
[
|
|
1356
|
+
'application/json'
|
|
1357
|
+
]
|
|
1358
|
+
)
|
|
1355
1359
|
|
|
1356
1360
|
|
|
1357
1361
|
# authentication setting
|
|
@@ -1602,7 +1606,7 @@ class OrganizationApi:
|
|
|
1602
1606
|
_query_params: List[Tuple[str, str]] = []
|
|
1603
1607
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1604
1608
|
_form_params: List[Tuple[str, str]] = []
|
|
1605
|
-
_files: Dict[str, str] = {}
|
|
1609
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1606
1610
|
_body_params: Optional[bytes] = None
|
|
1607
1611
|
|
|
1608
1612
|
# process the path parameters
|
|
@@ -1617,11 +1621,12 @@ class OrganizationApi:
|
|
|
1617
1621
|
|
|
1618
1622
|
|
|
1619
1623
|
# set the HTTP header `Accept`
|
|
1620
|
-
|
|
1621
|
-
[
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1624
|
+
if 'Accept' not in _header_params:
|
|
1625
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1626
|
+
[
|
|
1627
|
+
'application/json'
|
|
1628
|
+
]
|
|
1629
|
+
)
|
|
1625
1630
|
|
|
1626
1631
|
|
|
1627
1632
|
# authentication setting
|
|
@@ -1862,7 +1867,7 @@ class OrganizationApi:
|
|
|
1862
1867
|
_query_params: List[Tuple[str, str]] = []
|
|
1863
1868
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1864
1869
|
_form_params: List[Tuple[str, str]] = []
|
|
1865
|
-
_files: Dict[str, str] = {}
|
|
1870
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1866
1871
|
_body_params: Optional[bytes] = None
|
|
1867
1872
|
|
|
1868
1873
|
# process the path parameters
|
|
@@ -1875,11 +1880,12 @@ class OrganizationApi:
|
|
|
1875
1880
|
|
|
1876
1881
|
|
|
1877
1882
|
# set the HTTP header `Accept`
|
|
1878
|
-
|
|
1879
|
-
[
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
+
if 'Accept' not in _header_params:
|
|
1884
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1885
|
+
[
|
|
1886
|
+
'application/json'
|
|
1887
|
+
]
|
|
1888
|
+
)
|
|
1883
1889
|
|
|
1884
1890
|
|
|
1885
1891
|
# authentication setting
|
|
@@ -2120,7 +2126,7 @@ class OrganizationApi:
|
|
|
2120
2126
|
_query_params: List[Tuple[str, str]] = []
|
|
2121
2127
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2122
2128
|
_form_params: List[Tuple[str, str]] = []
|
|
2123
|
-
_files: Dict[str, str] = {}
|
|
2129
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2124
2130
|
_body_params: Optional[bytes] = None
|
|
2125
2131
|
|
|
2126
2132
|
# process the path parameters
|
|
@@ -2133,11 +2139,12 @@ class OrganizationApi:
|
|
|
2133
2139
|
|
|
2134
2140
|
|
|
2135
2141
|
# set the HTTP header `Accept`
|
|
2136
|
-
|
|
2137
|
-
[
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2142
|
+
if 'Accept' not in _header_params:
|
|
2143
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2144
|
+
[
|
|
2145
|
+
'application/json'
|
|
2146
|
+
]
|
|
2147
|
+
)
|
|
2141
2148
|
|
|
2142
2149
|
|
|
2143
2150
|
# authentication setting
|
|
@@ -2378,7 +2385,7 @@ class OrganizationApi:
|
|
|
2378
2385
|
_query_params: List[Tuple[str, str]] = []
|
|
2379
2386
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2380
2387
|
_form_params: List[Tuple[str, str]] = []
|
|
2381
|
-
_files: Dict[str, str] = {}
|
|
2388
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2382
2389
|
_body_params: Optional[bytes] = None
|
|
2383
2390
|
|
|
2384
2391
|
# process the path parameters
|
|
@@ -2391,11 +2398,12 @@ class OrganizationApi:
|
|
|
2391
2398
|
|
|
2392
2399
|
|
|
2393
2400
|
# set the HTTP header `Accept`
|
|
2394
|
-
|
|
2395
|
-
[
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2401
|
+
if 'Accept' not in _header_params:
|
|
2402
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2403
|
+
[
|
|
2404
|
+
'application/json'
|
|
2405
|
+
]
|
|
2406
|
+
)
|
|
2399
2407
|
|
|
2400
2408
|
# set the HTTP header `Content-Type`
|
|
2401
2409
|
if _content_type:
|
|
@@ -2663,7 +2671,7 @@ class OrganizationApi:
|
|
|
2663
2671
|
_query_params: List[Tuple[str, str]] = []
|
|
2664
2672
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2665
2673
|
_form_params: List[Tuple[str, str]] = []
|
|
2666
|
-
_files: Dict[str, str] = {}
|
|
2674
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2667
2675
|
_body_params: Optional[bytes] = None
|
|
2668
2676
|
|
|
2669
2677
|
# process the path parameters
|
|
@@ -2930,7 +2938,7 @@ class OrganizationApi:
|
|
|
2930
2938
|
_query_params: List[Tuple[str, str]] = []
|
|
2931
2939
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2932
2940
|
_form_params: List[Tuple[str, str]] = []
|
|
2933
|
-
_files: Dict[str, str] = {}
|
|
2941
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2934
2942
|
_body_params: Optional[bytes] = None
|
|
2935
2943
|
|
|
2936
2944
|
# process the path parameters
|
|
@@ -2945,11 +2953,12 @@ class OrganizationApi:
|
|
|
2945
2953
|
|
|
2946
2954
|
|
|
2947
2955
|
# set the HTTP header `Accept`
|
|
2948
|
-
|
|
2949
|
-
[
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2956
|
+
if 'Accept' not in _header_params:
|
|
2957
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2958
|
+
[
|
|
2959
|
+
'application/json'
|
|
2960
|
+
]
|
|
2961
|
+
)
|
|
2953
2962
|
|
|
2954
2963
|
# set the HTTP header `Content-Type`
|
|
2955
2964
|
if _content_type:
|
|
@@ -3204,7 +3213,7 @@ class OrganizationApi:
|
|
|
3204
3213
|
_query_params: List[Tuple[str, str]] = []
|
|
3205
3214
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3206
3215
|
_form_params: List[Tuple[str, str]] = []
|
|
3207
|
-
_files: Dict[str, str] = {}
|
|
3216
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3208
3217
|
_body_params: Optional[bytes] = None
|
|
3209
3218
|
|
|
3210
3219
|
# process the path parameters
|
|
@@ -3472,7 +3481,7 @@ class OrganizationApi:
|
|
|
3472
3481
|
_query_params: List[Tuple[str, str]] = []
|
|
3473
3482
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3474
3483
|
_form_params: List[Tuple[str, str]] = []
|
|
3475
|
-
_files: Dict[str, str] = {}
|
|
3484
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3476
3485
|
_body_params: Optional[bytes] = None
|
|
3477
3486
|
|
|
3478
3487
|
# process the path parameters
|
|
@@ -3487,11 +3496,12 @@ class OrganizationApi:
|
|
|
3487
3496
|
|
|
3488
3497
|
|
|
3489
3498
|
# set the HTTP header `Accept`
|
|
3490
|
-
|
|
3491
|
-
[
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3499
|
+
if 'Accept' not in _header_params:
|
|
3500
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3501
|
+
[
|
|
3502
|
+
'application/json'
|
|
3503
|
+
]
|
|
3504
|
+
)
|
|
3495
3505
|
|
|
3496
3506
|
# set the HTTP header `Content-Type`
|
|
3497
3507
|
if _content_type:
|
|
@@ -3772,7 +3782,7 @@ class OrganizationApi:
|
|
|
3772
3782
|
_query_params: List[Tuple[str, str]] = []
|
|
3773
3783
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3774
3784
|
_form_params: List[Tuple[str, str]] = []
|
|
3775
|
-
_files: Dict[str, str] = {}
|
|
3785
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3776
3786
|
_body_params: Optional[bytes] = None
|
|
3777
3787
|
|
|
3778
3788
|
# process the path parameters
|
|
@@ -3789,11 +3799,12 @@ class OrganizationApi:
|
|
|
3789
3799
|
|
|
3790
3800
|
|
|
3791
3801
|
# set the HTTP header `Accept`
|
|
3792
|
-
|
|
3793
|
-
[
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3802
|
+
if 'Accept' not in _header_params:
|
|
3803
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3804
|
+
[
|
|
3805
|
+
'application/json'
|
|
3806
|
+
]
|
|
3807
|
+
)
|
|
3797
3808
|
|
|
3798
3809
|
# set the HTTP header `Content-Type`
|
|
3799
3810
|
if _content_type:
|
|
@@ -3830,863 +3841,3 @@ class OrganizationApi:
|
|
|
3830
3841
|
)
|
|
3831
3842
|
|
|
3832
3843
|
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
@validate_call
|
|
3836
|
-
def update_solutions_container_registry_by_organization_id(
|
|
3837
|
-
self,
|
|
3838
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3839
|
-
organization_service: Annotated[OrganizationService, Field(description="the new solutions container registry configuration to use")],
|
|
3840
|
-
_request_timeout: Union[
|
|
3841
|
-
None,
|
|
3842
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3843
|
-
Tuple[
|
|
3844
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3845
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3846
|
-
]
|
|
3847
|
-
] = None,
|
|
3848
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3849
|
-
_content_type: Optional[StrictStr] = None,
|
|
3850
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3851
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3852
|
-
) -> OrganizationService:
|
|
3853
|
-
"""Update the solutions container registry configuration for the Organization specified
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
:param organization_id: the Organization identifier (required)
|
|
3857
|
-
:type organization_id: str
|
|
3858
|
-
:param organization_service: the new solutions container registry configuration to use (required)
|
|
3859
|
-
:type organization_service: OrganizationService
|
|
3860
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3861
|
-
number provided, it will be total request
|
|
3862
|
-
timeout. It can also be a pair (tuple) of
|
|
3863
|
-
(connection, read) timeouts.
|
|
3864
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3865
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3866
|
-
request; this effectively ignores the
|
|
3867
|
-
authentication in the spec for a single request.
|
|
3868
|
-
:type _request_auth: dict, optional
|
|
3869
|
-
:param _content_type: force content-type for the request.
|
|
3870
|
-
:type _content_type: str, Optional
|
|
3871
|
-
:param _headers: set to override the headers for a single
|
|
3872
|
-
request; this effectively ignores the headers
|
|
3873
|
-
in the spec for a single request.
|
|
3874
|
-
:type _headers: dict, optional
|
|
3875
|
-
:param _host_index: set to override the host_index for a single
|
|
3876
|
-
request; this effectively ignores the host_index
|
|
3877
|
-
in the spec for a single request.
|
|
3878
|
-
:type _host_index: int, optional
|
|
3879
|
-
:return: Returns the result object.
|
|
3880
|
-
""" # noqa: E501
|
|
3881
|
-
|
|
3882
|
-
_param = self._update_solutions_container_registry_by_organization_id_serialize(
|
|
3883
|
-
organization_id=organization_id,
|
|
3884
|
-
organization_service=organization_service,
|
|
3885
|
-
_request_auth=_request_auth,
|
|
3886
|
-
_content_type=_content_type,
|
|
3887
|
-
_headers=_headers,
|
|
3888
|
-
_host_index=_host_index
|
|
3889
|
-
)
|
|
3890
|
-
|
|
3891
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
3892
|
-
'200': "OrganizationService",
|
|
3893
|
-
'404': None,
|
|
3894
|
-
}
|
|
3895
|
-
response_data = self.api_client.call_api(
|
|
3896
|
-
*_param,
|
|
3897
|
-
_request_timeout=_request_timeout
|
|
3898
|
-
)
|
|
3899
|
-
response_data.read()
|
|
3900
|
-
return self.api_client.response_deserialize(
|
|
3901
|
-
response_data=response_data,
|
|
3902
|
-
response_types_map=_response_types_map,
|
|
3903
|
-
).data
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
@validate_call
|
|
3907
|
-
def update_solutions_container_registry_by_organization_id_with_http_info(
|
|
3908
|
-
self,
|
|
3909
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3910
|
-
organization_service: Annotated[OrganizationService, Field(description="the new solutions container registry configuration to use")],
|
|
3911
|
-
_request_timeout: Union[
|
|
3912
|
-
None,
|
|
3913
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3914
|
-
Tuple[
|
|
3915
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3916
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3917
|
-
]
|
|
3918
|
-
] = None,
|
|
3919
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3920
|
-
_content_type: Optional[StrictStr] = None,
|
|
3921
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3922
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3923
|
-
) -> ApiResponse[OrganizationService]:
|
|
3924
|
-
"""Update the solutions container registry configuration for the Organization specified
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
:param organization_id: the Organization identifier (required)
|
|
3928
|
-
:type organization_id: str
|
|
3929
|
-
:param organization_service: the new solutions container registry configuration to use (required)
|
|
3930
|
-
:type organization_service: OrganizationService
|
|
3931
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3932
|
-
number provided, it will be total request
|
|
3933
|
-
timeout. It can also be a pair (tuple) of
|
|
3934
|
-
(connection, read) timeouts.
|
|
3935
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3936
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3937
|
-
request; this effectively ignores the
|
|
3938
|
-
authentication in the spec for a single request.
|
|
3939
|
-
:type _request_auth: dict, optional
|
|
3940
|
-
:param _content_type: force content-type for the request.
|
|
3941
|
-
:type _content_type: str, Optional
|
|
3942
|
-
:param _headers: set to override the headers for a single
|
|
3943
|
-
request; this effectively ignores the headers
|
|
3944
|
-
in the spec for a single request.
|
|
3945
|
-
:type _headers: dict, optional
|
|
3946
|
-
:param _host_index: set to override the host_index for a single
|
|
3947
|
-
request; this effectively ignores the host_index
|
|
3948
|
-
in the spec for a single request.
|
|
3949
|
-
:type _host_index: int, optional
|
|
3950
|
-
:return: Returns the result object.
|
|
3951
|
-
""" # noqa: E501
|
|
3952
|
-
|
|
3953
|
-
_param = self._update_solutions_container_registry_by_organization_id_serialize(
|
|
3954
|
-
organization_id=organization_id,
|
|
3955
|
-
organization_service=organization_service,
|
|
3956
|
-
_request_auth=_request_auth,
|
|
3957
|
-
_content_type=_content_type,
|
|
3958
|
-
_headers=_headers,
|
|
3959
|
-
_host_index=_host_index
|
|
3960
|
-
)
|
|
3961
|
-
|
|
3962
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
3963
|
-
'200': "OrganizationService",
|
|
3964
|
-
'404': None,
|
|
3965
|
-
}
|
|
3966
|
-
response_data = self.api_client.call_api(
|
|
3967
|
-
*_param,
|
|
3968
|
-
_request_timeout=_request_timeout
|
|
3969
|
-
)
|
|
3970
|
-
response_data.read()
|
|
3971
|
-
return self.api_client.response_deserialize(
|
|
3972
|
-
response_data=response_data,
|
|
3973
|
-
response_types_map=_response_types_map,
|
|
3974
|
-
)
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
@validate_call
|
|
3978
|
-
def update_solutions_container_registry_by_organization_id_without_preload_content(
|
|
3979
|
-
self,
|
|
3980
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3981
|
-
organization_service: Annotated[OrganizationService, Field(description="the new solutions container registry configuration to use")],
|
|
3982
|
-
_request_timeout: Union[
|
|
3983
|
-
None,
|
|
3984
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3985
|
-
Tuple[
|
|
3986
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3987
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3988
|
-
]
|
|
3989
|
-
] = None,
|
|
3990
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3991
|
-
_content_type: Optional[StrictStr] = None,
|
|
3992
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3993
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3994
|
-
) -> RESTResponseType:
|
|
3995
|
-
"""Update the solutions container registry configuration for the Organization specified
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
:param organization_id: the Organization identifier (required)
|
|
3999
|
-
:type organization_id: str
|
|
4000
|
-
:param organization_service: the new solutions container registry configuration to use (required)
|
|
4001
|
-
:type organization_service: OrganizationService
|
|
4002
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4003
|
-
number provided, it will be total request
|
|
4004
|
-
timeout. It can also be a pair (tuple) of
|
|
4005
|
-
(connection, read) timeouts.
|
|
4006
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4007
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4008
|
-
request; this effectively ignores the
|
|
4009
|
-
authentication in the spec for a single request.
|
|
4010
|
-
:type _request_auth: dict, optional
|
|
4011
|
-
:param _content_type: force content-type for the request.
|
|
4012
|
-
:type _content_type: str, Optional
|
|
4013
|
-
:param _headers: set to override the headers for a single
|
|
4014
|
-
request; this effectively ignores the headers
|
|
4015
|
-
in the spec for a single request.
|
|
4016
|
-
:type _headers: dict, optional
|
|
4017
|
-
:param _host_index: set to override the host_index for a single
|
|
4018
|
-
request; this effectively ignores the host_index
|
|
4019
|
-
in the spec for a single request.
|
|
4020
|
-
:type _host_index: int, optional
|
|
4021
|
-
:return: Returns the result object.
|
|
4022
|
-
""" # noqa: E501
|
|
4023
|
-
|
|
4024
|
-
_param = self._update_solutions_container_registry_by_organization_id_serialize(
|
|
4025
|
-
organization_id=organization_id,
|
|
4026
|
-
organization_service=organization_service,
|
|
4027
|
-
_request_auth=_request_auth,
|
|
4028
|
-
_content_type=_content_type,
|
|
4029
|
-
_headers=_headers,
|
|
4030
|
-
_host_index=_host_index
|
|
4031
|
-
)
|
|
4032
|
-
|
|
4033
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4034
|
-
'200': "OrganizationService",
|
|
4035
|
-
'404': None,
|
|
4036
|
-
}
|
|
4037
|
-
response_data = self.api_client.call_api(
|
|
4038
|
-
*_param,
|
|
4039
|
-
_request_timeout=_request_timeout
|
|
4040
|
-
)
|
|
4041
|
-
return response_data.response
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
def _update_solutions_container_registry_by_organization_id_serialize(
|
|
4045
|
-
self,
|
|
4046
|
-
organization_id,
|
|
4047
|
-
organization_service,
|
|
4048
|
-
_request_auth,
|
|
4049
|
-
_content_type,
|
|
4050
|
-
_headers,
|
|
4051
|
-
_host_index,
|
|
4052
|
-
) -> RequestSerialized:
|
|
4053
|
-
|
|
4054
|
-
_host = None
|
|
4055
|
-
|
|
4056
|
-
_collection_formats: Dict[str, str] = {
|
|
4057
|
-
}
|
|
4058
|
-
|
|
4059
|
-
_path_params: Dict[str, str] = {}
|
|
4060
|
-
_query_params: List[Tuple[str, str]] = []
|
|
4061
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4062
|
-
_form_params: List[Tuple[str, str]] = []
|
|
4063
|
-
_files: Dict[str, str] = {}
|
|
4064
|
-
_body_params: Optional[bytes] = None
|
|
4065
|
-
|
|
4066
|
-
# process the path parameters
|
|
4067
|
-
if organization_id is not None:
|
|
4068
|
-
_path_params['organization_id'] = organization_id
|
|
4069
|
-
# process the query parameters
|
|
4070
|
-
# process the header parameters
|
|
4071
|
-
# process the form parameters
|
|
4072
|
-
# process the body parameter
|
|
4073
|
-
if organization_service is not None:
|
|
4074
|
-
_body_params = organization_service
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
# set the HTTP header `Accept`
|
|
4078
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4079
|
-
[
|
|
4080
|
-
'application/json'
|
|
4081
|
-
]
|
|
4082
|
-
)
|
|
4083
|
-
|
|
4084
|
-
# set the HTTP header `Content-Type`
|
|
4085
|
-
if _content_type:
|
|
4086
|
-
_header_params['Content-Type'] = _content_type
|
|
4087
|
-
else:
|
|
4088
|
-
_default_content_type = (
|
|
4089
|
-
self.api_client.select_header_content_type(
|
|
4090
|
-
[
|
|
4091
|
-
'application/json',
|
|
4092
|
-
'application/yaml'
|
|
4093
|
-
]
|
|
4094
|
-
)
|
|
4095
|
-
)
|
|
4096
|
-
if _default_content_type is not None:
|
|
4097
|
-
_header_params['Content-Type'] = _default_content_type
|
|
4098
|
-
|
|
4099
|
-
# authentication setting
|
|
4100
|
-
_auth_settings: List[str] = [
|
|
4101
|
-
'oAuth2AuthCode'
|
|
4102
|
-
]
|
|
4103
|
-
|
|
4104
|
-
return self.api_client.param_serialize(
|
|
4105
|
-
method='PATCH',
|
|
4106
|
-
resource_path='/organizations/{organization_id}/services/solutionsContainerRegistry',
|
|
4107
|
-
path_params=_path_params,
|
|
4108
|
-
query_params=_query_params,
|
|
4109
|
-
header_params=_header_params,
|
|
4110
|
-
body=_body_params,
|
|
4111
|
-
post_params=_form_params,
|
|
4112
|
-
files=_files,
|
|
4113
|
-
auth_settings=_auth_settings,
|
|
4114
|
-
collection_formats=_collection_formats,
|
|
4115
|
-
_host=_host,
|
|
4116
|
-
_request_auth=_request_auth
|
|
4117
|
-
)
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
@validate_call
|
|
4123
|
-
def update_storage_by_organization_id(
|
|
4124
|
-
self,
|
|
4125
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4126
|
-
organization_service: Annotated[OrganizationService, Field(description="the new Storage configuration to use")],
|
|
4127
|
-
_request_timeout: Union[
|
|
4128
|
-
None,
|
|
4129
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4130
|
-
Tuple[
|
|
4131
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4132
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4133
|
-
]
|
|
4134
|
-
] = None,
|
|
4135
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4136
|
-
_content_type: Optional[StrictStr] = None,
|
|
4137
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4138
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4139
|
-
) -> OrganizationService:
|
|
4140
|
-
"""Update storage configuration for the Organization specified
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
:param organization_id: the Organization identifier (required)
|
|
4144
|
-
:type organization_id: str
|
|
4145
|
-
:param organization_service: the new Storage configuration to use (required)
|
|
4146
|
-
:type organization_service: OrganizationService
|
|
4147
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4148
|
-
number provided, it will be total request
|
|
4149
|
-
timeout. It can also be a pair (tuple) of
|
|
4150
|
-
(connection, read) timeouts.
|
|
4151
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4152
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4153
|
-
request; this effectively ignores the
|
|
4154
|
-
authentication in the spec for a single request.
|
|
4155
|
-
:type _request_auth: dict, optional
|
|
4156
|
-
:param _content_type: force content-type for the request.
|
|
4157
|
-
:type _content_type: str, Optional
|
|
4158
|
-
:param _headers: set to override the headers for a single
|
|
4159
|
-
request; this effectively ignores the headers
|
|
4160
|
-
in the spec for a single request.
|
|
4161
|
-
:type _headers: dict, optional
|
|
4162
|
-
:param _host_index: set to override the host_index for a single
|
|
4163
|
-
request; this effectively ignores the host_index
|
|
4164
|
-
in the spec for a single request.
|
|
4165
|
-
:type _host_index: int, optional
|
|
4166
|
-
:return: Returns the result object.
|
|
4167
|
-
""" # noqa: E501
|
|
4168
|
-
|
|
4169
|
-
_param = self._update_storage_by_organization_id_serialize(
|
|
4170
|
-
organization_id=organization_id,
|
|
4171
|
-
organization_service=organization_service,
|
|
4172
|
-
_request_auth=_request_auth,
|
|
4173
|
-
_content_type=_content_type,
|
|
4174
|
-
_headers=_headers,
|
|
4175
|
-
_host_index=_host_index
|
|
4176
|
-
)
|
|
4177
|
-
|
|
4178
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4179
|
-
'200': "OrganizationService",
|
|
4180
|
-
'404': None,
|
|
4181
|
-
}
|
|
4182
|
-
response_data = self.api_client.call_api(
|
|
4183
|
-
*_param,
|
|
4184
|
-
_request_timeout=_request_timeout
|
|
4185
|
-
)
|
|
4186
|
-
response_data.read()
|
|
4187
|
-
return self.api_client.response_deserialize(
|
|
4188
|
-
response_data=response_data,
|
|
4189
|
-
response_types_map=_response_types_map,
|
|
4190
|
-
).data
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
@validate_call
|
|
4194
|
-
def update_storage_by_organization_id_with_http_info(
|
|
4195
|
-
self,
|
|
4196
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4197
|
-
organization_service: Annotated[OrganizationService, Field(description="the new Storage configuration to use")],
|
|
4198
|
-
_request_timeout: Union[
|
|
4199
|
-
None,
|
|
4200
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4201
|
-
Tuple[
|
|
4202
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4203
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4204
|
-
]
|
|
4205
|
-
] = None,
|
|
4206
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4207
|
-
_content_type: Optional[StrictStr] = None,
|
|
4208
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4209
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4210
|
-
) -> ApiResponse[OrganizationService]:
|
|
4211
|
-
"""Update storage configuration for the Organization specified
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
:param organization_id: the Organization identifier (required)
|
|
4215
|
-
:type organization_id: str
|
|
4216
|
-
:param organization_service: the new Storage configuration to use (required)
|
|
4217
|
-
:type organization_service: OrganizationService
|
|
4218
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4219
|
-
number provided, it will be total request
|
|
4220
|
-
timeout. It can also be a pair (tuple) of
|
|
4221
|
-
(connection, read) timeouts.
|
|
4222
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4223
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4224
|
-
request; this effectively ignores the
|
|
4225
|
-
authentication in the spec for a single request.
|
|
4226
|
-
:type _request_auth: dict, optional
|
|
4227
|
-
:param _content_type: force content-type for the request.
|
|
4228
|
-
:type _content_type: str, Optional
|
|
4229
|
-
:param _headers: set to override the headers for a single
|
|
4230
|
-
request; this effectively ignores the headers
|
|
4231
|
-
in the spec for a single request.
|
|
4232
|
-
:type _headers: dict, optional
|
|
4233
|
-
:param _host_index: set to override the host_index for a single
|
|
4234
|
-
request; this effectively ignores the host_index
|
|
4235
|
-
in the spec for a single request.
|
|
4236
|
-
:type _host_index: int, optional
|
|
4237
|
-
:return: Returns the result object.
|
|
4238
|
-
""" # noqa: E501
|
|
4239
|
-
|
|
4240
|
-
_param = self._update_storage_by_organization_id_serialize(
|
|
4241
|
-
organization_id=organization_id,
|
|
4242
|
-
organization_service=organization_service,
|
|
4243
|
-
_request_auth=_request_auth,
|
|
4244
|
-
_content_type=_content_type,
|
|
4245
|
-
_headers=_headers,
|
|
4246
|
-
_host_index=_host_index
|
|
4247
|
-
)
|
|
4248
|
-
|
|
4249
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4250
|
-
'200': "OrganizationService",
|
|
4251
|
-
'404': None,
|
|
4252
|
-
}
|
|
4253
|
-
response_data = self.api_client.call_api(
|
|
4254
|
-
*_param,
|
|
4255
|
-
_request_timeout=_request_timeout
|
|
4256
|
-
)
|
|
4257
|
-
response_data.read()
|
|
4258
|
-
return self.api_client.response_deserialize(
|
|
4259
|
-
response_data=response_data,
|
|
4260
|
-
response_types_map=_response_types_map,
|
|
4261
|
-
)
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
@validate_call
|
|
4265
|
-
def update_storage_by_organization_id_without_preload_content(
|
|
4266
|
-
self,
|
|
4267
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4268
|
-
organization_service: Annotated[OrganizationService, Field(description="the new Storage configuration to use")],
|
|
4269
|
-
_request_timeout: Union[
|
|
4270
|
-
None,
|
|
4271
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4272
|
-
Tuple[
|
|
4273
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4274
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4275
|
-
]
|
|
4276
|
-
] = None,
|
|
4277
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4278
|
-
_content_type: Optional[StrictStr] = None,
|
|
4279
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4280
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4281
|
-
) -> RESTResponseType:
|
|
4282
|
-
"""Update storage configuration for the Organization specified
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
:param organization_id: the Organization identifier (required)
|
|
4286
|
-
:type organization_id: str
|
|
4287
|
-
:param organization_service: the new Storage configuration to use (required)
|
|
4288
|
-
:type organization_service: OrganizationService
|
|
4289
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4290
|
-
number provided, it will be total request
|
|
4291
|
-
timeout. It can also be a pair (tuple) of
|
|
4292
|
-
(connection, read) timeouts.
|
|
4293
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4294
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4295
|
-
request; this effectively ignores the
|
|
4296
|
-
authentication in the spec for a single request.
|
|
4297
|
-
:type _request_auth: dict, optional
|
|
4298
|
-
:param _content_type: force content-type for the request.
|
|
4299
|
-
:type _content_type: str, Optional
|
|
4300
|
-
:param _headers: set to override the headers for a single
|
|
4301
|
-
request; this effectively ignores the headers
|
|
4302
|
-
in the spec for a single request.
|
|
4303
|
-
:type _headers: dict, optional
|
|
4304
|
-
:param _host_index: set to override the host_index for a single
|
|
4305
|
-
request; this effectively ignores the host_index
|
|
4306
|
-
in the spec for a single request.
|
|
4307
|
-
:type _host_index: int, optional
|
|
4308
|
-
:return: Returns the result object.
|
|
4309
|
-
""" # noqa: E501
|
|
4310
|
-
|
|
4311
|
-
_param = self._update_storage_by_organization_id_serialize(
|
|
4312
|
-
organization_id=organization_id,
|
|
4313
|
-
organization_service=organization_service,
|
|
4314
|
-
_request_auth=_request_auth,
|
|
4315
|
-
_content_type=_content_type,
|
|
4316
|
-
_headers=_headers,
|
|
4317
|
-
_host_index=_host_index
|
|
4318
|
-
)
|
|
4319
|
-
|
|
4320
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4321
|
-
'200': "OrganizationService",
|
|
4322
|
-
'404': None,
|
|
4323
|
-
}
|
|
4324
|
-
response_data = self.api_client.call_api(
|
|
4325
|
-
*_param,
|
|
4326
|
-
_request_timeout=_request_timeout
|
|
4327
|
-
)
|
|
4328
|
-
return response_data.response
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
def _update_storage_by_organization_id_serialize(
|
|
4332
|
-
self,
|
|
4333
|
-
organization_id,
|
|
4334
|
-
organization_service,
|
|
4335
|
-
_request_auth,
|
|
4336
|
-
_content_type,
|
|
4337
|
-
_headers,
|
|
4338
|
-
_host_index,
|
|
4339
|
-
) -> RequestSerialized:
|
|
4340
|
-
|
|
4341
|
-
_host = None
|
|
4342
|
-
|
|
4343
|
-
_collection_formats: Dict[str, str] = {
|
|
4344
|
-
}
|
|
4345
|
-
|
|
4346
|
-
_path_params: Dict[str, str] = {}
|
|
4347
|
-
_query_params: List[Tuple[str, str]] = []
|
|
4348
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4349
|
-
_form_params: List[Tuple[str, str]] = []
|
|
4350
|
-
_files: Dict[str, str] = {}
|
|
4351
|
-
_body_params: Optional[bytes] = None
|
|
4352
|
-
|
|
4353
|
-
# process the path parameters
|
|
4354
|
-
if organization_id is not None:
|
|
4355
|
-
_path_params['organization_id'] = organization_id
|
|
4356
|
-
# process the query parameters
|
|
4357
|
-
# process the header parameters
|
|
4358
|
-
# process the form parameters
|
|
4359
|
-
# process the body parameter
|
|
4360
|
-
if organization_service is not None:
|
|
4361
|
-
_body_params = organization_service
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
# set the HTTP header `Accept`
|
|
4365
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4366
|
-
[
|
|
4367
|
-
'application/json'
|
|
4368
|
-
]
|
|
4369
|
-
)
|
|
4370
|
-
|
|
4371
|
-
# set the HTTP header `Content-Type`
|
|
4372
|
-
if _content_type:
|
|
4373
|
-
_header_params['Content-Type'] = _content_type
|
|
4374
|
-
else:
|
|
4375
|
-
_default_content_type = (
|
|
4376
|
-
self.api_client.select_header_content_type(
|
|
4377
|
-
[
|
|
4378
|
-
'application/json',
|
|
4379
|
-
'application/yaml'
|
|
4380
|
-
]
|
|
4381
|
-
)
|
|
4382
|
-
)
|
|
4383
|
-
if _default_content_type is not None:
|
|
4384
|
-
_header_params['Content-Type'] = _default_content_type
|
|
4385
|
-
|
|
4386
|
-
# authentication setting
|
|
4387
|
-
_auth_settings: List[str] = [
|
|
4388
|
-
'oAuth2AuthCode'
|
|
4389
|
-
]
|
|
4390
|
-
|
|
4391
|
-
return self.api_client.param_serialize(
|
|
4392
|
-
method='PATCH',
|
|
4393
|
-
resource_path='/organizations/{organization_id}/services/storage',
|
|
4394
|
-
path_params=_path_params,
|
|
4395
|
-
query_params=_query_params,
|
|
4396
|
-
header_params=_header_params,
|
|
4397
|
-
body=_body_params,
|
|
4398
|
-
post_params=_form_params,
|
|
4399
|
-
files=_files,
|
|
4400
|
-
auth_settings=_auth_settings,
|
|
4401
|
-
collection_formats=_collection_formats,
|
|
4402
|
-
_host=_host,
|
|
4403
|
-
_request_auth=_request_auth
|
|
4404
|
-
)
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
@validate_call
|
|
4410
|
-
def update_tenant_credentials_by_organization_id(
|
|
4411
|
-
self,
|
|
4412
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4413
|
-
request_body: Annotated[Dict[str, Any], Field(description="the new Tenant Credentials to use")],
|
|
4414
|
-
_request_timeout: Union[
|
|
4415
|
-
None,
|
|
4416
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4417
|
-
Tuple[
|
|
4418
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4419
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4420
|
-
]
|
|
4421
|
-
] = None,
|
|
4422
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4423
|
-
_content_type: Optional[StrictStr] = None,
|
|
4424
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4425
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4426
|
-
) -> Dict[str, object]:
|
|
4427
|
-
"""Update tenant credentials for the Organization specified
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
:param organization_id: the Organization identifier (required)
|
|
4431
|
-
:type organization_id: str
|
|
4432
|
-
:param request_body: the new Tenant Credentials to use (required)
|
|
4433
|
-
:type request_body: Dict[str, object]
|
|
4434
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4435
|
-
number provided, it will be total request
|
|
4436
|
-
timeout. It can also be a pair (tuple) of
|
|
4437
|
-
(connection, read) timeouts.
|
|
4438
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4439
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4440
|
-
request; this effectively ignores the
|
|
4441
|
-
authentication in the spec for a single request.
|
|
4442
|
-
:type _request_auth: dict, optional
|
|
4443
|
-
:param _content_type: force content-type for the request.
|
|
4444
|
-
:type _content_type: str, Optional
|
|
4445
|
-
:param _headers: set to override the headers for a single
|
|
4446
|
-
request; this effectively ignores the headers
|
|
4447
|
-
in the spec for a single request.
|
|
4448
|
-
:type _headers: dict, optional
|
|
4449
|
-
:param _host_index: set to override the host_index for a single
|
|
4450
|
-
request; this effectively ignores the host_index
|
|
4451
|
-
in the spec for a single request.
|
|
4452
|
-
:type _host_index: int, optional
|
|
4453
|
-
:return: Returns the result object.
|
|
4454
|
-
""" # noqa: E501
|
|
4455
|
-
|
|
4456
|
-
_param = self._update_tenant_credentials_by_organization_id_serialize(
|
|
4457
|
-
organization_id=organization_id,
|
|
4458
|
-
request_body=request_body,
|
|
4459
|
-
_request_auth=_request_auth,
|
|
4460
|
-
_content_type=_content_type,
|
|
4461
|
-
_headers=_headers,
|
|
4462
|
-
_host_index=_host_index
|
|
4463
|
-
)
|
|
4464
|
-
|
|
4465
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4466
|
-
'200': "Dict[str, object]",
|
|
4467
|
-
'404': None,
|
|
4468
|
-
}
|
|
4469
|
-
response_data = self.api_client.call_api(
|
|
4470
|
-
*_param,
|
|
4471
|
-
_request_timeout=_request_timeout
|
|
4472
|
-
)
|
|
4473
|
-
response_data.read()
|
|
4474
|
-
return self.api_client.response_deserialize(
|
|
4475
|
-
response_data=response_data,
|
|
4476
|
-
response_types_map=_response_types_map,
|
|
4477
|
-
).data
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
@validate_call
|
|
4481
|
-
def update_tenant_credentials_by_organization_id_with_http_info(
|
|
4482
|
-
self,
|
|
4483
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4484
|
-
request_body: Annotated[Dict[str, Any], Field(description="the new Tenant Credentials to use")],
|
|
4485
|
-
_request_timeout: Union[
|
|
4486
|
-
None,
|
|
4487
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4488
|
-
Tuple[
|
|
4489
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4490
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4491
|
-
]
|
|
4492
|
-
] = None,
|
|
4493
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4494
|
-
_content_type: Optional[StrictStr] = None,
|
|
4495
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4496
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4497
|
-
) -> ApiResponse[Dict[str, object]]:
|
|
4498
|
-
"""Update tenant credentials for the Organization specified
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
:param organization_id: the Organization identifier (required)
|
|
4502
|
-
:type organization_id: str
|
|
4503
|
-
:param request_body: the new Tenant Credentials to use (required)
|
|
4504
|
-
:type request_body: Dict[str, object]
|
|
4505
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4506
|
-
number provided, it will be total request
|
|
4507
|
-
timeout. It can also be a pair (tuple) of
|
|
4508
|
-
(connection, read) timeouts.
|
|
4509
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4510
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4511
|
-
request; this effectively ignores the
|
|
4512
|
-
authentication in the spec for a single request.
|
|
4513
|
-
:type _request_auth: dict, optional
|
|
4514
|
-
:param _content_type: force content-type for the request.
|
|
4515
|
-
:type _content_type: str, Optional
|
|
4516
|
-
:param _headers: set to override the headers for a single
|
|
4517
|
-
request; this effectively ignores the headers
|
|
4518
|
-
in the spec for a single request.
|
|
4519
|
-
:type _headers: dict, optional
|
|
4520
|
-
:param _host_index: set to override the host_index for a single
|
|
4521
|
-
request; this effectively ignores the host_index
|
|
4522
|
-
in the spec for a single request.
|
|
4523
|
-
:type _host_index: int, optional
|
|
4524
|
-
:return: Returns the result object.
|
|
4525
|
-
""" # noqa: E501
|
|
4526
|
-
|
|
4527
|
-
_param = self._update_tenant_credentials_by_organization_id_serialize(
|
|
4528
|
-
organization_id=organization_id,
|
|
4529
|
-
request_body=request_body,
|
|
4530
|
-
_request_auth=_request_auth,
|
|
4531
|
-
_content_type=_content_type,
|
|
4532
|
-
_headers=_headers,
|
|
4533
|
-
_host_index=_host_index
|
|
4534
|
-
)
|
|
4535
|
-
|
|
4536
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4537
|
-
'200': "Dict[str, object]",
|
|
4538
|
-
'404': None,
|
|
4539
|
-
}
|
|
4540
|
-
response_data = self.api_client.call_api(
|
|
4541
|
-
*_param,
|
|
4542
|
-
_request_timeout=_request_timeout
|
|
4543
|
-
)
|
|
4544
|
-
response_data.read()
|
|
4545
|
-
return self.api_client.response_deserialize(
|
|
4546
|
-
response_data=response_data,
|
|
4547
|
-
response_types_map=_response_types_map,
|
|
4548
|
-
)
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
@validate_call
|
|
4552
|
-
def update_tenant_credentials_by_organization_id_without_preload_content(
|
|
4553
|
-
self,
|
|
4554
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4555
|
-
request_body: Annotated[Dict[str, Any], Field(description="the new Tenant Credentials to use")],
|
|
4556
|
-
_request_timeout: Union[
|
|
4557
|
-
None,
|
|
4558
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4559
|
-
Tuple[
|
|
4560
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4561
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4562
|
-
]
|
|
4563
|
-
] = None,
|
|
4564
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4565
|
-
_content_type: Optional[StrictStr] = None,
|
|
4566
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4567
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4568
|
-
) -> RESTResponseType:
|
|
4569
|
-
"""Update tenant credentials for the Organization specified
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
:param organization_id: the Organization identifier (required)
|
|
4573
|
-
:type organization_id: str
|
|
4574
|
-
:param request_body: the new Tenant Credentials to use (required)
|
|
4575
|
-
:type request_body: Dict[str, object]
|
|
4576
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4577
|
-
number provided, it will be total request
|
|
4578
|
-
timeout. It can also be a pair (tuple) of
|
|
4579
|
-
(connection, read) timeouts.
|
|
4580
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4581
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4582
|
-
request; this effectively ignores the
|
|
4583
|
-
authentication in the spec for a single request.
|
|
4584
|
-
:type _request_auth: dict, optional
|
|
4585
|
-
:param _content_type: force content-type for the request.
|
|
4586
|
-
:type _content_type: str, Optional
|
|
4587
|
-
:param _headers: set to override the headers for a single
|
|
4588
|
-
request; this effectively ignores the headers
|
|
4589
|
-
in the spec for a single request.
|
|
4590
|
-
:type _headers: dict, optional
|
|
4591
|
-
:param _host_index: set to override the host_index for a single
|
|
4592
|
-
request; this effectively ignores the host_index
|
|
4593
|
-
in the spec for a single request.
|
|
4594
|
-
:type _host_index: int, optional
|
|
4595
|
-
:return: Returns the result object.
|
|
4596
|
-
""" # noqa: E501
|
|
4597
|
-
|
|
4598
|
-
_param = self._update_tenant_credentials_by_organization_id_serialize(
|
|
4599
|
-
organization_id=organization_id,
|
|
4600
|
-
request_body=request_body,
|
|
4601
|
-
_request_auth=_request_auth,
|
|
4602
|
-
_content_type=_content_type,
|
|
4603
|
-
_headers=_headers,
|
|
4604
|
-
_host_index=_host_index
|
|
4605
|
-
)
|
|
4606
|
-
|
|
4607
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4608
|
-
'200': "Dict[str, object]",
|
|
4609
|
-
'404': None,
|
|
4610
|
-
}
|
|
4611
|
-
response_data = self.api_client.call_api(
|
|
4612
|
-
*_param,
|
|
4613
|
-
_request_timeout=_request_timeout
|
|
4614
|
-
)
|
|
4615
|
-
return response_data.response
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
def _update_tenant_credentials_by_organization_id_serialize(
|
|
4619
|
-
self,
|
|
4620
|
-
organization_id,
|
|
4621
|
-
request_body,
|
|
4622
|
-
_request_auth,
|
|
4623
|
-
_content_type,
|
|
4624
|
-
_headers,
|
|
4625
|
-
_host_index,
|
|
4626
|
-
) -> RequestSerialized:
|
|
4627
|
-
|
|
4628
|
-
_host = None
|
|
4629
|
-
|
|
4630
|
-
_collection_formats: Dict[str, str] = {
|
|
4631
|
-
}
|
|
4632
|
-
|
|
4633
|
-
_path_params: Dict[str, str] = {}
|
|
4634
|
-
_query_params: List[Tuple[str, str]] = []
|
|
4635
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4636
|
-
_form_params: List[Tuple[str, str]] = []
|
|
4637
|
-
_files: Dict[str, str] = {}
|
|
4638
|
-
_body_params: Optional[bytes] = None
|
|
4639
|
-
|
|
4640
|
-
# process the path parameters
|
|
4641
|
-
if organization_id is not None:
|
|
4642
|
-
_path_params['organization_id'] = organization_id
|
|
4643
|
-
# process the query parameters
|
|
4644
|
-
# process the header parameters
|
|
4645
|
-
# process the form parameters
|
|
4646
|
-
# process the body parameter
|
|
4647
|
-
if request_body is not None:
|
|
4648
|
-
_body_params = request_body
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
# set the HTTP header `Accept`
|
|
4652
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4653
|
-
[
|
|
4654
|
-
'application/json'
|
|
4655
|
-
]
|
|
4656
|
-
)
|
|
4657
|
-
|
|
4658
|
-
# set the HTTP header `Content-Type`
|
|
4659
|
-
if _content_type:
|
|
4660
|
-
_header_params['Content-Type'] = _content_type
|
|
4661
|
-
else:
|
|
4662
|
-
_default_content_type = (
|
|
4663
|
-
self.api_client.select_header_content_type(
|
|
4664
|
-
[
|
|
4665
|
-
'application/json'
|
|
4666
|
-
]
|
|
4667
|
-
)
|
|
4668
|
-
)
|
|
4669
|
-
if _default_content_type is not None:
|
|
4670
|
-
_header_params['Content-Type'] = _default_content_type
|
|
4671
|
-
|
|
4672
|
-
# authentication setting
|
|
4673
|
-
_auth_settings: List[str] = [
|
|
4674
|
-
'oAuth2AuthCode'
|
|
4675
|
-
]
|
|
4676
|
-
|
|
4677
|
-
return self.api_client.param_serialize(
|
|
4678
|
-
method='PATCH',
|
|
4679
|
-
resource_path='/organizations/{organization_id}/services/tenantCredentials',
|
|
4680
|
-
path_params=_path_params,
|
|
4681
|
-
query_params=_query_params,
|
|
4682
|
-
header_params=_header_params,
|
|
4683
|
-
body=_body_params,
|
|
4684
|
-
post_params=_form_params,
|
|
4685
|
-
files=_files,
|
|
4686
|
-
auth_settings=_auth_settings,
|
|
4687
|
-
collection_formats=_collection_formats,
|
|
4688
|
-
_host=_host,
|
|
4689
|
-
_request_auth=_request_auth
|
|
4690
|
-
)
|
|
4691
|
-
|
|
4692
|
-
|