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,13 +18,12 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr
|
|
21
|
-
from typing import Optional, Union
|
|
21
|
+
from typing import List, Optional, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from cosmotech_api.models.workspace import Workspace
|
|
24
24
|
from cosmotech_api.models.workspace_access_control import WorkspaceAccessControl
|
|
25
25
|
from cosmotech_api.models.workspace_file import WorkspaceFile
|
|
26
26
|
from cosmotech_api.models.workspace_role import WorkspaceRole
|
|
27
|
-
from cosmotech_api.models.workspace_secret import WorkspaceSecret
|
|
28
27
|
from cosmotech_api.models.workspace_security import WorkspaceSecurity
|
|
29
28
|
|
|
30
29
|
from cosmotech_api.api_client import ApiClient, RequestSerialized
|
|
@@ -286,7 +285,7 @@ class WorkspaceApi:
|
|
|
286
285
|
_query_params: List[Tuple[str, str]] = []
|
|
287
286
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
288
287
|
_form_params: List[Tuple[str, str]] = []
|
|
289
|
-
_files: Dict[str, str] = {}
|
|
288
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
290
289
|
_body_params: Optional[bytes] = None
|
|
291
290
|
|
|
292
291
|
# process the path parameters
|
|
@@ -303,307 +302,12 @@ class WorkspaceApi:
|
|
|
303
302
|
|
|
304
303
|
|
|
305
304
|
# set the HTTP header `Accept`
|
|
306
|
-
|
|
307
|
-
[
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
# set the HTTP header `Content-Type`
|
|
313
|
-
if _content_type:
|
|
314
|
-
_header_params['Content-Type'] = _content_type
|
|
315
|
-
else:
|
|
316
|
-
_default_content_type = (
|
|
317
|
-
self.api_client.select_header_content_type(
|
|
318
|
-
[
|
|
319
|
-
'application/json',
|
|
320
|
-
'application/yaml'
|
|
321
|
-
]
|
|
322
|
-
)
|
|
305
|
+
if 'Accept' not in _header_params:
|
|
306
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
307
|
+
[
|
|
308
|
+
'application/json'
|
|
309
|
+
]
|
|
323
310
|
)
|
|
324
|
-
if _default_content_type is not None:
|
|
325
|
-
_header_params['Content-Type'] = _default_content_type
|
|
326
|
-
|
|
327
|
-
# authentication setting
|
|
328
|
-
_auth_settings: List[str] = [
|
|
329
|
-
'oAuth2AuthCode'
|
|
330
|
-
]
|
|
331
|
-
|
|
332
|
-
return self.api_client.param_serialize(
|
|
333
|
-
method='POST',
|
|
334
|
-
resource_path='/organizations/{organization_id}/workspaces/{workspace_id}/security/access',
|
|
335
|
-
path_params=_path_params,
|
|
336
|
-
query_params=_query_params,
|
|
337
|
-
header_params=_header_params,
|
|
338
|
-
body=_body_params,
|
|
339
|
-
post_params=_form_params,
|
|
340
|
-
files=_files,
|
|
341
|
-
auth_settings=_auth_settings,
|
|
342
|
-
collection_formats=_collection_formats,
|
|
343
|
-
_host=_host,
|
|
344
|
-
_request_auth=_request_auth
|
|
345
|
-
)
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
@validate_call
|
|
351
|
-
def create_secret(
|
|
352
|
-
self,
|
|
353
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
354
|
-
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
355
|
-
workspace_secret: Annotated[WorkspaceSecret, Field(description="the definition of the secret")],
|
|
356
|
-
_request_timeout: Union[
|
|
357
|
-
None,
|
|
358
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
359
|
-
Tuple[
|
|
360
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
361
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
362
|
-
]
|
|
363
|
-
] = None,
|
|
364
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
365
|
-
_content_type: Optional[StrictStr] = None,
|
|
366
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
367
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
368
|
-
) -> None:
|
|
369
|
-
"""Create a secret for the Workspace
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
:param organization_id: the Organization identifier (required)
|
|
373
|
-
:type organization_id: str
|
|
374
|
-
:param workspace_id: the Workspace identifier (required)
|
|
375
|
-
:type workspace_id: str
|
|
376
|
-
:param workspace_secret: the definition of the secret (required)
|
|
377
|
-
:type workspace_secret: WorkspaceSecret
|
|
378
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
379
|
-
number provided, it will be total request
|
|
380
|
-
timeout. It can also be a pair (tuple) of
|
|
381
|
-
(connection, read) timeouts.
|
|
382
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
383
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
384
|
-
request; this effectively ignores the
|
|
385
|
-
authentication in the spec for a single request.
|
|
386
|
-
:type _request_auth: dict, optional
|
|
387
|
-
:param _content_type: force content-type for the request.
|
|
388
|
-
:type _content_type: str, Optional
|
|
389
|
-
:param _headers: set to override the headers for a single
|
|
390
|
-
request; this effectively ignores the headers
|
|
391
|
-
in the spec for a single request.
|
|
392
|
-
:type _headers: dict, optional
|
|
393
|
-
:param _host_index: set to override the host_index for a single
|
|
394
|
-
request; this effectively ignores the host_index
|
|
395
|
-
in the spec for a single request.
|
|
396
|
-
:type _host_index: int, optional
|
|
397
|
-
:return: Returns the result object.
|
|
398
|
-
""" # noqa: E501
|
|
399
|
-
|
|
400
|
-
_param = self._create_secret_serialize(
|
|
401
|
-
organization_id=organization_id,
|
|
402
|
-
workspace_id=workspace_id,
|
|
403
|
-
workspace_secret=workspace_secret,
|
|
404
|
-
_request_auth=_request_auth,
|
|
405
|
-
_content_type=_content_type,
|
|
406
|
-
_headers=_headers,
|
|
407
|
-
_host_index=_host_index
|
|
408
|
-
)
|
|
409
|
-
|
|
410
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
411
|
-
'201': None,
|
|
412
|
-
'404': None,
|
|
413
|
-
}
|
|
414
|
-
response_data = self.api_client.call_api(
|
|
415
|
-
*_param,
|
|
416
|
-
_request_timeout=_request_timeout
|
|
417
|
-
)
|
|
418
|
-
response_data.read()
|
|
419
|
-
return self.api_client.response_deserialize(
|
|
420
|
-
response_data=response_data,
|
|
421
|
-
response_types_map=_response_types_map,
|
|
422
|
-
).data
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
@validate_call
|
|
426
|
-
def create_secret_with_http_info(
|
|
427
|
-
self,
|
|
428
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
429
|
-
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
430
|
-
workspace_secret: Annotated[WorkspaceSecret, Field(description="the definition of the secret")],
|
|
431
|
-
_request_timeout: Union[
|
|
432
|
-
None,
|
|
433
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
434
|
-
Tuple[
|
|
435
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
436
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
437
|
-
]
|
|
438
|
-
] = None,
|
|
439
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
440
|
-
_content_type: Optional[StrictStr] = None,
|
|
441
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
442
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
443
|
-
) -> ApiResponse[None]:
|
|
444
|
-
"""Create a secret for the Workspace
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
:param organization_id: the Organization identifier (required)
|
|
448
|
-
:type organization_id: str
|
|
449
|
-
:param workspace_id: the Workspace identifier (required)
|
|
450
|
-
:type workspace_id: str
|
|
451
|
-
:param workspace_secret: the definition of the secret (required)
|
|
452
|
-
:type workspace_secret: WorkspaceSecret
|
|
453
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
454
|
-
number provided, it will be total request
|
|
455
|
-
timeout. It can also be a pair (tuple) of
|
|
456
|
-
(connection, read) timeouts.
|
|
457
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
458
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
459
|
-
request; this effectively ignores the
|
|
460
|
-
authentication in the spec for a single request.
|
|
461
|
-
:type _request_auth: dict, optional
|
|
462
|
-
:param _content_type: force content-type for the request.
|
|
463
|
-
:type _content_type: str, Optional
|
|
464
|
-
:param _headers: set to override the headers for a single
|
|
465
|
-
request; this effectively ignores the headers
|
|
466
|
-
in the spec for a single request.
|
|
467
|
-
:type _headers: dict, optional
|
|
468
|
-
:param _host_index: set to override the host_index for a single
|
|
469
|
-
request; this effectively ignores the host_index
|
|
470
|
-
in the spec for a single request.
|
|
471
|
-
:type _host_index: int, optional
|
|
472
|
-
:return: Returns the result object.
|
|
473
|
-
""" # noqa: E501
|
|
474
|
-
|
|
475
|
-
_param = self._create_secret_serialize(
|
|
476
|
-
organization_id=organization_id,
|
|
477
|
-
workspace_id=workspace_id,
|
|
478
|
-
workspace_secret=workspace_secret,
|
|
479
|
-
_request_auth=_request_auth,
|
|
480
|
-
_content_type=_content_type,
|
|
481
|
-
_headers=_headers,
|
|
482
|
-
_host_index=_host_index
|
|
483
|
-
)
|
|
484
|
-
|
|
485
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
486
|
-
'201': None,
|
|
487
|
-
'404': None,
|
|
488
|
-
}
|
|
489
|
-
response_data = self.api_client.call_api(
|
|
490
|
-
*_param,
|
|
491
|
-
_request_timeout=_request_timeout
|
|
492
|
-
)
|
|
493
|
-
response_data.read()
|
|
494
|
-
return self.api_client.response_deserialize(
|
|
495
|
-
response_data=response_data,
|
|
496
|
-
response_types_map=_response_types_map,
|
|
497
|
-
)
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
@validate_call
|
|
501
|
-
def create_secret_without_preload_content(
|
|
502
|
-
self,
|
|
503
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
504
|
-
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
505
|
-
workspace_secret: Annotated[WorkspaceSecret, Field(description="the definition of the secret")],
|
|
506
|
-
_request_timeout: Union[
|
|
507
|
-
None,
|
|
508
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
509
|
-
Tuple[
|
|
510
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
511
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
512
|
-
]
|
|
513
|
-
] = None,
|
|
514
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
515
|
-
_content_type: Optional[StrictStr] = None,
|
|
516
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
517
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
518
|
-
) -> RESTResponseType:
|
|
519
|
-
"""Create a secret for the Workspace
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
:param organization_id: the Organization identifier (required)
|
|
523
|
-
:type organization_id: str
|
|
524
|
-
:param workspace_id: the Workspace identifier (required)
|
|
525
|
-
:type workspace_id: str
|
|
526
|
-
:param workspace_secret: the definition of the secret (required)
|
|
527
|
-
:type workspace_secret: WorkspaceSecret
|
|
528
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
529
|
-
number provided, it will be total request
|
|
530
|
-
timeout. It can also be a pair (tuple) of
|
|
531
|
-
(connection, read) timeouts.
|
|
532
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
533
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
534
|
-
request; this effectively ignores the
|
|
535
|
-
authentication in the spec for a single request.
|
|
536
|
-
:type _request_auth: dict, optional
|
|
537
|
-
:param _content_type: force content-type for the request.
|
|
538
|
-
:type _content_type: str, Optional
|
|
539
|
-
:param _headers: set to override the headers for a single
|
|
540
|
-
request; this effectively ignores the headers
|
|
541
|
-
in the spec for a single request.
|
|
542
|
-
:type _headers: dict, optional
|
|
543
|
-
:param _host_index: set to override the host_index for a single
|
|
544
|
-
request; this effectively ignores the host_index
|
|
545
|
-
in the spec for a single request.
|
|
546
|
-
:type _host_index: int, optional
|
|
547
|
-
:return: Returns the result object.
|
|
548
|
-
""" # noqa: E501
|
|
549
|
-
|
|
550
|
-
_param = self._create_secret_serialize(
|
|
551
|
-
organization_id=organization_id,
|
|
552
|
-
workspace_id=workspace_id,
|
|
553
|
-
workspace_secret=workspace_secret,
|
|
554
|
-
_request_auth=_request_auth,
|
|
555
|
-
_content_type=_content_type,
|
|
556
|
-
_headers=_headers,
|
|
557
|
-
_host_index=_host_index
|
|
558
|
-
)
|
|
559
|
-
|
|
560
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
561
|
-
'201': None,
|
|
562
|
-
'404': None,
|
|
563
|
-
}
|
|
564
|
-
response_data = self.api_client.call_api(
|
|
565
|
-
*_param,
|
|
566
|
-
_request_timeout=_request_timeout
|
|
567
|
-
)
|
|
568
|
-
return response_data.response
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
def _create_secret_serialize(
|
|
572
|
-
self,
|
|
573
|
-
organization_id,
|
|
574
|
-
workspace_id,
|
|
575
|
-
workspace_secret,
|
|
576
|
-
_request_auth,
|
|
577
|
-
_content_type,
|
|
578
|
-
_headers,
|
|
579
|
-
_host_index,
|
|
580
|
-
) -> RequestSerialized:
|
|
581
|
-
|
|
582
|
-
_host = None
|
|
583
|
-
|
|
584
|
-
_collection_formats: Dict[str, str] = {
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
_path_params: Dict[str, str] = {}
|
|
588
|
-
_query_params: List[Tuple[str, str]] = []
|
|
589
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
590
|
-
_form_params: List[Tuple[str, str]] = []
|
|
591
|
-
_files: Dict[str, str] = {}
|
|
592
|
-
_body_params: Optional[bytes] = None
|
|
593
|
-
|
|
594
|
-
# process the path parameters
|
|
595
|
-
if organization_id is not None:
|
|
596
|
-
_path_params['organization_id'] = organization_id
|
|
597
|
-
if workspace_id is not None:
|
|
598
|
-
_path_params['workspace_id'] = workspace_id
|
|
599
|
-
# process the query parameters
|
|
600
|
-
# process the header parameters
|
|
601
|
-
# process the form parameters
|
|
602
|
-
# process the body parameter
|
|
603
|
-
if workspace_secret is not None:
|
|
604
|
-
_body_params = workspace_secret
|
|
605
|
-
|
|
606
|
-
|
|
607
311
|
|
|
608
312
|
# set the HTTP header `Content-Type`
|
|
609
313
|
if _content_type:
|
|
@@ -627,7 +331,7 @@ class WorkspaceApi:
|
|
|
627
331
|
|
|
628
332
|
return self.api_client.param_serialize(
|
|
629
333
|
method='POST',
|
|
630
|
-
resource_path='/organizations/{organization_id}/workspaces/{workspace_id}/
|
|
334
|
+
resource_path='/organizations/{organization_id}/workspaces/{workspace_id}/security/access',
|
|
631
335
|
path_params=_path_params,
|
|
632
336
|
query_params=_query_params,
|
|
633
337
|
header_params=_header_params,
|
|
@@ -871,7 +575,7 @@ class WorkspaceApi:
|
|
|
871
575
|
_query_params: List[Tuple[str, str]] = []
|
|
872
576
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
873
577
|
_form_params: List[Tuple[str, str]] = []
|
|
874
|
-
_files: Dict[str, str] = {}
|
|
578
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
875
579
|
_body_params: Optional[bytes] = None
|
|
876
580
|
|
|
877
581
|
# process the path parameters
|
|
@@ -886,11 +590,12 @@ class WorkspaceApi:
|
|
|
886
590
|
|
|
887
591
|
|
|
888
592
|
# set the HTTP header `Accept`
|
|
889
|
-
|
|
890
|
-
[
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
593
|
+
if 'Accept' not in _header_params:
|
|
594
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
595
|
+
[
|
|
596
|
+
'application/json'
|
|
597
|
+
]
|
|
598
|
+
)
|
|
894
599
|
|
|
895
600
|
# set the HTTP header `Content-Type`
|
|
896
601
|
if _content_type:
|
|
@@ -1158,7 +863,7 @@ class WorkspaceApi:
|
|
|
1158
863
|
_query_params: List[Tuple[str, str]] = []
|
|
1159
864
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1160
865
|
_form_params: List[Tuple[str, str]] = []
|
|
1161
|
-
_files: Dict[str, str] = {}
|
|
866
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1162
867
|
_body_params: Optional[bytes] = None
|
|
1163
868
|
|
|
1164
869
|
# process the path parameters
|
|
@@ -1214,7 +919,7 @@ class WorkspaceApi:
|
|
|
1214
919
|
_content_type: Optional[StrictStr] = None,
|
|
1215
920
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1216
921
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1217
|
-
) ->
|
|
922
|
+
) -> None:
|
|
1218
923
|
"""Delete a workspace
|
|
1219
924
|
|
|
1220
925
|
|
|
@@ -1254,7 +959,7 @@ class WorkspaceApi:
|
|
|
1254
959
|
)
|
|
1255
960
|
|
|
1256
961
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1257
|
-
'
|
|
962
|
+
'204': None,
|
|
1258
963
|
'400': None,
|
|
1259
964
|
'404': None,
|
|
1260
965
|
}
|
|
@@ -1286,7 +991,7 @@ class WorkspaceApi:
|
|
|
1286
991
|
_content_type: Optional[StrictStr] = None,
|
|
1287
992
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1288
993
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1289
|
-
) -> ApiResponse[
|
|
994
|
+
) -> ApiResponse[None]:
|
|
1290
995
|
"""Delete a workspace
|
|
1291
996
|
|
|
1292
997
|
|
|
@@ -1326,7 +1031,7 @@ class WorkspaceApi:
|
|
|
1326
1031
|
)
|
|
1327
1032
|
|
|
1328
1033
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1329
|
-
'
|
|
1034
|
+
'204': None,
|
|
1330
1035
|
'400': None,
|
|
1331
1036
|
'404': None,
|
|
1332
1037
|
}
|
|
@@ -1398,7 +1103,7 @@ class WorkspaceApi:
|
|
|
1398
1103
|
)
|
|
1399
1104
|
|
|
1400
1105
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1401
|
-
'
|
|
1106
|
+
'204': None,
|
|
1402
1107
|
'400': None,
|
|
1403
1108
|
'404': None,
|
|
1404
1109
|
}
|
|
@@ -1428,7 +1133,7 @@ class WorkspaceApi:
|
|
|
1428
1133
|
_query_params: List[Tuple[str, str]] = []
|
|
1429
1134
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1430
1135
|
_form_params: List[Tuple[str, str]] = []
|
|
1431
|
-
_files: Dict[str, str] = {}
|
|
1136
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1432
1137
|
_body_params: Optional[bytes] = None
|
|
1433
1138
|
|
|
1434
1139
|
# process the path parameters
|
|
@@ -1442,12 +1147,6 @@ class WorkspaceApi:
|
|
|
1442
1147
|
# process the body parameter
|
|
1443
1148
|
|
|
1444
1149
|
|
|
1445
|
-
# set the HTTP header `Accept`
|
|
1446
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1447
|
-
[
|
|
1448
|
-
'application/json'
|
|
1449
|
-
]
|
|
1450
|
-
)
|
|
1451
1150
|
|
|
1452
1151
|
|
|
1453
1152
|
# authentication setting
|
|
@@ -1714,7 +1413,7 @@ class WorkspaceApi:
|
|
|
1714
1413
|
_query_params: List[Tuple[str, str]] = []
|
|
1715
1414
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1716
1415
|
_form_params: List[Tuple[str, str]] = []
|
|
1717
|
-
_files: Dict[str, str] = {}
|
|
1416
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1718
1417
|
_body_params: Optional[bytes] = None
|
|
1719
1418
|
|
|
1720
1419
|
# process the path parameters
|
|
@@ -1998,7 +1697,7 @@ class WorkspaceApi:
|
|
|
1998
1697
|
_query_params: List[Tuple[str, str]] = []
|
|
1999
1698
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2000
1699
|
_form_params: List[Tuple[str, str]] = []
|
|
2001
|
-
_files: Dict[str, str] = {}
|
|
1700
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2002
1701
|
_body_params: Optional[bytes] = None
|
|
2003
1702
|
|
|
2004
1703
|
# process the path parameters
|
|
@@ -2017,11 +1716,12 @@ class WorkspaceApi:
|
|
|
2017
1716
|
|
|
2018
1717
|
|
|
2019
1718
|
# set the HTTP header `Accept`
|
|
2020
|
-
|
|
2021
|
-
[
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
1719
|
+
if 'Accept' not in _header_params:
|
|
1720
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1721
|
+
[
|
|
1722
|
+
'application/octet-stream'
|
|
1723
|
+
]
|
|
1724
|
+
)
|
|
2025
1725
|
|
|
2026
1726
|
|
|
2027
1727
|
# authentication setting
|
|
@@ -2275,7 +1975,7 @@ class WorkspaceApi:
|
|
|
2275
1975
|
_query_params: List[Tuple[str, str]] = []
|
|
2276
1976
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2277
1977
|
_form_params: List[Tuple[str, str]] = []
|
|
2278
|
-
_files: Dict[str, str] = {}
|
|
1978
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2279
1979
|
_body_params: Optional[bytes] = None
|
|
2280
1980
|
|
|
2281
1981
|
# process the path parameters
|
|
@@ -2290,11 +1990,12 @@ class WorkspaceApi:
|
|
|
2290
1990
|
|
|
2291
1991
|
|
|
2292
1992
|
# set the HTTP header `Accept`
|
|
2293
|
-
|
|
2294
|
-
[
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
1993
|
+
if 'Accept' not in _header_params:
|
|
1994
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1995
|
+
[
|
|
1996
|
+
'application/json'
|
|
1997
|
+
]
|
|
1998
|
+
)
|
|
2298
1999
|
|
|
2299
2000
|
|
|
2300
2001
|
# authentication setting
|
|
@@ -2324,7 +2025,7 @@ class WorkspaceApi:
|
|
|
2324
2025
|
def find_all_workspaces(
|
|
2325
2026
|
self,
|
|
2326
2027
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2327
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
2028
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
2328
2029
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
2329
2030
|
_request_timeout: Union[
|
|
2330
2031
|
None,
|
|
@@ -2344,7 +2045,7 @@ class WorkspaceApi:
|
|
|
2344
2045
|
|
|
2345
2046
|
:param organization_id: the Organization identifier (required)
|
|
2346
2047
|
:type organization_id: str
|
|
2347
|
-
:param page: page number to query
|
|
2048
|
+
:param page: page number to query (first page is at index 0)
|
|
2348
2049
|
:type page: int
|
|
2349
2050
|
:param size: amount of result by page
|
|
2350
2051
|
:type size: int
|
|
@@ -2398,7 +2099,7 @@ class WorkspaceApi:
|
|
|
2398
2099
|
def find_all_workspaces_with_http_info(
|
|
2399
2100
|
self,
|
|
2400
2101
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2401
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
2102
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
2402
2103
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
2403
2104
|
_request_timeout: Union[
|
|
2404
2105
|
None,
|
|
@@ -2418,7 +2119,7 @@ class WorkspaceApi:
|
|
|
2418
2119
|
|
|
2419
2120
|
:param organization_id: the Organization identifier (required)
|
|
2420
2121
|
:type organization_id: str
|
|
2421
|
-
:param page: page number to query
|
|
2122
|
+
:param page: page number to query (first page is at index 0)
|
|
2422
2123
|
:type page: int
|
|
2423
2124
|
:param size: amount of result by page
|
|
2424
2125
|
:type size: int
|
|
@@ -2472,7 +2173,7 @@ class WorkspaceApi:
|
|
|
2472
2173
|
def find_all_workspaces_without_preload_content(
|
|
2473
2174
|
self,
|
|
2474
2175
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2475
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
2176
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
2476
2177
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
2477
2178
|
_request_timeout: Union[
|
|
2478
2179
|
None,
|
|
@@ -2492,7 +2193,7 @@ class WorkspaceApi:
|
|
|
2492
2193
|
|
|
2493
2194
|
:param organization_id: the Organization identifier (required)
|
|
2494
2195
|
:type organization_id: str
|
|
2495
|
-
:param page: page number to query
|
|
2196
|
+
:param page: page number to query (first page is at index 0)
|
|
2496
2197
|
:type page: int
|
|
2497
2198
|
:param size: amount of result by page
|
|
2498
2199
|
:type size: int
|
|
@@ -2558,7 +2259,7 @@ class WorkspaceApi:
|
|
|
2558
2259
|
_query_params: List[Tuple[str, str]] = []
|
|
2559
2260
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2560
2261
|
_form_params: List[Tuple[str, str]] = []
|
|
2561
|
-
_files: Dict[str, str] = {}
|
|
2262
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2562
2263
|
_body_params: Optional[bytes] = None
|
|
2563
2264
|
|
|
2564
2265
|
# process the path parameters
|
|
@@ -2579,11 +2280,12 @@ class WorkspaceApi:
|
|
|
2579
2280
|
|
|
2580
2281
|
|
|
2581
2282
|
# set the HTTP header `Accept`
|
|
2582
|
-
|
|
2583
|
-
[
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2283
|
+
if 'Accept' not in _header_params:
|
|
2284
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2285
|
+
[
|
|
2286
|
+
'application/json'
|
|
2287
|
+
]
|
|
2288
|
+
)
|
|
2587
2289
|
|
|
2588
2290
|
|
|
2589
2291
|
# authentication setting
|
|
@@ -2837,7 +2539,7 @@ class WorkspaceApi:
|
|
|
2837
2539
|
_query_params: List[Tuple[str, str]] = []
|
|
2838
2540
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2839
2541
|
_form_params: List[Tuple[str, str]] = []
|
|
2840
|
-
_files: Dict[str, str] = {}
|
|
2542
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2841
2543
|
_body_params: Optional[bytes] = None
|
|
2842
2544
|
|
|
2843
2545
|
# process the path parameters
|
|
@@ -2852,11 +2554,12 @@ class WorkspaceApi:
|
|
|
2852
2554
|
|
|
2853
2555
|
|
|
2854
2556
|
# set the HTTP header `Accept`
|
|
2855
|
-
|
|
2856
|
-
[
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2557
|
+
if 'Accept' not in _header_params:
|
|
2558
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2559
|
+
[
|
|
2560
|
+
'application/json'
|
|
2561
|
+
]
|
|
2562
|
+
)
|
|
2860
2563
|
|
|
2861
2564
|
|
|
2862
2565
|
# authentication setting
|
|
@@ -3123,7 +2826,7 @@ class WorkspaceApi:
|
|
|
3123
2826
|
_query_params: List[Tuple[str, str]] = []
|
|
3124
2827
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3125
2828
|
_form_params: List[Tuple[str, str]] = []
|
|
3126
|
-
_files: Dict[str, str] = {}
|
|
2829
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3127
2830
|
_body_params: Optional[bytes] = None
|
|
3128
2831
|
|
|
3129
2832
|
# process the path parameters
|
|
@@ -3140,11 +2843,12 @@ class WorkspaceApi:
|
|
|
3140
2843
|
|
|
3141
2844
|
|
|
3142
2845
|
# set the HTTP header `Accept`
|
|
3143
|
-
|
|
3144
|
-
[
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
2846
|
+
if 'Accept' not in _header_params:
|
|
2847
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2848
|
+
[
|
|
2849
|
+
'application/json'
|
|
2850
|
+
]
|
|
2851
|
+
)
|
|
3148
2852
|
|
|
3149
2853
|
|
|
3150
2854
|
# authentication setting
|
|
@@ -3408,7 +3112,7 @@ class WorkspaceApi:
|
|
|
3408
3112
|
_query_params: List[Tuple[str, str]] = []
|
|
3409
3113
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3410
3114
|
_form_params: List[Tuple[str, str]] = []
|
|
3411
|
-
_files: Dict[str, str] = {}
|
|
3115
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3412
3116
|
_body_params: Optional[bytes] = None
|
|
3413
3117
|
|
|
3414
3118
|
# process the path parameters
|
|
@@ -3425,11 +3129,12 @@ class WorkspaceApi:
|
|
|
3425
3129
|
|
|
3426
3130
|
|
|
3427
3131
|
# set the HTTP header `Accept`
|
|
3428
|
-
|
|
3429
|
-
[
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3132
|
+
if 'Accept' not in _header_params:
|
|
3133
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3134
|
+
[
|
|
3135
|
+
'application/json'
|
|
3136
|
+
]
|
|
3137
|
+
)
|
|
3433
3138
|
|
|
3434
3139
|
|
|
3435
3140
|
# authentication setting
|
|
@@ -3683,7 +3388,7 @@ class WorkspaceApi:
|
|
|
3683
3388
|
_query_params: List[Tuple[str, str]] = []
|
|
3684
3389
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3685
3390
|
_form_params: List[Tuple[str, str]] = []
|
|
3686
|
-
_files: Dict[str, str] = {}
|
|
3391
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3687
3392
|
_body_params: Optional[bytes] = None
|
|
3688
3393
|
|
|
3689
3394
|
# process the path parameters
|
|
@@ -3698,11 +3403,12 @@ class WorkspaceApi:
|
|
|
3698
3403
|
|
|
3699
3404
|
|
|
3700
3405
|
# set the HTTP header `Accept`
|
|
3701
|
-
|
|
3702
|
-
[
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3406
|
+
if 'Accept' not in _header_params:
|
|
3407
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3408
|
+
[
|
|
3409
|
+
'application/json'
|
|
3410
|
+
]
|
|
3411
|
+
)
|
|
3706
3412
|
|
|
3707
3413
|
|
|
3708
3414
|
# authentication setting
|
|
@@ -3956,7 +3662,7 @@ class WorkspaceApi:
|
|
|
3956
3662
|
_query_params: List[Tuple[str, str]] = []
|
|
3957
3663
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3958
3664
|
_form_params: List[Tuple[str, str]] = []
|
|
3959
|
-
_files: Dict[str, str] = {}
|
|
3665
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3960
3666
|
_body_params: Optional[bytes] = None
|
|
3961
3667
|
|
|
3962
3668
|
# process the path parameters
|
|
@@ -3971,11 +3677,12 @@ class WorkspaceApi:
|
|
|
3971
3677
|
|
|
3972
3678
|
|
|
3973
3679
|
# set the HTTP header `Accept`
|
|
3974
|
-
|
|
3975
|
-
[
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3680
|
+
if 'Accept' not in _header_params:
|
|
3681
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3682
|
+
[
|
|
3683
|
+
'application/json'
|
|
3684
|
+
]
|
|
3685
|
+
)
|
|
3979
3686
|
|
|
3980
3687
|
|
|
3981
3688
|
# authentication setting
|
|
@@ -4245,7 +3952,7 @@ class WorkspaceApi:
|
|
|
4245
3952
|
_query_params: List[Tuple[str, str]] = []
|
|
4246
3953
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4247
3954
|
_form_params: List[Tuple[str, str]] = []
|
|
4248
|
-
_files: Dict[str, str] = {}
|
|
3955
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4249
3956
|
_body_params: Optional[bytes] = None
|
|
4250
3957
|
|
|
4251
3958
|
# process the path parameters
|
|
@@ -4264,11 +3971,12 @@ class WorkspaceApi:
|
|
|
4264
3971
|
|
|
4265
3972
|
|
|
4266
3973
|
# set the HTTP header `Accept`
|
|
4267
|
-
|
|
4268
|
-
[
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
3974
|
+
if 'Accept' not in _header_params:
|
|
3975
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3976
|
+
[
|
|
3977
|
+
'application/json'
|
|
3978
|
+
]
|
|
3979
|
+
)
|
|
4272
3980
|
|
|
4273
3981
|
|
|
4274
3982
|
# authentication setting
|
|
@@ -4535,7 +4243,7 @@ class WorkspaceApi:
|
|
|
4535
4243
|
_query_params: List[Tuple[str, str]] = []
|
|
4536
4244
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4537
4245
|
_form_params: List[Tuple[str, str]] = []
|
|
4538
|
-
_files: Dict[str, str] = {}
|
|
4246
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4539
4247
|
_body_params: Optional[bytes] = None
|
|
4540
4248
|
|
|
4541
4249
|
# process the path parameters
|
|
@@ -4817,7 +4525,7 @@ class WorkspaceApi:
|
|
|
4817
4525
|
_query_params: List[Tuple[str, str]] = []
|
|
4818
4526
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4819
4527
|
_form_params: List[Tuple[str, str]] = []
|
|
4820
|
-
_files: Dict[str, str] = {}
|
|
4528
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4821
4529
|
_body_params: Optional[bytes] = None
|
|
4822
4530
|
|
|
4823
4531
|
# process the path parameters
|
|
@@ -4834,11 +4542,12 @@ class WorkspaceApi:
|
|
|
4834
4542
|
|
|
4835
4543
|
|
|
4836
4544
|
# set the HTTP header `Accept`
|
|
4837
|
-
|
|
4838
|
-
[
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4545
|
+
if 'Accept' not in _header_params:
|
|
4546
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4547
|
+
[
|
|
4548
|
+
'application/json'
|
|
4549
|
+
]
|
|
4550
|
+
)
|
|
4842
4551
|
|
|
4843
4552
|
# set the HTTP header `Content-Type`
|
|
4844
4553
|
if _content_type:
|
|
@@ -5122,7 +4831,7 @@ class WorkspaceApi:
|
|
|
5122
4831
|
_query_params: List[Tuple[str, str]] = []
|
|
5123
4832
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
5124
4833
|
_form_params: List[Tuple[str, str]] = []
|
|
5125
|
-
_files: Dict[str, str] = {}
|
|
4834
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
5126
4835
|
_body_params: Optional[bytes] = None
|
|
5127
4836
|
|
|
5128
4837
|
# process the path parameters
|
|
@@ -5141,11 +4850,12 @@ class WorkspaceApi:
|
|
|
5141
4850
|
|
|
5142
4851
|
|
|
5143
4852
|
# set the HTTP header `Accept`
|
|
5144
|
-
|
|
5145
|
-
[
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
4853
|
+
if 'Accept' not in _header_params:
|
|
4854
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4855
|
+
[
|
|
4856
|
+
'application/json'
|
|
4857
|
+
]
|
|
4858
|
+
)
|
|
5149
4859
|
|
|
5150
4860
|
|
|
5151
4861
|
# authentication setting
|
|
@@ -5415,7 +5125,7 @@ class WorkspaceApi:
|
|
|
5415
5125
|
_query_params: List[Tuple[str, str]] = []
|
|
5416
5126
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
5417
5127
|
_form_params: List[Tuple[str, str]] = []
|
|
5418
|
-
_files: Dict[str, str] = {}
|
|
5128
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
5419
5129
|
_body_params: Optional[bytes] = None
|
|
5420
5130
|
|
|
5421
5131
|
# process the path parameters
|
|
@@ -5432,11 +5142,12 @@ class WorkspaceApi:
|
|
|
5432
5142
|
|
|
5433
5143
|
|
|
5434
5144
|
# set the HTTP header `Accept`
|
|
5435
|
-
|
|
5436
|
-
[
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5145
|
+
if 'Accept' not in _header_params:
|
|
5146
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5147
|
+
[
|
|
5148
|
+
'application/json'
|
|
5149
|
+
]
|
|
5150
|
+
)
|
|
5440
5151
|
|
|
5441
5152
|
# set the HTTP header `Content-Type`
|
|
5442
5153
|
if _content_type:
|
|
@@ -5730,7 +5441,7 @@ class WorkspaceApi:
|
|
|
5730
5441
|
_query_params: List[Tuple[str, str]] = []
|
|
5731
5442
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
5732
5443
|
_form_params: List[Tuple[str, str]] = []
|
|
5733
|
-
_files: Dict[str, str] = {}
|
|
5444
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
5734
5445
|
_body_params: Optional[bytes] = None
|
|
5735
5446
|
|
|
5736
5447
|
# process the path parameters
|
|
@@ -5749,11 +5460,12 @@ class WorkspaceApi:
|
|
|
5749
5460
|
|
|
5750
5461
|
|
|
5751
5462
|
# set the HTTP header `Accept`
|
|
5752
|
-
|
|
5753
|
-
[
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5463
|
+
if 'Accept' not in _header_params:
|
|
5464
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5465
|
+
[
|
|
5466
|
+
'application/json'
|
|
5467
|
+
]
|
|
5468
|
+
)
|
|
5757
5469
|
|
|
5758
5470
|
# set the HTTP header `Content-Type`
|
|
5759
5471
|
if _content_type:
|
|
@@ -6059,7 +5771,7 @@ class WorkspaceApi:
|
|
|
6059
5771
|
_query_params: List[Tuple[str, str]] = []
|
|
6060
5772
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
6061
5773
|
_form_params: List[Tuple[str, str]] = []
|
|
6062
|
-
_files: Dict[str, str] = {}
|
|
5774
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
6063
5775
|
_body_params: Optional[bytes] = None
|
|
6064
5776
|
|
|
6065
5777
|
# process the path parameters
|
|
@@ -6080,11 +5792,12 @@ class WorkspaceApi:
|
|
|
6080
5792
|
|
|
6081
5793
|
|
|
6082
5794
|
# set the HTTP header `Accept`
|
|
6083
|
-
|
|
6084
|
-
[
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
5795
|
+
if 'Accept' not in _header_params:
|
|
5796
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5797
|
+
[
|
|
5798
|
+
'application/json'
|
|
5799
|
+
]
|
|
5800
|
+
)
|
|
6088
5801
|
|
|
6089
5802
|
# set the HTTP header `Content-Type`
|
|
6090
5803
|
if _content_type:
|