cosmotech-api 5.0.0b4__py3-none-any.whl → 5.0.0b6__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 +2 -6
- cosmotech_api/api/connector_api.py +4 -7
- cosmotech_api/api/dataset_api.py +471 -40
- cosmotech_api/api/meta_api.py +1 -1
- cosmotech_api/api/organization_api.py +1 -1
- cosmotech_api/api/run_api.py +1 -674
- cosmotech_api/api/runner_api.py +13 -13
- cosmotech_api/api/scenario_api.py +1 -1
- cosmotech_api/api/scenariorun_api.py +1 -1
- cosmotech_api/api/solution_api.py +399 -1860
- cosmotech_api/api/twingraph_api.py +1 -1
- cosmotech_api/api/workspace_api.py +1 -1
- cosmotech_api/api_client.py +1 -1
- cosmotech_api/configuration.py +2 -2
- cosmotech_api/exceptions.py +1 -1
- cosmotech_api/models/__init__.py +2 -6
- cosmotech_api/models/about_info.py +1 -1
- cosmotech_api/models/about_info_version.py +1 -1
- cosmotech_api/models/component_role_permissions.py +1 -1
- cosmotech_api/models/connector.py +1 -1
- 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/create_info.py +1 -1
- cosmotech_api/models/created_run.py +1 -1
- 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_create_request.py +1 -1
- cosmotech_api/models/dataset_part.py +2 -2
- cosmotech_api/models/dataset_part_create_request.py +3 -3
- cosmotech_api/models/dataset_part_type_enum.py +2 -2
- cosmotech_api/models/dataset_part_update_request.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/dataset_update_request.py +1 -1
- cosmotech_api/models/delete_historical_data.py +1 -1
- cosmotech_api/models/edit_info.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/last_run_info.py +1 -1
- cosmotech_api/models/organization.py +1 -1
- cosmotech_api/models/organization_access_control.py +1 -1
- cosmotech_api/models/organization_create_request.py +1 -1
- cosmotech_api/models/organization_edit_info.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/organization_update_request.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 +1 -1
- cosmotech_api/models/run_container_artifact.py +1 -1
- cosmotech_api/models/run_container_logs.py +1 -1
- cosmotech_api/models/run_data.py +2 -2
- cosmotech_api/models/run_data_query.py +1 -1
- cosmotech_api/models/run_edit_info.py +1 -1
- cosmotech_api/models/run_logs.py +1 -1
- cosmotech_api/models/run_logs_entry.py +1 -1
- 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_create_request.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_create_request.py +1 -1
- cosmotech_api/models/run_template_parameter_group.py +1 -1
- cosmotech_api/models/run_template_parameter_group_create_request.py +1 -1
- cosmotech_api/models/run_template_parameter_group_update_request.py +1 -1
- cosmotech_api/models/run_template_parameter_update_request.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/run_template_update_request.py +1 -1
- cosmotech_api/models/runner.py +8 -4
- 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_create_request.py +1 -9
- cosmotech_api/models/runner_data_download_info.py +1 -1
- cosmotech_api/models/runner_data_download_job.py +1 -1
- cosmotech_api/models/runner_datasets.py +92 -0
- cosmotech_api/models/runner_edit_info.py +1 -1
- cosmotech_api/models/runner_job_state.py +1 -1
- cosmotech_api/models/runner_last_run.py +1 -1
- cosmotech_api/models/runner_parent_last_run.py +1 -1
- cosmotech_api/models/runner_resource_sizing.py +1 -1
- cosmotech_api/models/runner_role.py +1 -1
- cosmotech_api/models/runner_root_last_run.py +1 -1
- cosmotech_api/models/runner_run_template_parameter_value.py +1 -3
- cosmotech_api/models/runner_security.py +1 -1
- cosmotech_api/models/runner_update_request.py +1 -5
- cosmotech_api/models/runner_validation_status.py +1 -1
- cosmotech_api/models/scenario.py +1 -1
- 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 +5 -5
- cosmotech_api/models/solution.py +1 -1
- cosmotech_api/models/solution_access_control.py +1 -1
- cosmotech_api/models/solution_create_request.py +1 -1
- cosmotech_api/models/solution_edit_info.py +1 -1
- cosmotech_api/models/solution_file.py +1 -1
- cosmotech_api/models/solution_role.py +1 -1
- cosmotech_api/models/solution_security.py +1 -1
- cosmotech_api/models/solution_update_request.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 +1 -1
- cosmotech_api/models/workspace_access_control.py +1 -1
- cosmotech_api/models/workspace_create_request.py +1 -1
- cosmotech_api/models/workspace_edit_info.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 +1 -1
- cosmotech_api/models/workspace_security.py +1 -1
- cosmotech_api/models/workspace_solution.py +16 -2
- cosmotech_api/models/workspace_update_request.py +1 -1
- cosmotech_api/models/workspace_web_app.py +1 -1
- cosmotech_api/rest.py +1 -1
- {cosmotech_api-5.0.0b4.dist-info → cosmotech_api-5.0.0b6.dist-info}/METADATA +1 -1
- cosmotech_api-5.0.0b6.dist-info/RECORD +295 -0
- cosmotech_api-5.0.0b4.dist-info/RECORD +0 -294
- {cosmotech_api-5.0.0b4.dist-info → cosmotech_api-5.0.0b6.dist-info}/WHEEL +0 -0
- {cosmotech_api-5.0.0b4.dist-info → cosmotech_api-5.0.0b6.dist-info}/licenses/LICENSE +0 -0
- {cosmotech_api-5.0.0b4.dist-info → cosmotech_api-5.0.0b6.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: 5.0.0-
|
|
8
|
+
The version of the OpenAPI document: 5.0.0-beta6
|
|
9
9
|
Contact: platform@cosmotech.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -17,8 +17,8 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
17
17
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
|
-
from pydantic import Field,
|
|
21
|
-
from typing import List, Optional
|
|
20
|
+
from pydantic import Field, StrictInt, StrictStr
|
|
21
|
+
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from cosmotech_api.models.run_template import RunTemplate
|
|
24
24
|
from cosmotech_api.models.run_template_create_request import RunTemplateCreateRequest
|
|
@@ -32,7 +32,6 @@ from cosmotech_api.models.run_template_update_request import RunTemplateUpdateRe
|
|
|
32
32
|
from cosmotech_api.models.solution import Solution
|
|
33
33
|
from cosmotech_api.models.solution_access_control import SolutionAccessControl
|
|
34
34
|
from cosmotech_api.models.solution_create_request import SolutionCreateRequest
|
|
35
|
-
from cosmotech_api.models.solution_file import SolutionFile
|
|
36
35
|
from cosmotech_api.models.solution_role import SolutionRole
|
|
37
36
|
from cosmotech_api.models.solution_security import SolutionSecurity
|
|
38
37
|
from cosmotech_api.models.solution_update_request import SolutionUpdateRequest
|
|
@@ -653,13 +652,11 @@ class SolutionApi:
|
|
|
653
652
|
|
|
654
653
|
|
|
655
654
|
@validate_call
|
|
656
|
-
def
|
|
655
|
+
def create_solution_parameter(
|
|
657
656
|
self,
|
|
658
657
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
659
658
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
660
|
-
|
|
661
|
-
overwrite: Annotated[Optional[StrictBool], Field(description="Whether to overwrite an existing file")] = None,
|
|
662
|
-
destination: Annotated[Optional[StrictStr], Field(description="Destination path. Must end with a '/' if specifying a folder. Note that paths may or may not start with a '/', but they are always treated as relative to the Solution root location. ")] = None,
|
|
659
|
+
run_template_parameter_create_request: Annotated[RunTemplateParameterCreateRequest, Field(description="Parameter to create")],
|
|
663
660
|
_request_timeout: Union[
|
|
664
661
|
None,
|
|
665
662
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -672,20 +669,16 @@ class SolutionApi:
|
|
|
672
669
|
_content_type: Optional[StrictStr] = None,
|
|
673
670
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
674
671
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
675
|
-
) ->
|
|
676
|
-
"""
|
|
672
|
+
) -> RunTemplateParameter:
|
|
673
|
+
"""Create solution parameter for a solution
|
|
677
674
|
|
|
678
675
|
|
|
679
676
|
:param organization_id: the Organization identifier (required)
|
|
680
677
|
:type organization_id: str
|
|
681
678
|
:param solution_id: the Solution identifier (required)
|
|
682
679
|
:type solution_id: str
|
|
683
|
-
:param
|
|
684
|
-
:type
|
|
685
|
-
:param overwrite: Whether to overwrite an existing file
|
|
686
|
-
:type overwrite: bool
|
|
687
|
-
:param destination: Destination path. Must end with a '/' if specifying a folder. Note that paths may or may not start with a '/', but they are always treated as relative to the Solution root location.
|
|
688
|
-
:type destination: str
|
|
680
|
+
:param run_template_parameter_create_request: Parameter to create (required)
|
|
681
|
+
:type run_template_parameter_create_request: RunTemplateParameterCreateRequest
|
|
689
682
|
:param _request_timeout: timeout setting for this request. If one
|
|
690
683
|
number provided, it will be total request
|
|
691
684
|
timeout. It can also be a pair (tuple) of
|
|
@@ -708,12 +701,10 @@ class SolutionApi:
|
|
|
708
701
|
:return: Returns the result object.
|
|
709
702
|
""" # noqa: E501
|
|
710
703
|
|
|
711
|
-
_param = self.
|
|
704
|
+
_param = self._create_solution_parameter_serialize(
|
|
712
705
|
organization_id=organization_id,
|
|
713
706
|
solution_id=solution_id,
|
|
714
|
-
|
|
715
|
-
overwrite=overwrite,
|
|
716
|
-
destination=destination,
|
|
707
|
+
run_template_parameter_create_request=run_template_parameter_create_request,
|
|
717
708
|
_request_auth=_request_auth,
|
|
718
709
|
_content_type=_content_type,
|
|
719
710
|
_headers=_headers,
|
|
@@ -721,8 +712,9 @@ class SolutionApi:
|
|
|
721
712
|
)
|
|
722
713
|
|
|
723
714
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
724
|
-
'
|
|
715
|
+
'200': "RunTemplateParameter",
|
|
725
716
|
'400': None,
|
|
717
|
+
'404': None,
|
|
726
718
|
}
|
|
727
719
|
response_data = self.api_client.call_api(
|
|
728
720
|
*_param,
|
|
@@ -736,13 +728,11 @@ class SolutionApi:
|
|
|
736
728
|
|
|
737
729
|
|
|
738
730
|
@validate_call
|
|
739
|
-
def
|
|
731
|
+
def create_solution_parameter_with_http_info(
|
|
740
732
|
self,
|
|
741
733
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
742
734
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
743
|
-
|
|
744
|
-
overwrite: Annotated[Optional[StrictBool], Field(description="Whether to overwrite an existing file")] = None,
|
|
745
|
-
destination: Annotated[Optional[StrictStr], Field(description="Destination path. Must end with a '/' if specifying a folder. Note that paths may or may not start with a '/', but they are always treated as relative to the Solution root location. ")] = None,
|
|
735
|
+
run_template_parameter_create_request: Annotated[RunTemplateParameterCreateRequest, Field(description="Parameter to create")],
|
|
746
736
|
_request_timeout: Union[
|
|
747
737
|
None,
|
|
748
738
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -755,20 +745,16 @@ class SolutionApi:
|
|
|
755
745
|
_content_type: Optional[StrictStr] = None,
|
|
756
746
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
757
747
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
758
|
-
) -> ApiResponse[
|
|
759
|
-
"""
|
|
748
|
+
) -> ApiResponse[RunTemplateParameter]:
|
|
749
|
+
"""Create solution parameter for a solution
|
|
760
750
|
|
|
761
751
|
|
|
762
752
|
:param organization_id: the Organization identifier (required)
|
|
763
753
|
:type organization_id: str
|
|
764
754
|
:param solution_id: the Solution identifier (required)
|
|
765
755
|
:type solution_id: str
|
|
766
|
-
:param
|
|
767
|
-
:type
|
|
768
|
-
:param overwrite: Whether to overwrite an existing file
|
|
769
|
-
:type overwrite: bool
|
|
770
|
-
:param destination: Destination path. Must end with a '/' if specifying a folder. Note that paths may or may not start with a '/', but they are always treated as relative to the Solution root location.
|
|
771
|
-
:type destination: str
|
|
756
|
+
:param run_template_parameter_create_request: Parameter to create (required)
|
|
757
|
+
:type run_template_parameter_create_request: RunTemplateParameterCreateRequest
|
|
772
758
|
:param _request_timeout: timeout setting for this request. If one
|
|
773
759
|
number provided, it will be total request
|
|
774
760
|
timeout. It can also be a pair (tuple) of
|
|
@@ -791,12 +777,10 @@ class SolutionApi:
|
|
|
791
777
|
:return: Returns the result object.
|
|
792
778
|
""" # noqa: E501
|
|
793
779
|
|
|
794
|
-
_param = self.
|
|
780
|
+
_param = self._create_solution_parameter_serialize(
|
|
795
781
|
organization_id=organization_id,
|
|
796
782
|
solution_id=solution_id,
|
|
797
|
-
|
|
798
|
-
overwrite=overwrite,
|
|
799
|
-
destination=destination,
|
|
783
|
+
run_template_parameter_create_request=run_template_parameter_create_request,
|
|
800
784
|
_request_auth=_request_auth,
|
|
801
785
|
_content_type=_content_type,
|
|
802
786
|
_headers=_headers,
|
|
@@ -804,8 +788,9 @@ class SolutionApi:
|
|
|
804
788
|
)
|
|
805
789
|
|
|
806
790
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
807
|
-
'
|
|
791
|
+
'200': "RunTemplateParameter",
|
|
808
792
|
'400': None,
|
|
793
|
+
'404': None,
|
|
809
794
|
}
|
|
810
795
|
response_data = self.api_client.call_api(
|
|
811
796
|
*_param,
|
|
@@ -819,13 +804,11 @@ class SolutionApi:
|
|
|
819
804
|
|
|
820
805
|
|
|
821
806
|
@validate_call
|
|
822
|
-
def
|
|
807
|
+
def create_solution_parameter_without_preload_content(
|
|
823
808
|
self,
|
|
824
809
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
825
810
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
826
|
-
|
|
827
|
-
overwrite: Annotated[Optional[StrictBool], Field(description="Whether to overwrite an existing file")] = None,
|
|
828
|
-
destination: Annotated[Optional[StrictStr], Field(description="Destination path. Must end with a '/' if specifying a folder. Note that paths may or may not start with a '/', but they are always treated as relative to the Solution root location. ")] = None,
|
|
811
|
+
run_template_parameter_create_request: Annotated[RunTemplateParameterCreateRequest, Field(description="Parameter to create")],
|
|
829
812
|
_request_timeout: Union[
|
|
830
813
|
None,
|
|
831
814
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -839,19 +822,15 @@ class SolutionApi:
|
|
|
839
822
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
840
823
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
841
824
|
) -> RESTResponseType:
|
|
842
|
-
"""
|
|
825
|
+
"""Create solution parameter for a solution
|
|
843
826
|
|
|
844
827
|
|
|
845
828
|
:param organization_id: the Organization identifier (required)
|
|
846
829
|
:type organization_id: str
|
|
847
830
|
:param solution_id: the Solution identifier (required)
|
|
848
831
|
:type solution_id: str
|
|
849
|
-
:param
|
|
850
|
-
:type
|
|
851
|
-
:param overwrite: Whether to overwrite an existing file
|
|
852
|
-
:type overwrite: bool
|
|
853
|
-
:param destination: Destination path. Must end with a '/' if specifying a folder. Note that paths may or may not start with a '/', but they are always treated as relative to the Solution root location.
|
|
854
|
-
:type destination: str
|
|
832
|
+
:param run_template_parameter_create_request: Parameter to create (required)
|
|
833
|
+
:type run_template_parameter_create_request: RunTemplateParameterCreateRequest
|
|
855
834
|
:param _request_timeout: timeout setting for this request. If one
|
|
856
835
|
number provided, it will be total request
|
|
857
836
|
timeout. It can also be a pair (tuple) of
|
|
@@ -874,12 +853,10 @@ class SolutionApi:
|
|
|
874
853
|
:return: Returns the result object.
|
|
875
854
|
""" # noqa: E501
|
|
876
855
|
|
|
877
|
-
_param = self.
|
|
856
|
+
_param = self._create_solution_parameter_serialize(
|
|
878
857
|
organization_id=organization_id,
|
|
879
858
|
solution_id=solution_id,
|
|
880
|
-
|
|
881
|
-
overwrite=overwrite,
|
|
882
|
-
destination=destination,
|
|
859
|
+
run_template_parameter_create_request=run_template_parameter_create_request,
|
|
883
860
|
_request_auth=_request_auth,
|
|
884
861
|
_content_type=_content_type,
|
|
885
862
|
_headers=_headers,
|
|
@@ -887,8 +864,9 @@ class SolutionApi:
|
|
|
887
864
|
)
|
|
888
865
|
|
|
889
866
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
890
|
-
'
|
|
867
|
+
'200': "RunTemplateParameter",
|
|
891
868
|
'400': None,
|
|
869
|
+
'404': None,
|
|
892
870
|
}
|
|
893
871
|
response_data = self.api_client.call_api(
|
|
894
872
|
*_param,
|
|
@@ -897,13 +875,11 @@ class SolutionApi:
|
|
|
897
875
|
return response_data.response
|
|
898
876
|
|
|
899
877
|
|
|
900
|
-
def
|
|
878
|
+
def _create_solution_parameter_serialize(
|
|
901
879
|
self,
|
|
902
880
|
organization_id,
|
|
903
881
|
solution_id,
|
|
904
|
-
|
|
905
|
-
overwrite,
|
|
906
|
-
destination,
|
|
882
|
+
run_template_parameter_create_request,
|
|
907
883
|
_request_auth,
|
|
908
884
|
_content_type,
|
|
909
885
|
_headers,
|
|
@@ -932,13 +908,9 @@ class SolutionApi:
|
|
|
932
908
|
# process the query parameters
|
|
933
909
|
# process the header parameters
|
|
934
910
|
# process the form parameters
|
|
935
|
-
if overwrite is not None:
|
|
936
|
-
_form_params.append(('overwrite', overwrite))
|
|
937
|
-
if destination is not None:
|
|
938
|
-
_form_params.append(('destination', destination))
|
|
939
|
-
if file is not None:
|
|
940
|
-
_files['file'] = file
|
|
941
911
|
# process the body parameter
|
|
912
|
+
if run_template_parameter_create_request is not None:
|
|
913
|
+
_body_params = run_template_parameter_create_request
|
|
942
914
|
|
|
943
915
|
|
|
944
916
|
# set the HTTP header `Accept`
|
|
@@ -957,7 +929,8 @@ class SolutionApi:
|
|
|
957
929
|
_default_content_type = (
|
|
958
930
|
self.api_client.select_header_content_type(
|
|
959
931
|
[
|
|
960
|
-
'
|
|
932
|
+
'application/json',
|
|
933
|
+
'application/yaml'
|
|
961
934
|
]
|
|
962
935
|
)
|
|
963
936
|
)
|
|
@@ -971,7 +944,7 @@ class SolutionApi:
|
|
|
971
944
|
|
|
972
945
|
return self.api_client.param_serialize(
|
|
973
946
|
method='POST',
|
|
974
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
947
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters',
|
|
975
948
|
path_params=_path_params,
|
|
976
949
|
query_params=_query_params,
|
|
977
950
|
header_params=_header_params,
|
|
@@ -988,11 +961,11 @@ class SolutionApi:
|
|
|
988
961
|
|
|
989
962
|
|
|
990
963
|
@validate_call
|
|
991
|
-
def
|
|
964
|
+
def create_solution_parameter_group(
|
|
992
965
|
self,
|
|
993
966
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
994
967
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
995
|
-
|
|
968
|
+
run_template_parameter_group_create_request: Annotated[RunTemplateParameterGroupCreateRequest, Field(description="Parameter group to create")],
|
|
996
969
|
_request_timeout: Union[
|
|
997
970
|
None,
|
|
998
971
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1005,16 +978,16 @@ class SolutionApi:
|
|
|
1005
978
|
_content_type: Optional[StrictStr] = None,
|
|
1006
979
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1007
980
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1008
|
-
) ->
|
|
1009
|
-
"""Create solution parameter
|
|
981
|
+
) -> RunTemplateParameterGroup:
|
|
982
|
+
"""Create a solution parameter group
|
|
1010
983
|
|
|
1011
984
|
|
|
1012
985
|
:param organization_id: the Organization identifier (required)
|
|
1013
986
|
:type organization_id: str
|
|
1014
987
|
:param solution_id: the Solution identifier (required)
|
|
1015
988
|
:type solution_id: str
|
|
1016
|
-
:param
|
|
1017
|
-
:type
|
|
989
|
+
:param run_template_parameter_group_create_request: Parameter group to create (required)
|
|
990
|
+
:type run_template_parameter_group_create_request: RunTemplateParameterGroupCreateRequest
|
|
1018
991
|
:param _request_timeout: timeout setting for this request. If one
|
|
1019
992
|
number provided, it will be total request
|
|
1020
993
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1037,10 +1010,10 @@ class SolutionApi:
|
|
|
1037
1010
|
:return: Returns the result object.
|
|
1038
1011
|
""" # noqa: E501
|
|
1039
1012
|
|
|
1040
|
-
_param = self.
|
|
1013
|
+
_param = self._create_solution_parameter_group_serialize(
|
|
1041
1014
|
organization_id=organization_id,
|
|
1042
1015
|
solution_id=solution_id,
|
|
1043
|
-
|
|
1016
|
+
run_template_parameter_group_create_request=run_template_parameter_group_create_request,
|
|
1044
1017
|
_request_auth=_request_auth,
|
|
1045
1018
|
_content_type=_content_type,
|
|
1046
1019
|
_headers=_headers,
|
|
@@ -1048,7 +1021,7 @@ class SolutionApi:
|
|
|
1048
1021
|
)
|
|
1049
1022
|
|
|
1050
1023
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1051
|
-
'
|
|
1024
|
+
'201': "RunTemplateParameterGroup",
|
|
1052
1025
|
'400': None,
|
|
1053
1026
|
'404': None,
|
|
1054
1027
|
}
|
|
@@ -1064,11 +1037,11 @@ class SolutionApi:
|
|
|
1064
1037
|
|
|
1065
1038
|
|
|
1066
1039
|
@validate_call
|
|
1067
|
-
def
|
|
1040
|
+
def create_solution_parameter_group_with_http_info(
|
|
1068
1041
|
self,
|
|
1069
1042
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1070
1043
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1071
|
-
|
|
1044
|
+
run_template_parameter_group_create_request: Annotated[RunTemplateParameterGroupCreateRequest, Field(description="Parameter group to create")],
|
|
1072
1045
|
_request_timeout: Union[
|
|
1073
1046
|
None,
|
|
1074
1047
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1081,16 +1054,16 @@ class SolutionApi:
|
|
|
1081
1054
|
_content_type: Optional[StrictStr] = None,
|
|
1082
1055
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1083
1056
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1084
|
-
) -> ApiResponse[
|
|
1085
|
-
"""Create solution parameter
|
|
1057
|
+
) -> ApiResponse[RunTemplateParameterGroup]:
|
|
1058
|
+
"""Create a solution parameter group
|
|
1086
1059
|
|
|
1087
1060
|
|
|
1088
1061
|
:param organization_id: the Organization identifier (required)
|
|
1089
1062
|
:type organization_id: str
|
|
1090
1063
|
:param solution_id: the Solution identifier (required)
|
|
1091
1064
|
:type solution_id: str
|
|
1092
|
-
:param
|
|
1093
|
-
:type
|
|
1065
|
+
:param run_template_parameter_group_create_request: Parameter group to create (required)
|
|
1066
|
+
:type run_template_parameter_group_create_request: RunTemplateParameterGroupCreateRequest
|
|
1094
1067
|
:param _request_timeout: timeout setting for this request. If one
|
|
1095
1068
|
number provided, it will be total request
|
|
1096
1069
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1113,10 +1086,10 @@ class SolutionApi:
|
|
|
1113
1086
|
:return: Returns the result object.
|
|
1114
1087
|
""" # noqa: E501
|
|
1115
1088
|
|
|
1116
|
-
_param = self.
|
|
1089
|
+
_param = self._create_solution_parameter_group_serialize(
|
|
1117
1090
|
organization_id=organization_id,
|
|
1118
1091
|
solution_id=solution_id,
|
|
1119
|
-
|
|
1092
|
+
run_template_parameter_group_create_request=run_template_parameter_group_create_request,
|
|
1120
1093
|
_request_auth=_request_auth,
|
|
1121
1094
|
_content_type=_content_type,
|
|
1122
1095
|
_headers=_headers,
|
|
@@ -1124,7 +1097,7 @@ class SolutionApi:
|
|
|
1124
1097
|
)
|
|
1125
1098
|
|
|
1126
1099
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1127
|
-
'
|
|
1100
|
+
'201': "RunTemplateParameterGroup",
|
|
1128
1101
|
'400': None,
|
|
1129
1102
|
'404': None,
|
|
1130
1103
|
}
|
|
@@ -1140,11 +1113,11 @@ class SolutionApi:
|
|
|
1140
1113
|
|
|
1141
1114
|
|
|
1142
1115
|
@validate_call
|
|
1143
|
-
def
|
|
1116
|
+
def create_solution_parameter_group_without_preload_content(
|
|
1144
1117
|
self,
|
|
1145
1118
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1146
1119
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1147
|
-
|
|
1120
|
+
run_template_parameter_group_create_request: Annotated[RunTemplateParameterGroupCreateRequest, Field(description="Parameter group to create")],
|
|
1148
1121
|
_request_timeout: Union[
|
|
1149
1122
|
None,
|
|
1150
1123
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1158,15 +1131,15 @@ class SolutionApi:
|
|
|
1158
1131
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1159
1132
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1160
1133
|
) -> RESTResponseType:
|
|
1161
|
-
"""Create solution parameter
|
|
1134
|
+
"""Create a solution parameter group
|
|
1162
1135
|
|
|
1163
1136
|
|
|
1164
1137
|
:param organization_id: the Organization identifier (required)
|
|
1165
1138
|
:type organization_id: str
|
|
1166
1139
|
:param solution_id: the Solution identifier (required)
|
|
1167
1140
|
:type solution_id: str
|
|
1168
|
-
:param
|
|
1169
|
-
:type
|
|
1141
|
+
:param run_template_parameter_group_create_request: Parameter group to create (required)
|
|
1142
|
+
:type run_template_parameter_group_create_request: RunTemplateParameterGroupCreateRequest
|
|
1170
1143
|
:param _request_timeout: timeout setting for this request. If one
|
|
1171
1144
|
number provided, it will be total request
|
|
1172
1145
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1189,10 +1162,10 @@ class SolutionApi:
|
|
|
1189
1162
|
:return: Returns the result object.
|
|
1190
1163
|
""" # noqa: E501
|
|
1191
1164
|
|
|
1192
|
-
_param = self.
|
|
1165
|
+
_param = self._create_solution_parameter_group_serialize(
|
|
1193
1166
|
organization_id=organization_id,
|
|
1194
1167
|
solution_id=solution_id,
|
|
1195
|
-
|
|
1168
|
+
run_template_parameter_group_create_request=run_template_parameter_group_create_request,
|
|
1196
1169
|
_request_auth=_request_auth,
|
|
1197
1170
|
_content_type=_content_type,
|
|
1198
1171
|
_headers=_headers,
|
|
@@ -1200,7 +1173,7 @@ class SolutionApi:
|
|
|
1200
1173
|
)
|
|
1201
1174
|
|
|
1202
1175
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1203
|
-
'
|
|
1176
|
+
'201': "RunTemplateParameterGroup",
|
|
1204
1177
|
'400': None,
|
|
1205
1178
|
'404': None,
|
|
1206
1179
|
}
|
|
@@ -1211,11 +1184,11 @@ class SolutionApi:
|
|
|
1211
1184
|
return response_data.response
|
|
1212
1185
|
|
|
1213
1186
|
|
|
1214
|
-
def
|
|
1187
|
+
def _create_solution_parameter_group_serialize(
|
|
1215
1188
|
self,
|
|
1216
1189
|
organization_id,
|
|
1217
1190
|
solution_id,
|
|
1218
|
-
|
|
1191
|
+
run_template_parameter_group_create_request,
|
|
1219
1192
|
_request_auth,
|
|
1220
1193
|
_content_type,
|
|
1221
1194
|
_headers,
|
|
@@ -1245,8 +1218,8 @@ class SolutionApi:
|
|
|
1245
1218
|
# process the header parameters
|
|
1246
1219
|
# process the form parameters
|
|
1247
1220
|
# process the body parameter
|
|
1248
|
-
if
|
|
1249
|
-
_body_params =
|
|
1221
|
+
if run_template_parameter_group_create_request is not None:
|
|
1222
|
+
_body_params = run_template_parameter_group_create_request
|
|
1250
1223
|
|
|
1251
1224
|
|
|
1252
1225
|
# set the HTTP header `Accept`
|
|
@@ -1280,7 +1253,7 @@ class SolutionApi:
|
|
|
1280
1253
|
|
|
1281
1254
|
return self.api_client.param_serialize(
|
|
1282
1255
|
method='POST',
|
|
1283
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
1256
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups',
|
|
1284
1257
|
path_params=_path_params,
|
|
1285
1258
|
query_params=_query_params,
|
|
1286
1259
|
header_params=_header_params,
|
|
@@ -1297,11 +1270,11 @@ class SolutionApi:
|
|
|
1297
1270
|
|
|
1298
1271
|
|
|
1299
1272
|
@validate_call
|
|
1300
|
-
def
|
|
1273
|
+
def create_solution_run_template(
|
|
1301
1274
|
self,
|
|
1302
1275
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1303
1276
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1304
|
-
|
|
1277
|
+
run_template_create_request: Annotated[RunTemplateCreateRequest, Field(description="Run template to create")],
|
|
1305
1278
|
_request_timeout: Union[
|
|
1306
1279
|
None,
|
|
1307
1280
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1314,16 +1287,16 @@ class SolutionApi:
|
|
|
1314
1287
|
_content_type: Optional[StrictStr] = None,
|
|
1315
1288
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1316
1289
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1317
|
-
) ->
|
|
1318
|
-
"""Create a solution
|
|
1290
|
+
) -> RunTemplate:
|
|
1291
|
+
"""Create a solution run template
|
|
1319
1292
|
|
|
1320
1293
|
|
|
1321
1294
|
:param organization_id: the Organization identifier (required)
|
|
1322
1295
|
:type organization_id: str
|
|
1323
1296
|
:param solution_id: the Solution identifier (required)
|
|
1324
1297
|
:type solution_id: str
|
|
1325
|
-
:param
|
|
1326
|
-
:type
|
|
1298
|
+
:param run_template_create_request: Run template to create (required)
|
|
1299
|
+
:type run_template_create_request: RunTemplateCreateRequest
|
|
1327
1300
|
:param _request_timeout: timeout setting for this request. If one
|
|
1328
1301
|
number provided, it will be total request
|
|
1329
1302
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1346,10 +1319,10 @@ class SolutionApi:
|
|
|
1346
1319
|
:return: Returns the result object.
|
|
1347
1320
|
""" # noqa: E501
|
|
1348
1321
|
|
|
1349
|
-
_param = self.
|
|
1322
|
+
_param = self._create_solution_run_template_serialize(
|
|
1350
1323
|
organization_id=organization_id,
|
|
1351
1324
|
solution_id=solution_id,
|
|
1352
|
-
|
|
1325
|
+
run_template_create_request=run_template_create_request,
|
|
1353
1326
|
_request_auth=_request_auth,
|
|
1354
1327
|
_content_type=_content_type,
|
|
1355
1328
|
_headers=_headers,
|
|
@@ -1357,7 +1330,7 @@ class SolutionApi:
|
|
|
1357
1330
|
)
|
|
1358
1331
|
|
|
1359
1332
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1360
|
-
'201': "
|
|
1333
|
+
'201': "RunTemplate",
|
|
1361
1334
|
'400': None,
|
|
1362
1335
|
'404': None,
|
|
1363
1336
|
}
|
|
@@ -1373,11 +1346,11 @@ class SolutionApi:
|
|
|
1373
1346
|
|
|
1374
1347
|
|
|
1375
1348
|
@validate_call
|
|
1376
|
-
def
|
|
1349
|
+
def create_solution_run_template_with_http_info(
|
|
1377
1350
|
self,
|
|
1378
1351
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1379
1352
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1380
|
-
|
|
1353
|
+
run_template_create_request: Annotated[RunTemplateCreateRequest, Field(description="Run template to create")],
|
|
1381
1354
|
_request_timeout: Union[
|
|
1382
1355
|
None,
|
|
1383
1356
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1390,16 +1363,16 @@ class SolutionApi:
|
|
|
1390
1363
|
_content_type: Optional[StrictStr] = None,
|
|
1391
1364
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1392
1365
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1393
|
-
) -> ApiResponse[
|
|
1394
|
-
"""Create a solution
|
|
1366
|
+
) -> ApiResponse[RunTemplate]:
|
|
1367
|
+
"""Create a solution run template
|
|
1395
1368
|
|
|
1396
1369
|
|
|
1397
1370
|
:param organization_id: the Organization identifier (required)
|
|
1398
1371
|
:type organization_id: str
|
|
1399
1372
|
:param solution_id: the Solution identifier (required)
|
|
1400
1373
|
:type solution_id: str
|
|
1401
|
-
:param
|
|
1402
|
-
:type
|
|
1374
|
+
:param run_template_create_request: Run template to create (required)
|
|
1375
|
+
:type run_template_create_request: RunTemplateCreateRequest
|
|
1403
1376
|
:param _request_timeout: timeout setting for this request. If one
|
|
1404
1377
|
number provided, it will be total request
|
|
1405
1378
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1422,10 +1395,10 @@ class SolutionApi:
|
|
|
1422
1395
|
:return: Returns the result object.
|
|
1423
1396
|
""" # noqa: E501
|
|
1424
1397
|
|
|
1425
|
-
_param = self.
|
|
1398
|
+
_param = self._create_solution_run_template_serialize(
|
|
1426
1399
|
organization_id=organization_id,
|
|
1427
1400
|
solution_id=solution_id,
|
|
1428
|
-
|
|
1401
|
+
run_template_create_request=run_template_create_request,
|
|
1429
1402
|
_request_auth=_request_auth,
|
|
1430
1403
|
_content_type=_content_type,
|
|
1431
1404
|
_headers=_headers,
|
|
@@ -1433,7 +1406,7 @@ class SolutionApi:
|
|
|
1433
1406
|
)
|
|
1434
1407
|
|
|
1435
1408
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1436
|
-
'201': "
|
|
1409
|
+
'201': "RunTemplate",
|
|
1437
1410
|
'400': None,
|
|
1438
1411
|
'404': None,
|
|
1439
1412
|
}
|
|
@@ -1449,11 +1422,11 @@ class SolutionApi:
|
|
|
1449
1422
|
|
|
1450
1423
|
|
|
1451
1424
|
@validate_call
|
|
1452
|
-
def
|
|
1425
|
+
def create_solution_run_template_without_preload_content(
|
|
1453
1426
|
self,
|
|
1454
1427
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1455
1428
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1456
|
-
|
|
1429
|
+
run_template_create_request: Annotated[RunTemplateCreateRequest, Field(description="Run template to create")],
|
|
1457
1430
|
_request_timeout: Union[
|
|
1458
1431
|
None,
|
|
1459
1432
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1467,15 +1440,15 @@ class SolutionApi:
|
|
|
1467
1440
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1468
1441
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1469
1442
|
) -> RESTResponseType:
|
|
1470
|
-
"""Create a solution
|
|
1443
|
+
"""Create a solution run template
|
|
1471
1444
|
|
|
1472
1445
|
|
|
1473
1446
|
:param organization_id: the Organization identifier (required)
|
|
1474
1447
|
:type organization_id: str
|
|
1475
1448
|
:param solution_id: the Solution identifier (required)
|
|
1476
1449
|
:type solution_id: str
|
|
1477
|
-
:param
|
|
1478
|
-
:type
|
|
1450
|
+
:param run_template_create_request: Run template to create (required)
|
|
1451
|
+
:type run_template_create_request: RunTemplateCreateRequest
|
|
1479
1452
|
:param _request_timeout: timeout setting for this request. If one
|
|
1480
1453
|
number provided, it will be total request
|
|
1481
1454
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1498,10 +1471,10 @@ class SolutionApi:
|
|
|
1498
1471
|
:return: Returns the result object.
|
|
1499
1472
|
""" # noqa: E501
|
|
1500
1473
|
|
|
1501
|
-
_param = self.
|
|
1474
|
+
_param = self._create_solution_run_template_serialize(
|
|
1502
1475
|
organization_id=organization_id,
|
|
1503
1476
|
solution_id=solution_id,
|
|
1504
|
-
|
|
1477
|
+
run_template_create_request=run_template_create_request,
|
|
1505
1478
|
_request_auth=_request_auth,
|
|
1506
1479
|
_content_type=_content_type,
|
|
1507
1480
|
_headers=_headers,
|
|
@@ -1509,7 +1482,7 @@ class SolutionApi:
|
|
|
1509
1482
|
)
|
|
1510
1483
|
|
|
1511
1484
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1512
|
-
'201': "
|
|
1485
|
+
'201': "RunTemplate",
|
|
1513
1486
|
'400': None,
|
|
1514
1487
|
'404': None,
|
|
1515
1488
|
}
|
|
@@ -1520,11 +1493,11 @@ class SolutionApi:
|
|
|
1520
1493
|
return response_data.response
|
|
1521
1494
|
|
|
1522
1495
|
|
|
1523
|
-
def
|
|
1496
|
+
def _create_solution_run_template_serialize(
|
|
1524
1497
|
self,
|
|
1525
1498
|
organization_id,
|
|
1526
1499
|
solution_id,
|
|
1527
|
-
|
|
1500
|
+
run_template_create_request,
|
|
1528
1501
|
_request_auth,
|
|
1529
1502
|
_content_type,
|
|
1530
1503
|
_headers,
|
|
@@ -1554,8 +1527,8 @@ class SolutionApi:
|
|
|
1554
1527
|
# process the header parameters
|
|
1555
1528
|
# process the form parameters
|
|
1556
1529
|
# process the body parameter
|
|
1557
|
-
if
|
|
1558
|
-
_body_params =
|
|
1530
|
+
if run_template_create_request is not None:
|
|
1531
|
+
_body_params = run_template_create_request
|
|
1559
1532
|
|
|
1560
1533
|
|
|
1561
1534
|
# set the HTTP header `Accept`
|
|
@@ -1589,7 +1562,7 @@ class SolutionApi:
|
|
|
1589
1562
|
|
|
1590
1563
|
return self.api_client.param_serialize(
|
|
1591
1564
|
method='POST',
|
|
1592
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
1565
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates',
|
|
1593
1566
|
path_params=_path_params,
|
|
1594
1567
|
query_params=_query_params,
|
|
1595
1568
|
header_params=_header_params,
|
|
@@ -1606,11 +1579,10 @@ class SolutionApi:
|
|
|
1606
1579
|
|
|
1607
1580
|
|
|
1608
1581
|
@validate_call
|
|
1609
|
-
def
|
|
1582
|
+
def delete_solution(
|
|
1610
1583
|
self,
|
|
1611
1584
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1612
1585
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1613
|
-
run_template_create_request: Annotated[RunTemplateCreateRequest, Field(description="Run template to create")],
|
|
1614
1586
|
_request_timeout: Union[
|
|
1615
1587
|
None,
|
|
1616
1588
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1623,16 +1595,14 @@ class SolutionApi:
|
|
|
1623
1595
|
_content_type: Optional[StrictStr] = None,
|
|
1624
1596
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1625
1597
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1626
|
-
) ->
|
|
1627
|
-
"""
|
|
1598
|
+
) -> None:
|
|
1599
|
+
"""Delete a solution
|
|
1628
1600
|
|
|
1629
1601
|
|
|
1630
1602
|
:param organization_id: the Organization identifier (required)
|
|
1631
1603
|
:type organization_id: str
|
|
1632
1604
|
:param solution_id: the Solution identifier (required)
|
|
1633
1605
|
:type solution_id: str
|
|
1634
|
-
:param run_template_create_request: Run template to create (required)
|
|
1635
|
-
:type run_template_create_request: RunTemplateCreateRequest
|
|
1636
1606
|
:param _request_timeout: timeout setting for this request. If one
|
|
1637
1607
|
number provided, it will be total request
|
|
1638
1608
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1655,10 +1625,9 @@ class SolutionApi:
|
|
|
1655
1625
|
:return: Returns the result object.
|
|
1656
1626
|
""" # noqa: E501
|
|
1657
1627
|
|
|
1658
|
-
_param = self.
|
|
1628
|
+
_param = self._delete_solution_serialize(
|
|
1659
1629
|
organization_id=organization_id,
|
|
1660
1630
|
solution_id=solution_id,
|
|
1661
|
-
run_template_create_request=run_template_create_request,
|
|
1662
1631
|
_request_auth=_request_auth,
|
|
1663
1632
|
_content_type=_content_type,
|
|
1664
1633
|
_headers=_headers,
|
|
@@ -1666,8 +1635,7 @@ class SolutionApi:
|
|
|
1666
1635
|
)
|
|
1667
1636
|
|
|
1668
1637
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1669
|
-
'
|
|
1670
|
-
'400': None,
|
|
1638
|
+
'204': None,
|
|
1671
1639
|
'404': None,
|
|
1672
1640
|
}
|
|
1673
1641
|
response_data = self.api_client.call_api(
|
|
@@ -1682,11 +1650,10 @@ class SolutionApi:
|
|
|
1682
1650
|
|
|
1683
1651
|
|
|
1684
1652
|
@validate_call
|
|
1685
|
-
def
|
|
1653
|
+
def delete_solution_with_http_info(
|
|
1686
1654
|
self,
|
|
1687
1655
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1688
1656
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1689
|
-
run_template_create_request: Annotated[RunTemplateCreateRequest, Field(description="Run template to create")],
|
|
1690
1657
|
_request_timeout: Union[
|
|
1691
1658
|
None,
|
|
1692
1659
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1699,16 +1666,14 @@ class SolutionApi:
|
|
|
1699
1666
|
_content_type: Optional[StrictStr] = None,
|
|
1700
1667
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1701
1668
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1702
|
-
) -> ApiResponse[
|
|
1703
|
-
"""
|
|
1669
|
+
) -> ApiResponse[None]:
|
|
1670
|
+
"""Delete a solution
|
|
1704
1671
|
|
|
1705
1672
|
|
|
1706
1673
|
:param organization_id: the Organization identifier (required)
|
|
1707
1674
|
:type organization_id: str
|
|
1708
1675
|
:param solution_id: the Solution identifier (required)
|
|
1709
1676
|
:type solution_id: str
|
|
1710
|
-
:param run_template_create_request: Run template to create (required)
|
|
1711
|
-
:type run_template_create_request: RunTemplateCreateRequest
|
|
1712
1677
|
:param _request_timeout: timeout setting for this request. If one
|
|
1713
1678
|
number provided, it will be total request
|
|
1714
1679
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1731,10 +1696,9 @@ class SolutionApi:
|
|
|
1731
1696
|
:return: Returns the result object.
|
|
1732
1697
|
""" # noqa: E501
|
|
1733
1698
|
|
|
1734
|
-
_param = self.
|
|
1699
|
+
_param = self._delete_solution_serialize(
|
|
1735
1700
|
organization_id=organization_id,
|
|
1736
1701
|
solution_id=solution_id,
|
|
1737
|
-
run_template_create_request=run_template_create_request,
|
|
1738
1702
|
_request_auth=_request_auth,
|
|
1739
1703
|
_content_type=_content_type,
|
|
1740
1704
|
_headers=_headers,
|
|
@@ -1742,8 +1706,7 @@ class SolutionApi:
|
|
|
1742
1706
|
)
|
|
1743
1707
|
|
|
1744
1708
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1745
|
-
'
|
|
1746
|
-
'400': None,
|
|
1709
|
+
'204': None,
|
|
1747
1710
|
'404': None,
|
|
1748
1711
|
}
|
|
1749
1712
|
response_data = self.api_client.call_api(
|
|
@@ -1758,11 +1721,10 @@ class SolutionApi:
|
|
|
1758
1721
|
|
|
1759
1722
|
|
|
1760
1723
|
@validate_call
|
|
1761
|
-
def
|
|
1724
|
+
def delete_solution_without_preload_content(
|
|
1762
1725
|
self,
|
|
1763
1726
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1764
1727
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1765
|
-
run_template_create_request: Annotated[RunTemplateCreateRequest, Field(description="Run template to create")],
|
|
1766
1728
|
_request_timeout: Union[
|
|
1767
1729
|
None,
|
|
1768
1730
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1776,15 +1738,13 @@ class SolutionApi:
|
|
|
1776
1738
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1777
1739
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1778
1740
|
) -> RESTResponseType:
|
|
1779
|
-
"""
|
|
1741
|
+
"""Delete a solution
|
|
1780
1742
|
|
|
1781
1743
|
|
|
1782
1744
|
:param organization_id: the Organization identifier (required)
|
|
1783
1745
|
:type organization_id: str
|
|
1784
1746
|
:param solution_id: the Solution identifier (required)
|
|
1785
1747
|
:type solution_id: str
|
|
1786
|
-
:param run_template_create_request: Run template to create (required)
|
|
1787
|
-
:type run_template_create_request: RunTemplateCreateRequest
|
|
1788
1748
|
:param _request_timeout: timeout setting for this request. If one
|
|
1789
1749
|
number provided, it will be total request
|
|
1790
1750
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1807,10 +1767,9 @@ class SolutionApi:
|
|
|
1807
1767
|
:return: Returns the result object.
|
|
1808
1768
|
""" # noqa: E501
|
|
1809
1769
|
|
|
1810
|
-
_param = self.
|
|
1770
|
+
_param = self._delete_solution_serialize(
|
|
1811
1771
|
organization_id=organization_id,
|
|
1812
1772
|
solution_id=solution_id,
|
|
1813
|
-
run_template_create_request=run_template_create_request,
|
|
1814
1773
|
_request_auth=_request_auth,
|
|
1815
1774
|
_content_type=_content_type,
|
|
1816
1775
|
_headers=_headers,
|
|
@@ -1818,8 +1777,7 @@ class SolutionApi:
|
|
|
1818
1777
|
)
|
|
1819
1778
|
|
|
1820
1779
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1821
|
-
'
|
|
1822
|
-
'400': None,
|
|
1780
|
+
'204': None,
|
|
1823
1781
|
'404': None,
|
|
1824
1782
|
}
|
|
1825
1783
|
response_data = self.api_client.call_api(
|
|
@@ -1829,11 +1787,10 @@ class SolutionApi:
|
|
|
1829
1787
|
return response_data.response
|
|
1830
1788
|
|
|
1831
1789
|
|
|
1832
|
-
def
|
|
1790
|
+
def _delete_solution_serialize(
|
|
1833
1791
|
self,
|
|
1834
1792
|
organization_id,
|
|
1835
1793
|
solution_id,
|
|
1836
|
-
run_template_create_request,
|
|
1837
1794
|
_request_auth,
|
|
1838
1795
|
_content_type,
|
|
1839
1796
|
_headers,
|
|
@@ -1863,33 +1820,9 @@ class SolutionApi:
|
|
|
1863
1820
|
# process the header parameters
|
|
1864
1821
|
# process the form parameters
|
|
1865
1822
|
# process the body parameter
|
|
1866
|
-
if run_template_create_request is not None:
|
|
1867
|
-
_body_params = run_template_create_request
|
|
1868
1823
|
|
|
1869
1824
|
|
|
1870
|
-
# set the HTTP header `Accept`
|
|
1871
|
-
if 'Accept' not in _header_params:
|
|
1872
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1873
|
-
[
|
|
1874
|
-
'application/json',
|
|
1875
|
-
'application/yaml'
|
|
1876
|
-
]
|
|
1877
|
-
)
|
|
1878
1825
|
|
|
1879
|
-
# set the HTTP header `Content-Type`
|
|
1880
|
-
if _content_type:
|
|
1881
|
-
_header_params['Content-Type'] = _content_type
|
|
1882
|
-
else:
|
|
1883
|
-
_default_content_type = (
|
|
1884
|
-
self.api_client.select_header_content_type(
|
|
1885
|
-
[
|
|
1886
|
-
'application/json',
|
|
1887
|
-
'application/yaml'
|
|
1888
|
-
]
|
|
1889
|
-
)
|
|
1890
|
-
)
|
|
1891
|
-
if _default_content_type is not None:
|
|
1892
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1893
1826
|
|
|
1894
1827
|
# authentication setting
|
|
1895
1828
|
_auth_settings: List[str] = [
|
|
@@ -1897,8 +1830,8 @@ class SolutionApi:
|
|
|
1897
1830
|
]
|
|
1898
1831
|
|
|
1899
1832
|
return self.api_client.param_serialize(
|
|
1900
|
-
method='
|
|
1901
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}
|
|
1833
|
+
method='DELETE',
|
|
1834
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}',
|
|
1902
1835
|
path_params=_path_params,
|
|
1903
1836
|
query_params=_query_params,
|
|
1904
1837
|
header_params=_header_params,
|
|
@@ -1915,10 +1848,11 @@ class SolutionApi:
|
|
|
1915
1848
|
|
|
1916
1849
|
|
|
1917
1850
|
@validate_call
|
|
1918
|
-
def
|
|
1851
|
+
def delete_solution_access_control(
|
|
1919
1852
|
self,
|
|
1920
1853
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1921
1854
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1855
|
+
identity_id: Annotated[StrictStr, Field(description="The User identifier")],
|
|
1922
1856
|
_request_timeout: Union[
|
|
1923
1857
|
None,
|
|
1924
1858
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1932,13 +1866,15 @@ class SolutionApi:
|
|
|
1932
1866
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1933
1867
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1934
1868
|
) -> None:
|
|
1935
|
-
"""Delete
|
|
1869
|
+
"""Delete solution access control
|
|
1936
1870
|
|
|
1937
1871
|
|
|
1938
1872
|
:param organization_id: the Organization identifier (required)
|
|
1939
1873
|
:type organization_id: str
|
|
1940
1874
|
:param solution_id: the Solution identifier (required)
|
|
1941
1875
|
:type solution_id: str
|
|
1876
|
+
:param identity_id: The User identifier (required)
|
|
1877
|
+
:type identity_id: str
|
|
1942
1878
|
:param _request_timeout: timeout setting for this request. If one
|
|
1943
1879
|
number provided, it will be total request
|
|
1944
1880
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1961,9 +1897,10 @@ class SolutionApi:
|
|
|
1961
1897
|
:return: Returns the result object.
|
|
1962
1898
|
""" # noqa: E501
|
|
1963
1899
|
|
|
1964
|
-
_param = self.
|
|
1900
|
+
_param = self._delete_solution_access_control_serialize(
|
|
1965
1901
|
organization_id=organization_id,
|
|
1966
1902
|
solution_id=solution_id,
|
|
1903
|
+
identity_id=identity_id,
|
|
1967
1904
|
_request_auth=_request_auth,
|
|
1968
1905
|
_content_type=_content_type,
|
|
1969
1906
|
_headers=_headers,
|
|
@@ -1986,10 +1923,11 @@ class SolutionApi:
|
|
|
1986
1923
|
|
|
1987
1924
|
|
|
1988
1925
|
@validate_call
|
|
1989
|
-
def
|
|
1926
|
+
def delete_solution_access_control_with_http_info(
|
|
1990
1927
|
self,
|
|
1991
1928
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
1992
1929
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
1930
|
+
identity_id: Annotated[StrictStr, Field(description="The User identifier")],
|
|
1993
1931
|
_request_timeout: Union[
|
|
1994
1932
|
None,
|
|
1995
1933
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2003,13 +1941,15 @@ class SolutionApi:
|
|
|
2003
1941
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2004
1942
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2005
1943
|
) -> ApiResponse[None]:
|
|
2006
|
-
"""Delete
|
|
1944
|
+
"""Delete solution access control
|
|
2007
1945
|
|
|
2008
1946
|
|
|
2009
1947
|
:param organization_id: the Organization identifier (required)
|
|
2010
1948
|
:type organization_id: str
|
|
2011
1949
|
:param solution_id: the Solution identifier (required)
|
|
2012
1950
|
:type solution_id: str
|
|
1951
|
+
:param identity_id: The User identifier (required)
|
|
1952
|
+
:type identity_id: str
|
|
2013
1953
|
:param _request_timeout: timeout setting for this request. If one
|
|
2014
1954
|
number provided, it will be total request
|
|
2015
1955
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2032,9 +1972,10 @@ class SolutionApi:
|
|
|
2032
1972
|
:return: Returns the result object.
|
|
2033
1973
|
""" # noqa: E501
|
|
2034
1974
|
|
|
2035
|
-
_param = self.
|
|
1975
|
+
_param = self._delete_solution_access_control_serialize(
|
|
2036
1976
|
organization_id=organization_id,
|
|
2037
1977
|
solution_id=solution_id,
|
|
1978
|
+
identity_id=identity_id,
|
|
2038
1979
|
_request_auth=_request_auth,
|
|
2039
1980
|
_content_type=_content_type,
|
|
2040
1981
|
_headers=_headers,
|
|
@@ -2057,10 +1998,11 @@ class SolutionApi:
|
|
|
2057
1998
|
|
|
2058
1999
|
|
|
2059
2000
|
@validate_call
|
|
2060
|
-
def
|
|
2001
|
+
def delete_solution_access_control_without_preload_content(
|
|
2061
2002
|
self,
|
|
2062
2003
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2063
2004
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2005
|
+
identity_id: Annotated[StrictStr, Field(description="The User identifier")],
|
|
2064
2006
|
_request_timeout: Union[
|
|
2065
2007
|
None,
|
|
2066
2008
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2074,13 +2016,15 @@ class SolutionApi:
|
|
|
2074
2016
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2075
2017
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2076
2018
|
) -> RESTResponseType:
|
|
2077
|
-
"""Delete
|
|
2019
|
+
"""Delete solution access control
|
|
2078
2020
|
|
|
2079
2021
|
|
|
2080
2022
|
:param organization_id: the Organization identifier (required)
|
|
2081
2023
|
:type organization_id: str
|
|
2082
2024
|
:param solution_id: the Solution identifier (required)
|
|
2083
2025
|
:type solution_id: str
|
|
2026
|
+
:param identity_id: The User identifier (required)
|
|
2027
|
+
:type identity_id: str
|
|
2084
2028
|
:param _request_timeout: timeout setting for this request. If one
|
|
2085
2029
|
number provided, it will be total request
|
|
2086
2030
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2103,9 +2047,10 @@ class SolutionApi:
|
|
|
2103
2047
|
:return: Returns the result object.
|
|
2104
2048
|
""" # noqa: E501
|
|
2105
2049
|
|
|
2106
|
-
_param = self.
|
|
2050
|
+
_param = self._delete_solution_access_control_serialize(
|
|
2107
2051
|
organization_id=organization_id,
|
|
2108
2052
|
solution_id=solution_id,
|
|
2053
|
+
identity_id=identity_id,
|
|
2109
2054
|
_request_auth=_request_auth,
|
|
2110
2055
|
_content_type=_content_type,
|
|
2111
2056
|
_headers=_headers,
|
|
@@ -2123,10 +2068,11 @@ class SolutionApi:
|
|
|
2123
2068
|
return response_data.response
|
|
2124
2069
|
|
|
2125
2070
|
|
|
2126
|
-
def
|
|
2071
|
+
def _delete_solution_access_control_serialize(
|
|
2127
2072
|
self,
|
|
2128
2073
|
organization_id,
|
|
2129
2074
|
solution_id,
|
|
2075
|
+
identity_id,
|
|
2130
2076
|
_request_auth,
|
|
2131
2077
|
_content_type,
|
|
2132
2078
|
_headers,
|
|
@@ -2152,6 +2098,8 @@ class SolutionApi:
|
|
|
2152
2098
|
_path_params['organization_id'] = organization_id
|
|
2153
2099
|
if solution_id is not None:
|
|
2154
2100
|
_path_params['solution_id'] = solution_id
|
|
2101
|
+
if identity_id is not None:
|
|
2102
|
+
_path_params['identity_id'] = identity_id
|
|
2155
2103
|
# process the query parameters
|
|
2156
2104
|
# process the header parameters
|
|
2157
2105
|
# process the form parameters
|
|
@@ -2167,7 +2115,7 @@ class SolutionApi:
|
|
|
2167
2115
|
|
|
2168
2116
|
return self.api_client.param_serialize(
|
|
2169
2117
|
method='DELETE',
|
|
2170
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}',
|
|
2118
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
|
|
2171
2119
|
path_params=_path_params,
|
|
2172
2120
|
query_params=_query_params,
|
|
2173
2121
|
header_params=_header_params,
|
|
@@ -2184,11 +2132,11 @@ class SolutionApi:
|
|
|
2184
2132
|
|
|
2185
2133
|
|
|
2186
2134
|
@validate_call
|
|
2187
|
-
def
|
|
2135
|
+
def delete_solution_parameter(
|
|
2188
2136
|
self,
|
|
2189
2137
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2190
2138
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2191
|
-
|
|
2139
|
+
parameter_id: Annotated[StrictStr, Field(description="The solution parameter identifier")],
|
|
2192
2140
|
_request_timeout: Union[
|
|
2193
2141
|
None,
|
|
2194
2142
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2202,15 +2150,15 @@ class SolutionApi:
|
|
|
2202
2150
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2203
2151
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2204
2152
|
) -> None:
|
|
2205
|
-
"""Delete
|
|
2153
|
+
"""Delete specific parameter from the solution
|
|
2206
2154
|
|
|
2207
2155
|
|
|
2208
2156
|
:param organization_id: the Organization identifier (required)
|
|
2209
2157
|
:type organization_id: str
|
|
2210
2158
|
:param solution_id: the Solution identifier (required)
|
|
2211
2159
|
:type solution_id: str
|
|
2212
|
-
:param
|
|
2213
|
-
:type
|
|
2160
|
+
:param parameter_id: The solution parameter identifier (required)
|
|
2161
|
+
:type parameter_id: str
|
|
2214
2162
|
:param _request_timeout: timeout setting for this request. If one
|
|
2215
2163
|
number provided, it will be total request
|
|
2216
2164
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2233,10 +2181,10 @@ class SolutionApi:
|
|
|
2233
2181
|
:return: Returns the result object.
|
|
2234
2182
|
""" # noqa: E501
|
|
2235
2183
|
|
|
2236
|
-
_param = self.
|
|
2184
|
+
_param = self._delete_solution_parameter_serialize(
|
|
2237
2185
|
organization_id=organization_id,
|
|
2238
2186
|
solution_id=solution_id,
|
|
2239
|
-
|
|
2187
|
+
parameter_id=parameter_id,
|
|
2240
2188
|
_request_auth=_request_auth,
|
|
2241
2189
|
_content_type=_content_type,
|
|
2242
2190
|
_headers=_headers,
|
|
@@ -2259,11 +2207,11 @@ class SolutionApi:
|
|
|
2259
2207
|
|
|
2260
2208
|
|
|
2261
2209
|
@validate_call
|
|
2262
|
-
def
|
|
2210
|
+
def delete_solution_parameter_with_http_info(
|
|
2263
2211
|
self,
|
|
2264
2212
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2265
2213
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2266
|
-
|
|
2214
|
+
parameter_id: Annotated[StrictStr, Field(description="The solution parameter identifier")],
|
|
2267
2215
|
_request_timeout: Union[
|
|
2268
2216
|
None,
|
|
2269
2217
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2277,15 +2225,15 @@ class SolutionApi:
|
|
|
2277
2225
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2278
2226
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2279
2227
|
) -> ApiResponse[None]:
|
|
2280
|
-
"""Delete
|
|
2228
|
+
"""Delete specific parameter from the solution
|
|
2281
2229
|
|
|
2282
2230
|
|
|
2283
2231
|
:param organization_id: the Organization identifier (required)
|
|
2284
2232
|
:type organization_id: str
|
|
2285
2233
|
:param solution_id: the Solution identifier (required)
|
|
2286
2234
|
:type solution_id: str
|
|
2287
|
-
:param
|
|
2288
|
-
:type
|
|
2235
|
+
:param parameter_id: The solution parameter identifier (required)
|
|
2236
|
+
:type parameter_id: str
|
|
2289
2237
|
:param _request_timeout: timeout setting for this request. If one
|
|
2290
2238
|
number provided, it will be total request
|
|
2291
2239
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2308,10 +2256,10 @@ class SolutionApi:
|
|
|
2308
2256
|
:return: Returns the result object.
|
|
2309
2257
|
""" # noqa: E501
|
|
2310
2258
|
|
|
2311
|
-
_param = self.
|
|
2259
|
+
_param = self._delete_solution_parameter_serialize(
|
|
2312
2260
|
organization_id=organization_id,
|
|
2313
2261
|
solution_id=solution_id,
|
|
2314
|
-
|
|
2262
|
+
parameter_id=parameter_id,
|
|
2315
2263
|
_request_auth=_request_auth,
|
|
2316
2264
|
_content_type=_content_type,
|
|
2317
2265
|
_headers=_headers,
|
|
@@ -2334,11 +2282,11 @@ class SolutionApi:
|
|
|
2334
2282
|
|
|
2335
2283
|
|
|
2336
2284
|
@validate_call
|
|
2337
|
-
def
|
|
2285
|
+
def delete_solution_parameter_without_preload_content(
|
|
2338
2286
|
self,
|
|
2339
2287
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2340
2288
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2341
|
-
|
|
2289
|
+
parameter_id: Annotated[StrictStr, Field(description="The solution parameter identifier")],
|
|
2342
2290
|
_request_timeout: Union[
|
|
2343
2291
|
None,
|
|
2344
2292
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2352,15 +2300,15 @@ class SolutionApi:
|
|
|
2352
2300
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2353
2301
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2354
2302
|
) -> RESTResponseType:
|
|
2355
|
-
"""Delete
|
|
2303
|
+
"""Delete specific parameter from the solution
|
|
2356
2304
|
|
|
2357
2305
|
|
|
2358
2306
|
:param organization_id: the Organization identifier (required)
|
|
2359
2307
|
:type organization_id: str
|
|
2360
2308
|
:param solution_id: the Solution identifier (required)
|
|
2361
2309
|
:type solution_id: str
|
|
2362
|
-
:param
|
|
2363
|
-
:type
|
|
2310
|
+
:param parameter_id: The solution parameter identifier (required)
|
|
2311
|
+
:type parameter_id: str
|
|
2364
2312
|
:param _request_timeout: timeout setting for this request. If one
|
|
2365
2313
|
number provided, it will be total request
|
|
2366
2314
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2383,10 +2331,10 @@ class SolutionApi:
|
|
|
2383
2331
|
:return: Returns the result object.
|
|
2384
2332
|
""" # noqa: E501
|
|
2385
2333
|
|
|
2386
|
-
_param = self.
|
|
2334
|
+
_param = self._delete_solution_parameter_serialize(
|
|
2387
2335
|
organization_id=organization_id,
|
|
2388
2336
|
solution_id=solution_id,
|
|
2389
|
-
|
|
2337
|
+
parameter_id=parameter_id,
|
|
2390
2338
|
_request_auth=_request_auth,
|
|
2391
2339
|
_content_type=_content_type,
|
|
2392
2340
|
_headers=_headers,
|
|
@@ -2404,11 +2352,11 @@ class SolutionApi:
|
|
|
2404
2352
|
return response_data.response
|
|
2405
2353
|
|
|
2406
2354
|
|
|
2407
|
-
def
|
|
2355
|
+
def _delete_solution_parameter_serialize(
|
|
2408
2356
|
self,
|
|
2409
2357
|
organization_id,
|
|
2410
2358
|
solution_id,
|
|
2411
|
-
|
|
2359
|
+
parameter_id,
|
|
2412
2360
|
_request_auth,
|
|
2413
2361
|
_content_type,
|
|
2414
2362
|
_headers,
|
|
@@ -2434,8 +2382,8 @@ class SolutionApi:
|
|
|
2434
2382
|
_path_params['organization_id'] = organization_id
|
|
2435
2383
|
if solution_id is not None:
|
|
2436
2384
|
_path_params['solution_id'] = solution_id
|
|
2437
|
-
if
|
|
2438
|
-
_path_params['
|
|
2385
|
+
if parameter_id is not None:
|
|
2386
|
+
_path_params['parameter_id'] = parameter_id
|
|
2439
2387
|
# process the query parameters
|
|
2440
2388
|
# process the header parameters
|
|
2441
2389
|
# process the form parameters
|
|
@@ -2451,7 +2399,7 @@ class SolutionApi:
|
|
|
2451
2399
|
|
|
2452
2400
|
return self.api_client.param_serialize(
|
|
2453
2401
|
method='DELETE',
|
|
2454
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
2402
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters/{parameter_id}',
|
|
2455
2403
|
path_params=_path_params,
|
|
2456
2404
|
query_params=_query_params,
|
|
2457
2405
|
header_params=_header_params,
|
|
@@ -2468,11 +2416,11 @@ class SolutionApi:
|
|
|
2468
2416
|
|
|
2469
2417
|
|
|
2470
2418
|
@validate_call
|
|
2471
|
-
def
|
|
2419
|
+
def delete_solution_parameter_group(
|
|
2472
2420
|
self,
|
|
2473
2421
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2474
2422
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2475
|
-
|
|
2423
|
+
parameter_group_id: Annotated[StrictStr, Field(description="The parameter group identifier")],
|
|
2476
2424
|
_request_timeout: Union[
|
|
2477
2425
|
None,
|
|
2478
2426
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2486,15 +2434,15 @@ class SolutionApi:
|
|
|
2486
2434
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2487
2435
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2488
2436
|
) -> None:
|
|
2489
|
-
"""Delete a solution
|
|
2437
|
+
"""Delete a parameter group from the solution
|
|
2490
2438
|
|
|
2491
2439
|
|
|
2492
2440
|
:param organization_id: the Organization identifier (required)
|
|
2493
2441
|
:type organization_id: str
|
|
2494
2442
|
:param solution_id: the Solution identifier (required)
|
|
2495
2443
|
:type solution_id: str
|
|
2496
|
-
:param
|
|
2497
|
-
:type
|
|
2444
|
+
:param parameter_group_id: The parameter group identifier (required)
|
|
2445
|
+
:type parameter_group_id: str
|
|
2498
2446
|
:param _request_timeout: timeout setting for this request. If one
|
|
2499
2447
|
number provided, it will be total request
|
|
2500
2448
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2517,10 +2465,10 @@ class SolutionApi:
|
|
|
2517
2465
|
:return: Returns the result object.
|
|
2518
2466
|
""" # noqa: E501
|
|
2519
2467
|
|
|
2520
|
-
_param = self.
|
|
2468
|
+
_param = self._delete_solution_parameter_group_serialize(
|
|
2521
2469
|
organization_id=organization_id,
|
|
2522
2470
|
solution_id=solution_id,
|
|
2523
|
-
|
|
2471
|
+
parameter_group_id=parameter_group_id,
|
|
2524
2472
|
_request_auth=_request_auth,
|
|
2525
2473
|
_content_type=_content_type,
|
|
2526
2474
|
_headers=_headers,
|
|
@@ -2543,11 +2491,11 @@ class SolutionApi:
|
|
|
2543
2491
|
|
|
2544
2492
|
|
|
2545
2493
|
@validate_call
|
|
2546
|
-
def
|
|
2494
|
+
def delete_solution_parameter_group_with_http_info(
|
|
2547
2495
|
self,
|
|
2548
2496
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2549
2497
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2550
|
-
|
|
2498
|
+
parameter_group_id: Annotated[StrictStr, Field(description="The parameter group identifier")],
|
|
2551
2499
|
_request_timeout: Union[
|
|
2552
2500
|
None,
|
|
2553
2501
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2561,15 +2509,15 @@ class SolutionApi:
|
|
|
2561
2509
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2562
2510
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2563
2511
|
) -> ApiResponse[None]:
|
|
2564
|
-
"""Delete a solution
|
|
2512
|
+
"""Delete a parameter group from the solution
|
|
2565
2513
|
|
|
2566
2514
|
|
|
2567
2515
|
:param organization_id: the Organization identifier (required)
|
|
2568
2516
|
:type organization_id: str
|
|
2569
2517
|
:param solution_id: the Solution identifier (required)
|
|
2570
2518
|
:type solution_id: str
|
|
2571
|
-
:param
|
|
2572
|
-
:type
|
|
2519
|
+
:param parameter_group_id: The parameter group identifier (required)
|
|
2520
|
+
:type parameter_group_id: str
|
|
2573
2521
|
:param _request_timeout: timeout setting for this request. If one
|
|
2574
2522
|
number provided, it will be total request
|
|
2575
2523
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2592,10 +2540,10 @@ class SolutionApi:
|
|
|
2592
2540
|
:return: Returns the result object.
|
|
2593
2541
|
""" # noqa: E501
|
|
2594
2542
|
|
|
2595
|
-
_param = self.
|
|
2543
|
+
_param = self._delete_solution_parameter_group_serialize(
|
|
2596
2544
|
organization_id=organization_id,
|
|
2597
2545
|
solution_id=solution_id,
|
|
2598
|
-
|
|
2546
|
+
parameter_group_id=parameter_group_id,
|
|
2599
2547
|
_request_auth=_request_auth,
|
|
2600
2548
|
_content_type=_content_type,
|
|
2601
2549
|
_headers=_headers,
|
|
@@ -2618,11 +2566,11 @@ class SolutionApi:
|
|
|
2618
2566
|
|
|
2619
2567
|
|
|
2620
2568
|
@validate_call
|
|
2621
|
-
def
|
|
2569
|
+
def delete_solution_parameter_group_without_preload_content(
|
|
2622
2570
|
self,
|
|
2623
2571
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2624
2572
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2625
|
-
|
|
2573
|
+
parameter_group_id: Annotated[StrictStr, Field(description="The parameter group identifier")],
|
|
2626
2574
|
_request_timeout: Union[
|
|
2627
2575
|
None,
|
|
2628
2576
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2636,15 +2584,15 @@ class SolutionApi:
|
|
|
2636
2584
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2637
2585
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2638
2586
|
) -> RESTResponseType:
|
|
2639
|
-
"""Delete a solution
|
|
2587
|
+
"""Delete a parameter group from the solution
|
|
2640
2588
|
|
|
2641
2589
|
|
|
2642
2590
|
:param organization_id: the Organization identifier (required)
|
|
2643
2591
|
:type organization_id: str
|
|
2644
2592
|
:param solution_id: the Solution identifier (required)
|
|
2645
2593
|
:type solution_id: str
|
|
2646
|
-
:param
|
|
2647
|
-
:type
|
|
2594
|
+
:param parameter_group_id: The parameter group identifier (required)
|
|
2595
|
+
:type parameter_group_id: str
|
|
2648
2596
|
:param _request_timeout: timeout setting for this request. If one
|
|
2649
2597
|
number provided, it will be total request
|
|
2650
2598
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2667,10 +2615,10 @@ class SolutionApi:
|
|
|
2667
2615
|
:return: Returns the result object.
|
|
2668
2616
|
""" # noqa: E501
|
|
2669
2617
|
|
|
2670
|
-
_param = self.
|
|
2618
|
+
_param = self._delete_solution_parameter_group_serialize(
|
|
2671
2619
|
organization_id=organization_id,
|
|
2672
2620
|
solution_id=solution_id,
|
|
2673
|
-
|
|
2621
|
+
parameter_group_id=parameter_group_id,
|
|
2674
2622
|
_request_auth=_request_auth,
|
|
2675
2623
|
_content_type=_content_type,
|
|
2676
2624
|
_headers=_headers,
|
|
@@ -2688,11 +2636,11 @@ class SolutionApi:
|
|
|
2688
2636
|
return response_data.response
|
|
2689
2637
|
|
|
2690
2638
|
|
|
2691
|
-
def
|
|
2639
|
+
def _delete_solution_parameter_group_serialize(
|
|
2692
2640
|
self,
|
|
2693
2641
|
organization_id,
|
|
2694
2642
|
solution_id,
|
|
2695
|
-
|
|
2643
|
+
parameter_group_id,
|
|
2696
2644
|
_request_auth,
|
|
2697
2645
|
_content_type,
|
|
2698
2646
|
_headers,
|
|
@@ -2718,11 +2666,9 @@ class SolutionApi:
|
|
|
2718
2666
|
_path_params['organization_id'] = organization_id
|
|
2719
2667
|
if solution_id is not None:
|
|
2720
2668
|
_path_params['solution_id'] = solution_id
|
|
2669
|
+
if parameter_group_id is not None:
|
|
2670
|
+
_path_params['parameter_group_id'] = parameter_group_id
|
|
2721
2671
|
# process the query parameters
|
|
2722
|
-
if file_name is not None:
|
|
2723
|
-
|
|
2724
|
-
_query_params.append(('file_name', file_name))
|
|
2725
|
-
|
|
2726
2672
|
# process the header parameters
|
|
2727
2673
|
# process the form parameters
|
|
2728
2674
|
# process the body parameter
|
|
@@ -2737,7 +2683,7 @@ class SolutionApi:
|
|
|
2737
2683
|
|
|
2738
2684
|
return self.api_client.param_serialize(
|
|
2739
2685
|
method='DELETE',
|
|
2740
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
2686
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups/{parameter_group_id}',
|
|
2741
2687
|
path_params=_path_params,
|
|
2742
2688
|
query_params=_query_params,
|
|
2743
2689
|
header_params=_header_params,
|
|
@@ -2754,10 +2700,11 @@ class SolutionApi:
|
|
|
2754
2700
|
|
|
2755
2701
|
|
|
2756
2702
|
@validate_call
|
|
2757
|
-
def
|
|
2703
|
+
def delete_solution_run_template(
|
|
2758
2704
|
self,
|
|
2759
2705
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2760
2706
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2707
|
+
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
2761
2708
|
_request_timeout: Union[
|
|
2762
2709
|
None,
|
|
2763
2710
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2771,13 +2718,15 @@ class SolutionApi:
|
|
|
2771
2718
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2772
2719
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2773
2720
|
) -> None:
|
|
2774
|
-
"""Delete
|
|
2721
|
+
"""Delete a specific run template
|
|
2775
2722
|
|
|
2776
2723
|
|
|
2777
2724
|
:param organization_id: the Organization identifier (required)
|
|
2778
2725
|
:type organization_id: str
|
|
2779
2726
|
:param solution_id: the Solution identifier (required)
|
|
2780
2727
|
:type solution_id: str
|
|
2728
|
+
:param run_template_id: The Run Template identifier (required)
|
|
2729
|
+
:type run_template_id: str
|
|
2781
2730
|
:param _request_timeout: timeout setting for this request. If one
|
|
2782
2731
|
number provided, it will be total request
|
|
2783
2732
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2800,9 +2749,10 @@ class SolutionApi:
|
|
|
2800
2749
|
:return: Returns the result object.
|
|
2801
2750
|
""" # noqa: E501
|
|
2802
2751
|
|
|
2803
|
-
_param = self.
|
|
2752
|
+
_param = self._delete_solution_run_template_serialize(
|
|
2804
2753
|
organization_id=organization_id,
|
|
2805
2754
|
solution_id=solution_id,
|
|
2755
|
+
run_template_id=run_template_id,
|
|
2806
2756
|
_request_auth=_request_auth,
|
|
2807
2757
|
_content_type=_content_type,
|
|
2808
2758
|
_headers=_headers,
|
|
@@ -2825,10 +2775,11 @@ class SolutionApi:
|
|
|
2825
2775
|
|
|
2826
2776
|
|
|
2827
2777
|
@validate_call
|
|
2828
|
-
def
|
|
2778
|
+
def delete_solution_run_template_with_http_info(
|
|
2829
2779
|
self,
|
|
2830
2780
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2831
2781
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2782
|
+
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
2832
2783
|
_request_timeout: Union[
|
|
2833
2784
|
None,
|
|
2834
2785
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2842,13 +2793,15 @@ class SolutionApi:
|
|
|
2842
2793
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2843
2794
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2844
2795
|
) -> ApiResponse[None]:
|
|
2845
|
-
"""Delete
|
|
2796
|
+
"""Delete a specific run template
|
|
2846
2797
|
|
|
2847
2798
|
|
|
2848
2799
|
:param organization_id: the Organization identifier (required)
|
|
2849
2800
|
:type organization_id: str
|
|
2850
2801
|
:param solution_id: the Solution identifier (required)
|
|
2851
2802
|
:type solution_id: str
|
|
2803
|
+
:param run_template_id: The Run Template identifier (required)
|
|
2804
|
+
:type run_template_id: str
|
|
2852
2805
|
:param _request_timeout: timeout setting for this request. If one
|
|
2853
2806
|
number provided, it will be total request
|
|
2854
2807
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2871,9 +2824,10 @@ class SolutionApi:
|
|
|
2871
2824
|
:return: Returns the result object.
|
|
2872
2825
|
""" # noqa: E501
|
|
2873
2826
|
|
|
2874
|
-
_param = self.
|
|
2827
|
+
_param = self._delete_solution_run_template_serialize(
|
|
2875
2828
|
organization_id=organization_id,
|
|
2876
2829
|
solution_id=solution_id,
|
|
2830
|
+
run_template_id=run_template_id,
|
|
2877
2831
|
_request_auth=_request_auth,
|
|
2878
2832
|
_content_type=_content_type,
|
|
2879
2833
|
_headers=_headers,
|
|
@@ -2896,10 +2850,11 @@ class SolutionApi:
|
|
|
2896
2850
|
|
|
2897
2851
|
|
|
2898
2852
|
@validate_call
|
|
2899
|
-
def
|
|
2853
|
+
def delete_solution_run_template_without_preload_content(
|
|
2900
2854
|
self,
|
|
2901
2855
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2902
2856
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
2857
|
+
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
2903
2858
|
_request_timeout: Union[
|
|
2904
2859
|
None,
|
|
2905
2860
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2913,13 +2868,15 @@ class SolutionApi:
|
|
|
2913
2868
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2914
2869
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2915
2870
|
) -> RESTResponseType:
|
|
2916
|
-
"""Delete
|
|
2871
|
+
"""Delete a specific run template
|
|
2917
2872
|
|
|
2918
2873
|
|
|
2919
2874
|
:param organization_id: the Organization identifier (required)
|
|
2920
2875
|
:type organization_id: str
|
|
2921
2876
|
:param solution_id: the Solution identifier (required)
|
|
2922
2877
|
:type solution_id: str
|
|
2878
|
+
:param run_template_id: The Run Template identifier (required)
|
|
2879
|
+
:type run_template_id: str
|
|
2923
2880
|
:param _request_timeout: timeout setting for this request. If one
|
|
2924
2881
|
number provided, it will be total request
|
|
2925
2882
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2942,9 +2899,10 @@ class SolutionApi:
|
|
|
2942
2899
|
:return: Returns the result object.
|
|
2943
2900
|
""" # noqa: E501
|
|
2944
2901
|
|
|
2945
|
-
_param = self.
|
|
2902
|
+
_param = self._delete_solution_run_template_serialize(
|
|
2946
2903
|
organization_id=organization_id,
|
|
2947
2904
|
solution_id=solution_id,
|
|
2905
|
+
run_template_id=run_template_id,
|
|
2948
2906
|
_request_auth=_request_auth,
|
|
2949
2907
|
_content_type=_content_type,
|
|
2950
2908
|
_headers=_headers,
|
|
@@ -2962,10 +2920,11 @@ class SolutionApi:
|
|
|
2962
2920
|
return response_data.response
|
|
2963
2921
|
|
|
2964
2922
|
|
|
2965
|
-
def
|
|
2923
|
+
def _delete_solution_run_template_serialize(
|
|
2966
2924
|
self,
|
|
2967
2925
|
organization_id,
|
|
2968
2926
|
solution_id,
|
|
2927
|
+
run_template_id,
|
|
2969
2928
|
_request_auth,
|
|
2970
2929
|
_content_type,
|
|
2971
2930
|
_headers,
|
|
@@ -2991,6 +2950,8 @@ class SolutionApi:
|
|
|
2991
2950
|
_path_params['organization_id'] = organization_id
|
|
2992
2951
|
if solution_id is not None:
|
|
2993
2952
|
_path_params['solution_id'] = solution_id
|
|
2953
|
+
if run_template_id is not None:
|
|
2954
|
+
_path_params['run_template_id'] = run_template_id
|
|
2994
2955
|
# process the query parameters
|
|
2995
2956
|
# process the header parameters
|
|
2996
2957
|
# process the form parameters
|
|
@@ -3006,7 +2967,7 @@ class SolutionApi:
|
|
|
3006
2967
|
|
|
3007
2968
|
return self.api_client.param_serialize(
|
|
3008
2969
|
method='DELETE',
|
|
3009
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
2970
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}',
|
|
3010
2971
|
path_params=_path_params,
|
|
3011
2972
|
query_params=_query_params,
|
|
3012
2973
|
header_params=_header_params,
|
|
@@ -3023,11 +2984,11 @@ class SolutionApi:
|
|
|
3023
2984
|
|
|
3024
2985
|
|
|
3025
2986
|
@validate_call
|
|
3026
|
-
def
|
|
2987
|
+
def get_run_template(
|
|
3027
2988
|
self,
|
|
3028
2989
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3029
2990
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3030
|
-
|
|
2991
|
+
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
3031
2992
|
_request_timeout: Union[
|
|
3032
2993
|
None,
|
|
3033
2994
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3040,16 +3001,16 @@ class SolutionApi:
|
|
|
3040
3001
|
_content_type: Optional[StrictStr] = None,
|
|
3041
3002
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3042
3003
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3043
|
-
) ->
|
|
3044
|
-
"""
|
|
3004
|
+
) -> RunTemplate:
|
|
3005
|
+
"""Retrieve a solution run templates
|
|
3045
3006
|
|
|
3046
3007
|
|
|
3047
3008
|
:param organization_id: the Organization identifier (required)
|
|
3048
3009
|
:type organization_id: str
|
|
3049
3010
|
:param solution_id: the Solution identifier (required)
|
|
3050
3011
|
:type solution_id: str
|
|
3051
|
-
:param
|
|
3052
|
-
:type
|
|
3012
|
+
:param run_template_id: The Run Template identifier (required)
|
|
3013
|
+
:type run_template_id: str
|
|
3053
3014
|
:param _request_timeout: timeout setting for this request. If one
|
|
3054
3015
|
number provided, it will be total request
|
|
3055
3016
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3072,10 +3033,10 @@ class SolutionApi:
|
|
|
3072
3033
|
:return: Returns the result object.
|
|
3073
3034
|
""" # noqa: E501
|
|
3074
3035
|
|
|
3075
|
-
_param = self.
|
|
3036
|
+
_param = self._get_run_template_serialize(
|
|
3076
3037
|
organization_id=organization_id,
|
|
3077
3038
|
solution_id=solution_id,
|
|
3078
|
-
|
|
3039
|
+
run_template_id=run_template_id,
|
|
3079
3040
|
_request_auth=_request_auth,
|
|
3080
3041
|
_content_type=_content_type,
|
|
3081
3042
|
_headers=_headers,
|
|
@@ -3083,7 +3044,7 @@ class SolutionApi:
|
|
|
3083
3044
|
)
|
|
3084
3045
|
|
|
3085
3046
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3086
|
-
'
|
|
3047
|
+
'200': "RunTemplate",
|
|
3087
3048
|
'404': None,
|
|
3088
3049
|
}
|
|
3089
3050
|
response_data = self.api_client.call_api(
|
|
@@ -3098,11 +3059,11 @@ class SolutionApi:
|
|
|
3098
3059
|
|
|
3099
3060
|
|
|
3100
3061
|
@validate_call
|
|
3101
|
-
def
|
|
3062
|
+
def get_run_template_with_http_info(
|
|
3102
3063
|
self,
|
|
3103
3064
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3104
3065
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3105
|
-
|
|
3066
|
+
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
3106
3067
|
_request_timeout: Union[
|
|
3107
3068
|
None,
|
|
3108
3069
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3115,16 +3076,16 @@ class SolutionApi:
|
|
|
3115
3076
|
_content_type: Optional[StrictStr] = None,
|
|
3116
3077
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3117
3078
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3118
|
-
) -> ApiResponse[
|
|
3119
|
-
"""
|
|
3079
|
+
) -> ApiResponse[RunTemplate]:
|
|
3080
|
+
"""Retrieve a solution run templates
|
|
3120
3081
|
|
|
3121
3082
|
|
|
3122
3083
|
:param organization_id: the Organization identifier (required)
|
|
3123
3084
|
:type organization_id: str
|
|
3124
3085
|
:param solution_id: the Solution identifier (required)
|
|
3125
3086
|
:type solution_id: str
|
|
3126
|
-
:param
|
|
3127
|
-
:type
|
|
3087
|
+
:param run_template_id: The Run Template identifier (required)
|
|
3088
|
+
:type run_template_id: str
|
|
3128
3089
|
:param _request_timeout: timeout setting for this request. If one
|
|
3129
3090
|
number provided, it will be total request
|
|
3130
3091
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3147,10 +3108,10 @@ class SolutionApi:
|
|
|
3147
3108
|
:return: Returns the result object.
|
|
3148
3109
|
""" # noqa: E501
|
|
3149
3110
|
|
|
3150
|
-
_param = self.
|
|
3111
|
+
_param = self._get_run_template_serialize(
|
|
3151
3112
|
organization_id=organization_id,
|
|
3152
3113
|
solution_id=solution_id,
|
|
3153
|
-
|
|
3114
|
+
run_template_id=run_template_id,
|
|
3154
3115
|
_request_auth=_request_auth,
|
|
3155
3116
|
_content_type=_content_type,
|
|
3156
3117
|
_headers=_headers,
|
|
@@ -3158,7 +3119,7 @@ class SolutionApi:
|
|
|
3158
3119
|
)
|
|
3159
3120
|
|
|
3160
3121
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3161
|
-
'
|
|
3122
|
+
'200': "RunTemplate",
|
|
3162
3123
|
'404': None,
|
|
3163
3124
|
}
|
|
3164
3125
|
response_data = self.api_client.call_api(
|
|
@@ -3173,11 +3134,11 @@ class SolutionApi:
|
|
|
3173
3134
|
|
|
3174
3135
|
|
|
3175
3136
|
@validate_call
|
|
3176
|
-
def
|
|
3137
|
+
def get_run_template_without_preload_content(
|
|
3177
3138
|
self,
|
|
3178
3139
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3179
3140
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3180
|
-
|
|
3141
|
+
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
3181
3142
|
_request_timeout: Union[
|
|
3182
3143
|
None,
|
|
3183
3144
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3191,15 +3152,15 @@ class SolutionApi:
|
|
|
3191
3152
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3192
3153
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3193
3154
|
) -> RESTResponseType:
|
|
3194
|
-
"""
|
|
3155
|
+
"""Retrieve a solution run templates
|
|
3195
3156
|
|
|
3196
3157
|
|
|
3197
3158
|
:param organization_id: the Organization identifier (required)
|
|
3198
3159
|
:type organization_id: str
|
|
3199
3160
|
:param solution_id: the Solution identifier (required)
|
|
3200
3161
|
:type solution_id: str
|
|
3201
|
-
:param
|
|
3202
|
-
:type
|
|
3162
|
+
:param run_template_id: The Run Template identifier (required)
|
|
3163
|
+
:type run_template_id: str
|
|
3203
3164
|
:param _request_timeout: timeout setting for this request. If one
|
|
3204
3165
|
number provided, it will be total request
|
|
3205
3166
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3222,10 +3183,10 @@ class SolutionApi:
|
|
|
3222
3183
|
:return: Returns the result object.
|
|
3223
3184
|
""" # noqa: E501
|
|
3224
3185
|
|
|
3225
|
-
_param = self.
|
|
3186
|
+
_param = self._get_run_template_serialize(
|
|
3226
3187
|
organization_id=organization_id,
|
|
3227
3188
|
solution_id=solution_id,
|
|
3228
|
-
|
|
3189
|
+
run_template_id=run_template_id,
|
|
3229
3190
|
_request_auth=_request_auth,
|
|
3230
3191
|
_content_type=_content_type,
|
|
3231
3192
|
_headers=_headers,
|
|
@@ -3233,1428 +3194,7 @@ class SolutionApi:
|
|
|
3233
3194
|
)
|
|
3234
3195
|
|
|
3235
3196
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3236
|
-
'
|
|
3237
|
-
'404': None,
|
|
3238
|
-
}
|
|
3239
|
-
response_data = self.api_client.call_api(
|
|
3240
|
-
*_param,
|
|
3241
|
-
_request_timeout=_request_timeout
|
|
3242
|
-
)
|
|
3243
|
-
return response_data.response
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
def _delete_solution_parameter_serialize(
|
|
3247
|
-
self,
|
|
3248
|
-
organization_id,
|
|
3249
|
-
solution_id,
|
|
3250
|
-
parameter_id,
|
|
3251
|
-
_request_auth,
|
|
3252
|
-
_content_type,
|
|
3253
|
-
_headers,
|
|
3254
|
-
_host_index,
|
|
3255
|
-
) -> RequestSerialized:
|
|
3256
|
-
|
|
3257
|
-
_host = None
|
|
3258
|
-
|
|
3259
|
-
_collection_formats: Dict[str, str] = {
|
|
3260
|
-
}
|
|
3261
|
-
|
|
3262
|
-
_path_params: Dict[str, str] = {}
|
|
3263
|
-
_query_params: List[Tuple[str, str]] = []
|
|
3264
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3265
|
-
_form_params: List[Tuple[str, str]] = []
|
|
3266
|
-
_files: Dict[
|
|
3267
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3268
|
-
] = {}
|
|
3269
|
-
_body_params: Optional[bytes] = None
|
|
3270
|
-
|
|
3271
|
-
# process the path parameters
|
|
3272
|
-
if organization_id is not None:
|
|
3273
|
-
_path_params['organization_id'] = organization_id
|
|
3274
|
-
if solution_id is not None:
|
|
3275
|
-
_path_params['solution_id'] = solution_id
|
|
3276
|
-
if parameter_id is not None:
|
|
3277
|
-
_path_params['parameter_id'] = parameter_id
|
|
3278
|
-
# process the query parameters
|
|
3279
|
-
# process the header parameters
|
|
3280
|
-
# process the form parameters
|
|
3281
|
-
# process the body parameter
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
# authentication setting
|
|
3287
|
-
_auth_settings: List[str] = [
|
|
3288
|
-
'oAuth2AuthCode'
|
|
3289
|
-
]
|
|
3290
|
-
|
|
3291
|
-
return self.api_client.param_serialize(
|
|
3292
|
-
method='DELETE',
|
|
3293
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters/{parameter_id}',
|
|
3294
|
-
path_params=_path_params,
|
|
3295
|
-
query_params=_query_params,
|
|
3296
|
-
header_params=_header_params,
|
|
3297
|
-
body=_body_params,
|
|
3298
|
-
post_params=_form_params,
|
|
3299
|
-
files=_files,
|
|
3300
|
-
auth_settings=_auth_settings,
|
|
3301
|
-
collection_formats=_collection_formats,
|
|
3302
|
-
_host=_host,
|
|
3303
|
-
_request_auth=_request_auth
|
|
3304
|
-
)
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
@validate_call
|
|
3310
|
-
def delete_solution_parameter_group(
|
|
3311
|
-
self,
|
|
3312
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3313
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3314
|
-
parameter_group_id: Annotated[StrictStr, Field(description="The parameter group identifier")],
|
|
3315
|
-
_request_timeout: Union[
|
|
3316
|
-
None,
|
|
3317
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3318
|
-
Tuple[
|
|
3319
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3320
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3321
|
-
]
|
|
3322
|
-
] = None,
|
|
3323
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3324
|
-
_content_type: Optional[StrictStr] = None,
|
|
3325
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3326
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3327
|
-
) -> None:
|
|
3328
|
-
"""Delete a parameter group from the solution
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
:param organization_id: the Organization identifier (required)
|
|
3332
|
-
:type organization_id: str
|
|
3333
|
-
:param solution_id: the Solution identifier (required)
|
|
3334
|
-
:type solution_id: str
|
|
3335
|
-
:param parameter_group_id: The parameter group identifier (required)
|
|
3336
|
-
:type parameter_group_id: str
|
|
3337
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3338
|
-
number provided, it will be total request
|
|
3339
|
-
timeout. It can also be a pair (tuple) of
|
|
3340
|
-
(connection, read) timeouts.
|
|
3341
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3342
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3343
|
-
request; this effectively ignores the
|
|
3344
|
-
authentication in the spec for a single request.
|
|
3345
|
-
:type _request_auth: dict, optional
|
|
3346
|
-
:param _content_type: force content-type for the request.
|
|
3347
|
-
:type _content_type: str, Optional
|
|
3348
|
-
:param _headers: set to override the headers for a single
|
|
3349
|
-
request; this effectively ignores the headers
|
|
3350
|
-
in the spec for a single request.
|
|
3351
|
-
:type _headers: dict, optional
|
|
3352
|
-
:param _host_index: set to override the host_index for a single
|
|
3353
|
-
request; this effectively ignores the host_index
|
|
3354
|
-
in the spec for a single request.
|
|
3355
|
-
:type _host_index: int, optional
|
|
3356
|
-
:return: Returns the result object.
|
|
3357
|
-
""" # noqa: E501
|
|
3358
|
-
|
|
3359
|
-
_param = self._delete_solution_parameter_group_serialize(
|
|
3360
|
-
organization_id=organization_id,
|
|
3361
|
-
solution_id=solution_id,
|
|
3362
|
-
parameter_group_id=parameter_group_id,
|
|
3363
|
-
_request_auth=_request_auth,
|
|
3364
|
-
_content_type=_content_type,
|
|
3365
|
-
_headers=_headers,
|
|
3366
|
-
_host_index=_host_index
|
|
3367
|
-
)
|
|
3368
|
-
|
|
3369
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
3370
|
-
'204': None,
|
|
3371
|
-
'404': None,
|
|
3372
|
-
}
|
|
3373
|
-
response_data = self.api_client.call_api(
|
|
3374
|
-
*_param,
|
|
3375
|
-
_request_timeout=_request_timeout
|
|
3376
|
-
)
|
|
3377
|
-
response_data.read()
|
|
3378
|
-
return self.api_client.response_deserialize(
|
|
3379
|
-
response_data=response_data,
|
|
3380
|
-
response_types_map=_response_types_map,
|
|
3381
|
-
).data
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
@validate_call
|
|
3385
|
-
def delete_solution_parameter_group_with_http_info(
|
|
3386
|
-
self,
|
|
3387
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3388
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3389
|
-
parameter_group_id: Annotated[StrictStr, Field(description="The parameter group identifier")],
|
|
3390
|
-
_request_timeout: Union[
|
|
3391
|
-
None,
|
|
3392
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3393
|
-
Tuple[
|
|
3394
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3395
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3396
|
-
]
|
|
3397
|
-
] = None,
|
|
3398
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3399
|
-
_content_type: Optional[StrictStr] = None,
|
|
3400
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3401
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3402
|
-
) -> ApiResponse[None]:
|
|
3403
|
-
"""Delete a parameter group from the solution
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
:param organization_id: the Organization identifier (required)
|
|
3407
|
-
:type organization_id: str
|
|
3408
|
-
:param solution_id: the Solution identifier (required)
|
|
3409
|
-
:type solution_id: str
|
|
3410
|
-
:param parameter_group_id: The parameter group identifier (required)
|
|
3411
|
-
:type parameter_group_id: str
|
|
3412
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3413
|
-
number provided, it will be total request
|
|
3414
|
-
timeout. It can also be a pair (tuple) of
|
|
3415
|
-
(connection, read) timeouts.
|
|
3416
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3417
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3418
|
-
request; this effectively ignores the
|
|
3419
|
-
authentication in the spec for a single request.
|
|
3420
|
-
:type _request_auth: dict, optional
|
|
3421
|
-
:param _content_type: force content-type for the request.
|
|
3422
|
-
:type _content_type: str, Optional
|
|
3423
|
-
:param _headers: set to override the headers for a single
|
|
3424
|
-
request; this effectively ignores the headers
|
|
3425
|
-
in the spec for a single request.
|
|
3426
|
-
:type _headers: dict, optional
|
|
3427
|
-
:param _host_index: set to override the host_index for a single
|
|
3428
|
-
request; this effectively ignores the host_index
|
|
3429
|
-
in the spec for a single request.
|
|
3430
|
-
:type _host_index: int, optional
|
|
3431
|
-
:return: Returns the result object.
|
|
3432
|
-
""" # noqa: E501
|
|
3433
|
-
|
|
3434
|
-
_param = self._delete_solution_parameter_group_serialize(
|
|
3435
|
-
organization_id=organization_id,
|
|
3436
|
-
solution_id=solution_id,
|
|
3437
|
-
parameter_group_id=parameter_group_id,
|
|
3438
|
-
_request_auth=_request_auth,
|
|
3439
|
-
_content_type=_content_type,
|
|
3440
|
-
_headers=_headers,
|
|
3441
|
-
_host_index=_host_index
|
|
3442
|
-
)
|
|
3443
|
-
|
|
3444
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
3445
|
-
'204': None,
|
|
3446
|
-
'404': None,
|
|
3447
|
-
}
|
|
3448
|
-
response_data = self.api_client.call_api(
|
|
3449
|
-
*_param,
|
|
3450
|
-
_request_timeout=_request_timeout
|
|
3451
|
-
)
|
|
3452
|
-
response_data.read()
|
|
3453
|
-
return self.api_client.response_deserialize(
|
|
3454
|
-
response_data=response_data,
|
|
3455
|
-
response_types_map=_response_types_map,
|
|
3456
|
-
)
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
@validate_call
|
|
3460
|
-
def delete_solution_parameter_group_without_preload_content(
|
|
3461
|
-
self,
|
|
3462
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3463
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3464
|
-
parameter_group_id: Annotated[StrictStr, Field(description="The parameter group identifier")],
|
|
3465
|
-
_request_timeout: Union[
|
|
3466
|
-
None,
|
|
3467
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3468
|
-
Tuple[
|
|
3469
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3470
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3471
|
-
]
|
|
3472
|
-
] = None,
|
|
3473
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3474
|
-
_content_type: Optional[StrictStr] = None,
|
|
3475
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3476
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3477
|
-
) -> RESTResponseType:
|
|
3478
|
-
"""Delete a parameter group from the solution
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
:param organization_id: the Organization identifier (required)
|
|
3482
|
-
:type organization_id: str
|
|
3483
|
-
:param solution_id: the Solution identifier (required)
|
|
3484
|
-
:type solution_id: str
|
|
3485
|
-
:param parameter_group_id: The parameter group identifier (required)
|
|
3486
|
-
:type parameter_group_id: str
|
|
3487
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3488
|
-
number provided, it will be total request
|
|
3489
|
-
timeout. It can also be a pair (tuple) of
|
|
3490
|
-
(connection, read) timeouts.
|
|
3491
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3492
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3493
|
-
request; this effectively ignores the
|
|
3494
|
-
authentication in the spec for a single request.
|
|
3495
|
-
:type _request_auth: dict, optional
|
|
3496
|
-
:param _content_type: force content-type for the request.
|
|
3497
|
-
:type _content_type: str, Optional
|
|
3498
|
-
:param _headers: set to override the headers for a single
|
|
3499
|
-
request; this effectively ignores the headers
|
|
3500
|
-
in the spec for a single request.
|
|
3501
|
-
:type _headers: dict, optional
|
|
3502
|
-
:param _host_index: set to override the host_index for a single
|
|
3503
|
-
request; this effectively ignores the host_index
|
|
3504
|
-
in the spec for a single request.
|
|
3505
|
-
:type _host_index: int, optional
|
|
3506
|
-
:return: Returns the result object.
|
|
3507
|
-
""" # noqa: E501
|
|
3508
|
-
|
|
3509
|
-
_param = self._delete_solution_parameter_group_serialize(
|
|
3510
|
-
organization_id=organization_id,
|
|
3511
|
-
solution_id=solution_id,
|
|
3512
|
-
parameter_group_id=parameter_group_id,
|
|
3513
|
-
_request_auth=_request_auth,
|
|
3514
|
-
_content_type=_content_type,
|
|
3515
|
-
_headers=_headers,
|
|
3516
|
-
_host_index=_host_index
|
|
3517
|
-
)
|
|
3518
|
-
|
|
3519
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
3520
|
-
'204': None,
|
|
3521
|
-
'404': None,
|
|
3522
|
-
}
|
|
3523
|
-
response_data = self.api_client.call_api(
|
|
3524
|
-
*_param,
|
|
3525
|
-
_request_timeout=_request_timeout
|
|
3526
|
-
)
|
|
3527
|
-
return response_data.response
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
def _delete_solution_parameter_group_serialize(
|
|
3531
|
-
self,
|
|
3532
|
-
organization_id,
|
|
3533
|
-
solution_id,
|
|
3534
|
-
parameter_group_id,
|
|
3535
|
-
_request_auth,
|
|
3536
|
-
_content_type,
|
|
3537
|
-
_headers,
|
|
3538
|
-
_host_index,
|
|
3539
|
-
) -> RequestSerialized:
|
|
3540
|
-
|
|
3541
|
-
_host = None
|
|
3542
|
-
|
|
3543
|
-
_collection_formats: Dict[str, str] = {
|
|
3544
|
-
}
|
|
3545
|
-
|
|
3546
|
-
_path_params: Dict[str, str] = {}
|
|
3547
|
-
_query_params: List[Tuple[str, str]] = []
|
|
3548
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3549
|
-
_form_params: List[Tuple[str, str]] = []
|
|
3550
|
-
_files: Dict[
|
|
3551
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3552
|
-
] = {}
|
|
3553
|
-
_body_params: Optional[bytes] = None
|
|
3554
|
-
|
|
3555
|
-
# process the path parameters
|
|
3556
|
-
if organization_id is not None:
|
|
3557
|
-
_path_params['organization_id'] = organization_id
|
|
3558
|
-
if solution_id is not None:
|
|
3559
|
-
_path_params['solution_id'] = solution_id
|
|
3560
|
-
if parameter_group_id is not None:
|
|
3561
|
-
_path_params['parameter_group_id'] = parameter_group_id
|
|
3562
|
-
# process the query parameters
|
|
3563
|
-
# process the header parameters
|
|
3564
|
-
# process the form parameters
|
|
3565
|
-
# process the body parameter
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
# authentication setting
|
|
3571
|
-
_auth_settings: List[str] = [
|
|
3572
|
-
'oAuth2AuthCode'
|
|
3573
|
-
]
|
|
3574
|
-
|
|
3575
|
-
return self.api_client.param_serialize(
|
|
3576
|
-
method='DELETE',
|
|
3577
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups/{parameter_group_id}',
|
|
3578
|
-
path_params=_path_params,
|
|
3579
|
-
query_params=_query_params,
|
|
3580
|
-
header_params=_header_params,
|
|
3581
|
-
body=_body_params,
|
|
3582
|
-
post_params=_form_params,
|
|
3583
|
-
files=_files,
|
|
3584
|
-
auth_settings=_auth_settings,
|
|
3585
|
-
collection_formats=_collection_formats,
|
|
3586
|
-
_host=_host,
|
|
3587
|
-
_request_auth=_request_auth
|
|
3588
|
-
)
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
@validate_call
|
|
3594
|
-
def delete_solution_run_template(
|
|
3595
|
-
self,
|
|
3596
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3597
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3598
|
-
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
3599
|
-
_request_timeout: Union[
|
|
3600
|
-
None,
|
|
3601
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3602
|
-
Tuple[
|
|
3603
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3604
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3605
|
-
]
|
|
3606
|
-
] = None,
|
|
3607
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3608
|
-
_content_type: Optional[StrictStr] = None,
|
|
3609
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3610
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3611
|
-
) -> None:
|
|
3612
|
-
"""Delete a specific run template
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
:param organization_id: the Organization identifier (required)
|
|
3616
|
-
:type organization_id: str
|
|
3617
|
-
:param solution_id: the Solution identifier (required)
|
|
3618
|
-
:type solution_id: str
|
|
3619
|
-
:param run_template_id: The Run Template identifier (required)
|
|
3620
|
-
:type run_template_id: str
|
|
3621
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3622
|
-
number provided, it will be total request
|
|
3623
|
-
timeout. It can also be a pair (tuple) of
|
|
3624
|
-
(connection, read) timeouts.
|
|
3625
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3626
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3627
|
-
request; this effectively ignores the
|
|
3628
|
-
authentication in the spec for a single request.
|
|
3629
|
-
:type _request_auth: dict, optional
|
|
3630
|
-
:param _content_type: force content-type for the request.
|
|
3631
|
-
:type _content_type: str, Optional
|
|
3632
|
-
:param _headers: set to override the headers for a single
|
|
3633
|
-
request; this effectively ignores the headers
|
|
3634
|
-
in the spec for a single request.
|
|
3635
|
-
:type _headers: dict, optional
|
|
3636
|
-
:param _host_index: set to override the host_index for a single
|
|
3637
|
-
request; this effectively ignores the host_index
|
|
3638
|
-
in the spec for a single request.
|
|
3639
|
-
:type _host_index: int, optional
|
|
3640
|
-
:return: Returns the result object.
|
|
3641
|
-
""" # noqa: E501
|
|
3642
|
-
|
|
3643
|
-
_param = self._delete_solution_run_template_serialize(
|
|
3644
|
-
organization_id=organization_id,
|
|
3645
|
-
solution_id=solution_id,
|
|
3646
|
-
run_template_id=run_template_id,
|
|
3647
|
-
_request_auth=_request_auth,
|
|
3648
|
-
_content_type=_content_type,
|
|
3649
|
-
_headers=_headers,
|
|
3650
|
-
_host_index=_host_index
|
|
3651
|
-
)
|
|
3652
|
-
|
|
3653
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
3654
|
-
'204': None,
|
|
3655
|
-
'404': None,
|
|
3656
|
-
}
|
|
3657
|
-
response_data = self.api_client.call_api(
|
|
3658
|
-
*_param,
|
|
3659
|
-
_request_timeout=_request_timeout
|
|
3660
|
-
)
|
|
3661
|
-
response_data.read()
|
|
3662
|
-
return self.api_client.response_deserialize(
|
|
3663
|
-
response_data=response_data,
|
|
3664
|
-
response_types_map=_response_types_map,
|
|
3665
|
-
).data
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
@validate_call
|
|
3669
|
-
def delete_solution_run_template_with_http_info(
|
|
3670
|
-
self,
|
|
3671
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3672
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3673
|
-
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
3674
|
-
_request_timeout: Union[
|
|
3675
|
-
None,
|
|
3676
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3677
|
-
Tuple[
|
|
3678
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3679
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3680
|
-
]
|
|
3681
|
-
] = None,
|
|
3682
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3683
|
-
_content_type: Optional[StrictStr] = None,
|
|
3684
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3685
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3686
|
-
) -> ApiResponse[None]:
|
|
3687
|
-
"""Delete a specific run template
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
:param organization_id: the Organization identifier (required)
|
|
3691
|
-
:type organization_id: str
|
|
3692
|
-
:param solution_id: the Solution identifier (required)
|
|
3693
|
-
:type solution_id: str
|
|
3694
|
-
:param run_template_id: The Run Template identifier (required)
|
|
3695
|
-
:type run_template_id: str
|
|
3696
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3697
|
-
number provided, it will be total request
|
|
3698
|
-
timeout. It can also be a pair (tuple) of
|
|
3699
|
-
(connection, read) timeouts.
|
|
3700
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3701
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3702
|
-
request; this effectively ignores the
|
|
3703
|
-
authentication in the spec for a single request.
|
|
3704
|
-
:type _request_auth: dict, optional
|
|
3705
|
-
:param _content_type: force content-type for the request.
|
|
3706
|
-
:type _content_type: str, Optional
|
|
3707
|
-
:param _headers: set to override the headers for a single
|
|
3708
|
-
request; this effectively ignores the headers
|
|
3709
|
-
in the spec for a single request.
|
|
3710
|
-
:type _headers: dict, optional
|
|
3711
|
-
:param _host_index: set to override the host_index for a single
|
|
3712
|
-
request; this effectively ignores the host_index
|
|
3713
|
-
in the spec for a single request.
|
|
3714
|
-
:type _host_index: int, optional
|
|
3715
|
-
:return: Returns the result object.
|
|
3716
|
-
""" # noqa: E501
|
|
3717
|
-
|
|
3718
|
-
_param = self._delete_solution_run_template_serialize(
|
|
3719
|
-
organization_id=organization_id,
|
|
3720
|
-
solution_id=solution_id,
|
|
3721
|
-
run_template_id=run_template_id,
|
|
3722
|
-
_request_auth=_request_auth,
|
|
3723
|
-
_content_type=_content_type,
|
|
3724
|
-
_headers=_headers,
|
|
3725
|
-
_host_index=_host_index
|
|
3726
|
-
)
|
|
3727
|
-
|
|
3728
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
3729
|
-
'204': None,
|
|
3730
|
-
'404': None,
|
|
3731
|
-
}
|
|
3732
|
-
response_data = self.api_client.call_api(
|
|
3733
|
-
*_param,
|
|
3734
|
-
_request_timeout=_request_timeout
|
|
3735
|
-
)
|
|
3736
|
-
response_data.read()
|
|
3737
|
-
return self.api_client.response_deserialize(
|
|
3738
|
-
response_data=response_data,
|
|
3739
|
-
response_types_map=_response_types_map,
|
|
3740
|
-
)
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
@validate_call
|
|
3744
|
-
def delete_solution_run_template_without_preload_content(
|
|
3745
|
-
self,
|
|
3746
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3747
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3748
|
-
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
3749
|
-
_request_timeout: Union[
|
|
3750
|
-
None,
|
|
3751
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3752
|
-
Tuple[
|
|
3753
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3754
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3755
|
-
]
|
|
3756
|
-
] = None,
|
|
3757
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3758
|
-
_content_type: Optional[StrictStr] = None,
|
|
3759
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3760
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3761
|
-
) -> RESTResponseType:
|
|
3762
|
-
"""Delete a specific run template
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
:param organization_id: the Organization identifier (required)
|
|
3766
|
-
:type organization_id: str
|
|
3767
|
-
:param solution_id: the Solution identifier (required)
|
|
3768
|
-
:type solution_id: str
|
|
3769
|
-
:param run_template_id: The Run Template identifier (required)
|
|
3770
|
-
:type run_template_id: str
|
|
3771
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3772
|
-
number provided, it will be total request
|
|
3773
|
-
timeout. It can also be a pair (tuple) of
|
|
3774
|
-
(connection, read) timeouts.
|
|
3775
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3776
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3777
|
-
request; this effectively ignores the
|
|
3778
|
-
authentication in the spec for a single request.
|
|
3779
|
-
:type _request_auth: dict, optional
|
|
3780
|
-
:param _content_type: force content-type for the request.
|
|
3781
|
-
:type _content_type: str, Optional
|
|
3782
|
-
:param _headers: set to override the headers for a single
|
|
3783
|
-
request; this effectively ignores the headers
|
|
3784
|
-
in the spec for a single request.
|
|
3785
|
-
:type _headers: dict, optional
|
|
3786
|
-
:param _host_index: set to override the host_index for a single
|
|
3787
|
-
request; this effectively ignores the host_index
|
|
3788
|
-
in the spec for a single request.
|
|
3789
|
-
:type _host_index: int, optional
|
|
3790
|
-
:return: Returns the result object.
|
|
3791
|
-
""" # noqa: E501
|
|
3792
|
-
|
|
3793
|
-
_param = self._delete_solution_run_template_serialize(
|
|
3794
|
-
organization_id=organization_id,
|
|
3795
|
-
solution_id=solution_id,
|
|
3796
|
-
run_template_id=run_template_id,
|
|
3797
|
-
_request_auth=_request_auth,
|
|
3798
|
-
_content_type=_content_type,
|
|
3799
|
-
_headers=_headers,
|
|
3800
|
-
_host_index=_host_index
|
|
3801
|
-
)
|
|
3802
|
-
|
|
3803
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
3804
|
-
'204': None,
|
|
3805
|
-
'404': None,
|
|
3806
|
-
}
|
|
3807
|
-
response_data = self.api_client.call_api(
|
|
3808
|
-
*_param,
|
|
3809
|
-
_request_timeout=_request_timeout
|
|
3810
|
-
)
|
|
3811
|
-
return response_data.response
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
def _delete_solution_run_template_serialize(
|
|
3815
|
-
self,
|
|
3816
|
-
organization_id,
|
|
3817
|
-
solution_id,
|
|
3818
|
-
run_template_id,
|
|
3819
|
-
_request_auth,
|
|
3820
|
-
_content_type,
|
|
3821
|
-
_headers,
|
|
3822
|
-
_host_index,
|
|
3823
|
-
) -> RequestSerialized:
|
|
3824
|
-
|
|
3825
|
-
_host = None
|
|
3826
|
-
|
|
3827
|
-
_collection_formats: Dict[str, str] = {
|
|
3828
|
-
}
|
|
3829
|
-
|
|
3830
|
-
_path_params: Dict[str, str] = {}
|
|
3831
|
-
_query_params: List[Tuple[str, str]] = []
|
|
3832
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3833
|
-
_form_params: List[Tuple[str, str]] = []
|
|
3834
|
-
_files: Dict[
|
|
3835
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3836
|
-
] = {}
|
|
3837
|
-
_body_params: Optional[bytes] = None
|
|
3838
|
-
|
|
3839
|
-
# process the path parameters
|
|
3840
|
-
if organization_id is not None:
|
|
3841
|
-
_path_params['organization_id'] = organization_id
|
|
3842
|
-
if solution_id is not None:
|
|
3843
|
-
_path_params['solution_id'] = solution_id
|
|
3844
|
-
if run_template_id is not None:
|
|
3845
|
-
_path_params['run_template_id'] = run_template_id
|
|
3846
|
-
# process the query parameters
|
|
3847
|
-
# process the header parameters
|
|
3848
|
-
# process the form parameters
|
|
3849
|
-
# process the body parameter
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
# authentication setting
|
|
3855
|
-
_auth_settings: List[str] = [
|
|
3856
|
-
'oAuth2AuthCode'
|
|
3857
|
-
]
|
|
3858
|
-
|
|
3859
|
-
return self.api_client.param_serialize(
|
|
3860
|
-
method='DELETE',
|
|
3861
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}',
|
|
3862
|
-
path_params=_path_params,
|
|
3863
|
-
query_params=_query_params,
|
|
3864
|
-
header_params=_header_params,
|
|
3865
|
-
body=_body_params,
|
|
3866
|
-
post_params=_form_params,
|
|
3867
|
-
files=_files,
|
|
3868
|
-
auth_settings=_auth_settings,
|
|
3869
|
-
collection_formats=_collection_formats,
|
|
3870
|
-
_host=_host,
|
|
3871
|
-
_request_auth=_request_auth
|
|
3872
|
-
)
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
@validate_call
|
|
3878
|
-
def get_run_template(
|
|
3879
|
-
self,
|
|
3880
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3881
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3882
|
-
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
3883
|
-
_request_timeout: Union[
|
|
3884
|
-
None,
|
|
3885
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3886
|
-
Tuple[
|
|
3887
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3888
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3889
|
-
]
|
|
3890
|
-
] = None,
|
|
3891
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3892
|
-
_content_type: Optional[StrictStr] = None,
|
|
3893
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3894
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3895
|
-
) -> RunTemplate:
|
|
3896
|
-
"""Retrieve a solution run templates
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
:param organization_id: the Organization identifier (required)
|
|
3900
|
-
:type organization_id: str
|
|
3901
|
-
:param solution_id: the Solution identifier (required)
|
|
3902
|
-
:type solution_id: str
|
|
3903
|
-
:param run_template_id: The Run Template identifier (required)
|
|
3904
|
-
:type run_template_id: str
|
|
3905
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3906
|
-
number provided, it will be total request
|
|
3907
|
-
timeout. It can also be a pair (tuple) of
|
|
3908
|
-
(connection, read) timeouts.
|
|
3909
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3910
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3911
|
-
request; this effectively ignores the
|
|
3912
|
-
authentication in the spec for a single request.
|
|
3913
|
-
:type _request_auth: dict, optional
|
|
3914
|
-
:param _content_type: force content-type for the request.
|
|
3915
|
-
:type _content_type: str, Optional
|
|
3916
|
-
:param _headers: set to override the headers for a single
|
|
3917
|
-
request; this effectively ignores the headers
|
|
3918
|
-
in the spec for a single request.
|
|
3919
|
-
:type _headers: dict, optional
|
|
3920
|
-
:param _host_index: set to override the host_index for a single
|
|
3921
|
-
request; this effectively ignores the host_index
|
|
3922
|
-
in the spec for a single request.
|
|
3923
|
-
:type _host_index: int, optional
|
|
3924
|
-
:return: Returns the result object.
|
|
3925
|
-
""" # noqa: E501
|
|
3926
|
-
|
|
3927
|
-
_param = self._get_run_template_serialize(
|
|
3928
|
-
organization_id=organization_id,
|
|
3929
|
-
solution_id=solution_id,
|
|
3930
|
-
run_template_id=run_template_id,
|
|
3931
|
-
_request_auth=_request_auth,
|
|
3932
|
-
_content_type=_content_type,
|
|
3933
|
-
_headers=_headers,
|
|
3934
|
-
_host_index=_host_index
|
|
3935
|
-
)
|
|
3936
|
-
|
|
3937
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
3938
|
-
'200': "RunTemplate",
|
|
3939
|
-
'404': None,
|
|
3940
|
-
}
|
|
3941
|
-
response_data = self.api_client.call_api(
|
|
3942
|
-
*_param,
|
|
3943
|
-
_request_timeout=_request_timeout
|
|
3944
|
-
)
|
|
3945
|
-
response_data.read()
|
|
3946
|
-
return self.api_client.response_deserialize(
|
|
3947
|
-
response_data=response_data,
|
|
3948
|
-
response_types_map=_response_types_map,
|
|
3949
|
-
).data
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
@validate_call
|
|
3953
|
-
def get_run_template_with_http_info(
|
|
3954
|
-
self,
|
|
3955
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3956
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
3957
|
-
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
3958
|
-
_request_timeout: Union[
|
|
3959
|
-
None,
|
|
3960
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3961
|
-
Tuple[
|
|
3962
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
3963
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
3964
|
-
]
|
|
3965
|
-
] = None,
|
|
3966
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3967
|
-
_content_type: Optional[StrictStr] = None,
|
|
3968
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3969
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3970
|
-
) -> ApiResponse[RunTemplate]:
|
|
3971
|
-
"""Retrieve a solution run templates
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
:param organization_id: the Organization identifier (required)
|
|
3975
|
-
:type organization_id: str
|
|
3976
|
-
:param solution_id: the Solution identifier (required)
|
|
3977
|
-
:type solution_id: str
|
|
3978
|
-
:param run_template_id: The Run Template identifier (required)
|
|
3979
|
-
:type run_template_id: str
|
|
3980
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
3981
|
-
number provided, it will be total request
|
|
3982
|
-
timeout. It can also be a pair (tuple) of
|
|
3983
|
-
(connection, read) timeouts.
|
|
3984
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
3985
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
3986
|
-
request; this effectively ignores the
|
|
3987
|
-
authentication in the spec for a single request.
|
|
3988
|
-
:type _request_auth: dict, optional
|
|
3989
|
-
:param _content_type: force content-type for the request.
|
|
3990
|
-
:type _content_type: str, Optional
|
|
3991
|
-
:param _headers: set to override the headers for a single
|
|
3992
|
-
request; this effectively ignores the headers
|
|
3993
|
-
in the spec for a single request.
|
|
3994
|
-
:type _headers: dict, optional
|
|
3995
|
-
:param _host_index: set to override the host_index for a single
|
|
3996
|
-
request; this effectively ignores the host_index
|
|
3997
|
-
in the spec for a single request.
|
|
3998
|
-
:type _host_index: int, optional
|
|
3999
|
-
:return: Returns the result object.
|
|
4000
|
-
""" # noqa: E501
|
|
4001
|
-
|
|
4002
|
-
_param = self._get_run_template_serialize(
|
|
4003
|
-
organization_id=organization_id,
|
|
4004
|
-
solution_id=solution_id,
|
|
4005
|
-
run_template_id=run_template_id,
|
|
4006
|
-
_request_auth=_request_auth,
|
|
4007
|
-
_content_type=_content_type,
|
|
4008
|
-
_headers=_headers,
|
|
4009
|
-
_host_index=_host_index
|
|
4010
|
-
)
|
|
4011
|
-
|
|
4012
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4013
|
-
'200': "RunTemplate",
|
|
4014
|
-
'404': None,
|
|
4015
|
-
}
|
|
4016
|
-
response_data = self.api_client.call_api(
|
|
4017
|
-
*_param,
|
|
4018
|
-
_request_timeout=_request_timeout
|
|
4019
|
-
)
|
|
4020
|
-
response_data.read()
|
|
4021
|
-
return self.api_client.response_deserialize(
|
|
4022
|
-
response_data=response_data,
|
|
4023
|
-
response_types_map=_response_types_map,
|
|
4024
|
-
)
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
@validate_call
|
|
4028
|
-
def get_run_template_without_preload_content(
|
|
4029
|
-
self,
|
|
4030
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4031
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4032
|
-
run_template_id: Annotated[StrictStr, Field(description="The Run Template identifier")],
|
|
4033
|
-
_request_timeout: Union[
|
|
4034
|
-
None,
|
|
4035
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4036
|
-
Tuple[
|
|
4037
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4038
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4039
|
-
]
|
|
4040
|
-
] = None,
|
|
4041
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4042
|
-
_content_type: Optional[StrictStr] = None,
|
|
4043
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4044
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4045
|
-
) -> RESTResponseType:
|
|
4046
|
-
"""Retrieve a solution run templates
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
:param organization_id: the Organization identifier (required)
|
|
4050
|
-
:type organization_id: str
|
|
4051
|
-
:param solution_id: the Solution identifier (required)
|
|
4052
|
-
:type solution_id: str
|
|
4053
|
-
:param run_template_id: The Run Template identifier (required)
|
|
4054
|
-
:type run_template_id: str
|
|
4055
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4056
|
-
number provided, it will be total request
|
|
4057
|
-
timeout. It can also be a pair (tuple) of
|
|
4058
|
-
(connection, read) timeouts.
|
|
4059
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4060
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4061
|
-
request; this effectively ignores the
|
|
4062
|
-
authentication in the spec for a single request.
|
|
4063
|
-
:type _request_auth: dict, optional
|
|
4064
|
-
:param _content_type: force content-type for the request.
|
|
4065
|
-
:type _content_type: str, Optional
|
|
4066
|
-
:param _headers: set to override the headers for a single
|
|
4067
|
-
request; this effectively ignores the headers
|
|
4068
|
-
in the spec for a single request.
|
|
4069
|
-
:type _headers: dict, optional
|
|
4070
|
-
:param _host_index: set to override the host_index for a single
|
|
4071
|
-
request; this effectively ignores the host_index
|
|
4072
|
-
in the spec for a single request.
|
|
4073
|
-
:type _host_index: int, optional
|
|
4074
|
-
:return: Returns the result object.
|
|
4075
|
-
""" # noqa: E501
|
|
4076
|
-
|
|
4077
|
-
_param = self._get_run_template_serialize(
|
|
4078
|
-
organization_id=organization_id,
|
|
4079
|
-
solution_id=solution_id,
|
|
4080
|
-
run_template_id=run_template_id,
|
|
4081
|
-
_request_auth=_request_auth,
|
|
4082
|
-
_content_type=_content_type,
|
|
4083
|
-
_headers=_headers,
|
|
4084
|
-
_host_index=_host_index
|
|
4085
|
-
)
|
|
4086
|
-
|
|
4087
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4088
|
-
'200': "RunTemplate",
|
|
4089
|
-
'404': None,
|
|
4090
|
-
}
|
|
4091
|
-
response_data = self.api_client.call_api(
|
|
4092
|
-
*_param,
|
|
4093
|
-
_request_timeout=_request_timeout
|
|
4094
|
-
)
|
|
4095
|
-
return response_data.response
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
def _get_run_template_serialize(
|
|
4099
|
-
self,
|
|
4100
|
-
organization_id,
|
|
4101
|
-
solution_id,
|
|
4102
|
-
run_template_id,
|
|
4103
|
-
_request_auth,
|
|
4104
|
-
_content_type,
|
|
4105
|
-
_headers,
|
|
4106
|
-
_host_index,
|
|
4107
|
-
) -> RequestSerialized:
|
|
4108
|
-
|
|
4109
|
-
_host = None
|
|
4110
|
-
|
|
4111
|
-
_collection_formats: Dict[str, str] = {
|
|
4112
|
-
}
|
|
4113
|
-
|
|
4114
|
-
_path_params: Dict[str, str] = {}
|
|
4115
|
-
_query_params: List[Tuple[str, str]] = []
|
|
4116
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4117
|
-
_form_params: List[Tuple[str, str]] = []
|
|
4118
|
-
_files: Dict[
|
|
4119
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
4120
|
-
] = {}
|
|
4121
|
-
_body_params: Optional[bytes] = None
|
|
4122
|
-
|
|
4123
|
-
# process the path parameters
|
|
4124
|
-
if organization_id is not None:
|
|
4125
|
-
_path_params['organization_id'] = organization_id
|
|
4126
|
-
if solution_id is not None:
|
|
4127
|
-
_path_params['solution_id'] = solution_id
|
|
4128
|
-
if run_template_id is not None:
|
|
4129
|
-
_path_params['run_template_id'] = run_template_id
|
|
4130
|
-
# process the query parameters
|
|
4131
|
-
# process the header parameters
|
|
4132
|
-
# process the form parameters
|
|
4133
|
-
# process the body parameter
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
# set the HTTP header `Accept`
|
|
4137
|
-
if 'Accept' not in _header_params:
|
|
4138
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4139
|
-
[
|
|
4140
|
-
'application/json',
|
|
4141
|
-
'application/yaml'
|
|
4142
|
-
]
|
|
4143
|
-
)
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
# authentication setting
|
|
4147
|
-
_auth_settings: List[str] = [
|
|
4148
|
-
'oAuth2AuthCode'
|
|
4149
|
-
]
|
|
4150
|
-
|
|
4151
|
-
return self.api_client.param_serialize(
|
|
4152
|
-
method='GET',
|
|
4153
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}',
|
|
4154
|
-
path_params=_path_params,
|
|
4155
|
-
query_params=_query_params,
|
|
4156
|
-
header_params=_header_params,
|
|
4157
|
-
body=_body_params,
|
|
4158
|
-
post_params=_form_params,
|
|
4159
|
-
files=_files,
|
|
4160
|
-
auth_settings=_auth_settings,
|
|
4161
|
-
collection_formats=_collection_formats,
|
|
4162
|
-
_host=_host,
|
|
4163
|
-
_request_auth=_request_auth
|
|
4164
|
-
)
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
@validate_call
|
|
4170
|
-
def get_solution(
|
|
4171
|
-
self,
|
|
4172
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4173
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4174
|
-
_request_timeout: Union[
|
|
4175
|
-
None,
|
|
4176
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4177
|
-
Tuple[
|
|
4178
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4179
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4180
|
-
]
|
|
4181
|
-
] = None,
|
|
4182
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4183
|
-
_content_type: Optional[StrictStr] = None,
|
|
4184
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4185
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4186
|
-
) -> Solution:
|
|
4187
|
-
"""Get the details of a solution
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
:param organization_id: the Organization identifier (required)
|
|
4191
|
-
:type organization_id: str
|
|
4192
|
-
:param solution_id: the Solution identifier (required)
|
|
4193
|
-
:type solution_id: str
|
|
4194
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4195
|
-
number provided, it will be total request
|
|
4196
|
-
timeout. It can also be a pair (tuple) of
|
|
4197
|
-
(connection, read) timeouts.
|
|
4198
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4199
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4200
|
-
request; this effectively ignores the
|
|
4201
|
-
authentication in the spec for a single request.
|
|
4202
|
-
:type _request_auth: dict, optional
|
|
4203
|
-
:param _content_type: force content-type for the request.
|
|
4204
|
-
:type _content_type: str, Optional
|
|
4205
|
-
:param _headers: set to override the headers for a single
|
|
4206
|
-
request; this effectively ignores the headers
|
|
4207
|
-
in the spec for a single request.
|
|
4208
|
-
:type _headers: dict, optional
|
|
4209
|
-
:param _host_index: set to override the host_index for a single
|
|
4210
|
-
request; this effectively ignores the host_index
|
|
4211
|
-
in the spec for a single request.
|
|
4212
|
-
:type _host_index: int, optional
|
|
4213
|
-
:return: Returns the result object.
|
|
4214
|
-
""" # noqa: E501
|
|
4215
|
-
|
|
4216
|
-
_param = self._get_solution_serialize(
|
|
4217
|
-
organization_id=organization_id,
|
|
4218
|
-
solution_id=solution_id,
|
|
4219
|
-
_request_auth=_request_auth,
|
|
4220
|
-
_content_type=_content_type,
|
|
4221
|
-
_headers=_headers,
|
|
4222
|
-
_host_index=_host_index
|
|
4223
|
-
)
|
|
4224
|
-
|
|
4225
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4226
|
-
'200': "Solution",
|
|
4227
|
-
'404': None,
|
|
4228
|
-
}
|
|
4229
|
-
response_data = self.api_client.call_api(
|
|
4230
|
-
*_param,
|
|
4231
|
-
_request_timeout=_request_timeout
|
|
4232
|
-
)
|
|
4233
|
-
response_data.read()
|
|
4234
|
-
return self.api_client.response_deserialize(
|
|
4235
|
-
response_data=response_data,
|
|
4236
|
-
response_types_map=_response_types_map,
|
|
4237
|
-
).data
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
@validate_call
|
|
4241
|
-
def get_solution_with_http_info(
|
|
4242
|
-
self,
|
|
4243
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4244
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4245
|
-
_request_timeout: Union[
|
|
4246
|
-
None,
|
|
4247
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4248
|
-
Tuple[
|
|
4249
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4250
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4251
|
-
]
|
|
4252
|
-
] = None,
|
|
4253
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4254
|
-
_content_type: Optional[StrictStr] = None,
|
|
4255
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4256
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4257
|
-
) -> ApiResponse[Solution]:
|
|
4258
|
-
"""Get the details of a solution
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
:param organization_id: the Organization identifier (required)
|
|
4262
|
-
:type organization_id: str
|
|
4263
|
-
:param solution_id: the Solution identifier (required)
|
|
4264
|
-
:type solution_id: str
|
|
4265
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4266
|
-
number provided, it will be total request
|
|
4267
|
-
timeout. It can also be a pair (tuple) of
|
|
4268
|
-
(connection, read) timeouts.
|
|
4269
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4270
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4271
|
-
request; this effectively ignores the
|
|
4272
|
-
authentication in the spec for a single request.
|
|
4273
|
-
:type _request_auth: dict, optional
|
|
4274
|
-
:param _content_type: force content-type for the request.
|
|
4275
|
-
:type _content_type: str, Optional
|
|
4276
|
-
:param _headers: set to override the headers for a single
|
|
4277
|
-
request; this effectively ignores the headers
|
|
4278
|
-
in the spec for a single request.
|
|
4279
|
-
:type _headers: dict, optional
|
|
4280
|
-
:param _host_index: set to override the host_index for a single
|
|
4281
|
-
request; this effectively ignores the host_index
|
|
4282
|
-
in the spec for a single request.
|
|
4283
|
-
:type _host_index: int, optional
|
|
4284
|
-
:return: Returns the result object.
|
|
4285
|
-
""" # noqa: E501
|
|
4286
|
-
|
|
4287
|
-
_param = self._get_solution_serialize(
|
|
4288
|
-
organization_id=organization_id,
|
|
4289
|
-
solution_id=solution_id,
|
|
4290
|
-
_request_auth=_request_auth,
|
|
4291
|
-
_content_type=_content_type,
|
|
4292
|
-
_headers=_headers,
|
|
4293
|
-
_host_index=_host_index
|
|
4294
|
-
)
|
|
4295
|
-
|
|
4296
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4297
|
-
'200': "Solution",
|
|
4298
|
-
'404': None,
|
|
4299
|
-
}
|
|
4300
|
-
response_data = self.api_client.call_api(
|
|
4301
|
-
*_param,
|
|
4302
|
-
_request_timeout=_request_timeout
|
|
4303
|
-
)
|
|
4304
|
-
response_data.read()
|
|
4305
|
-
return self.api_client.response_deserialize(
|
|
4306
|
-
response_data=response_data,
|
|
4307
|
-
response_types_map=_response_types_map,
|
|
4308
|
-
)
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
@validate_call
|
|
4312
|
-
def get_solution_without_preload_content(
|
|
4313
|
-
self,
|
|
4314
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4315
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4316
|
-
_request_timeout: Union[
|
|
4317
|
-
None,
|
|
4318
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4319
|
-
Tuple[
|
|
4320
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4321
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4322
|
-
]
|
|
4323
|
-
] = None,
|
|
4324
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4325
|
-
_content_type: Optional[StrictStr] = None,
|
|
4326
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4327
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4328
|
-
) -> RESTResponseType:
|
|
4329
|
-
"""Get the details of a solution
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
:param organization_id: the Organization identifier (required)
|
|
4333
|
-
:type organization_id: str
|
|
4334
|
-
:param solution_id: the Solution identifier (required)
|
|
4335
|
-
:type solution_id: str
|
|
4336
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4337
|
-
number provided, it will be total request
|
|
4338
|
-
timeout. It can also be a pair (tuple) of
|
|
4339
|
-
(connection, read) timeouts.
|
|
4340
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4341
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4342
|
-
request; this effectively ignores the
|
|
4343
|
-
authentication in the spec for a single request.
|
|
4344
|
-
:type _request_auth: dict, optional
|
|
4345
|
-
:param _content_type: force content-type for the request.
|
|
4346
|
-
:type _content_type: str, Optional
|
|
4347
|
-
:param _headers: set to override the headers for a single
|
|
4348
|
-
request; this effectively ignores the headers
|
|
4349
|
-
in the spec for a single request.
|
|
4350
|
-
:type _headers: dict, optional
|
|
4351
|
-
:param _host_index: set to override the host_index for a single
|
|
4352
|
-
request; this effectively ignores the host_index
|
|
4353
|
-
in the spec for a single request.
|
|
4354
|
-
:type _host_index: int, optional
|
|
4355
|
-
:return: Returns the result object.
|
|
4356
|
-
""" # noqa: E501
|
|
4357
|
-
|
|
4358
|
-
_param = self._get_solution_serialize(
|
|
4359
|
-
organization_id=organization_id,
|
|
4360
|
-
solution_id=solution_id,
|
|
4361
|
-
_request_auth=_request_auth,
|
|
4362
|
-
_content_type=_content_type,
|
|
4363
|
-
_headers=_headers,
|
|
4364
|
-
_host_index=_host_index
|
|
4365
|
-
)
|
|
4366
|
-
|
|
4367
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4368
|
-
'200': "Solution",
|
|
4369
|
-
'404': None,
|
|
4370
|
-
}
|
|
4371
|
-
response_data = self.api_client.call_api(
|
|
4372
|
-
*_param,
|
|
4373
|
-
_request_timeout=_request_timeout
|
|
4374
|
-
)
|
|
4375
|
-
return response_data.response
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
def _get_solution_serialize(
|
|
4379
|
-
self,
|
|
4380
|
-
organization_id,
|
|
4381
|
-
solution_id,
|
|
4382
|
-
_request_auth,
|
|
4383
|
-
_content_type,
|
|
4384
|
-
_headers,
|
|
4385
|
-
_host_index,
|
|
4386
|
-
) -> RequestSerialized:
|
|
4387
|
-
|
|
4388
|
-
_host = None
|
|
4389
|
-
|
|
4390
|
-
_collection_formats: Dict[str, str] = {
|
|
4391
|
-
}
|
|
4392
|
-
|
|
4393
|
-
_path_params: Dict[str, str] = {}
|
|
4394
|
-
_query_params: List[Tuple[str, str]] = []
|
|
4395
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4396
|
-
_form_params: List[Tuple[str, str]] = []
|
|
4397
|
-
_files: Dict[
|
|
4398
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
4399
|
-
] = {}
|
|
4400
|
-
_body_params: Optional[bytes] = None
|
|
4401
|
-
|
|
4402
|
-
# process the path parameters
|
|
4403
|
-
if organization_id is not None:
|
|
4404
|
-
_path_params['organization_id'] = organization_id
|
|
4405
|
-
if solution_id is not None:
|
|
4406
|
-
_path_params['solution_id'] = solution_id
|
|
4407
|
-
# process the query parameters
|
|
4408
|
-
# process the header parameters
|
|
4409
|
-
# process the form parameters
|
|
4410
|
-
# process the body parameter
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
# set the HTTP header `Accept`
|
|
4414
|
-
if 'Accept' not in _header_params:
|
|
4415
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4416
|
-
[
|
|
4417
|
-
'application/json',
|
|
4418
|
-
'application/yaml'
|
|
4419
|
-
]
|
|
4420
|
-
)
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
# authentication setting
|
|
4424
|
-
_auth_settings: List[str] = [
|
|
4425
|
-
'oAuth2AuthCode'
|
|
4426
|
-
]
|
|
4427
|
-
|
|
4428
|
-
return self.api_client.param_serialize(
|
|
4429
|
-
method='GET',
|
|
4430
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}',
|
|
4431
|
-
path_params=_path_params,
|
|
4432
|
-
query_params=_query_params,
|
|
4433
|
-
header_params=_header_params,
|
|
4434
|
-
body=_body_params,
|
|
4435
|
-
post_params=_form_params,
|
|
4436
|
-
files=_files,
|
|
4437
|
-
auth_settings=_auth_settings,
|
|
4438
|
-
collection_formats=_collection_formats,
|
|
4439
|
-
_host=_host,
|
|
4440
|
-
_request_auth=_request_auth
|
|
4441
|
-
)
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
@validate_call
|
|
4447
|
-
def get_solution_access_control(
|
|
4448
|
-
self,
|
|
4449
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4450
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4451
|
-
identity_id: Annotated[StrictStr, Field(description="The User identifier")],
|
|
4452
|
-
_request_timeout: Union[
|
|
4453
|
-
None,
|
|
4454
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4455
|
-
Tuple[
|
|
4456
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4457
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4458
|
-
]
|
|
4459
|
-
] = None,
|
|
4460
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4461
|
-
_content_type: Optional[StrictStr] = None,
|
|
4462
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4463
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4464
|
-
) -> SolutionAccessControl:
|
|
4465
|
-
"""Get solution access control
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
:param organization_id: the Organization identifier (required)
|
|
4469
|
-
:type organization_id: str
|
|
4470
|
-
:param solution_id: the Solution identifier (required)
|
|
4471
|
-
:type solution_id: str
|
|
4472
|
-
:param identity_id: The User identifier (required)
|
|
4473
|
-
:type identity_id: str
|
|
4474
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4475
|
-
number provided, it will be total request
|
|
4476
|
-
timeout. It can also be a pair (tuple) of
|
|
4477
|
-
(connection, read) timeouts.
|
|
4478
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4479
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4480
|
-
request; this effectively ignores the
|
|
4481
|
-
authentication in the spec for a single request.
|
|
4482
|
-
:type _request_auth: dict, optional
|
|
4483
|
-
:param _content_type: force content-type for the request.
|
|
4484
|
-
:type _content_type: str, Optional
|
|
4485
|
-
:param _headers: set to override the headers for a single
|
|
4486
|
-
request; this effectively ignores the headers
|
|
4487
|
-
in the spec for a single request.
|
|
4488
|
-
:type _headers: dict, optional
|
|
4489
|
-
:param _host_index: set to override the host_index for a single
|
|
4490
|
-
request; this effectively ignores the host_index
|
|
4491
|
-
in the spec for a single request.
|
|
4492
|
-
:type _host_index: int, optional
|
|
4493
|
-
:return: Returns the result object.
|
|
4494
|
-
""" # noqa: E501
|
|
4495
|
-
|
|
4496
|
-
_param = self._get_solution_access_control_serialize(
|
|
4497
|
-
organization_id=organization_id,
|
|
4498
|
-
solution_id=solution_id,
|
|
4499
|
-
identity_id=identity_id,
|
|
4500
|
-
_request_auth=_request_auth,
|
|
4501
|
-
_content_type=_content_type,
|
|
4502
|
-
_headers=_headers,
|
|
4503
|
-
_host_index=_host_index
|
|
4504
|
-
)
|
|
4505
|
-
|
|
4506
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4507
|
-
'200': "SolutionAccessControl",
|
|
4508
|
-
'404': None,
|
|
4509
|
-
}
|
|
4510
|
-
response_data = self.api_client.call_api(
|
|
4511
|
-
*_param,
|
|
4512
|
-
_request_timeout=_request_timeout
|
|
4513
|
-
)
|
|
4514
|
-
response_data.read()
|
|
4515
|
-
return self.api_client.response_deserialize(
|
|
4516
|
-
response_data=response_data,
|
|
4517
|
-
response_types_map=_response_types_map,
|
|
4518
|
-
).data
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
@validate_call
|
|
4522
|
-
def get_solution_access_control_with_http_info(
|
|
4523
|
-
self,
|
|
4524
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4525
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4526
|
-
identity_id: Annotated[StrictStr, Field(description="The User identifier")],
|
|
4527
|
-
_request_timeout: Union[
|
|
4528
|
-
None,
|
|
4529
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4530
|
-
Tuple[
|
|
4531
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4532
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4533
|
-
]
|
|
4534
|
-
] = None,
|
|
4535
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4536
|
-
_content_type: Optional[StrictStr] = None,
|
|
4537
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4538
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4539
|
-
) -> ApiResponse[SolutionAccessControl]:
|
|
4540
|
-
"""Get solution access control
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
:param organization_id: the Organization identifier (required)
|
|
4544
|
-
:type organization_id: str
|
|
4545
|
-
:param solution_id: the Solution identifier (required)
|
|
4546
|
-
:type solution_id: str
|
|
4547
|
-
:param identity_id: The User identifier (required)
|
|
4548
|
-
:type identity_id: str
|
|
4549
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4550
|
-
number provided, it will be total request
|
|
4551
|
-
timeout. It can also be a pair (tuple) of
|
|
4552
|
-
(connection, read) timeouts.
|
|
4553
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4554
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4555
|
-
request; this effectively ignores the
|
|
4556
|
-
authentication in the spec for a single request.
|
|
4557
|
-
:type _request_auth: dict, optional
|
|
4558
|
-
:param _content_type: force content-type for the request.
|
|
4559
|
-
:type _content_type: str, Optional
|
|
4560
|
-
:param _headers: set to override the headers for a single
|
|
4561
|
-
request; this effectively ignores the headers
|
|
4562
|
-
in the spec for a single request.
|
|
4563
|
-
:type _headers: dict, optional
|
|
4564
|
-
:param _host_index: set to override the host_index for a single
|
|
4565
|
-
request; this effectively ignores the host_index
|
|
4566
|
-
in the spec for a single request.
|
|
4567
|
-
:type _host_index: int, optional
|
|
4568
|
-
:return: Returns the result object.
|
|
4569
|
-
""" # noqa: E501
|
|
4570
|
-
|
|
4571
|
-
_param = self._get_solution_access_control_serialize(
|
|
4572
|
-
organization_id=organization_id,
|
|
4573
|
-
solution_id=solution_id,
|
|
4574
|
-
identity_id=identity_id,
|
|
4575
|
-
_request_auth=_request_auth,
|
|
4576
|
-
_content_type=_content_type,
|
|
4577
|
-
_headers=_headers,
|
|
4578
|
-
_host_index=_host_index
|
|
4579
|
-
)
|
|
4580
|
-
|
|
4581
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4582
|
-
'200': "SolutionAccessControl",
|
|
4583
|
-
'404': None,
|
|
4584
|
-
}
|
|
4585
|
-
response_data = self.api_client.call_api(
|
|
4586
|
-
*_param,
|
|
4587
|
-
_request_timeout=_request_timeout
|
|
4588
|
-
)
|
|
4589
|
-
response_data.read()
|
|
4590
|
-
return self.api_client.response_deserialize(
|
|
4591
|
-
response_data=response_data,
|
|
4592
|
-
response_types_map=_response_types_map,
|
|
4593
|
-
)
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
@validate_call
|
|
4597
|
-
def get_solution_access_control_without_preload_content(
|
|
4598
|
-
self,
|
|
4599
|
-
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4600
|
-
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4601
|
-
identity_id: Annotated[StrictStr, Field(description="The User identifier")],
|
|
4602
|
-
_request_timeout: Union[
|
|
4603
|
-
None,
|
|
4604
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4605
|
-
Tuple[
|
|
4606
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
4607
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
4608
|
-
]
|
|
4609
|
-
] = None,
|
|
4610
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4611
|
-
_content_type: Optional[StrictStr] = None,
|
|
4612
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4613
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4614
|
-
) -> RESTResponseType:
|
|
4615
|
-
"""Get solution access control
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
:param organization_id: the Organization identifier (required)
|
|
4619
|
-
:type organization_id: str
|
|
4620
|
-
:param solution_id: the Solution identifier (required)
|
|
4621
|
-
:type solution_id: str
|
|
4622
|
-
:param identity_id: The User identifier (required)
|
|
4623
|
-
:type identity_id: str
|
|
4624
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
4625
|
-
number provided, it will be total request
|
|
4626
|
-
timeout. It can also be a pair (tuple) of
|
|
4627
|
-
(connection, read) timeouts.
|
|
4628
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
4629
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
4630
|
-
request; this effectively ignores the
|
|
4631
|
-
authentication in the spec for a single request.
|
|
4632
|
-
:type _request_auth: dict, optional
|
|
4633
|
-
:param _content_type: force content-type for the request.
|
|
4634
|
-
:type _content_type: str, Optional
|
|
4635
|
-
:param _headers: set to override the headers for a single
|
|
4636
|
-
request; this effectively ignores the headers
|
|
4637
|
-
in the spec for a single request.
|
|
4638
|
-
:type _headers: dict, optional
|
|
4639
|
-
:param _host_index: set to override the host_index for a single
|
|
4640
|
-
request; this effectively ignores the host_index
|
|
4641
|
-
in the spec for a single request.
|
|
4642
|
-
:type _host_index: int, optional
|
|
4643
|
-
:return: Returns the result object.
|
|
4644
|
-
""" # noqa: E501
|
|
4645
|
-
|
|
4646
|
-
_param = self._get_solution_access_control_serialize(
|
|
4647
|
-
organization_id=organization_id,
|
|
4648
|
-
solution_id=solution_id,
|
|
4649
|
-
identity_id=identity_id,
|
|
4650
|
-
_request_auth=_request_auth,
|
|
4651
|
-
_content_type=_content_type,
|
|
4652
|
-
_headers=_headers,
|
|
4653
|
-
_host_index=_host_index
|
|
4654
|
-
)
|
|
4655
|
-
|
|
4656
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
4657
|
-
'200': "SolutionAccessControl",
|
|
3197
|
+
'200': "RunTemplate",
|
|
4658
3198
|
'404': None,
|
|
4659
3199
|
}
|
|
4660
3200
|
response_data = self.api_client.call_api(
|
|
@@ -4664,11 +3204,11 @@ class SolutionApi:
|
|
|
4664
3204
|
return response_data.response
|
|
4665
3205
|
|
|
4666
3206
|
|
|
4667
|
-
def
|
|
3207
|
+
def _get_run_template_serialize(
|
|
4668
3208
|
self,
|
|
4669
3209
|
organization_id,
|
|
4670
3210
|
solution_id,
|
|
4671
|
-
|
|
3211
|
+
run_template_id,
|
|
4672
3212
|
_request_auth,
|
|
4673
3213
|
_content_type,
|
|
4674
3214
|
_headers,
|
|
@@ -4694,8 +3234,8 @@ class SolutionApi:
|
|
|
4694
3234
|
_path_params['organization_id'] = organization_id
|
|
4695
3235
|
if solution_id is not None:
|
|
4696
3236
|
_path_params['solution_id'] = solution_id
|
|
4697
|
-
if
|
|
4698
|
-
_path_params['
|
|
3237
|
+
if run_template_id is not None:
|
|
3238
|
+
_path_params['run_template_id'] = run_template_id
|
|
4699
3239
|
# process the query parameters
|
|
4700
3240
|
# process the header parameters
|
|
4701
3241
|
# process the form parameters
|
|
@@ -4719,7 +3259,7 @@ class SolutionApi:
|
|
|
4719
3259
|
|
|
4720
3260
|
return self.api_client.param_serialize(
|
|
4721
3261
|
method='GET',
|
|
4722
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
3262
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}',
|
|
4723
3263
|
path_params=_path_params,
|
|
4724
3264
|
query_params=_query_params,
|
|
4725
3265
|
header_params=_header_params,
|
|
@@ -4736,11 +3276,10 @@ class SolutionApi:
|
|
|
4736
3276
|
|
|
4737
3277
|
|
|
4738
3278
|
@validate_call
|
|
4739
|
-
def
|
|
3279
|
+
def get_solution(
|
|
4740
3280
|
self,
|
|
4741
3281
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4742
3282
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4743
|
-
file_name: Annotated[StrictStr, Field(description="The file name")],
|
|
4744
3283
|
_request_timeout: Union[
|
|
4745
3284
|
None,
|
|
4746
3285
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4753,16 +3292,14 @@ class SolutionApi:
|
|
|
4753
3292
|
_content_type: Optional[StrictStr] = None,
|
|
4754
3293
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4755
3294
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4756
|
-
) ->
|
|
4757
|
-
"""
|
|
3295
|
+
) -> Solution:
|
|
3296
|
+
"""Get the details of a solution
|
|
4758
3297
|
|
|
4759
3298
|
|
|
4760
3299
|
:param organization_id: the Organization identifier (required)
|
|
4761
3300
|
:type organization_id: str
|
|
4762
3301
|
:param solution_id: the Solution identifier (required)
|
|
4763
3302
|
:type solution_id: str
|
|
4764
|
-
:param file_name: The file name (required)
|
|
4765
|
-
:type file_name: str
|
|
4766
3303
|
:param _request_timeout: timeout setting for this request. If one
|
|
4767
3304
|
number provided, it will be total request
|
|
4768
3305
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4785,10 +3322,9 @@ class SolutionApi:
|
|
|
4785
3322
|
:return: Returns the result object.
|
|
4786
3323
|
""" # noqa: E501
|
|
4787
3324
|
|
|
4788
|
-
_param = self.
|
|
3325
|
+
_param = self._get_solution_serialize(
|
|
4789
3326
|
organization_id=organization_id,
|
|
4790
3327
|
solution_id=solution_id,
|
|
4791
|
-
file_name=file_name,
|
|
4792
3328
|
_request_auth=_request_auth,
|
|
4793
3329
|
_content_type=_content_type,
|
|
4794
3330
|
_headers=_headers,
|
|
@@ -4796,7 +3332,7 @@ class SolutionApi:
|
|
|
4796
3332
|
)
|
|
4797
3333
|
|
|
4798
3334
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4799
|
-
'200': "
|
|
3335
|
+
'200': "Solution",
|
|
4800
3336
|
'404': None,
|
|
4801
3337
|
}
|
|
4802
3338
|
response_data = self.api_client.call_api(
|
|
@@ -4811,11 +3347,10 @@ class SolutionApi:
|
|
|
4811
3347
|
|
|
4812
3348
|
|
|
4813
3349
|
@validate_call
|
|
4814
|
-
def
|
|
3350
|
+
def get_solution_with_http_info(
|
|
4815
3351
|
self,
|
|
4816
3352
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4817
3353
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4818
|
-
file_name: Annotated[StrictStr, Field(description="The file name")],
|
|
4819
3354
|
_request_timeout: Union[
|
|
4820
3355
|
None,
|
|
4821
3356
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4828,16 +3363,14 @@ class SolutionApi:
|
|
|
4828
3363
|
_content_type: Optional[StrictStr] = None,
|
|
4829
3364
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4830
3365
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4831
|
-
) -> ApiResponse[
|
|
4832
|
-
"""
|
|
3366
|
+
) -> ApiResponse[Solution]:
|
|
3367
|
+
"""Get the details of a solution
|
|
4833
3368
|
|
|
4834
3369
|
|
|
4835
3370
|
:param organization_id: the Organization identifier (required)
|
|
4836
3371
|
:type organization_id: str
|
|
4837
3372
|
:param solution_id: the Solution identifier (required)
|
|
4838
3373
|
:type solution_id: str
|
|
4839
|
-
:param file_name: The file name (required)
|
|
4840
|
-
:type file_name: str
|
|
4841
3374
|
:param _request_timeout: timeout setting for this request. If one
|
|
4842
3375
|
number provided, it will be total request
|
|
4843
3376
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4860,10 +3393,9 @@ class SolutionApi:
|
|
|
4860
3393
|
:return: Returns the result object.
|
|
4861
3394
|
""" # noqa: E501
|
|
4862
3395
|
|
|
4863
|
-
_param = self.
|
|
3396
|
+
_param = self._get_solution_serialize(
|
|
4864
3397
|
organization_id=organization_id,
|
|
4865
3398
|
solution_id=solution_id,
|
|
4866
|
-
file_name=file_name,
|
|
4867
3399
|
_request_auth=_request_auth,
|
|
4868
3400
|
_content_type=_content_type,
|
|
4869
3401
|
_headers=_headers,
|
|
@@ -4871,7 +3403,7 @@ class SolutionApi:
|
|
|
4871
3403
|
)
|
|
4872
3404
|
|
|
4873
3405
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4874
|
-
'200': "
|
|
3406
|
+
'200': "Solution",
|
|
4875
3407
|
'404': None,
|
|
4876
3408
|
}
|
|
4877
3409
|
response_data = self.api_client.call_api(
|
|
@@ -4886,11 +3418,10 @@ class SolutionApi:
|
|
|
4886
3418
|
|
|
4887
3419
|
|
|
4888
3420
|
@validate_call
|
|
4889
|
-
def
|
|
3421
|
+
def get_solution_without_preload_content(
|
|
4890
3422
|
self,
|
|
4891
3423
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4892
3424
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4893
|
-
file_name: Annotated[StrictStr, Field(description="The file name")],
|
|
4894
3425
|
_request_timeout: Union[
|
|
4895
3426
|
None,
|
|
4896
3427
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4904,15 +3435,13 @@ class SolutionApi:
|
|
|
4904
3435
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4905
3436
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4906
3437
|
) -> RESTResponseType:
|
|
4907
|
-
"""
|
|
3438
|
+
"""Get the details of a solution
|
|
4908
3439
|
|
|
4909
3440
|
|
|
4910
3441
|
:param organization_id: the Organization identifier (required)
|
|
4911
3442
|
:type organization_id: str
|
|
4912
3443
|
:param solution_id: the Solution identifier (required)
|
|
4913
3444
|
:type solution_id: str
|
|
4914
|
-
:param file_name: The file name (required)
|
|
4915
|
-
:type file_name: str
|
|
4916
3445
|
:param _request_timeout: timeout setting for this request. If one
|
|
4917
3446
|
number provided, it will be total request
|
|
4918
3447
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4935,10 +3464,9 @@ class SolutionApi:
|
|
|
4935
3464
|
:return: Returns the result object.
|
|
4936
3465
|
""" # noqa: E501
|
|
4937
3466
|
|
|
4938
|
-
_param = self.
|
|
3467
|
+
_param = self._get_solution_serialize(
|
|
4939
3468
|
organization_id=organization_id,
|
|
4940
3469
|
solution_id=solution_id,
|
|
4941
|
-
file_name=file_name,
|
|
4942
3470
|
_request_auth=_request_auth,
|
|
4943
3471
|
_content_type=_content_type,
|
|
4944
3472
|
_headers=_headers,
|
|
@@ -4946,7 +3474,7 @@ class SolutionApi:
|
|
|
4946
3474
|
)
|
|
4947
3475
|
|
|
4948
3476
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4949
|
-
'200': "
|
|
3477
|
+
'200': "Solution",
|
|
4950
3478
|
'404': None,
|
|
4951
3479
|
}
|
|
4952
3480
|
response_data = self.api_client.call_api(
|
|
@@ -4956,11 +3484,10 @@ class SolutionApi:
|
|
|
4956
3484
|
return response_data.response
|
|
4957
3485
|
|
|
4958
3486
|
|
|
4959
|
-
def
|
|
3487
|
+
def _get_solution_serialize(
|
|
4960
3488
|
self,
|
|
4961
3489
|
organization_id,
|
|
4962
3490
|
solution_id,
|
|
4963
|
-
file_name,
|
|
4964
3491
|
_request_auth,
|
|
4965
3492
|
_content_type,
|
|
4966
3493
|
_headers,
|
|
@@ -4987,10 +3514,6 @@ class SolutionApi:
|
|
|
4987
3514
|
if solution_id is not None:
|
|
4988
3515
|
_path_params['solution_id'] = solution_id
|
|
4989
3516
|
# process the query parameters
|
|
4990
|
-
if file_name is not None:
|
|
4991
|
-
|
|
4992
|
-
_query_params.append(('file_name', file_name))
|
|
4993
|
-
|
|
4994
3517
|
# process the header parameters
|
|
4995
3518
|
# process the form parameters
|
|
4996
3519
|
# process the body parameter
|
|
@@ -5000,7 +3523,8 @@ class SolutionApi:
|
|
|
5000
3523
|
if 'Accept' not in _header_params:
|
|
5001
3524
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5002
3525
|
[
|
|
5003
|
-
'application/
|
|
3526
|
+
'application/json',
|
|
3527
|
+
'application/yaml'
|
|
5004
3528
|
]
|
|
5005
3529
|
)
|
|
5006
3530
|
|
|
@@ -5012,7 +3536,7 @@ class SolutionApi:
|
|
|
5012
3536
|
|
|
5013
3537
|
return self.api_client.param_serialize(
|
|
5014
3538
|
method='GET',
|
|
5015
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}
|
|
3539
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}',
|
|
5016
3540
|
path_params=_path_params,
|
|
5017
3541
|
query_params=_query_params,
|
|
5018
3542
|
header_params=_header_params,
|
|
@@ -5029,11 +3553,11 @@ class SolutionApi:
|
|
|
5029
3553
|
|
|
5030
3554
|
|
|
5031
3555
|
@validate_call
|
|
5032
|
-
def
|
|
3556
|
+
def get_solution_access_control(
|
|
5033
3557
|
self,
|
|
5034
3558
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5035
3559
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
5036
|
-
|
|
3560
|
+
identity_id: Annotated[StrictStr, Field(description="The User identifier")],
|
|
5037
3561
|
_request_timeout: Union[
|
|
5038
3562
|
None,
|
|
5039
3563
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5046,16 +3570,16 @@ class SolutionApi:
|
|
|
5046
3570
|
_content_type: Optional[StrictStr] = None,
|
|
5047
3571
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5048
3572
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5049
|
-
) ->
|
|
5050
|
-
"""Get
|
|
3573
|
+
) -> SolutionAccessControl:
|
|
3574
|
+
"""Get solution access control
|
|
5051
3575
|
|
|
5052
3576
|
|
|
5053
3577
|
:param organization_id: the Organization identifier (required)
|
|
5054
3578
|
:type organization_id: str
|
|
5055
3579
|
:param solution_id: the Solution identifier (required)
|
|
5056
3580
|
:type solution_id: str
|
|
5057
|
-
:param
|
|
5058
|
-
:type
|
|
3581
|
+
:param identity_id: The User identifier (required)
|
|
3582
|
+
:type identity_id: str
|
|
5059
3583
|
:param _request_timeout: timeout setting for this request. If one
|
|
5060
3584
|
number provided, it will be total request
|
|
5061
3585
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5078,10 +3602,10 @@ class SolutionApi:
|
|
|
5078
3602
|
:return: Returns the result object.
|
|
5079
3603
|
""" # noqa: E501
|
|
5080
3604
|
|
|
5081
|
-
_param = self.
|
|
3605
|
+
_param = self._get_solution_access_control_serialize(
|
|
5082
3606
|
organization_id=organization_id,
|
|
5083
3607
|
solution_id=solution_id,
|
|
5084
|
-
|
|
3608
|
+
identity_id=identity_id,
|
|
5085
3609
|
_request_auth=_request_auth,
|
|
5086
3610
|
_content_type=_content_type,
|
|
5087
3611
|
_headers=_headers,
|
|
@@ -5089,8 +3613,7 @@ class SolutionApi:
|
|
|
5089
3613
|
)
|
|
5090
3614
|
|
|
5091
3615
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5092
|
-
'200': "
|
|
5093
|
-
'400': None,
|
|
3616
|
+
'200': "SolutionAccessControl",
|
|
5094
3617
|
'404': None,
|
|
5095
3618
|
}
|
|
5096
3619
|
response_data = self.api_client.call_api(
|
|
@@ -5105,11 +3628,11 @@ class SolutionApi:
|
|
|
5105
3628
|
|
|
5106
3629
|
|
|
5107
3630
|
@validate_call
|
|
5108
|
-
def
|
|
3631
|
+
def get_solution_access_control_with_http_info(
|
|
5109
3632
|
self,
|
|
5110
3633
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5111
3634
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
5112
|
-
|
|
3635
|
+
identity_id: Annotated[StrictStr, Field(description="The User identifier")],
|
|
5113
3636
|
_request_timeout: Union[
|
|
5114
3637
|
None,
|
|
5115
3638
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5122,16 +3645,16 @@ class SolutionApi:
|
|
|
5122
3645
|
_content_type: Optional[StrictStr] = None,
|
|
5123
3646
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5124
3647
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5125
|
-
) -> ApiResponse[
|
|
5126
|
-
"""Get
|
|
3648
|
+
) -> ApiResponse[SolutionAccessControl]:
|
|
3649
|
+
"""Get solution access control
|
|
5127
3650
|
|
|
5128
3651
|
|
|
5129
3652
|
:param organization_id: the Organization identifier (required)
|
|
5130
3653
|
:type organization_id: str
|
|
5131
3654
|
:param solution_id: the Solution identifier (required)
|
|
5132
3655
|
:type solution_id: str
|
|
5133
|
-
:param
|
|
5134
|
-
:type
|
|
3656
|
+
:param identity_id: The User identifier (required)
|
|
3657
|
+
:type identity_id: str
|
|
5135
3658
|
:param _request_timeout: timeout setting for this request. If one
|
|
5136
3659
|
number provided, it will be total request
|
|
5137
3660
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5154,10 +3677,10 @@ class SolutionApi:
|
|
|
5154
3677
|
:return: Returns the result object.
|
|
5155
3678
|
""" # noqa: E501
|
|
5156
3679
|
|
|
5157
|
-
_param = self.
|
|
3680
|
+
_param = self._get_solution_access_control_serialize(
|
|
5158
3681
|
organization_id=organization_id,
|
|
5159
3682
|
solution_id=solution_id,
|
|
5160
|
-
|
|
3683
|
+
identity_id=identity_id,
|
|
5161
3684
|
_request_auth=_request_auth,
|
|
5162
3685
|
_content_type=_content_type,
|
|
5163
3686
|
_headers=_headers,
|
|
@@ -5165,8 +3688,7 @@ class SolutionApi:
|
|
|
5165
3688
|
)
|
|
5166
3689
|
|
|
5167
3690
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5168
|
-
'200': "
|
|
5169
|
-
'400': None,
|
|
3691
|
+
'200': "SolutionAccessControl",
|
|
5170
3692
|
'404': None,
|
|
5171
3693
|
}
|
|
5172
3694
|
response_data = self.api_client.call_api(
|
|
@@ -5181,11 +3703,11 @@ class SolutionApi:
|
|
|
5181
3703
|
|
|
5182
3704
|
|
|
5183
3705
|
@validate_call
|
|
5184
|
-
def
|
|
3706
|
+
def get_solution_access_control_without_preload_content(
|
|
5185
3707
|
self,
|
|
5186
3708
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5187
3709
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
5188
|
-
|
|
3710
|
+
identity_id: Annotated[StrictStr, Field(description="The User identifier")],
|
|
5189
3711
|
_request_timeout: Union[
|
|
5190
3712
|
None,
|
|
5191
3713
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5199,15 +3721,15 @@ class SolutionApi:
|
|
|
5199
3721
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5200
3722
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5201
3723
|
) -> RESTResponseType:
|
|
5202
|
-
"""Get
|
|
3724
|
+
"""Get solution access control
|
|
5203
3725
|
|
|
5204
3726
|
|
|
5205
3727
|
:param organization_id: the Organization identifier (required)
|
|
5206
3728
|
:type organization_id: str
|
|
5207
3729
|
:param solution_id: the Solution identifier (required)
|
|
5208
3730
|
:type solution_id: str
|
|
5209
|
-
:param
|
|
5210
|
-
:type
|
|
3731
|
+
:param identity_id: The User identifier (required)
|
|
3732
|
+
:type identity_id: str
|
|
5211
3733
|
:param _request_timeout: timeout setting for this request. If one
|
|
5212
3734
|
number provided, it will be total request
|
|
5213
3735
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5230,10 +3752,10 @@ class SolutionApi:
|
|
|
5230
3752
|
:return: Returns the result object.
|
|
5231
3753
|
""" # noqa: E501
|
|
5232
3754
|
|
|
5233
|
-
_param = self.
|
|
3755
|
+
_param = self._get_solution_access_control_serialize(
|
|
5234
3756
|
organization_id=organization_id,
|
|
5235
3757
|
solution_id=solution_id,
|
|
5236
|
-
|
|
3758
|
+
identity_id=identity_id,
|
|
5237
3759
|
_request_auth=_request_auth,
|
|
5238
3760
|
_content_type=_content_type,
|
|
5239
3761
|
_headers=_headers,
|
|
@@ -5241,8 +3763,7 @@ class SolutionApi:
|
|
|
5241
3763
|
)
|
|
5242
3764
|
|
|
5243
3765
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5244
|
-
'200': "
|
|
5245
|
-
'400': None,
|
|
3766
|
+
'200': "SolutionAccessControl",
|
|
5246
3767
|
'404': None,
|
|
5247
3768
|
}
|
|
5248
3769
|
response_data = self.api_client.call_api(
|
|
@@ -5252,11 +3773,11 @@ class SolutionApi:
|
|
|
5252
3773
|
return response_data.response
|
|
5253
3774
|
|
|
5254
3775
|
|
|
5255
|
-
def
|
|
3776
|
+
def _get_solution_access_control_serialize(
|
|
5256
3777
|
self,
|
|
5257
3778
|
organization_id,
|
|
5258
3779
|
solution_id,
|
|
5259
|
-
|
|
3780
|
+
identity_id,
|
|
5260
3781
|
_request_auth,
|
|
5261
3782
|
_content_type,
|
|
5262
3783
|
_headers,
|
|
@@ -5282,8 +3803,8 @@ class SolutionApi:
|
|
|
5282
3803
|
_path_params['organization_id'] = organization_id
|
|
5283
3804
|
if solution_id is not None:
|
|
5284
3805
|
_path_params['solution_id'] = solution_id
|
|
5285
|
-
if
|
|
5286
|
-
_path_params['
|
|
3806
|
+
if identity_id is not None:
|
|
3807
|
+
_path_params['identity_id'] = identity_id
|
|
5287
3808
|
# process the query parameters
|
|
5288
3809
|
# process the header parameters
|
|
5289
3810
|
# process the form parameters
|
|
@@ -5307,7 +3828,7 @@ class SolutionApi:
|
|
|
5307
3828
|
|
|
5308
3829
|
return self.api_client.param_serialize(
|
|
5309
3830
|
method='GET',
|
|
5310
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
3831
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
|
|
5311
3832
|
path_params=_path_params,
|
|
5312
3833
|
query_params=_query_params,
|
|
5313
3834
|
header_params=_header_params,
|
|
@@ -5324,11 +3845,11 @@ class SolutionApi:
|
|
|
5324
3845
|
|
|
5325
3846
|
|
|
5326
3847
|
@validate_call
|
|
5327
|
-
def
|
|
3848
|
+
def get_solution_parameter(
|
|
5328
3849
|
self,
|
|
5329
3850
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5330
3851
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
5331
|
-
|
|
3852
|
+
parameter_id: Annotated[StrictStr, Field(description="The solution parameter identifier")],
|
|
5332
3853
|
_request_timeout: Union[
|
|
5333
3854
|
None,
|
|
5334
3855
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5341,16 +3862,16 @@ class SolutionApi:
|
|
|
5341
3862
|
_content_type: Optional[StrictStr] = None,
|
|
5342
3863
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5343
3864
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5344
|
-
) ->
|
|
5345
|
-
"""Get details of a solution parameter
|
|
3865
|
+
) -> RunTemplateParameter:
|
|
3866
|
+
"""Get the details of a solution parameter
|
|
5346
3867
|
|
|
5347
3868
|
|
|
5348
3869
|
:param organization_id: the Organization identifier (required)
|
|
5349
3870
|
:type organization_id: str
|
|
5350
3871
|
:param solution_id: the Solution identifier (required)
|
|
5351
3872
|
:type solution_id: str
|
|
5352
|
-
:param
|
|
5353
|
-
:type
|
|
3873
|
+
:param parameter_id: The solution parameter identifier (required)
|
|
3874
|
+
:type parameter_id: str
|
|
5354
3875
|
:param _request_timeout: timeout setting for this request. If one
|
|
5355
3876
|
number provided, it will be total request
|
|
5356
3877
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5373,10 +3894,10 @@ class SolutionApi:
|
|
|
5373
3894
|
:return: Returns the result object.
|
|
5374
3895
|
""" # noqa: E501
|
|
5375
3896
|
|
|
5376
|
-
_param = self.
|
|
3897
|
+
_param = self._get_solution_parameter_serialize(
|
|
5377
3898
|
organization_id=organization_id,
|
|
5378
3899
|
solution_id=solution_id,
|
|
5379
|
-
|
|
3900
|
+
parameter_id=parameter_id,
|
|
5380
3901
|
_request_auth=_request_auth,
|
|
5381
3902
|
_content_type=_content_type,
|
|
5382
3903
|
_headers=_headers,
|
|
@@ -5384,7 +3905,8 @@ class SolutionApi:
|
|
|
5384
3905
|
)
|
|
5385
3906
|
|
|
5386
3907
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5387
|
-
'200': "
|
|
3908
|
+
'200': "RunTemplateParameter",
|
|
3909
|
+
'400': None,
|
|
5388
3910
|
'404': None,
|
|
5389
3911
|
}
|
|
5390
3912
|
response_data = self.api_client.call_api(
|
|
@@ -5399,11 +3921,11 @@ class SolutionApi:
|
|
|
5399
3921
|
|
|
5400
3922
|
|
|
5401
3923
|
@validate_call
|
|
5402
|
-
def
|
|
3924
|
+
def get_solution_parameter_with_http_info(
|
|
5403
3925
|
self,
|
|
5404
3926
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5405
3927
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
5406
|
-
|
|
3928
|
+
parameter_id: Annotated[StrictStr, Field(description="The solution parameter identifier")],
|
|
5407
3929
|
_request_timeout: Union[
|
|
5408
3930
|
None,
|
|
5409
3931
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5416,16 +3938,16 @@ class SolutionApi:
|
|
|
5416
3938
|
_content_type: Optional[StrictStr] = None,
|
|
5417
3939
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5418
3940
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5419
|
-
) -> ApiResponse[
|
|
5420
|
-
"""Get details of a solution parameter
|
|
3941
|
+
) -> ApiResponse[RunTemplateParameter]:
|
|
3942
|
+
"""Get the details of a solution parameter
|
|
5421
3943
|
|
|
5422
3944
|
|
|
5423
3945
|
:param organization_id: the Organization identifier (required)
|
|
5424
3946
|
:type organization_id: str
|
|
5425
3947
|
:param solution_id: the Solution identifier (required)
|
|
5426
3948
|
:type solution_id: str
|
|
5427
|
-
:param
|
|
5428
|
-
:type
|
|
3949
|
+
:param parameter_id: The solution parameter identifier (required)
|
|
3950
|
+
:type parameter_id: str
|
|
5429
3951
|
:param _request_timeout: timeout setting for this request. If one
|
|
5430
3952
|
number provided, it will be total request
|
|
5431
3953
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5448,10 +3970,10 @@ class SolutionApi:
|
|
|
5448
3970
|
:return: Returns the result object.
|
|
5449
3971
|
""" # noqa: E501
|
|
5450
3972
|
|
|
5451
|
-
_param = self.
|
|
3973
|
+
_param = self._get_solution_parameter_serialize(
|
|
5452
3974
|
organization_id=organization_id,
|
|
5453
3975
|
solution_id=solution_id,
|
|
5454
|
-
|
|
3976
|
+
parameter_id=parameter_id,
|
|
5455
3977
|
_request_auth=_request_auth,
|
|
5456
3978
|
_content_type=_content_type,
|
|
5457
3979
|
_headers=_headers,
|
|
@@ -5459,7 +3981,8 @@ class SolutionApi:
|
|
|
5459
3981
|
)
|
|
5460
3982
|
|
|
5461
3983
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5462
|
-
'200': "
|
|
3984
|
+
'200': "RunTemplateParameter",
|
|
3985
|
+
'400': None,
|
|
5463
3986
|
'404': None,
|
|
5464
3987
|
}
|
|
5465
3988
|
response_data = self.api_client.call_api(
|
|
@@ -5474,11 +3997,11 @@ class SolutionApi:
|
|
|
5474
3997
|
|
|
5475
3998
|
|
|
5476
3999
|
@validate_call
|
|
5477
|
-
def
|
|
4000
|
+
def get_solution_parameter_without_preload_content(
|
|
5478
4001
|
self,
|
|
5479
4002
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5480
4003
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
5481
|
-
|
|
4004
|
+
parameter_id: Annotated[StrictStr, Field(description="The solution parameter identifier")],
|
|
5482
4005
|
_request_timeout: Union[
|
|
5483
4006
|
None,
|
|
5484
4007
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5492,15 +4015,15 @@ class SolutionApi:
|
|
|
5492
4015
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5493
4016
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5494
4017
|
) -> RESTResponseType:
|
|
5495
|
-
"""Get details of a solution parameter
|
|
4018
|
+
"""Get the details of a solution parameter
|
|
5496
4019
|
|
|
5497
4020
|
|
|
5498
4021
|
:param organization_id: the Organization identifier (required)
|
|
5499
4022
|
:type organization_id: str
|
|
5500
4023
|
:param solution_id: the Solution identifier (required)
|
|
5501
4024
|
:type solution_id: str
|
|
5502
|
-
:param
|
|
5503
|
-
:type
|
|
4025
|
+
:param parameter_id: The solution parameter identifier (required)
|
|
4026
|
+
:type parameter_id: str
|
|
5504
4027
|
:param _request_timeout: timeout setting for this request. If one
|
|
5505
4028
|
number provided, it will be total request
|
|
5506
4029
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5523,10 +4046,10 @@ class SolutionApi:
|
|
|
5523
4046
|
:return: Returns the result object.
|
|
5524
4047
|
""" # noqa: E501
|
|
5525
4048
|
|
|
5526
|
-
_param = self.
|
|
4049
|
+
_param = self._get_solution_parameter_serialize(
|
|
5527
4050
|
organization_id=organization_id,
|
|
5528
4051
|
solution_id=solution_id,
|
|
5529
|
-
|
|
4052
|
+
parameter_id=parameter_id,
|
|
5530
4053
|
_request_auth=_request_auth,
|
|
5531
4054
|
_content_type=_content_type,
|
|
5532
4055
|
_headers=_headers,
|
|
@@ -5534,7 +4057,8 @@ class SolutionApi:
|
|
|
5534
4057
|
)
|
|
5535
4058
|
|
|
5536
4059
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5537
|
-
'200': "
|
|
4060
|
+
'200': "RunTemplateParameter",
|
|
4061
|
+
'400': None,
|
|
5538
4062
|
'404': None,
|
|
5539
4063
|
}
|
|
5540
4064
|
response_data = self.api_client.call_api(
|
|
@@ -5544,11 +4068,11 @@ class SolutionApi:
|
|
|
5544
4068
|
return response_data.response
|
|
5545
4069
|
|
|
5546
4070
|
|
|
5547
|
-
def
|
|
4071
|
+
def _get_solution_parameter_serialize(
|
|
5548
4072
|
self,
|
|
5549
4073
|
organization_id,
|
|
5550
4074
|
solution_id,
|
|
5551
|
-
|
|
4075
|
+
parameter_id,
|
|
5552
4076
|
_request_auth,
|
|
5553
4077
|
_content_type,
|
|
5554
4078
|
_headers,
|
|
@@ -5574,8 +4098,8 @@ class SolutionApi:
|
|
|
5574
4098
|
_path_params['organization_id'] = organization_id
|
|
5575
4099
|
if solution_id is not None:
|
|
5576
4100
|
_path_params['solution_id'] = solution_id
|
|
5577
|
-
if
|
|
5578
|
-
_path_params['
|
|
4101
|
+
if parameter_id is not None:
|
|
4102
|
+
_path_params['parameter_id'] = parameter_id
|
|
5579
4103
|
# process the query parameters
|
|
5580
4104
|
# process the header parameters
|
|
5581
4105
|
# process the form parameters
|
|
@@ -5599,7 +4123,7 @@ class SolutionApi:
|
|
|
5599
4123
|
|
|
5600
4124
|
return self.api_client.param_serialize(
|
|
5601
4125
|
method='GET',
|
|
5602
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
4126
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters/{parameter_id}',
|
|
5603
4127
|
path_params=_path_params,
|
|
5604
4128
|
query_params=_query_params,
|
|
5605
4129
|
header_params=_header_params,
|
|
@@ -5616,10 +4140,11 @@ class SolutionApi:
|
|
|
5616
4140
|
|
|
5617
4141
|
|
|
5618
4142
|
@validate_call
|
|
5619
|
-
def
|
|
4143
|
+
def get_solution_parameter_group(
|
|
5620
4144
|
self,
|
|
5621
4145
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5622
4146
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4147
|
+
parameter_group_id: Annotated[StrictStr, Field(description="The parameter group identifier")],
|
|
5623
4148
|
_request_timeout: Union[
|
|
5624
4149
|
None,
|
|
5625
4150
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5632,14 +4157,16 @@ class SolutionApi:
|
|
|
5632
4157
|
_content_type: Optional[StrictStr] = None,
|
|
5633
4158
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5634
4159
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5635
|
-
) ->
|
|
5636
|
-
"""Get solution
|
|
4160
|
+
) -> RunTemplateParameterGroup:
|
|
4161
|
+
"""Get details of a solution parameter group
|
|
5637
4162
|
|
|
5638
4163
|
|
|
5639
4164
|
:param organization_id: the Organization identifier (required)
|
|
5640
4165
|
:type organization_id: str
|
|
5641
4166
|
:param solution_id: the Solution identifier (required)
|
|
5642
4167
|
:type solution_id: str
|
|
4168
|
+
:param parameter_group_id: The parameter group identifier (required)
|
|
4169
|
+
:type parameter_group_id: str
|
|
5643
4170
|
:param _request_timeout: timeout setting for this request. If one
|
|
5644
4171
|
number provided, it will be total request
|
|
5645
4172
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5662,9 +4189,10 @@ class SolutionApi:
|
|
|
5662
4189
|
:return: Returns the result object.
|
|
5663
4190
|
""" # noqa: E501
|
|
5664
4191
|
|
|
5665
|
-
_param = self.
|
|
4192
|
+
_param = self._get_solution_parameter_group_serialize(
|
|
5666
4193
|
organization_id=organization_id,
|
|
5667
4194
|
solution_id=solution_id,
|
|
4195
|
+
parameter_group_id=parameter_group_id,
|
|
5668
4196
|
_request_auth=_request_auth,
|
|
5669
4197
|
_content_type=_content_type,
|
|
5670
4198
|
_headers=_headers,
|
|
@@ -5672,7 +4200,7 @@ class SolutionApi:
|
|
|
5672
4200
|
)
|
|
5673
4201
|
|
|
5674
4202
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5675
|
-
'200': "
|
|
4203
|
+
'200': "RunTemplateParameterGroup",
|
|
5676
4204
|
'404': None,
|
|
5677
4205
|
}
|
|
5678
4206
|
response_data = self.api_client.call_api(
|
|
@@ -5687,10 +4215,11 @@ class SolutionApi:
|
|
|
5687
4215
|
|
|
5688
4216
|
|
|
5689
4217
|
@validate_call
|
|
5690
|
-
def
|
|
4218
|
+
def get_solution_parameter_group_with_http_info(
|
|
5691
4219
|
self,
|
|
5692
4220
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5693
4221
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4222
|
+
parameter_group_id: Annotated[StrictStr, Field(description="The parameter group identifier")],
|
|
5694
4223
|
_request_timeout: Union[
|
|
5695
4224
|
None,
|
|
5696
4225
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5703,14 +4232,16 @@ class SolutionApi:
|
|
|
5703
4232
|
_content_type: Optional[StrictStr] = None,
|
|
5704
4233
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5705
4234
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5706
|
-
) -> ApiResponse[
|
|
5707
|
-
"""Get solution
|
|
4235
|
+
) -> ApiResponse[RunTemplateParameterGroup]:
|
|
4236
|
+
"""Get details of a solution parameter group
|
|
5708
4237
|
|
|
5709
4238
|
|
|
5710
4239
|
:param organization_id: the Organization identifier (required)
|
|
5711
4240
|
:type organization_id: str
|
|
5712
4241
|
:param solution_id: the Solution identifier (required)
|
|
5713
4242
|
:type solution_id: str
|
|
4243
|
+
:param parameter_group_id: The parameter group identifier (required)
|
|
4244
|
+
:type parameter_group_id: str
|
|
5714
4245
|
:param _request_timeout: timeout setting for this request. If one
|
|
5715
4246
|
number provided, it will be total request
|
|
5716
4247
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5733,9 +4264,10 @@ class SolutionApi:
|
|
|
5733
4264
|
:return: Returns the result object.
|
|
5734
4265
|
""" # noqa: E501
|
|
5735
4266
|
|
|
5736
|
-
_param = self.
|
|
4267
|
+
_param = self._get_solution_parameter_group_serialize(
|
|
5737
4268
|
organization_id=organization_id,
|
|
5738
4269
|
solution_id=solution_id,
|
|
4270
|
+
parameter_group_id=parameter_group_id,
|
|
5739
4271
|
_request_auth=_request_auth,
|
|
5740
4272
|
_content_type=_content_type,
|
|
5741
4273
|
_headers=_headers,
|
|
@@ -5743,7 +4275,7 @@ class SolutionApi:
|
|
|
5743
4275
|
)
|
|
5744
4276
|
|
|
5745
4277
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5746
|
-
'200': "
|
|
4278
|
+
'200': "RunTemplateParameterGroup",
|
|
5747
4279
|
'404': None,
|
|
5748
4280
|
}
|
|
5749
4281
|
response_data = self.api_client.call_api(
|
|
@@ -5758,10 +4290,11 @@ class SolutionApi:
|
|
|
5758
4290
|
|
|
5759
4291
|
|
|
5760
4292
|
@validate_call
|
|
5761
|
-
def
|
|
4293
|
+
def get_solution_parameter_group_without_preload_content(
|
|
5762
4294
|
self,
|
|
5763
4295
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5764
4296
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
4297
|
+
parameter_group_id: Annotated[StrictStr, Field(description="The parameter group identifier")],
|
|
5765
4298
|
_request_timeout: Union[
|
|
5766
4299
|
None,
|
|
5767
4300
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5775,13 +4308,15 @@ class SolutionApi:
|
|
|
5775
4308
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5776
4309
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5777
4310
|
) -> RESTResponseType:
|
|
5778
|
-
"""Get solution
|
|
4311
|
+
"""Get details of a solution parameter group
|
|
5779
4312
|
|
|
5780
4313
|
|
|
5781
4314
|
:param organization_id: the Organization identifier (required)
|
|
5782
4315
|
:type organization_id: str
|
|
5783
4316
|
:param solution_id: the Solution identifier (required)
|
|
5784
4317
|
:type solution_id: str
|
|
4318
|
+
:param parameter_group_id: The parameter group identifier (required)
|
|
4319
|
+
:type parameter_group_id: str
|
|
5785
4320
|
:param _request_timeout: timeout setting for this request. If one
|
|
5786
4321
|
number provided, it will be total request
|
|
5787
4322
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5804,9 +4339,10 @@ class SolutionApi:
|
|
|
5804
4339
|
:return: Returns the result object.
|
|
5805
4340
|
""" # noqa: E501
|
|
5806
4341
|
|
|
5807
|
-
_param = self.
|
|
4342
|
+
_param = self._get_solution_parameter_group_serialize(
|
|
5808
4343
|
organization_id=organization_id,
|
|
5809
4344
|
solution_id=solution_id,
|
|
4345
|
+
parameter_group_id=parameter_group_id,
|
|
5810
4346
|
_request_auth=_request_auth,
|
|
5811
4347
|
_content_type=_content_type,
|
|
5812
4348
|
_headers=_headers,
|
|
@@ -5814,7 +4350,7 @@ class SolutionApi:
|
|
|
5814
4350
|
)
|
|
5815
4351
|
|
|
5816
4352
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5817
|
-
'200': "
|
|
4353
|
+
'200': "RunTemplateParameterGroup",
|
|
5818
4354
|
'404': None,
|
|
5819
4355
|
}
|
|
5820
4356
|
response_data = self.api_client.call_api(
|
|
@@ -5824,10 +4360,11 @@ class SolutionApi:
|
|
|
5824
4360
|
return response_data.response
|
|
5825
4361
|
|
|
5826
4362
|
|
|
5827
|
-
def
|
|
4363
|
+
def _get_solution_parameter_group_serialize(
|
|
5828
4364
|
self,
|
|
5829
4365
|
organization_id,
|
|
5830
4366
|
solution_id,
|
|
4367
|
+
parameter_group_id,
|
|
5831
4368
|
_request_auth,
|
|
5832
4369
|
_content_type,
|
|
5833
4370
|
_headers,
|
|
@@ -5853,6 +4390,8 @@ class SolutionApi:
|
|
|
5853
4390
|
_path_params['organization_id'] = organization_id
|
|
5854
4391
|
if solution_id is not None:
|
|
5855
4392
|
_path_params['solution_id'] = solution_id
|
|
4393
|
+
if parameter_group_id is not None:
|
|
4394
|
+
_path_params['parameter_group_id'] = parameter_group_id
|
|
5856
4395
|
# process the query parameters
|
|
5857
4396
|
# process the header parameters
|
|
5858
4397
|
# process the form parameters
|
|
@@ -5876,7 +4415,7 @@ class SolutionApi:
|
|
|
5876
4415
|
|
|
5877
4416
|
return self.api_client.param_serialize(
|
|
5878
4417
|
method='GET',
|
|
5879
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
4418
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups/{parameter_group_id}',
|
|
5880
4419
|
path_params=_path_params,
|
|
5881
4420
|
query_params=_query_params,
|
|
5882
4421
|
header_params=_header_params,
|
|
@@ -5893,7 +4432,7 @@ class SolutionApi:
|
|
|
5893
4432
|
|
|
5894
4433
|
|
|
5895
4434
|
@validate_call
|
|
5896
|
-
def
|
|
4435
|
+
def get_solution_security(
|
|
5897
4436
|
self,
|
|
5898
4437
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5899
4438
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
@@ -5909,8 +4448,8 @@ class SolutionApi:
|
|
|
5909
4448
|
_content_type: Optional[StrictStr] = None,
|
|
5910
4449
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5911
4450
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5912
|
-
) ->
|
|
5913
|
-
"""
|
|
4451
|
+
) -> SolutionSecurity:
|
|
4452
|
+
"""Get solution security information
|
|
5914
4453
|
|
|
5915
4454
|
|
|
5916
4455
|
:param organization_id: the Organization identifier (required)
|
|
@@ -5939,7 +4478,7 @@ class SolutionApi:
|
|
|
5939
4478
|
:return: Returns the result object.
|
|
5940
4479
|
""" # noqa: E501
|
|
5941
4480
|
|
|
5942
|
-
_param = self.
|
|
4481
|
+
_param = self._get_solution_security_serialize(
|
|
5943
4482
|
organization_id=organization_id,
|
|
5944
4483
|
solution_id=solution_id,
|
|
5945
4484
|
_request_auth=_request_auth,
|
|
@@ -5949,7 +4488,7 @@ class SolutionApi:
|
|
|
5949
4488
|
)
|
|
5950
4489
|
|
|
5951
4490
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5952
|
-
'200': "
|
|
4491
|
+
'200': "SolutionSecurity",
|
|
5953
4492
|
'404': None,
|
|
5954
4493
|
}
|
|
5955
4494
|
response_data = self.api_client.call_api(
|
|
@@ -5964,7 +4503,7 @@ class SolutionApi:
|
|
|
5964
4503
|
|
|
5965
4504
|
|
|
5966
4505
|
@validate_call
|
|
5967
|
-
def
|
|
4506
|
+
def get_solution_security_with_http_info(
|
|
5968
4507
|
self,
|
|
5969
4508
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5970
4509
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
@@ -5980,8 +4519,8 @@ class SolutionApi:
|
|
|
5980
4519
|
_content_type: Optional[StrictStr] = None,
|
|
5981
4520
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5982
4521
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5983
|
-
) -> ApiResponse[
|
|
5984
|
-
"""
|
|
4522
|
+
) -> ApiResponse[SolutionSecurity]:
|
|
4523
|
+
"""Get solution security information
|
|
5985
4524
|
|
|
5986
4525
|
|
|
5987
4526
|
:param organization_id: the Organization identifier (required)
|
|
@@ -6010,7 +4549,7 @@ class SolutionApi:
|
|
|
6010
4549
|
:return: Returns the result object.
|
|
6011
4550
|
""" # noqa: E501
|
|
6012
4551
|
|
|
6013
|
-
_param = self.
|
|
4552
|
+
_param = self._get_solution_security_serialize(
|
|
6014
4553
|
organization_id=organization_id,
|
|
6015
4554
|
solution_id=solution_id,
|
|
6016
4555
|
_request_auth=_request_auth,
|
|
@@ -6020,7 +4559,7 @@ class SolutionApi:
|
|
|
6020
4559
|
)
|
|
6021
4560
|
|
|
6022
4561
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6023
|
-
'200': "
|
|
4562
|
+
'200': "SolutionSecurity",
|
|
6024
4563
|
'404': None,
|
|
6025
4564
|
}
|
|
6026
4565
|
response_data = self.api_client.call_api(
|
|
@@ -6035,7 +4574,7 @@ class SolutionApi:
|
|
|
6035
4574
|
|
|
6036
4575
|
|
|
6037
4576
|
@validate_call
|
|
6038
|
-
def
|
|
4577
|
+
def get_solution_security_without_preload_content(
|
|
6039
4578
|
self,
|
|
6040
4579
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
6041
4580
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
@@ -6052,7 +4591,7 @@ class SolutionApi:
|
|
|
6052
4591
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6053
4592
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6054
4593
|
) -> RESTResponseType:
|
|
6055
|
-
"""
|
|
4594
|
+
"""Get solution security information
|
|
6056
4595
|
|
|
6057
4596
|
|
|
6058
4597
|
:param organization_id: the Organization identifier (required)
|
|
@@ -6081,7 +4620,7 @@ class SolutionApi:
|
|
|
6081
4620
|
:return: Returns the result object.
|
|
6082
4621
|
""" # noqa: E501
|
|
6083
4622
|
|
|
6084
|
-
_param = self.
|
|
4623
|
+
_param = self._get_solution_security_serialize(
|
|
6085
4624
|
organization_id=organization_id,
|
|
6086
4625
|
solution_id=solution_id,
|
|
6087
4626
|
_request_auth=_request_auth,
|
|
@@ -6091,7 +4630,7 @@ class SolutionApi:
|
|
|
6091
4630
|
)
|
|
6092
4631
|
|
|
6093
4632
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6094
|
-
'200': "
|
|
4633
|
+
'200': "SolutionSecurity",
|
|
6095
4634
|
'404': None,
|
|
6096
4635
|
}
|
|
6097
4636
|
response_data = self.api_client.call_api(
|
|
@@ -6101,7 +4640,7 @@ class SolutionApi:
|
|
|
6101
4640
|
return response_data.response
|
|
6102
4641
|
|
|
6103
4642
|
|
|
6104
|
-
def
|
|
4643
|
+
def _get_solution_security_serialize(
|
|
6105
4644
|
self,
|
|
6106
4645
|
organization_id,
|
|
6107
4646
|
solution_id,
|
|
@@ -6153,7 +4692,7 @@ class SolutionApi:
|
|
|
6153
4692
|
|
|
6154
4693
|
return self.api_client.param_serialize(
|
|
6155
4694
|
method='GET',
|
|
6156
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
4695
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/security',
|
|
6157
4696
|
path_params=_path_params,
|
|
6158
4697
|
query_params=_query_params,
|
|
6159
4698
|
header_params=_header_params,
|
|
@@ -6170,7 +4709,7 @@ class SolutionApi:
|
|
|
6170
4709
|
|
|
6171
4710
|
|
|
6172
4711
|
@validate_call
|
|
6173
|
-
def
|
|
4712
|
+
def list_run_templates(
|
|
6174
4713
|
self,
|
|
6175
4714
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
6176
4715
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
@@ -6186,8 +4725,8 @@ class SolutionApi:
|
|
|
6186
4725
|
_content_type: Optional[StrictStr] = None,
|
|
6187
4726
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6188
4727
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6189
|
-
) -> List[
|
|
6190
|
-
"""List all
|
|
4728
|
+
) -> List[RunTemplate]:
|
|
4729
|
+
"""List all solution run templates
|
|
6191
4730
|
|
|
6192
4731
|
|
|
6193
4732
|
:param organization_id: the Organization identifier (required)
|
|
@@ -6216,7 +4755,7 @@ class SolutionApi:
|
|
|
6216
4755
|
:return: Returns the result object.
|
|
6217
4756
|
""" # noqa: E501
|
|
6218
4757
|
|
|
6219
|
-
_param = self.
|
|
4758
|
+
_param = self._list_run_templates_serialize(
|
|
6220
4759
|
organization_id=organization_id,
|
|
6221
4760
|
solution_id=solution_id,
|
|
6222
4761
|
_request_auth=_request_auth,
|
|
@@ -6226,7 +4765,7 @@ class SolutionApi:
|
|
|
6226
4765
|
)
|
|
6227
4766
|
|
|
6228
4767
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6229
|
-
'200': "List[
|
|
4768
|
+
'200': "List[RunTemplate]",
|
|
6230
4769
|
'404': None,
|
|
6231
4770
|
}
|
|
6232
4771
|
response_data = self.api_client.call_api(
|
|
@@ -6241,7 +4780,7 @@ class SolutionApi:
|
|
|
6241
4780
|
|
|
6242
4781
|
|
|
6243
4782
|
@validate_call
|
|
6244
|
-
def
|
|
4783
|
+
def list_run_templates_with_http_info(
|
|
6245
4784
|
self,
|
|
6246
4785
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
6247
4786
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
@@ -6257,8 +4796,8 @@ class SolutionApi:
|
|
|
6257
4796
|
_content_type: Optional[StrictStr] = None,
|
|
6258
4797
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6259
4798
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6260
|
-
) -> ApiResponse[List[
|
|
6261
|
-
"""List all
|
|
4799
|
+
) -> ApiResponse[List[RunTemplate]]:
|
|
4800
|
+
"""List all solution run templates
|
|
6262
4801
|
|
|
6263
4802
|
|
|
6264
4803
|
:param organization_id: the Organization identifier (required)
|
|
@@ -6287,7 +4826,7 @@ class SolutionApi:
|
|
|
6287
4826
|
:return: Returns the result object.
|
|
6288
4827
|
""" # noqa: E501
|
|
6289
4828
|
|
|
6290
|
-
_param = self.
|
|
4829
|
+
_param = self._list_run_templates_serialize(
|
|
6291
4830
|
organization_id=organization_id,
|
|
6292
4831
|
solution_id=solution_id,
|
|
6293
4832
|
_request_auth=_request_auth,
|
|
@@ -6297,7 +4836,7 @@ class SolutionApi:
|
|
|
6297
4836
|
)
|
|
6298
4837
|
|
|
6299
4838
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6300
|
-
'200': "List[
|
|
4839
|
+
'200': "List[RunTemplate]",
|
|
6301
4840
|
'404': None,
|
|
6302
4841
|
}
|
|
6303
4842
|
response_data = self.api_client.call_api(
|
|
@@ -6312,7 +4851,7 @@ class SolutionApi:
|
|
|
6312
4851
|
|
|
6313
4852
|
|
|
6314
4853
|
@validate_call
|
|
6315
|
-
def
|
|
4854
|
+
def list_run_templates_without_preload_content(
|
|
6316
4855
|
self,
|
|
6317
4856
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
6318
4857
|
solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
|
|
@@ -6329,7 +4868,7 @@ class SolutionApi:
|
|
|
6329
4868
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6330
4869
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6331
4870
|
) -> RESTResponseType:
|
|
6332
|
-
"""List all
|
|
4871
|
+
"""List all solution run templates
|
|
6333
4872
|
|
|
6334
4873
|
|
|
6335
4874
|
:param organization_id: the Organization identifier (required)
|
|
@@ -6358,7 +4897,7 @@ class SolutionApi:
|
|
|
6358
4897
|
:return: Returns the result object.
|
|
6359
4898
|
""" # noqa: E501
|
|
6360
4899
|
|
|
6361
|
-
_param = self.
|
|
4900
|
+
_param = self._list_run_templates_serialize(
|
|
6362
4901
|
organization_id=organization_id,
|
|
6363
4902
|
solution_id=solution_id,
|
|
6364
4903
|
_request_auth=_request_auth,
|
|
@@ -6368,7 +4907,7 @@ class SolutionApi:
|
|
|
6368
4907
|
)
|
|
6369
4908
|
|
|
6370
4909
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6371
|
-
'200': "List[
|
|
4910
|
+
'200': "List[RunTemplate]",
|
|
6372
4911
|
'404': None,
|
|
6373
4912
|
}
|
|
6374
4913
|
response_data = self.api_client.call_api(
|
|
@@ -6378,7 +4917,7 @@ class SolutionApi:
|
|
|
6378
4917
|
return response_data.response
|
|
6379
4918
|
|
|
6380
4919
|
|
|
6381
|
-
def
|
|
4920
|
+
def _list_run_templates_serialize(
|
|
6382
4921
|
self,
|
|
6383
4922
|
organization_id,
|
|
6384
4923
|
solution_id,
|
|
@@ -6430,7 +4969,7 @@ class SolutionApi:
|
|
|
6430
4969
|
|
|
6431
4970
|
return self.api_client.param_serialize(
|
|
6432
4971
|
method='GET',
|
|
6433
|
-
resource_path='/organizations/{organization_id}/solutions/{solution_id}/
|
|
4972
|
+
resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates',
|
|
6434
4973
|
path_params=_path_params,
|
|
6435
4974
|
query_params=_query_params,
|
|
6436
4975
|
header_params=_header_params,
|