cosmotech-api 3.2.6__py3-none-any.whl → 3.2.6.dev0__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 +7 -262
- cosmotech_api/api/dataset_api.py +19 -19
- cosmotech_api/api/organization_api.py +8 -869
- cosmotech_api/api/run_api.py +7 -7
- cosmotech_api/api/runner_api.py +13 -12
- cosmotech_api/api/scenario_api.py +3265 -6544
- cosmotech_api/api/scenariorun_api.py +1960 -4007
- cosmotech_api/api/scenariorunresult_api.py +1 -1
- cosmotech_api/api/solution_api.py +394 -1045
- cosmotech_api/api/twingraph_api.py +2061 -4118
- cosmotech_api/api/validator_api.py +1 -1
- cosmotech_api/api/workspace_api.py +12 -315
- cosmotech_api/api_client.py +1 -1
- cosmotech_api/configuration.py +5 -13
- 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 +1 -1
- cosmotech_api/models/connector.py +3 -7
- cosmotech_api/models/connector_parameter.py +1 -1
- cosmotech_api/models/connector_parameter_group.py +1 -1
- cosmotech_api/models/container_resource_size_info.py +1 -1
- cosmotech_api/models/container_resource_sizing.py +1 -1
- cosmotech_api/models/created_run.py +88 -0
- cosmotech_api/models/dataset.py +1 -1
- cosmotech_api/models/dataset_access_control.py +1 -1
- cosmotech_api/models/dataset_compatibility.py +1 -1
- cosmotech_api/models/dataset_connector.py +1 -1
- cosmotech_api/models/dataset_copy_parameters.py +1 -1
- cosmotech_api/models/dataset_role.py +1 -1
- cosmotech_api/models/dataset_search.py +1 -1
- cosmotech_api/models/dataset_security.py +1 -1
- cosmotech_api/models/dataset_source_type.py +1 -1
- cosmotech_api/models/dataset_twin_graph_hash.py +1 -1
- cosmotech_api/models/dataset_twin_graph_info.py +1 -1
- cosmotech_api/models/dataset_twin_graph_query.py +1 -1
- cosmotech_api/models/delete_historical_data.py +1 -1
- cosmotech_api/models/file_upload_metadata.py +1 -1
- cosmotech_api/models/file_upload_validation.py +1 -1
- cosmotech_api/models/graph_properties.py +1 -1
- cosmotech_api/models/ingestion_status_enum.py +1 -1
- cosmotech_api/models/io_types_enum.py +1 -1
- cosmotech_api/models/organization.py +2 -8
- cosmotech_api/models/organization_access_control.py +1 -1
- cosmotech_api/models/organization_role.py +1 -1
- cosmotech_api/models/organization_security.py +1 -1
- cosmotech_api/models/organization_service.py +1 -1
- cosmotech_api/models/organization_services.py +1 -1
- cosmotech_api/models/query_result.py +1 -1
- cosmotech_api/models/resource_size_info.py +1 -1
- cosmotech_api/models/run.py +1 -1
- cosmotech_api/models/run_container.py +3 -13
- cosmotech_api/models/run_container_artifact.py +1 -1
- cosmotech_api/models/run_container_logs.py +1 -1
- cosmotech_api/models/run_data.py +1 -1
- cosmotech_api/models/run_data_query.py +1 -1
- cosmotech_api/models/run_logs.py +16 -21
- cosmotech_api/models/run_logs_entry.py +88 -0
- cosmotech_api/models/run_resource_requested.py +1 -1
- 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 +1 -1
- cosmotech_api/models/run_status_node.py +1 -1
- cosmotech_api/models/run_template.py +1 -1
- 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 +1 -1
- cosmotech_api/models/run_template_parameter_group.py +1 -1
- cosmotech_api/models/run_template_parameter_value.py +1 -1
- cosmotech_api/models/run_template_resource_sizing.py +1 -1
- cosmotech_api/models/run_template_step_source.py +1 -1
- cosmotech_api/models/runner.py +2 -2
- cosmotech_api/models/runner_access_control.py +1 -1
- 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 +1 -1
- cosmotech_api/models/runner_role.py +1 -1
- cosmotech_api/models/runner_run_template_parameter_value.py +1 -1
- cosmotech_api/models/runner_security.py +1 -1
- 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 +1 -1
- cosmotech_api/models/solution.py +2 -2
- cosmotech_api/models/solution_access_control.py +1 -1
- cosmotech_api/models/solution_role.py +1 -1
- cosmotech_api/models/solution_security.py +1 -1
- cosmotech_api/models/source_info.py +1 -1
- cosmotech_api/models/sub_dataset_graph_query.py +1 -1
- cosmotech_api/models/twin_graph_batch_result.py +1 -1
- 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 +2 -2
- cosmotech_api/models/workspace_access_control.py +1 -1
- cosmotech_api/models/workspace_file.py +1 -1
- cosmotech_api/models/workspace_role.py +1 -1
- cosmotech_api/models/workspace_secret.py +7 -5
- cosmotech_api/models/workspace_security.py +1 -1
- cosmotech_api/models/workspace_solution.py +1 -1
- cosmotech_api/models/workspace_web_app.py +1 -1
- cosmotech_api/rest.py +1 -1
- {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/METADATA +1 -1
- cosmotech_api-3.2.6.dev0.dist-info/RECORD +262 -0
- {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/WHEEL +1 -1
- cosmotech_api-3.2.6.dist-info/RECORD +0 -260
- {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/LICENSE +0 -0
- {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.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.7
|
|
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 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
|
|
@@ -335,7 +334,7 @@ class OrganizationApi:
|
|
|
335
334
|
@validate_call
|
|
336
335
|
def find_all_organizations(
|
|
337
336
|
self,
|
|
338
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
337
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
339
338
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
340
339
|
_request_timeout: Union[
|
|
341
340
|
None,
|
|
@@ -353,7 +352,7 @@ class OrganizationApi:
|
|
|
353
352
|
"""List all Organizations
|
|
354
353
|
|
|
355
354
|
|
|
356
|
-
:param page: page number to query
|
|
355
|
+
:param page: page number to query (first page is at index 0)
|
|
357
356
|
:type page: int
|
|
358
357
|
:param size: amount of result by page
|
|
359
358
|
:type size: int
|
|
@@ -405,7 +404,7 @@ class OrganizationApi:
|
|
|
405
404
|
@validate_call
|
|
406
405
|
def find_all_organizations_with_http_info(
|
|
407
406
|
self,
|
|
408
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
407
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
409
408
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
410
409
|
_request_timeout: Union[
|
|
411
410
|
None,
|
|
@@ -423,7 +422,7 @@ class OrganizationApi:
|
|
|
423
422
|
"""List all Organizations
|
|
424
423
|
|
|
425
424
|
|
|
426
|
-
:param page: page number to query
|
|
425
|
+
:param page: page number to query (first page is at index 0)
|
|
427
426
|
:type page: int
|
|
428
427
|
:param size: amount of result by page
|
|
429
428
|
:type size: int
|
|
@@ -475,7 +474,7 @@ class OrganizationApi:
|
|
|
475
474
|
@validate_call
|
|
476
475
|
def find_all_organizations_without_preload_content(
|
|
477
476
|
self,
|
|
478
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
477
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
479
478
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
480
479
|
_request_timeout: Union[
|
|
481
480
|
None,
|
|
@@ -493,7 +492,7 @@ class OrganizationApi:
|
|
|
493
492
|
"""List all Organizations
|
|
494
493
|
|
|
495
494
|
|
|
496
|
-
:param page: page number to query
|
|
495
|
+
:param page: page number to query (first page is at index 0)
|
|
497
496
|
:type page: int
|
|
498
497
|
:param size: amount of result by page
|
|
499
498
|
:type size: int
|
|
@@ -3830,863 +3829,3 @@ class OrganizationApi:
|
|
|
3830
3829
|
)
|
|
3831
3830
|
|
|
3832
3831
|
|
|
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
|
-
|