cosmotech-api 3.2.6.dev2__py3-none-any.whl → 4.0.0.dev8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cosmotech-api might be problematic. Click here for more details.

Files changed (244) hide show
  1. cosmotech_api/__init__.py +3 -45
  2. cosmotech_api/api/__init__.py +0 -3
  3. cosmotech_api/api/connector_api.py +30 -282
  4. cosmotech_api/api/dataset_api.py +214 -187
  5. cosmotech_api/api/organization_api.py +94 -943
  6. cosmotech_api/api/run_api.py +51 -45
  7. cosmotech_api/api/runner_api.py +101 -88
  8. cosmotech_api/api/scenario_api.py +1 -1
  9. cosmotech_api/api/scenariorun_api.py +1 -1
  10. cosmotech_api/api/scenariorunresult_api.py +1 -1
  11. cosmotech_api/api/solution_api.py +487 -1124
  12. cosmotech_api/api/twingraph_api.py +1 -1
  13. cosmotech_api/api/validator_api.py +1 -1
  14. cosmotech_api/api/workspace_api.py +129 -416
  15. cosmotech_api/api_client.py +59 -29
  16. cosmotech_api/configuration.py +21 -15
  17. cosmotech_api/exceptions.py +1 -1
  18. cosmotech_api/model/component_role_permissions.py +1 -1
  19. cosmotech_api/model/connector.py +1 -1
  20. cosmotech_api/model/connector_parameter.py +1 -1
  21. cosmotech_api/model/connector_parameter_group.py +1 -1
  22. cosmotech_api/model/container_resource_size_info.py +1 -1
  23. cosmotech_api/model/container_resource_sizing.py +1 -1
  24. cosmotech_api/model/dataset.py +1 -1
  25. cosmotech_api/model/dataset_access_control.py +1 -1
  26. cosmotech_api/model/dataset_compatibility.py +1 -1
  27. cosmotech_api/model/dataset_connector.py +1 -1
  28. cosmotech_api/model/dataset_copy_parameters.py +1 -1
  29. cosmotech_api/model/dataset_role.py +1 -1
  30. cosmotech_api/model/dataset_search.py +1 -1
  31. cosmotech_api/model/dataset_security.py +1 -1
  32. cosmotech_api/model/dataset_source_type.py +1 -1
  33. cosmotech_api/model/dataset_twin_graph_hash.py +1 -1
  34. cosmotech_api/model/dataset_twin_graph_info.py +1 -1
  35. cosmotech_api/model/dataset_twin_graph_query.py +1 -1
  36. cosmotech_api/model/delete_historical_data.py +1 -1
  37. cosmotech_api/model/file_upload_metadata.py +1 -1
  38. cosmotech_api/model/file_upload_validation.py +1 -1
  39. cosmotech_api/model/graph_properties.py +1 -1
  40. cosmotech_api/model/organization.py +1 -1
  41. cosmotech_api/model/organization_access_control.py +1 -1
  42. cosmotech_api/model/organization_role.py +1 -1
  43. cosmotech_api/model/organization_security.py +1 -1
  44. cosmotech_api/model/organization_service.py +1 -1
  45. cosmotech_api/model/organization_services.py +1 -1
  46. cosmotech_api/model/resource_size_info.py +1 -1
  47. cosmotech_api/model/run.py +1 -1
  48. cosmotech_api/model/run_container.py +1 -1
  49. cosmotech_api/model/run_container_artifact.py +1 -1
  50. cosmotech_api/model/run_container_logs.py +1 -1
  51. cosmotech_api/model/run_logs.py +1 -1
  52. cosmotech_api/model/run_resource_requested.py +1 -1
  53. cosmotech_api/model/run_search.py +1 -1
  54. cosmotech_api/model/run_start_containers.py +1 -1
  55. cosmotech_api/model/run_state.py +1 -1
  56. cosmotech_api/model/run_status.py +1 -1
  57. cosmotech_api/model/run_status_node.py +1 -1
  58. cosmotech_api/model/run_template.py +1 -1
  59. cosmotech_api/model/run_template_handler_id.py +1 -1
  60. cosmotech_api/model/run_template_orchestrator.py +1 -1
  61. cosmotech_api/model/run_template_parameter.py +1 -1
  62. cosmotech_api/model/run_template_parameter_group.py +1 -1
  63. cosmotech_api/model/run_template_parameter_value.py +1 -1
  64. cosmotech_api/model/run_template_resource_sizing.py +1 -1
  65. cosmotech_api/model/run_template_step_source.py +1 -1
  66. cosmotech_api/model/runner.py +21 -5
  67. cosmotech_api/model/runner_access_control.py +1 -1
  68. cosmotech_api/model/runner_changed_parameter_value.py +1 -1
  69. cosmotech_api/model/runner_comparison_result.py +1 -1
  70. cosmotech_api/model/runner_data_download_info.py +11 -1
  71. cosmotech_api/model/runner_data_download_job.py +1 -1
  72. cosmotech_api/model/runner_job_state.py +1 -1
  73. cosmotech_api/model/runner_last_run.py +1 -1
  74. cosmotech_api/model/runner_resource_sizing.py +1 -1
  75. cosmotech_api/model/runner_role.py +1 -1
  76. cosmotech_api/model/runner_run_template_parameter_value.py +1 -1
  77. cosmotech_api/model/runner_security.py +1 -1
  78. cosmotech_api/model/runner_validation_status.py +1 -1
  79. cosmotech_api/model/scenario.py +1 -1
  80. cosmotech_api/model/scenario_access_control.py +1 -1
  81. cosmotech_api/model/scenario_changed_parameter_value.py +1 -1
  82. cosmotech_api/model/scenario_comparison_result.py +1 -1
  83. cosmotech_api/model/scenario_data_download_info.py +1 -1
  84. cosmotech_api/model/scenario_data_download_job.py +1 -1
  85. cosmotech_api/model/scenario_job_state.py +1 -1
  86. cosmotech_api/model/scenario_last_run.py +1 -1
  87. cosmotech_api/model/scenario_resource_sizing.py +1 -1
  88. cosmotech_api/model/scenario_role.py +1 -1
  89. cosmotech_api/model/scenario_run.py +1 -1
  90. cosmotech_api/model/scenario_run_container.py +1 -1
  91. cosmotech_api/model/scenario_run_container_artifact.py +1 -1
  92. cosmotech_api/model/scenario_run_container_logs.py +1 -1
  93. cosmotech_api/model/scenario_run_logs.py +1 -1
  94. cosmotech_api/model/scenario_run_resource_requested.py +1 -1
  95. cosmotech_api/model/scenario_run_result.py +1 -1
  96. cosmotech_api/model/scenario_run_search.py +1 -1
  97. cosmotech_api/model/scenario_run_start_containers.py +1 -1
  98. cosmotech_api/model/scenario_run_state.py +1 -1
  99. cosmotech_api/model/scenario_run_status.py +1 -1
  100. cosmotech_api/model/scenario_run_status_node.py +1 -1
  101. cosmotech_api/model/scenario_run_template_parameter_value.py +1 -1
  102. cosmotech_api/model/scenario_security.py +1 -1
  103. cosmotech_api/model/scenario_validation_status.py +1 -1
  104. cosmotech_api/model/solution.py +1 -1
  105. cosmotech_api/model/solution_access_control.py +1 -1
  106. cosmotech_api/model/solution_role.py +1 -1
  107. cosmotech_api/model/solution_security.py +1 -1
  108. cosmotech_api/model/source_info.py +1 -1
  109. cosmotech_api/model/sub_dataset_graph_query.py +1 -1
  110. cosmotech_api/model/translated_labels.py +1 -1
  111. cosmotech_api/model/twin_graph_batch_result.py +1 -1
  112. cosmotech_api/model/twin_graph_hash.py +1 -1
  113. cosmotech_api/model/twin_graph_query.py +1 -1
  114. cosmotech_api/model/validator.py +1 -1
  115. cosmotech_api/model/validator_run.py +1 -1
  116. cosmotech_api/model/workspace.py +1 -1
  117. cosmotech_api/model/workspace_access_control.py +1 -1
  118. cosmotech_api/model/workspace_file.py +1 -1
  119. cosmotech_api/model/workspace_role.py +1 -1
  120. cosmotech_api/model/workspace_secret.py +1 -1
  121. cosmotech_api/model/workspace_security.py +1 -1
  122. cosmotech_api/model/workspace_solution.py +1 -1
  123. cosmotech_api/model/workspace_web_app.py +1 -1
  124. cosmotech_api/model_utils.py +1 -1
  125. cosmotech_api/models/__init__.py +3 -42
  126. cosmotech_api/models/component_role_permissions.py +7 -7
  127. cosmotech_api/models/connector.py +11 -15
  128. cosmotech_api/models/connector_parameter.py +7 -7
  129. cosmotech_api/models/connector_parameter_group.py +10 -10
  130. cosmotech_api/models/container_resource_size_info.py +7 -7
  131. cosmotech_api/models/container_resource_sizing.py +7 -7
  132. cosmotech_api/models/created_run.py +88 -0
  133. cosmotech_api/models/dataset.py +10 -10
  134. cosmotech_api/models/dataset_access_control.py +7 -7
  135. cosmotech_api/models/dataset_compatibility.py +7 -7
  136. cosmotech_api/models/dataset_connector.py +7 -7
  137. cosmotech_api/models/dataset_copy_parameters.py +7 -7
  138. cosmotech_api/models/dataset_role.py +7 -7
  139. cosmotech_api/models/dataset_search.py +7 -7
  140. cosmotech_api/models/dataset_security.py +10 -10
  141. cosmotech_api/models/dataset_source_type.py +1 -1
  142. cosmotech_api/models/dataset_twin_graph_hash.py +7 -7
  143. cosmotech_api/models/dataset_twin_graph_info.py +7 -7
  144. cosmotech_api/models/dataset_twin_graph_query.py +7 -7
  145. cosmotech_api/models/delete_historical_data.py +7 -7
  146. cosmotech_api/models/file_upload_metadata.py +7 -7
  147. cosmotech_api/models/file_upload_validation.py +13 -13
  148. cosmotech_api/models/graph_properties.py +7 -7
  149. cosmotech_api/models/ingestion_status_enum.py +1 -1
  150. cosmotech_api/models/io_types_enum.py +1 -1
  151. cosmotech_api/models/organization.py +8 -14
  152. cosmotech_api/models/organization_access_control.py +7 -7
  153. cosmotech_api/models/organization_role.py +7 -7
  154. cosmotech_api/models/organization_security.py +10 -10
  155. cosmotech_api/models/organization_service.py +1 -1
  156. cosmotech_api/models/organization_services.py +1 -1
  157. cosmotech_api/models/query_result.py +7 -7
  158. cosmotech_api/models/resource_size_info.py +7 -7
  159. cosmotech_api/models/run.py +13 -13
  160. cosmotech_api/models/run_container.py +9 -19
  161. cosmotech_api/models/run_container_artifact.py +1 -1
  162. cosmotech_api/models/run_container_logs.py +1 -1
  163. cosmotech_api/models/run_data.py +7 -7
  164. cosmotech_api/models/run_data_query.py +7 -7
  165. cosmotech_api/models/run_logs.py +22 -27
  166. cosmotech_api/models/run_logs_entry.py +88 -0
  167. cosmotech_api/models/run_resource_requested.py +7 -7
  168. cosmotech_api/models/run_search.py +1 -1
  169. cosmotech_api/models/run_search_state.py +1 -1
  170. cosmotech_api/models/run_start_containers.py +1 -1
  171. cosmotech_api/models/run_state.py +1 -1
  172. cosmotech_api/models/run_status.py +10 -10
  173. cosmotech_api/models/run_status_node.py +7 -7
  174. cosmotech_api/models/run_template.py +7 -7
  175. cosmotech_api/models/run_template_handler_id.py +1 -1
  176. cosmotech_api/models/run_template_orchestrator.py +1 -1
  177. cosmotech_api/models/run_template_parameter.py +7 -7
  178. cosmotech_api/models/run_template_parameter_group.py +7 -7
  179. cosmotech_api/models/run_template_parameter_value.py +7 -7
  180. cosmotech_api/models/run_template_resource_sizing.py +7 -7
  181. cosmotech_api/models/run_template_step_source.py +1 -1
  182. cosmotech_api/models/runner.py +11 -11
  183. cosmotech_api/models/runner_access_control.py +7 -7
  184. cosmotech_api/models/runner_changed_parameter_value.py +1 -1
  185. cosmotech_api/models/runner_comparison_result.py +1 -1
  186. cosmotech_api/models/runner_data_download_info.py +1 -1
  187. cosmotech_api/models/runner_data_download_job.py +1 -1
  188. cosmotech_api/models/runner_resource_sizing.py +7 -7
  189. cosmotech_api/models/runner_role.py +7 -7
  190. cosmotech_api/models/runner_run_template_parameter_value.py +7 -7
  191. cosmotech_api/models/runner_security.py +10 -10
  192. cosmotech_api/models/runner_validation_status.py +1 -1
  193. cosmotech_api/models/scenario.py +2 -2
  194. cosmotech_api/models/scenario_access_control.py +1 -1
  195. cosmotech_api/models/scenario_changed_parameter_value.py +1 -1
  196. cosmotech_api/models/scenario_comparison_result.py +1 -1
  197. cosmotech_api/models/scenario_data_download_info.py +1 -1
  198. cosmotech_api/models/scenario_data_download_job.py +1 -1
  199. cosmotech_api/models/scenario_job_state.py +1 -1
  200. cosmotech_api/models/scenario_last_run.py +1 -1
  201. cosmotech_api/models/scenario_resource_sizing.py +1 -1
  202. cosmotech_api/models/scenario_role.py +1 -1
  203. cosmotech_api/models/scenario_run.py +1 -1
  204. cosmotech_api/models/scenario_run_container.py +1 -1
  205. cosmotech_api/models/scenario_run_container_artifact.py +1 -1
  206. cosmotech_api/models/scenario_run_container_logs.py +1 -1
  207. cosmotech_api/models/scenario_run_logs.py +1 -1
  208. cosmotech_api/models/scenario_run_resource_requested.py +1 -1
  209. cosmotech_api/models/scenario_run_search.py +1 -1
  210. cosmotech_api/models/scenario_run_search_state.py +1 -1
  211. cosmotech_api/models/scenario_run_start_containers.py +1 -1
  212. cosmotech_api/models/scenario_run_state.py +1 -1
  213. cosmotech_api/models/scenario_run_status.py +1 -1
  214. cosmotech_api/models/scenario_run_status_node.py +1 -1
  215. cosmotech_api/models/scenario_run_template_parameter_value.py +1 -1
  216. cosmotech_api/models/scenario_security.py +1 -1
  217. cosmotech_api/models/scenario_validation_status.py +1 -1
  218. cosmotech_api/models/send_run_data_request.py +7 -7
  219. cosmotech_api/models/solution.py +17 -17
  220. cosmotech_api/models/solution_access_control.py +7 -7
  221. cosmotech_api/models/solution_role.py +7 -7
  222. cosmotech_api/models/solution_security.py +10 -10
  223. cosmotech_api/models/source_info.py +7 -7
  224. cosmotech_api/models/sub_dataset_graph_query.py +7 -7
  225. cosmotech_api/models/twin_graph_batch_result.py +7 -7
  226. cosmotech_api/models/twin_graph_hash.py +1 -1
  227. cosmotech_api/models/twin_graph_query.py +1 -1
  228. cosmotech_api/models/twincache_status_enum.py +1 -1
  229. cosmotech_api/models/validator.py +1 -1
  230. cosmotech_api/models/workspace.py +8 -8
  231. cosmotech_api/models/workspace_access_control.py +7 -7
  232. cosmotech_api/models/workspace_file.py +7 -7
  233. cosmotech_api/models/workspace_role.py +7 -7
  234. cosmotech_api/models/workspace_secret.py +1 -1
  235. cosmotech_api/models/workspace_security.py +10 -10
  236. cosmotech_api/models/workspace_solution.py +7 -7
  237. cosmotech_api/models/workspace_web_app.py +7 -7
  238. cosmotech_api/rest.py +3 -1
  239. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/METADATA +1 -1
  240. cosmotech_api-4.0.0.dev8.dist-info/RECORD +262 -0
  241. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/WHEEL +1 -1
  242. cosmotech_api-3.2.6.dev2.dist-info/RECORD +0 -260
  243. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/LICENSE +0 -0
  244. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Cosmo Tech Platform API
7
7
 
8
- The version of the OpenAPI document: 3.2.6
8
+ The version of the OpenAPI document: 4.0.0-onprem.8
9
9
  Contact: platform@cosmotech.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -17,11 +17,10 @@ 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, StrictBool, StrictBytes, StrictInt, StrictStr
21
- from typing import List, Optional, Union
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
- from cosmotech_api.models.run_template_handler_id import RunTemplateHandlerId
25
24
  from cosmotech_api.models.run_template_parameter import RunTemplateParameter
26
25
  from cosmotech_api.models.run_template_parameter_group import RunTemplateParameterGroup
27
26
  from cosmotech_api.models.solution import Solution
@@ -292,7 +291,7 @@ class SolutionApi:
292
291
  _query_params: List[Tuple[str, str]] = []
293
292
  _header_params: Dict[str, Optional[str]] = _headers or {}
294
293
  _form_params: List[Tuple[str, str]] = []
295
- _files: Dict[str, str] = {}
294
+ _files: Dict[str, Union[str, bytes]] = {}
296
295
  _body_params: Optional[bytes] = None
297
296
 
298
297
  # process the path parameters
@@ -309,11 +308,12 @@ class SolutionApi:
309
308
 
310
309
 
311
310
  # set the HTTP header `Accept`
312
- _header_params['Accept'] = self.api_client.select_header_accept(
313
- [
314
- 'application/json'
315
- ]
316
- )
311
+ if 'Accept' not in _header_params:
312
+ _header_params['Accept'] = self.api_client.select_header_accept(
313
+ [
314
+ 'application/json'
315
+ ]
316
+ )
317
317
 
318
318
  # set the HTTP header `Content-Type`
319
319
  if _content_type:
@@ -597,7 +597,7 @@ class SolutionApi:
597
597
  _query_params: List[Tuple[str, str]] = []
598
598
  _header_params: Dict[str, Optional[str]] = _headers or {}
599
599
  _form_params: List[Tuple[str, str]] = []
600
- _files: Dict[str, str] = {}
600
+ _files: Dict[str, Union[str, bytes]] = {}
601
601
  _body_params: Optional[bytes] = None
602
602
 
603
603
  # process the path parameters
@@ -614,11 +614,12 @@ class SolutionApi:
614
614
 
615
615
 
616
616
  # set the HTTP header `Accept`
617
- _header_params['Accept'] = self.api_client.select_header_accept(
618
- [
619
- 'application/json'
620
- ]
621
- )
617
+ if 'Accept' not in _header_params:
618
+ _header_params['Accept'] = self.api_client.select_header_accept(
619
+ [
620
+ 'application/json'
621
+ ]
622
+ )
622
623
 
623
624
  # set the HTTP header `Content-Type`
624
625
  if _content_type:
@@ -902,7 +903,7 @@ class SolutionApi:
902
903
  _query_params: List[Tuple[str, str]] = []
903
904
  _header_params: Dict[str, Optional[str]] = _headers or {}
904
905
  _form_params: List[Tuple[str, str]] = []
905
- _files: Dict[str, str] = {}
906
+ _files: Dict[str, Union[str, bytes]] = {}
906
907
  _body_params: Optional[bytes] = None
907
908
 
908
909
  # process the path parameters
@@ -919,11 +920,12 @@ class SolutionApi:
919
920
 
920
921
 
921
922
  # set the HTTP header `Accept`
922
- _header_params['Accept'] = self.api_client.select_header_accept(
923
- [
924
- 'application/json'
925
- ]
926
- )
923
+ if 'Accept' not in _header_params:
924
+ _header_params['Accept'] = self.api_client.select_header_accept(
925
+ [
926
+ 'application/json'
927
+ ]
928
+ )
927
929
 
928
930
  # set the HTTP header `Content-Type`
929
931
  if _content_type:
@@ -1203,7 +1205,7 @@ class SolutionApi:
1203
1205
  _query_params: List[Tuple[str, str]] = []
1204
1206
  _header_params: Dict[str, Optional[str]] = _headers or {}
1205
1207
  _form_params: List[Tuple[str, str]] = []
1206
- _files: Dict[str, str] = {}
1208
+ _files: Dict[str, Union[str, bytes]] = {}
1207
1209
  _body_params: Optional[bytes] = None
1208
1210
 
1209
1211
  # process the path parameters
@@ -1220,11 +1222,12 @@ class SolutionApi:
1220
1222
 
1221
1223
 
1222
1224
  # set the HTTP header `Accept`
1223
- _header_params['Accept'] = self.api_client.select_header_accept(
1224
- [
1225
- 'application/json'
1226
- ]
1227
- )
1225
+ if 'Accept' not in _header_params:
1226
+ _header_params['Accept'] = self.api_client.select_header_accept(
1227
+ [
1228
+ 'application/json'
1229
+ ]
1230
+ )
1228
1231
 
1229
1232
  # set the HTTP header `Content-Type`
1230
1233
  if _content_type:
@@ -1492,7 +1495,7 @@ class SolutionApi:
1492
1495
  _query_params: List[Tuple[str, str]] = []
1493
1496
  _header_params: Dict[str, Optional[str]] = _headers or {}
1494
1497
  _form_params: List[Tuple[str, str]] = []
1495
- _files: Dict[str, str] = {}
1498
+ _files: Dict[str, Union[str, bytes]] = {}
1496
1499
  _body_params: Optional[bytes] = None
1497
1500
 
1498
1501
  # process the path parameters
@@ -1507,11 +1510,12 @@ class SolutionApi:
1507
1510
 
1508
1511
 
1509
1512
  # set the HTTP header `Accept`
1510
- _header_params['Accept'] = self.api_client.select_header_accept(
1511
- [
1512
- 'application/json'
1513
- ]
1514
- )
1513
+ if 'Accept' not in _header_params:
1514
+ _header_params['Accept'] = self.api_client.select_header_accept(
1515
+ [
1516
+ 'application/json'
1517
+ ]
1518
+ )
1515
1519
 
1516
1520
  # set the HTTP header `Content-Type`
1517
1521
  if _content_type:
@@ -1779,7 +1783,7 @@ class SolutionApi:
1779
1783
  _query_params: List[Tuple[str, str]] = []
1780
1784
  _header_params: Dict[str, Optional[str]] = _headers or {}
1781
1785
  _form_params: List[Tuple[str, str]] = []
1782
- _files: Dict[str, str] = {}
1786
+ _files: Dict[str, Union[str, bytes]] = {}
1783
1787
  _body_params: Optional[bytes] = None
1784
1788
 
1785
1789
  # process the path parameters
@@ -2059,7 +2063,7 @@ class SolutionApi:
2059
2063
  _query_params: List[Tuple[str, str]] = []
2060
2064
  _header_params: Dict[str, Optional[str]] = _headers or {}
2061
2065
  _form_params: List[Tuple[str, str]] = []
2062
- _files: Dict[str, str] = {}
2066
+ _files: Dict[str, Union[str, bytes]] = {}
2063
2067
  _body_params: Optional[bytes] = None
2064
2068
 
2065
2069
  # process the path parameters
@@ -2101,12 +2105,11 @@ class SolutionApi:
2101
2105
 
2102
2106
 
2103
2107
  @validate_call
2104
- def download_run_template_handler(
2108
+ def find_all_solutions(
2105
2109
  self,
2106
2110
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2107
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2108
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
2109
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
2111
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2112
+ size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2110
2113
  _request_timeout: Union[
2111
2114
  None,
2112
2115
  Annotated[StrictFloat, Field(gt=0)],
@@ -2119,18 +2122,16 @@ class SolutionApi:
2119
2122
  _content_type: Optional[StrictStr] = None,
2120
2123
  _headers: Optional[Dict[StrictStr, Any]] = None,
2121
2124
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2122
- ) -> bytearray:
2123
- """Download a Run Template step handler zip file
2125
+ ) -> List[Solution]:
2126
+ """List all Solutions
2124
2127
 
2125
2128
 
2126
2129
  :param organization_id: the Organization identifier (required)
2127
2130
  :type organization_id: str
2128
- :param solution_id: the Solution identifier (required)
2129
- :type solution_id: str
2130
- :param run_template_id: the Run Template identifier (required)
2131
- :type run_template_id: str
2132
- :param handler_id: the Handler identifier (required)
2133
- :type handler_id: RunTemplateHandlerId
2131
+ :param page: page number to query (first page is at index 0)
2132
+ :type page: int
2133
+ :param size: amount of result by page
2134
+ :type size: int
2134
2135
  :param _request_timeout: timeout setting for this request. If one
2135
2136
  number provided, it will be total request
2136
2137
  timeout. It can also be a pair (tuple) of
@@ -2153,11 +2154,10 @@ class SolutionApi:
2153
2154
  :return: Returns the result object.
2154
2155
  """ # noqa: E501
2155
2156
 
2156
- _param = self._download_run_template_handler_serialize(
2157
+ _param = self._find_all_solutions_serialize(
2157
2158
  organization_id=organization_id,
2158
- solution_id=solution_id,
2159
- run_template_id=run_template_id,
2160
- handler_id=handler_id,
2159
+ page=page,
2160
+ size=size,
2161
2161
  _request_auth=_request_auth,
2162
2162
  _content_type=_content_type,
2163
2163
  _headers=_headers,
@@ -2165,8 +2165,7 @@ class SolutionApi:
2165
2165
  )
2166
2166
 
2167
2167
  _response_types_map: Dict[str, Optional[str]] = {
2168
- '200': "bytearray",
2169
- '404': None,
2168
+ '200': "List[Solution]",
2170
2169
  }
2171
2170
  response_data = self.api_client.call_api(
2172
2171
  *_param,
@@ -2180,12 +2179,11 @@ class SolutionApi:
2180
2179
 
2181
2180
 
2182
2181
  @validate_call
2183
- def download_run_template_handler_with_http_info(
2182
+ def find_all_solutions_with_http_info(
2184
2183
  self,
2185
2184
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2186
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2187
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
2188
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
2185
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2186
+ size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2189
2187
  _request_timeout: Union[
2190
2188
  None,
2191
2189
  Annotated[StrictFloat, Field(gt=0)],
@@ -2198,18 +2196,16 @@ class SolutionApi:
2198
2196
  _content_type: Optional[StrictStr] = None,
2199
2197
  _headers: Optional[Dict[StrictStr, Any]] = None,
2200
2198
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2201
- ) -> ApiResponse[bytearray]:
2202
- """Download a Run Template step handler zip file
2199
+ ) -> ApiResponse[List[Solution]]:
2200
+ """List all Solutions
2203
2201
 
2204
2202
 
2205
2203
  :param organization_id: the Organization identifier (required)
2206
2204
  :type organization_id: str
2207
- :param solution_id: the Solution identifier (required)
2208
- :type solution_id: str
2209
- :param run_template_id: the Run Template identifier (required)
2210
- :type run_template_id: str
2211
- :param handler_id: the Handler identifier (required)
2212
- :type handler_id: RunTemplateHandlerId
2205
+ :param page: page number to query (first page is at index 0)
2206
+ :type page: int
2207
+ :param size: amount of result by page
2208
+ :type size: int
2213
2209
  :param _request_timeout: timeout setting for this request. If one
2214
2210
  number provided, it will be total request
2215
2211
  timeout. It can also be a pair (tuple) of
@@ -2232,11 +2228,10 @@ class SolutionApi:
2232
2228
  :return: Returns the result object.
2233
2229
  """ # noqa: E501
2234
2230
 
2235
- _param = self._download_run_template_handler_serialize(
2231
+ _param = self._find_all_solutions_serialize(
2236
2232
  organization_id=organization_id,
2237
- solution_id=solution_id,
2238
- run_template_id=run_template_id,
2239
- handler_id=handler_id,
2233
+ page=page,
2234
+ size=size,
2240
2235
  _request_auth=_request_auth,
2241
2236
  _content_type=_content_type,
2242
2237
  _headers=_headers,
@@ -2244,8 +2239,7 @@ class SolutionApi:
2244
2239
  )
2245
2240
 
2246
2241
  _response_types_map: Dict[str, Optional[str]] = {
2247
- '200': "bytearray",
2248
- '404': None,
2242
+ '200': "List[Solution]",
2249
2243
  }
2250
2244
  response_data = self.api_client.call_api(
2251
2245
  *_param,
@@ -2259,12 +2253,11 @@ class SolutionApi:
2259
2253
 
2260
2254
 
2261
2255
  @validate_call
2262
- def download_run_template_handler_without_preload_content(
2256
+ def find_all_solutions_without_preload_content(
2263
2257
  self,
2264
2258
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2265
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2266
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
2267
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
2259
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2260
+ size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2268
2261
  _request_timeout: Union[
2269
2262
  None,
2270
2263
  Annotated[StrictFloat, Field(gt=0)],
@@ -2278,17 +2271,15 @@ class SolutionApi:
2278
2271
  _headers: Optional[Dict[StrictStr, Any]] = None,
2279
2272
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2280
2273
  ) -> RESTResponseType:
2281
- """Download a Run Template step handler zip file
2274
+ """List all Solutions
2282
2275
 
2283
2276
 
2284
2277
  :param organization_id: the Organization identifier (required)
2285
2278
  :type organization_id: str
2286
- :param solution_id: the Solution identifier (required)
2287
- :type solution_id: str
2288
- :param run_template_id: the Run Template identifier (required)
2289
- :type run_template_id: str
2290
- :param handler_id: the Handler identifier (required)
2291
- :type handler_id: RunTemplateHandlerId
2279
+ :param page: page number to query (first page is at index 0)
2280
+ :type page: int
2281
+ :param size: amount of result by page
2282
+ :type size: int
2292
2283
  :param _request_timeout: timeout setting for this request. If one
2293
2284
  number provided, it will be total request
2294
2285
  timeout. It can also be a pair (tuple) of
@@ -2311,11 +2302,10 @@ class SolutionApi:
2311
2302
  :return: Returns the result object.
2312
2303
  """ # noqa: E501
2313
2304
 
2314
- _param = self._download_run_template_handler_serialize(
2305
+ _param = self._find_all_solutions_serialize(
2315
2306
  organization_id=organization_id,
2316
- solution_id=solution_id,
2317
- run_template_id=run_template_id,
2318
- handler_id=handler_id,
2307
+ page=page,
2308
+ size=size,
2319
2309
  _request_auth=_request_auth,
2320
2310
  _content_type=_content_type,
2321
2311
  _headers=_headers,
@@ -2323,8 +2313,7 @@ class SolutionApi:
2323
2313
  )
2324
2314
 
2325
2315
  _response_types_map: Dict[str, Optional[str]] = {
2326
- '200': "bytearray",
2327
- '404': None,
2316
+ '200': "List[Solution]",
2328
2317
  }
2329
2318
  response_data = self.api_client.call_api(
2330
2319
  *_param,
@@ -2333,12 +2322,11 @@ class SolutionApi:
2333
2322
  return response_data.response
2334
2323
 
2335
2324
 
2336
- def _download_run_template_handler_serialize(
2325
+ def _find_all_solutions_serialize(
2337
2326
  self,
2338
2327
  organization_id,
2339
- solution_id,
2340
- run_template_id,
2341
- handler_id,
2328
+ page,
2329
+ size,
2342
2330
  _request_auth,
2343
2331
  _content_type,
2344
2332
  _headers,
@@ -2354,30 +2342,33 @@ class SolutionApi:
2354
2342
  _query_params: List[Tuple[str, str]] = []
2355
2343
  _header_params: Dict[str, Optional[str]] = _headers or {}
2356
2344
  _form_params: List[Tuple[str, str]] = []
2357
- _files: Dict[str, str] = {}
2345
+ _files: Dict[str, Union[str, bytes]] = {}
2358
2346
  _body_params: Optional[bytes] = None
2359
2347
 
2360
2348
  # process the path parameters
2361
2349
  if organization_id is not None:
2362
2350
  _path_params['organization_id'] = organization_id
2363
- if solution_id is not None:
2364
- _path_params['solution_id'] = solution_id
2365
- if run_template_id is not None:
2366
- _path_params['run_template_id'] = run_template_id
2367
- if handler_id is not None:
2368
- _path_params['handler_id'] = handler_id.value
2369
2351
  # process the query parameters
2352
+ if page is not None:
2353
+
2354
+ _query_params.append(('page', page))
2355
+
2356
+ if size is not None:
2357
+
2358
+ _query_params.append(('size', size))
2359
+
2370
2360
  # process the header parameters
2371
2361
  # process the form parameters
2372
2362
  # process the body parameter
2373
2363
 
2374
2364
 
2375
2365
  # set the HTTP header `Accept`
2376
- _header_params['Accept'] = self.api_client.select_header_accept(
2377
- [
2378
- 'application/octet-stream'
2379
- ]
2380
- )
2366
+ if 'Accept' not in _header_params:
2367
+ _header_params['Accept'] = self.api_client.select_header_accept(
2368
+ [
2369
+ 'application/json'
2370
+ ]
2371
+ )
2381
2372
 
2382
2373
 
2383
2374
  # authentication setting
@@ -2387,7 +2378,7 @@ class SolutionApi:
2387
2378
 
2388
2379
  return self.api_client.param_serialize(
2389
2380
  method='GET',
2390
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runtemplates/{run_template_id}/handlers/{handler_id}/download',
2381
+ resource_path='/organizations/{organization_id}/solutions',
2391
2382
  path_params=_path_params,
2392
2383
  query_params=_query_params,
2393
2384
  header_params=_header_params,
@@ -2404,11 +2395,10 @@ class SolutionApi:
2404
2395
 
2405
2396
 
2406
2397
  @validate_call
2407
- def find_all_solutions(
2398
+ def find_solution_by_id(
2408
2399
  self,
2409
2400
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2410
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2411
- size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2401
+ solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2412
2402
  _request_timeout: Union[
2413
2403
  None,
2414
2404
  Annotated[StrictFloat, Field(gt=0)],
@@ -2421,16 +2411,14 @@ class SolutionApi:
2421
2411
  _content_type: Optional[StrictStr] = None,
2422
2412
  _headers: Optional[Dict[StrictStr, Any]] = None,
2423
2413
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2424
- ) -> List[Solution]:
2425
- """List all Solutions
2414
+ ) -> Solution:
2415
+ """Get the details of a solution
2426
2416
 
2427
2417
 
2428
2418
  :param organization_id: the Organization identifier (required)
2429
2419
  :type organization_id: str
2430
- :param page: page number to query
2431
- :type page: int
2432
- :param size: amount of result by page
2433
- :type size: int
2420
+ :param solution_id: the Solution identifier (required)
2421
+ :type solution_id: str
2434
2422
  :param _request_timeout: timeout setting for this request. If one
2435
2423
  number provided, it will be total request
2436
2424
  timeout. It can also be a pair (tuple) of
@@ -2453,10 +2441,9 @@ class SolutionApi:
2453
2441
  :return: Returns the result object.
2454
2442
  """ # noqa: E501
2455
2443
 
2456
- _param = self._find_all_solutions_serialize(
2444
+ _param = self._find_solution_by_id_serialize(
2457
2445
  organization_id=organization_id,
2458
- page=page,
2459
- size=size,
2446
+ solution_id=solution_id,
2460
2447
  _request_auth=_request_auth,
2461
2448
  _content_type=_content_type,
2462
2449
  _headers=_headers,
@@ -2464,7 +2451,8 @@ class SolutionApi:
2464
2451
  )
2465
2452
 
2466
2453
  _response_types_map: Dict[str, Optional[str]] = {
2467
- '200': "List[Solution]",
2454
+ '200': "Solution",
2455
+ '404': None,
2468
2456
  }
2469
2457
  response_data = self.api_client.call_api(
2470
2458
  *_param,
@@ -2478,11 +2466,10 @@ class SolutionApi:
2478
2466
 
2479
2467
 
2480
2468
  @validate_call
2481
- def find_all_solutions_with_http_info(
2469
+ def find_solution_by_id_with_http_info(
2482
2470
  self,
2483
2471
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2484
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2485
- size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2472
+ solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2486
2473
  _request_timeout: Union[
2487
2474
  None,
2488
2475
  Annotated[StrictFloat, Field(gt=0)],
@@ -2495,16 +2482,14 @@ class SolutionApi:
2495
2482
  _content_type: Optional[StrictStr] = None,
2496
2483
  _headers: Optional[Dict[StrictStr, Any]] = None,
2497
2484
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2498
- ) -> ApiResponse[List[Solution]]:
2499
- """List all Solutions
2485
+ ) -> ApiResponse[Solution]:
2486
+ """Get the details of a solution
2500
2487
 
2501
2488
 
2502
2489
  :param organization_id: the Organization identifier (required)
2503
2490
  :type organization_id: str
2504
- :param page: page number to query
2505
- :type page: int
2506
- :param size: amount of result by page
2507
- :type size: int
2491
+ :param solution_id: the Solution identifier (required)
2492
+ :type solution_id: str
2508
2493
  :param _request_timeout: timeout setting for this request. If one
2509
2494
  number provided, it will be total request
2510
2495
  timeout. It can also be a pair (tuple) of
@@ -2527,10 +2512,9 @@ class SolutionApi:
2527
2512
  :return: Returns the result object.
2528
2513
  """ # noqa: E501
2529
2514
 
2530
- _param = self._find_all_solutions_serialize(
2515
+ _param = self._find_solution_by_id_serialize(
2531
2516
  organization_id=organization_id,
2532
- page=page,
2533
- size=size,
2517
+ solution_id=solution_id,
2534
2518
  _request_auth=_request_auth,
2535
2519
  _content_type=_content_type,
2536
2520
  _headers=_headers,
@@ -2538,7 +2522,8 @@ class SolutionApi:
2538
2522
  )
2539
2523
 
2540
2524
  _response_types_map: Dict[str, Optional[str]] = {
2541
- '200': "List[Solution]",
2525
+ '200': "Solution",
2526
+ '404': None,
2542
2527
  }
2543
2528
  response_data = self.api_client.call_api(
2544
2529
  *_param,
@@ -2552,11 +2537,10 @@ class SolutionApi:
2552
2537
 
2553
2538
 
2554
2539
  @validate_call
2555
- def find_all_solutions_without_preload_content(
2540
+ def find_solution_by_id_without_preload_content(
2556
2541
  self,
2557
2542
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2558
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2559
- size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2543
+ solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2560
2544
  _request_timeout: Union[
2561
2545
  None,
2562
2546
  Annotated[StrictFloat, Field(gt=0)],
@@ -2570,15 +2554,13 @@ class SolutionApi:
2570
2554
  _headers: Optional[Dict[StrictStr, Any]] = None,
2571
2555
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2572
2556
  ) -> RESTResponseType:
2573
- """List all Solutions
2557
+ """Get the details of a solution
2574
2558
 
2575
2559
 
2576
2560
  :param organization_id: the Organization identifier (required)
2577
2561
  :type organization_id: str
2578
- :param page: page number to query
2579
- :type page: int
2580
- :param size: amount of result by page
2581
- :type size: int
2562
+ :param solution_id: the Solution identifier (required)
2563
+ :type solution_id: str
2582
2564
  :param _request_timeout: timeout setting for this request. If one
2583
2565
  number provided, it will be total request
2584
2566
  timeout. It can also be a pair (tuple) of
@@ -2601,10 +2583,9 @@ class SolutionApi:
2601
2583
  :return: Returns the result object.
2602
2584
  """ # noqa: E501
2603
2585
 
2604
- _param = self._find_all_solutions_serialize(
2586
+ _param = self._find_solution_by_id_serialize(
2605
2587
  organization_id=organization_id,
2606
- page=page,
2607
- size=size,
2588
+ solution_id=solution_id,
2608
2589
  _request_auth=_request_auth,
2609
2590
  _content_type=_content_type,
2610
2591
  _headers=_headers,
@@ -2612,7 +2593,8 @@ class SolutionApi:
2612
2593
  )
2613
2594
 
2614
2595
  _response_types_map: Dict[str, Optional[str]] = {
2615
- '200': "List[Solution]",
2596
+ '200': "Solution",
2597
+ '404': None,
2616
2598
  }
2617
2599
  response_data = self.api_client.call_api(
2618
2600
  *_param,
@@ -2621,11 +2603,10 @@ class SolutionApi:
2621
2603
  return response_data.response
2622
2604
 
2623
2605
 
2624
- def _find_all_solutions_serialize(
2606
+ def _find_solution_by_id_serialize(
2625
2607
  self,
2626
2608
  organization_id,
2627
- page,
2628
- size,
2609
+ solution_id,
2629
2610
  _request_auth,
2630
2611
  _content_type,
2631
2612
  _headers,
@@ -2641,32 +2622,27 @@ class SolutionApi:
2641
2622
  _query_params: List[Tuple[str, str]] = []
2642
2623
  _header_params: Dict[str, Optional[str]] = _headers or {}
2643
2624
  _form_params: List[Tuple[str, str]] = []
2644
- _files: Dict[str, str] = {}
2625
+ _files: Dict[str, Union[str, bytes]] = {}
2645
2626
  _body_params: Optional[bytes] = None
2646
2627
 
2647
2628
  # process the path parameters
2648
2629
  if organization_id is not None:
2649
2630
  _path_params['organization_id'] = organization_id
2631
+ if solution_id is not None:
2632
+ _path_params['solution_id'] = solution_id
2650
2633
  # process the query parameters
2651
- if page is not None:
2652
-
2653
- _query_params.append(('page', page))
2654
-
2655
- if size is not None:
2656
-
2657
- _query_params.append(('size', size))
2658
-
2659
2634
  # process the header parameters
2660
2635
  # process the form parameters
2661
2636
  # process the body parameter
2662
2637
 
2663
2638
 
2664
2639
  # set the HTTP header `Accept`
2665
- _header_params['Accept'] = self.api_client.select_header_accept(
2666
- [
2667
- 'application/json'
2668
- ]
2669
- )
2640
+ if 'Accept' not in _header_params:
2641
+ _header_params['Accept'] = self.api_client.select_header_accept(
2642
+ [
2643
+ 'application/json'
2644
+ ]
2645
+ )
2670
2646
 
2671
2647
 
2672
2648
  # authentication setting
@@ -2676,7 +2652,7 @@ class SolutionApi:
2676
2652
 
2677
2653
  return self.api_client.param_serialize(
2678
2654
  method='GET',
2679
- resource_path='/organizations/{organization_id}/solutions',
2655
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}',
2680
2656
  path_params=_path_params,
2681
2657
  query_params=_query_params,
2682
2658
  header_params=_header_params,
@@ -2693,10 +2669,11 @@ class SolutionApi:
2693
2669
 
2694
2670
 
2695
2671
  @validate_call
2696
- def find_solution_by_id(
2672
+ def get_solution_access_control(
2697
2673
  self,
2698
2674
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2699
2675
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2676
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2700
2677
  _request_timeout: Union[
2701
2678
  None,
2702
2679
  Annotated[StrictFloat, Field(gt=0)],
@@ -2709,14 +2686,16 @@ class SolutionApi:
2709
2686
  _content_type: Optional[StrictStr] = None,
2710
2687
  _headers: Optional[Dict[StrictStr, Any]] = None,
2711
2688
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2712
- ) -> Solution:
2713
- """Get the details of a solution
2689
+ ) -> SolutionAccessControl:
2690
+ """Get a control access for the Solution
2714
2691
 
2715
2692
 
2716
2693
  :param organization_id: the Organization identifier (required)
2717
2694
  :type organization_id: str
2718
2695
  :param solution_id: the Solution identifier (required)
2719
2696
  :type solution_id: str
2697
+ :param identity_id: the User identifier (required)
2698
+ :type identity_id: str
2720
2699
  :param _request_timeout: timeout setting for this request. If one
2721
2700
  number provided, it will be total request
2722
2701
  timeout. It can also be a pair (tuple) of
@@ -2739,9 +2718,10 @@ class SolutionApi:
2739
2718
  :return: Returns the result object.
2740
2719
  """ # noqa: E501
2741
2720
 
2742
- _param = self._find_solution_by_id_serialize(
2721
+ _param = self._get_solution_access_control_serialize(
2743
2722
  organization_id=organization_id,
2744
2723
  solution_id=solution_id,
2724
+ identity_id=identity_id,
2745
2725
  _request_auth=_request_auth,
2746
2726
  _content_type=_content_type,
2747
2727
  _headers=_headers,
@@ -2749,7 +2729,7 @@ class SolutionApi:
2749
2729
  )
2750
2730
 
2751
2731
  _response_types_map: Dict[str, Optional[str]] = {
2752
- '200': "Solution",
2732
+ '200': "SolutionAccessControl",
2753
2733
  '404': None,
2754
2734
  }
2755
2735
  response_data = self.api_client.call_api(
@@ -2764,10 +2744,11 @@ class SolutionApi:
2764
2744
 
2765
2745
 
2766
2746
  @validate_call
2767
- def find_solution_by_id_with_http_info(
2747
+ def get_solution_access_control_with_http_info(
2768
2748
  self,
2769
2749
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2770
2750
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2751
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2771
2752
  _request_timeout: Union[
2772
2753
  None,
2773
2754
  Annotated[StrictFloat, Field(gt=0)],
@@ -2780,14 +2761,16 @@ class SolutionApi:
2780
2761
  _content_type: Optional[StrictStr] = None,
2781
2762
  _headers: Optional[Dict[StrictStr, Any]] = None,
2782
2763
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2783
- ) -> ApiResponse[Solution]:
2784
- """Get the details of a solution
2764
+ ) -> ApiResponse[SolutionAccessControl]:
2765
+ """Get a control access for the Solution
2785
2766
 
2786
2767
 
2787
2768
  :param organization_id: the Organization identifier (required)
2788
2769
  :type organization_id: str
2789
2770
  :param solution_id: the Solution identifier (required)
2790
2771
  :type solution_id: str
2772
+ :param identity_id: the User identifier (required)
2773
+ :type identity_id: str
2791
2774
  :param _request_timeout: timeout setting for this request. If one
2792
2775
  number provided, it will be total request
2793
2776
  timeout. It can also be a pair (tuple) of
@@ -2810,9 +2793,10 @@ class SolutionApi:
2810
2793
  :return: Returns the result object.
2811
2794
  """ # noqa: E501
2812
2795
 
2813
- _param = self._find_solution_by_id_serialize(
2796
+ _param = self._get_solution_access_control_serialize(
2814
2797
  organization_id=organization_id,
2815
2798
  solution_id=solution_id,
2799
+ identity_id=identity_id,
2816
2800
  _request_auth=_request_auth,
2817
2801
  _content_type=_content_type,
2818
2802
  _headers=_headers,
@@ -2820,7 +2804,7 @@ class SolutionApi:
2820
2804
  )
2821
2805
 
2822
2806
  _response_types_map: Dict[str, Optional[str]] = {
2823
- '200': "Solution",
2807
+ '200': "SolutionAccessControl",
2824
2808
  '404': None,
2825
2809
  }
2826
2810
  response_data = self.api_client.call_api(
@@ -2835,10 +2819,11 @@ class SolutionApi:
2835
2819
 
2836
2820
 
2837
2821
  @validate_call
2838
- def find_solution_by_id_without_preload_content(
2822
+ def get_solution_access_control_without_preload_content(
2839
2823
  self,
2840
2824
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2841
2825
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2826
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2842
2827
  _request_timeout: Union[
2843
2828
  None,
2844
2829
  Annotated[StrictFloat, Field(gt=0)],
@@ -2852,13 +2837,15 @@ class SolutionApi:
2852
2837
  _headers: Optional[Dict[StrictStr, Any]] = None,
2853
2838
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2854
2839
  ) -> RESTResponseType:
2855
- """Get the details of a solution
2840
+ """Get a control access for the Solution
2856
2841
 
2857
2842
 
2858
2843
  :param organization_id: the Organization identifier (required)
2859
2844
  :type organization_id: str
2860
2845
  :param solution_id: the Solution identifier (required)
2861
2846
  :type solution_id: str
2847
+ :param identity_id: the User identifier (required)
2848
+ :type identity_id: str
2862
2849
  :param _request_timeout: timeout setting for this request. If one
2863
2850
  number provided, it will be total request
2864
2851
  timeout. It can also be a pair (tuple) of
@@ -2881,9 +2868,10 @@ class SolutionApi:
2881
2868
  :return: Returns the result object.
2882
2869
  """ # noqa: E501
2883
2870
 
2884
- _param = self._find_solution_by_id_serialize(
2871
+ _param = self._get_solution_access_control_serialize(
2885
2872
  organization_id=organization_id,
2886
2873
  solution_id=solution_id,
2874
+ identity_id=identity_id,
2887
2875
  _request_auth=_request_auth,
2888
2876
  _content_type=_content_type,
2889
2877
  _headers=_headers,
@@ -2891,7 +2879,7 @@ class SolutionApi:
2891
2879
  )
2892
2880
 
2893
2881
  _response_types_map: Dict[str, Optional[str]] = {
2894
- '200': "Solution",
2882
+ '200': "SolutionAccessControl",
2895
2883
  '404': None,
2896
2884
  }
2897
2885
  response_data = self.api_client.call_api(
@@ -2901,10 +2889,11 @@ class SolutionApi:
2901
2889
  return response_data.response
2902
2890
 
2903
2891
 
2904
- def _find_solution_by_id_serialize(
2892
+ def _get_solution_access_control_serialize(
2905
2893
  self,
2906
2894
  organization_id,
2907
2895
  solution_id,
2896
+ identity_id,
2908
2897
  _request_auth,
2909
2898
  _content_type,
2910
2899
  _headers,
@@ -2920,7 +2909,7 @@ class SolutionApi:
2920
2909
  _query_params: List[Tuple[str, str]] = []
2921
2910
  _header_params: Dict[str, Optional[str]] = _headers or {}
2922
2911
  _form_params: List[Tuple[str, str]] = []
2923
- _files: Dict[str, str] = {}
2912
+ _files: Dict[str, Union[str, bytes]] = {}
2924
2913
  _body_params: Optional[bytes] = None
2925
2914
 
2926
2915
  # process the path parameters
@@ -2928,6 +2917,8 @@ class SolutionApi:
2928
2917
  _path_params['organization_id'] = organization_id
2929
2918
  if solution_id is not None:
2930
2919
  _path_params['solution_id'] = solution_id
2920
+ if identity_id is not None:
2921
+ _path_params['identity_id'] = identity_id
2931
2922
  # process the query parameters
2932
2923
  # process the header parameters
2933
2924
  # process the form parameters
@@ -2935,11 +2926,12 @@ class SolutionApi:
2935
2926
 
2936
2927
 
2937
2928
  # set the HTTP header `Accept`
2938
- _header_params['Accept'] = self.api_client.select_header_accept(
2939
- [
2940
- 'application/json'
2941
- ]
2942
- )
2929
+ if 'Accept' not in _header_params:
2930
+ _header_params['Accept'] = self.api_client.select_header_accept(
2931
+ [
2932
+ 'application/json'
2933
+ ]
2934
+ )
2943
2935
 
2944
2936
 
2945
2937
  # authentication setting
@@ -2949,7 +2941,7 @@ class SolutionApi:
2949
2941
 
2950
2942
  return self.api_client.param_serialize(
2951
2943
  method='GET',
2952
- resource_path='/organizations/{organization_id}/solutions/{solution_id}',
2944
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
2953
2945
  path_params=_path_params,
2954
2946
  query_params=_query_params,
2955
2947
  header_params=_header_params,
@@ -2966,11 +2958,10 @@ class SolutionApi:
2966
2958
 
2967
2959
 
2968
2960
  @validate_call
2969
- def get_solution_access_control(
2961
+ def get_solution_security(
2970
2962
  self,
2971
2963
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2972
2964
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2973
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2974
2965
  _request_timeout: Union[
2975
2966
  None,
2976
2967
  Annotated[StrictFloat, Field(gt=0)],
@@ -2983,16 +2974,14 @@ class SolutionApi:
2983
2974
  _content_type: Optional[StrictStr] = None,
2984
2975
  _headers: Optional[Dict[StrictStr, Any]] = None,
2985
2976
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2986
- ) -> SolutionAccessControl:
2987
- """Get a control access for the Solution
2977
+ ) -> SolutionSecurity:
2978
+ """Get the Solution security information
2988
2979
 
2989
2980
 
2990
2981
  :param organization_id: the Organization identifier (required)
2991
2982
  :type organization_id: str
2992
2983
  :param solution_id: the Solution identifier (required)
2993
2984
  :type solution_id: str
2994
- :param identity_id: the User identifier (required)
2995
- :type identity_id: str
2996
2985
  :param _request_timeout: timeout setting for this request. If one
2997
2986
  number provided, it will be total request
2998
2987
  timeout. It can also be a pair (tuple) of
@@ -3015,10 +3004,9 @@ class SolutionApi:
3015
3004
  :return: Returns the result object.
3016
3005
  """ # noqa: E501
3017
3006
 
3018
- _param = self._get_solution_access_control_serialize(
3007
+ _param = self._get_solution_security_serialize(
3019
3008
  organization_id=organization_id,
3020
3009
  solution_id=solution_id,
3021
- identity_id=identity_id,
3022
3010
  _request_auth=_request_auth,
3023
3011
  _content_type=_content_type,
3024
3012
  _headers=_headers,
@@ -3026,7 +3014,7 @@ class SolutionApi:
3026
3014
  )
3027
3015
 
3028
3016
  _response_types_map: Dict[str, Optional[str]] = {
3029
- '200': "SolutionAccessControl",
3017
+ '200': "SolutionSecurity",
3030
3018
  '404': None,
3031
3019
  }
3032
3020
  response_data = self.api_client.call_api(
@@ -3041,11 +3029,10 @@ class SolutionApi:
3041
3029
 
3042
3030
 
3043
3031
  @validate_call
3044
- def get_solution_access_control_with_http_info(
3032
+ def get_solution_security_with_http_info(
3045
3033
  self,
3046
3034
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3047
3035
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
3048
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
3049
3036
  _request_timeout: Union[
3050
3037
  None,
3051
3038
  Annotated[StrictFloat, Field(gt=0)],
@@ -3058,16 +3045,14 @@ class SolutionApi:
3058
3045
  _content_type: Optional[StrictStr] = None,
3059
3046
  _headers: Optional[Dict[StrictStr, Any]] = None,
3060
3047
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3061
- ) -> ApiResponse[SolutionAccessControl]:
3062
- """Get a control access for the Solution
3048
+ ) -> ApiResponse[SolutionSecurity]:
3049
+ """Get the Solution security information
3063
3050
 
3064
3051
 
3065
3052
  :param organization_id: the Organization identifier (required)
3066
3053
  :type organization_id: str
3067
3054
  :param solution_id: the Solution identifier (required)
3068
3055
  :type solution_id: str
3069
- :param identity_id: the User identifier (required)
3070
- :type identity_id: str
3071
3056
  :param _request_timeout: timeout setting for this request. If one
3072
3057
  number provided, it will be total request
3073
3058
  timeout. It can also be a pair (tuple) of
@@ -3090,10 +3075,9 @@ class SolutionApi:
3090
3075
  :return: Returns the result object.
3091
3076
  """ # noqa: E501
3092
3077
 
3093
- _param = self._get_solution_access_control_serialize(
3078
+ _param = self._get_solution_security_serialize(
3094
3079
  organization_id=organization_id,
3095
3080
  solution_id=solution_id,
3096
- identity_id=identity_id,
3097
3081
  _request_auth=_request_auth,
3098
3082
  _content_type=_content_type,
3099
3083
  _headers=_headers,
@@ -3101,7 +3085,7 @@ class SolutionApi:
3101
3085
  )
3102
3086
 
3103
3087
  _response_types_map: Dict[str, Optional[str]] = {
3104
- '200': "SolutionAccessControl",
3088
+ '200': "SolutionSecurity",
3105
3089
  '404': None,
3106
3090
  }
3107
3091
  response_data = self.api_client.call_api(
@@ -3116,11 +3100,10 @@ class SolutionApi:
3116
3100
 
3117
3101
 
3118
3102
  @validate_call
3119
- def get_solution_access_control_without_preload_content(
3103
+ def get_solution_security_without_preload_content(
3120
3104
  self,
3121
3105
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3122
3106
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
3123
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
3124
3107
  _request_timeout: Union[
3125
3108
  None,
3126
3109
  Annotated[StrictFloat, Field(gt=0)],
@@ -3134,15 +3117,13 @@ class SolutionApi:
3134
3117
  _headers: Optional[Dict[StrictStr, Any]] = None,
3135
3118
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3136
3119
  ) -> RESTResponseType:
3137
- """Get a control access for the Solution
3120
+ """Get the Solution security information
3138
3121
 
3139
3122
 
3140
3123
  :param organization_id: the Organization identifier (required)
3141
3124
  :type organization_id: str
3142
3125
  :param solution_id: the Solution identifier (required)
3143
3126
  :type solution_id: str
3144
- :param identity_id: the User identifier (required)
3145
- :type identity_id: str
3146
3127
  :param _request_timeout: timeout setting for this request. If one
3147
3128
  number provided, it will be total request
3148
3129
  timeout. It can also be a pair (tuple) of
@@ -3165,10 +3146,9 @@ class SolutionApi:
3165
3146
  :return: Returns the result object.
3166
3147
  """ # noqa: E501
3167
3148
 
3168
- _param = self._get_solution_access_control_serialize(
3149
+ _param = self._get_solution_security_serialize(
3169
3150
  organization_id=organization_id,
3170
3151
  solution_id=solution_id,
3171
- identity_id=identity_id,
3172
3152
  _request_auth=_request_auth,
3173
3153
  _content_type=_content_type,
3174
3154
  _headers=_headers,
@@ -3176,7 +3156,7 @@ class SolutionApi:
3176
3156
  )
3177
3157
 
3178
3158
  _response_types_map: Dict[str, Optional[str]] = {
3179
- '200': "SolutionAccessControl",
3159
+ '200': "SolutionSecurity",
3180
3160
  '404': None,
3181
3161
  }
3182
3162
  response_data = self.api_client.call_api(
@@ -3186,11 +3166,10 @@ class SolutionApi:
3186
3166
  return response_data.response
3187
3167
 
3188
3168
 
3189
- def _get_solution_access_control_serialize(
3169
+ def _get_solution_security_serialize(
3190
3170
  self,
3191
3171
  organization_id,
3192
3172
  solution_id,
3193
- identity_id,
3194
3173
  _request_auth,
3195
3174
  _content_type,
3196
3175
  _headers,
@@ -3206,7 +3185,7 @@ class SolutionApi:
3206
3185
  _query_params: List[Tuple[str, str]] = []
3207
3186
  _header_params: Dict[str, Optional[str]] = _headers or {}
3208
3187
  _form_params: List[Tuple[str, str]] = []
3209
- _files: Dict[str, str] = {}
3188
+ _files: Dict[str, Union[str, bytes]] = {}
3210
3189
  _body_params: Optional[bytes] = None
3211
3190
 
3212
3191
  # process the path parameters
@@ -3214,8 +3193,6 @@ class SolutionApi:
3214
3193
  _path_params['organization_id'] = organization_id
3215
3194
  if solution_id is not None:
3216
3195
  _path_params['solution_id'] = solution_id
3217
- if identity_id is not None:
3218
- _path_params['identity_id'] = identity_id
3219
3196
  # process the query parameters
3220
3197
  # process the header parameters
3221
3198
  # process the form parameters
@@ -3223,11 +3200,12 @@ class SolutionApi:
3223
3200
 
3224
3201
 
3225
3202
  # set the HTTP header `Accept`
3226
- _header_params['Accept'] = self.api_client.select_header_accept(
3227
- [
3228
- 'application/json'
3229
- ]
3230
- )
3203
+ if 'Accept' not in _header_params:
3204
+ _header_params['Accept'] = self.api_client.select_header_accept(
3205
+ [
3206
+ 'application/json'
3207
+ ]
3208
+ )
3231
3209
 
3232
3210
 
3233
3211
  # authentication setting
@@ -3237,7 +3215,7 @@ class SolutionApi:
3237
3215
 
3238
3216
  return self.api_client.param_serialize(
3239
3217
  method='GET',
3240
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
3218
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security',
3241
3219
  path_params=_path_params,
3242
3220
  query_params=_query_params,
3243
3221
  header_params=_header_params,
@@ -3254,7 +3232,7 @@ class SolutionApi:
3254
3232
 
3255
3233
 
3256
3234
  @validate_call
3257
- def get_solution_security(
3235
+ def get_solution_security_users(
3258
3236
  self,
3259
3237
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3260
3238
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3270,8 +3248,8 @@ class SolutionApi:
3270
3248
  _content_type: Optional[StrictStr] = None,
3271
3249
  _headers: Optional[Dict[StrictStr, Any]] = None,
3272
3250
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3273
- ) -> SolutionSecurity:
3274
- """Get the Solution security information
3251
+ ) -> List[str]:
3252
+ """Get the Solution security users list
3275
3253
 
3276
3254
 
3277
3255
  :param organization_id: the Organization identifier (required)
@@ -3300,7 +3278,7 @@ class SolutionApi:
3300
3278
  :return: Returns the result object.
3301
3279
  """ # noqa: E501
3302
3280
 
3303
- _param = self._get_solution_security_serialize(
3281
+ _param = self._get_solution_security_users_serialize(
3304
3282
  organization_id=organization_id,
3305
3283
  solution_id=solution_id,
3306
3284
  _request_auth=_request_auth,
@@ -3310,7 +3288,7 @@ class SolutionApi:
3310
3288
  )
3311
3289
 
3312
3290
  _response_types_map: Dict[str, Optional[str]] = {
3313
- '200': "SolutionSecurity",
3291
+ '200': "List[str]",
3314
3292
  '404': None,
3315
3293
  }
3316
3294
  response_data = self.api_client.call_api(
@@ -3325,7 +3303,7 @@ class SolutionApi:
3325
3303
 
3326
3304
 
3327
3305
  @validate_call
3328
- def get_solution_security_with_http_info(
3306
+ def get_solution_security_users_with_http_info(
3329
3307
  self,
3330
3308
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3331
3309
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3341,8 +3319,8 @@ class SolutionApi:
3341
3319
  _content_type: Optional[StrictStr] = None,
3342
3320
  _headers: Optional[Dict[StrictStr, Any]] = None,
3343
3321
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3344
- ) -> ApiResponse[SolutionSecurity]:
3345
- """Get the Solution security information
3322
+ ) -> ApiResponse[List[str]]:
3323
+ """Get the Solution security users list
3346
3324
 
3347
3325
 
3348
3326
  :param organization_id: the Organization identifier (required)
@@ -3371,7 +3349,7 @@ class SolutionApi:
3371
3349
  :return: Returns the result object.
3372
3350
  """ # noqa: E501
3373
3351
 
3374
- _param = self._get_solution_security_serialize(
3352
+ _param = self._get_solution_security_users_serialize(
3375
3353
  organization_id=organization_id,
3376
3354
  solution_id=solution_id,
3377
3355
  _request_auth=_request_auth,
@@ -3381,7 +3359,7 @@ class SolutionApi:
3381
3359
  )
3382
3360
 
3383
3361
  _response_types_map: Dict[str, Optional[str]] = {
3384
- '200': "SolutionSecurity",
3362
+ '200': "List[str]",
3385
3363
  '404': None,
3386
3364
  }
3387
3365
  response_data = self.api_client.call_api(
@@ -3396,7 +3374,7 @@ class SolutionApi:
3396
3374
 
3397
3375
 
3398
3376
  @validate_call
3399
- def get_solution_security_without_preload_content(
3377
+ def get_solution_security_users_without_preload_content(
3400
3378
  self,
3401
3379
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3402
3380
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3413,7 +3391,7 @@ class SolutionApi:
3413
3391
  _headers: Optional[Dict[StrictStr, Any]] = None,
3414
3392
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3415
3393
  ) -> RESTResponseType:
3416
- """Get the Solution security information
3394
+ """Get the Solution security users list
3417
3395
 
3418
3396
 
3419
3397
  :param organization_id: the Organization identifier (required)
@@ -3442,7 +3420,7 @@ class SolutionApi:
3442
3420
  :return: Returns the result object.
3443
3421
  """ # noqa: E501
3444
3422
 
3445
- _param = self._get_solution_security_serialize(
3423
+ _param = self._get_solution_security_users_serialize(
3446
3424
  organization_id=organization_id,
3447
3425
  solution_id=solution_id,
3448
3426
  _request_auth=_request_auth,
@@ -3452,7 +3430,7 @@ class SolutionApi:
3452
3430
  )
3453
3431
 
3454
3432
  _response_types_map: Dict[str, Optional[str]] = {
3455
- '200': "SolutionSecurity",
3433
+ '200': "List[str]",
3456
3434
  '404': None,
3457
3435
  }
3458
3436
  response_data = self.api_client.call_api(
@@ -3462,7 +3440,7 @@ class SolutionApi:
3462
3440
  return response_data.response
3463
3441
 
3464
3442
 
3465
- def _get_solution_security_serialize(
3443
+ def _get_solution_security_users_serialize(
3466
3444
  self,
3467
3445
  organization_id,
3468
3446
  solution_id,
@@ -3481,7 +3459,7 @@ class SolutionApi:
3481
3459
  _query_params: List[Tuple[str, str]] = []
3482
3460
  _header_params: Dict[str, Optional[str]] = _headers or {}
3483
3461
  _form_params: List[Tuple[str, str]] = []
3484
- _files: Dict[str, str] = {}
3462
+ _files: Dict[str, Union[str, bytes]] = {}
3485
3463
  _body_params: Optional[bytes] = None
3486
3464
 
3487
3465
  # process the path parameters
@@ -3496,11 +3474,12 @@ class SolutionApi:
3496
3474
 
3497
3475
 
3498
3476
  # set the HTTP header `Accept`
3499
- _header_params['Accept'] = self.api_client.select_header_accept(
3500
- [
3501
- 'application/json'
3502
- ]
3503
- )
3477
+ if 'Accept' not in _header_params:
3478
+ _header_params['Accept'] = self.api_client.select_header_accept(
3479
+ [
3480
+ 'application/json'
3481
+ ]
3482
+ )
3504
3483
 
3505
3484
 
3506
3485
  # authentication setting
@@ -3510,7 +3489,7 @@ class SolutionApi:
3510
3489
 
3511
3490
  return self.api_client.param_serialize(
3512
3491
  method='GET',
3513
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security',
3492
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/users',
3514
3493
  path_params=_path_params,
3515
3494
  query_params=_query_params,
3516
3495
  header_params=_header_params,
@@ -3527,7 +3506,7 @@ class SolutionApi:
3527
3506
 
3528
3507
 
3529
3508
  @validate_call
3530
- def get_solution_security_users(
3509
+ def remove_all_run_templates(
3531
3510
  self,
3532
3511
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3533
3512
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3543,8 +3522,8 @@ class SolutionApi:
3543
3522
  _content_type: Optional[StrictStr] = None,
3544
3523
  _headers: Optional[Dict[StrictStr, Any]] = None,
3545
3524
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3546
- ) -> List[str]:
3547
- """Get the Solution security users list
3525
+ ) -> None:
3526
+ """Remove all Run Templates from the Solution specified
3548
3527
 
3549
3528
 
3550
3529
  :param organization_id: the Organization identifier (required)
@@ -3573,7 +3552,7 @@ class SolutionApi:
3573
3552
  :return: Returns the result object.
3574
3553
  """ # noqa: E501
3575
3554
 
3576
- _param = self._get_solution_security_users_serialize(
3555
+ _param = self._remove_all_run_templates_serialize(
3577
3556
  organization_id=organization_id,
3578
3557
  solution_id=solution_id,
3579
3558
  _request_auth=_request_auth,
@@ -3583,7 +3562,7 @@ class SolutionApi:
3583
3562
  )
3584
3563
 
3585
3564
  _response_types_map: Dict[str, Optional[str]] = {
3586
- '200': "List[str]",
3565
+ '204': None,
3587
3566
  '404': None,
3588
3567
  }
3589
3568
  response_data = self.api_client.call_api(
@@ -3598,7 +3577,7 @@ class SolutionApi:
3598
3577
 
3599
3578
 
3600
3579
  @validate_call
3601
- def get_solution_security_users_with_http_info(
3580
+ def remove_all_run_templates_with_http_info(
3602
3581
  self,
3603
3582
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3604
3583
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3614,8 +3593,8 @@ class SolutionApi:
3614
3593
  _content_type: Optional[StrictStr] = None,
3615
3594
  _headers: Optional[Dict[StrictStr, Any]] = None,
3616
3595
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3617
- ) -> ApiResponse[List[str]]:
3618
- """Get the Solution security users list
3596
+ ) -> ApiResponse[None]:
3597
+ """Remove all Run Templates from the Solution specified
3619
3598
 
3620
3599
 
3621
3600
  :param organization_id: the Organization identifier (required)
@@ -3644,7 +3623,7 @@ class SolutionApi:
3644
3623
  :return: Returns the result object.
3645
3624
  """ # noqa: E501
3646
3625
 
3647
- _param = self._get_solution_security_users_serialize(
3626
+ _param = self._remove_all_run_templates_serialize(
3648
3627
  organization_id=organization_id,
3649
3628
  solution_id=solution_id,
3650
3629
  _request_auth=_request_auth,
@@ -3654,7 +3633,7 @@ class SolutionApi:
3654
3633
  )
3655
3634
 
3656
3635
  _response_types_map: Dict[str, Optional[str]] = {
3657
- '200': "List[str]",
3636
+ '204': None,
3658
3637
  '404': None,
3659
3638
  }
3660
3639
  response_data = self.api_client.call_api(
@@ -3669,7 +3648,7 @@ class SolutionApi:
3669
3648
 
3670
3649
 
3671
3650
  @validate_call
3672
- def get_solution_security_users_without_preload_content(
3651
+ def remove_all_run_templates_without_preload_content(
3673
3652
  self,
3674
3653
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3675
3654
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3686,7 +3665,7 @@ class SolutionApi:
3686
3665
  _headers: Optional[Dict[StrictStr, Any]] = None,
3687
3666
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3688
3667
  ) -> RESTResponseType:
3689
- """Get the Solution security users list
3668
+ """Remove all Run Templates from the Solution specified
3690
3669
 
3691
3670
 
3692
3671
  :param organization_id: the Organization identifier (required)
@@ -3715,7 +3694,7 @@ class SolutionApi:
3715
3694
  :return: Returns the result object.
3716
3695
  """ # noqa: E501
3717
3696
 
3718
- _param = self._get_solution_security_users_serialize(
3697
+ _param = self._remove_all_run_templates_serialize(
3719
3698
  organization_id=organization_id,
3720
3699
  solution_id=solution_id,
3721
3700
  _request_auth=_request_auth,
@@ -3725,7 +3704,7 @@ class SolutionApi:
3725
3704
  )
3726
3705
 
3727
3706
  _response_types_map: Dict[str, Optional[str]] = {
3728
- '200': "List[str]",
3707
+ '204': None,
3729
3708
  '404': None,
3730
3709
  }
3731
3710
  response_data = self.api_client.call_api(
@@ -3735,7 +3714,7 @@ class SolutionApi:
3735
3714
  return response_data.response
3736
3715
 
3737
3716
 
3738
- def _get_solution_security_users_serialize(
3717
+ def _remove_all_run_templates_serialize(
3739
3718
  self,
3740
3719
  organization_id,
3741
3720
  solution_id,
@@ -3754,7 +3733,7 @@ class SolutionApi:
3754
3733
  _query_params: List[Tuple[str, str]] = []
3755
3734
  _header_params: Dict[str, Optional[str]] = _headers or {}
3756
3735
  _form_params: List[Tuple[str, str]] = []
3757
- _files: Dict[str, str] = {}
3736
+ _files: Dict[str, Union[str, bytes]] = {}
3758
3737
  _body_params: Optional[bytes] = None
3759
3738
 
3760
3739
  # process the path parameters
@@ -3768,12 +3747,6 @@ class SolutionApi:
3768
3747
  # process the body parameter
3769
3748
 
3770
3749
 
3771
- # set the HTTP header `Accept`
3772
- _header_params['Accept'] = self.api_client.select_header_accept(
3773
- [
3774
- 'application/json'
3775
- ]
3776
- )
3777
3750
 
3778
3751
 
3779
3752
  # authentication setting
@@ -3782,8 +3755,8 @@ class SolutionApi:
3782
3755
  ]
3783
3756
 
3784
3757
  return self.api_client.param_serialize(
3785
- method='GET',
3786
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/users',
3758
+ method='DELETE',
3759
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates',
3787
3760
  path_params=_path_params,
3788
3761
  query_params=_query_params,
3789
3762
  header_params=_header_params,
@@ -3800,7 +3773,7 @@ class SolutionApi:
3800
3773
 
3801
3774
 
3802
3775
  @validate_call
3803
- def remove_all_run_templates(
3776
+ def remove_all_solution_parameter_groups(
3804
3777
  self,
3805
3778
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3806
3779
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3817,7 +3790,7 @@ class SolutionApi:
3817
3790
  _headers: Optional[Dict[StrictStr, Any]] = None,
3818
3791
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3819
3792
  ) -> None:
3820
- """Remove all Run Templates from the Solution specified
3793
+ """Remove all Parameter Groups from the Solution specified
3821
3794
 
3822
3795
 
3823
3796
  :param organization_id: the Organization identifier (required)
@@ -3846,7 +3819,7 @@ class SolutionApi:
3846
3819
  :return: Returns the result object.
3847
3820
  """ # noqa: E501
3848
3821
 
3849
- _param = self._remove_all_run_templates_serialize(
3822
+ _param = self._remove_all_solution_parameter_groups_serialize(
3850
3823
  organization_id=organization_id,
3851
3824
  solution_id=solution_id,
3852
3825
  _request_auth=_request_auth,
@@ -3871,7 +3844,7 @@ class SolutionApi:
3871
3844
 
3872
3845
 
3873
3846
  @validate_call
3874
- def remove_all_run_templates_with_http_info(
3847
+ def remove_all_solution_parameter_groups_with_http_info(
3875
3848
  self,
3876
3849
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3877
3850
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3888,7 +3861,7 @@ class SolutionApi:
3888
3861
  _headers: Optional[Dict[StrictStr, Any]] = None,
3889
3862
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3890
3863
  ) -> ApiResponse[None]:
3891
- """Remove all Run Templates from the Solution specified
3864
+ """Remove all Parameter Groups from the Solution specified
3892
3865
 
3893
3866
 
3894
3867
  :param organization_id: the Organization identifier (required)
@@ -3917,7 +3890,7 @@ class SolutionApi:
3917
3890
  :return: Returns the result object.
3918
3891
  """ # noqa: E501
3919
3892
 
3920
- _param = self._remove_all_run_templates_serialize(
3893
+ _param = self._remove_all_solution_parameter_groups_serialize(
3921
3894
  organization_id=organization_id,
3922
3895
  solution_id=solution_id,
3923
3896
  _request_auth=_request_auth,
@@ -3942,7 +3915,7 @@ class SolutionApi:
3942
3915
 
3943
3916
 
3944
3917
  @validate_call
3945
- def remove_all_run_templates_without_preload_content(
3918
+ def remove_all_solution_parameter_groups_without_preload_content(
3946
3919
  self,
3947
3920
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3948
3921
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3959,7 +3932,7 @@ class SolutionApi:
3959
3932
  _headers: Optional[Dict[StrictStr, Any]] = None,
3960
3933
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3961
3934
  ) -> RESTResponseType:
3962
- """Remove all Run Templates from the Solution specified
3935
+ """Remove all Parameter Groups from the Solution specified
3963
3936
 
3964
3937
 
3965
3938
  :param organization_id: the Organization identifier (required)
@@ -3988,7 +3961,7 @@ class SolutionApi:
3988
3961
  :return: Returns the result object.
3989
3962
  """ # noqa: E501
3990
3963
 
3991
- _param = self._remove_all_run_templates_serialize(
3964
+ _param = self._remove_all_solution_parameter_groups_serialize(
3992
3965
  organization_id=organization_id,
3993
3966
  solution_id=solution_id,
3994
3967
  _request_auth=_request_auth,
@@ -4008,7 +3981,7 @@ class SolutionApi:
4008
3981
  return response_data.response
4009
3982
 
4010
3983
 
4011
- def _remove_all_run_templates_serialize(
3984
+ def _remove_all_solution_parameter_groups_serialize(
4012
3985
  self,
4013
3986
  organization_id,
4014
3987
  solution_id,
@@ -4027,7 +4000,7 @@ class SolutionApi:
4027
4000
  _query_params: List[Tuple[str, str]] = []
4028
4001
  _header_params: Dict[str, Optional[str]] = _headers or {}
4029
4002
  _form_params: List[Tuple[str, str]] = []
4030
- _files: Dict[str, str] = {}
4003
+ _files: Dict[str, Union[str, bytes]] = {}
4031
4004
  _body_params: Optional[bytes] = None
4032
4005
 
4033
4006
  # process the path parameters
@@ -4050,7 +4023,7 @@ class SolutionApi:
4050
4023
 
4051
4024
  return self.api_client.param_serialize(
4052
4025
  method='DELETE',
4053
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates',
4026
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups',
4054
4027
  path_params=_path_params,
4055
4028
  query_params=_query_params,
4056
4029
  header_params=_header_params,
@@ -4067,7 +4040,7 @@ class SolutionApi:
4067
4040
 
4068
4041
 
4069
4042
  @validate_call
4070
- def remove_all_solution_parameter_groups(
4043
+ def remove_all_solution_parameters(
4071
4044
  self,
4072
4045
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4073
4046
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -4084,7 +4057,7 @@ class SolutionApi:
4084
4057
  _headers: Optional[Dict[StrictStr, Any]] = None,
4085
4058
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4086
4059
  ) -> None:
4087
- """Remove all Parameter Groups from the Solution specified
4060
+ """Remove all Parameters from the Solution specified
4088
4061
 
4089
4062
 
4090
4063
  :param organization_id: the Organization identifier (required)
@@ -4113,7 +4086,7 @@ class SolutionApi:
4113
4086
  :return: Returns the result object.
4114
4087
  """ # noqa: E501
4115
4088
 
4116
- _param = self._remove_all_solution_parameter_groups_serialize(
4089
+ _param = self._remove_all_solution_parameters_serialize(
4117
4090
  organization_id=organization_id,
4118
4091
  solution_id=solution_id,
4119
4092
  _request_auth=_request_auth,
@@ -4138,7 +4111,7 @@ class SolutionApi:
4138
4111
 
4139
4112
 
4140
4113
  @validate_call
4141
- def remove_all_solution_parameter_groups_with_http_info(
4114
+ def remove_all_solution_parameters_with_http_info(
4142
4115
  self,
4143
4116
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4144
4117
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -4155,7 +4128,7 @@ class SolutionApi:
4155
4128
  _headers: Optional[Dict[StrictStr, Any]] = None,
4156
4129
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4157
4130
  ) -> ApiResponse[None]:
4158
- """Remove all Parameter Groups from the Solution specified
4131
+ """Remove all Parameters from the Solution specified
4159
4132
 
4160
4133
 
4161
4134
  :param organization_id: the Organization identifier (required)
@@ -4184,7 +4157,7 @@ class SolutionApi:
4184
4157
  :return: Returns the result object.
4185
4158
  """ # noqa: E501
4186
4159
 
4187
- _param = self._remove_all_solution_parameter_groups_serialize(
4160
+ _param = self._remove_all_solution_parameters_serialize(
4188
4161
  organization_id=organization_id,
4189
4162
  solution_id=solution_id,
4190
4163
  _request_auth=_request_auth,
@@ -4209,7 +4182,7 @@ class SolutionApi:
4209
4182
 
4210
4183
 
4211
4184
  @validate_call
4212
- def remove_all_solution_parameter_groups_without_preload_content(
4185
+ def remove_all_solution_parameters_without_preload_content(
4213
4186
  self,
4214
4187
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4215
4188
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -4226,7 +4199,7 @@ class SolutionApi:
4226
4199
  _headers: Optional[Dict[StrictStr, Any]] = None,
4227
4200
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4228
4201
  ) -> RESTResponseType:
4229
- """Remove all Parameter Groups from the Solution specified
4202
+ """Remove all Parameters from the Solution specified
4230
4203
 
4231
4204
 
4232
4205
  :param organization_id: the Organization identifier (required)
@@ -4255,7 +4228,7 @@ class SolutionApi:
4255
4228
  :return: Returns the result object.
4256
4229
  """ # noqa: E501
4257
4230
 
4258
- _param = self._remove_all_solution_parameter_groups_serialize(
4231
+ _param = self._remove_all_solution_parameters_serialize(
4259
4232
  organization_id=organization_id,
4260
4233
  solution_id=solution_id,
4261
4234
  _request_auth=_request_auth,
@@ -4275,7 +4248,7 @@ class SolutionApi:
4275
4248
  return response_data.response
4276
4249
 
4277
4250
 
4278
- def _remove_all_solution_parameter_groups_serialize(
4251
+ def _remove_all_solution_parameters_serialize(
4279
4252
  self,
4280
4253
  organization_id,
4281
4254
  solution_id,
@@ -4294,7 +4267,7 @@ class SolutionApi:
4294
4267
  _query_params: List[Tuple[str, str]] = []
4295
4268
  _header_params: Dict[str, Optional[str]] = _headers or {}
4296
4269
  _form_params: List[Tuple[str, str]] = []
4297
- _files: Dict[str, str] = {}
4270
+ _files: Dict[str, Union[str, bytes]] = {}
4298
4271
  _body_params: Optional[bytes] = None
4299
4272
 
4300
4273
  # process the path parameters
@@ -4317,7 +4290,7 @@ class SolutionApi:
4317
4290
 
4318
4291
  return self.api_client.param_serialize(
4319
4292
  method='DELETE',
4320
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups',
4293
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters',
4321
4294
  path_params=_path_params,
4322
4295
  query_params=_query_params,
4323
4296
  header_params=_header_params,
@@ -4334,10 +4307,11 @@ class SolutionApi:
4334
4307
 
4335
4308
 
4336
4309
  @validate_call
4337
- def remove_all_solution_parameters(
4310
+ def remove_solution_access_control(
4338
4311
  self,
4339
4312
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4340
4313
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4314
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4341
4315
  _request_timeout: Union[
4342
4316
  None,
4343
4317
  Annotated[StrictFloat, Field(gt=0)],
@@ -4351,13 +4325,15 @@ class SolutionApi:
4351
4325
  _headers: Optional[Dict[StrictStr, Any]] = None,
4352
4326
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4353
4327
  ) -> None:
4354
- """Remove all Parameters from the Solution specified
4328
+ """Remove the specified access from the given Organization Solution
4355
4329
 
4356
4330
 
4357
4331
  :param organization_id: the Organization identifier (required)
4358
4332
  :type organization_id: str
4359
4333
  :param solution_id: the Solution identifier (required)
4360
4334
  :type solution_id: str
4335
+ :param identity_id: the User identifier (required)
4336
+ :type identity_id: str
4361
4337
  :param _request_timeout: timeout setting for this request. If one
4362
4338
  number provided, it will be total request
4363
4339
  timeout. It can also be a pair (tuple) of
@@ -4380,9 +4356,10 @@ class SolutionApi:
4380
4356
  :return: Returns the result object.
4381
4357
  """ # noqa: E501
4382
4358
 
4383
- _param = self._remove_all_solution_parameters_serialize(
4359
+ _param = self._remove_solution_access_control_serialize(
4384
4360
  organization_id=organization_id,
4385
4361
  solution_id=solution_id,
4362
+ identity_id=identity_id,
4386
4363
  _request_auth=_request_auth,
4387
4364
  _content_type=_content_type,
4388
4365
  _headers=_headers,
@@ -4405,10 +4382,11 @@ class SolutionApi:
4405
4382
 
4406
4383
 
4407
4384
  @validate_call
4408
- def remove_all_solution_parameters_with_http_info(
4385
+ def remove_solution_access_control_with_http_info(
4409
4386
  self,
4410
4387
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4411
4388
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4389
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4412
4390
  _request_timeout: Union[
4413
4391
  None,
4414
4392
  Annotated[StrictFloat, Field(gt=0)],
@@ -4422,13 +4400,15 @@ class SolutionApi:
4422
4400
  _headers: Optional[Dict[StrictStr, Any]] = None,
4423
4401
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4424
4402
  ) -> ApiResponse[None]:
4425
- """Remove all Parameters from the Solution specified
4403
+ """Remove the specified access from the given Organization Solution
4426
4404
 
4427
4405
 
4428
4406
  :param organization_id: the Organization identifier (required)
4429
4407
  :type organization_id: str
4430
4408
  :param solution_id: the Solution identifier (required)
4431
4409
  :type solution_id: str
4410
+ :param identity_id: the User identifier (required)
4411
+ :type identity_id: str
4432
4412
  :param _request_timeout: timeout setting for this request. If one
4433
4413
  number provided, it will be total request
4434
4414
  timeout. It can also be a pair (tuple) of
@@ -4451,9 +4431,10 @@ class SolutionApi:
4451
4431
  :return: Returns the result object.
4452
4432
  """ # noqa: E501
4453
4433
 
4454
- _param = self._remove_all_solution_parameters_serialize(
4434
+ _param = self._remove_solution_access_control_serialize(
4455
4435
  organization_id=organization_id,
4456
4436
  solution_id=solution_id,
4437
+ identity_id=identity_id,
4457
4438
  _request_auth=_request_auth,
4458
4439
  _content_type=_content_type,
4459
4440
  _headers=_headers,
@@ -4476,10 +4457,11 @@ class SolutionApi:
4476
4457
 
4477
4458
 
4478
4459
  @validate_call
4479
- def remove_all_solution_parameters_without_preload_content(
4460
+ def remove_solution_access_control_without_preload_content(
4480
4461
  self,
4481
4462
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4482
4463
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4464
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4483
4465
  _request_timeout: Union[
4484
4466
  None,
4485
4467
  Annotated[StrictFloat, Field(gt=0)],
@@ -4493,13 +4475,15 @@ class SolutionApi:
4493
4475
  _headers: Optional[Dict[StrictStr, Any]] = None,
4494
4476
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4495
4477
  ) -> RESTResponseType:
4496
- """Remove all Parameters from the Solution specified
4478
+ """Remove the specified access from the given Organization Solution
4497
4479
 
4498
4480
 
4499
4481
  :param organization_id: the Organization identifier (required)
4500
4482
  :type organization_id: str
4501
4483
  :param solution_id: the Solution identifier (required)
4502
4484
  :type solution_id: str
4485
+ :param identity_id: the User identifier (required)
4486
+ :type identity_id: str
4503
4487
  :param _request_timeout: timeout setting for this request. If one
4504
4488
  number provided, it will be total request
4505
4489
  timeout. It can also be a pair (tuple) of
@@ -4522,9 +4506,10 @@ class SolutionApi:
4522
4506
  :return: Returns the result object.
4523
4507
  """ # noqa: E501
4524
4508
 
4525
- _param = self._remove_all_solution_parameters_serialize(
4509
+ _param = self._remove_solution_access_control_serialize(
4526
4510
  organization_id=organization_id,
4527
4511
  solution_id=solution_id,
4512
+ identity_id=identity_id,
4528
4513
  _request_auth=_request_auth,
4529
4514
  _content_type=_content_type,
4530
4515
  _headers=_headers,
@@ -4542,10 +4527,11 @@ class SolutionApi:
4542
4527
  return response_data.response
4543
4528
 
4544
4529
 
4545
- def _remove_all_solution_parameters_serialize(
4530
+ def _remove_solution_access_control_serialize(
4546
4531
  self,
4547
4532
  organization_id,
4548
4533
  solution_id,
4534
+ identity_id,
4549
4535
  _request_auth,
4550
4536
  _content_type,
4551
4537
  _headers,
@@ -4561,7 +4547,7 @@ class SolutionApi:
4561
4547
  _query_params: List[Tuple[str, str]] = []
4562
4548
  _header_params: Dict[str, Optional[str]] = _headers or {}
4563
4549
  _form_params: List[Tuple[str, str]] = []
4564
- _files: Dict[str, str] = {}
4550
+ _files: Dict[str, Union[str, bytes]] = {}
4565
4551
  _body_params: Optional[bytes] = None
4566
4552
 
4567
4553
  # process the path parameters
@@ -4569,6 +4555,8 @@ class SolutionApi:
4569
4555
  _path_params['organization_id'] = organization_id
4570
4556
  if solution_id is not None:
4571
4557
  _path_params['solution_id'] = solution_id
4558
+ if identity_id is not None:
4559
+ _path_params['identity_id'] = identity_id
4572
4560
  # process the query parameters
4573
4561
  # process the header parameters
4574
4562
  # process the form parameters
@@ -4584,7 +4572,7 @@ class SolutionApi:
4584
4572
 
4585
4573
  return self.api_client.param_serialize(
4586
4574
  method='DELETE',
4587
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters',
4575
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
4588
4576
  path_params=_path_params,
4589
4577
  query_params=_query_params,
4590
4578
  header_params=_header_params,
@@ -4601,11 +4589,11 @@ class SolutionApi:
4601
4589
 
4602
4590
 
4603
4591
  @validate_call
4604
- def remove_solution_access_control(
4592
+ def set_solution_default_security(
4605
4593
  self,
4606
4594
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4607
4595
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4608
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4596
+ solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4609
4597
  _request_timeout: Union[
4610
4598
  None,
4611
4599
  Annotated[StrictFloat, Field(gt=0)],
@@ -4618,16 +4606,16 @@ class SolutionApi:
4618
4606
  _content_type: Optional[StrictStr] = None,
4619
4607
  _headers: Optional[Dict[StrictStr, Any]] = None,
4620
4608
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4621
- ) -> None:
4622
- """Remove the specified access from the given Organization Solution
4609
+ ) -> SolutionSecurity:
4610
+ """Set the Solution default security
4623
4611
 
4624
4612
 
4625
4613
  :param organization_id: the Organization identifier (required)
4626
4614
  :type organization_id: str
4627
4615
  :param solution_id: the Solution identifier (required)
4628
4616
  :type solution_id: str
4629
- :param identity_id: the User identifier (required)
4630
- :type identity_id: str
4617
+ :param solution_role: This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution. (required)
4618
+ :type solution_role: SolutionRole
4631
4619
  :param _request_timeout: timeout setting for this request. If one
4632
4620
  number provided, it will be total request
4633
4621
  timeout. It can also be a pair (tuple) of
@@ -4650,10 +4638,10 @@ class SolutionApi:
4650
4638
  :return: Returns the result object.
4651
4639
  """ # noqa: E501
4652
4640
 
4653
- _param = self._remove_solution_access_control_serialize(
4641
+ _param = self._set_solution_default_security_serialize(
4654
4642
  organization_id=organization_id,
4655
4643
  solution_id=solution_id,
4656
- identity_id=identity_id,
4644
+ solution_role=solution_role,
4657
4645
  _request_auth=_request_auth,
4658
4646
  _content_type=_content_type,
4659
4647
  _headers=_headers,
@@ -4661,7 +4649,7 @@ class SolutionApi:
4661
4649
  )
4662
4650
 
4663
4651
  _response_types_map: Dict[str, Optional[str]] = {
4664
- '204': None,
4652
+ '201': "SolutionSecurity",
4665
4653
  '404': None,
4666
4654
  }
4667
4655
  response_data = self.api_client.call_api(
@@ -4676,11 +4664,11 @@ class SolutionApi:
4676
4664
 
4677
4665
 
4678
4666
  @validate_call
4679
- def remove_solution_access_control_with_http_info(
4667
+ def set_solution_default_security_with_http_info(
4680
4668
  self,
4681
4669
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4682
4670
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4683
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4671
+ solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4684
4672
  _request_timeout: Union[
4685
4673
  None,
4686
4674
  Annotated[StrictFloat, Field(gt=0)],
@@ -4693,16 +4681,16 @@ class SolutionApi:
4693
4681
  _content_type: Optional[StrictStr] = None,
4694
4682
  _headers: Optional[Dict[StrictStr, Any]] = None,
4695
4683
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4696
- ) -> ApiResponse[None]:
4697
- """Remove the specified access from the given Organization Solution
4684
+ ) -> ApiResponse[SolutionSecurity]:
4685
+ """Set the Solution default security
4698
4686
 
4699
4687
 
4700
4688
  :param organization_id: the Organization identifier (required)
4701
4689
  :type organization_id: str
4702
4690
  :param solution_id: the Solution identifier (required)
4703
4691
  :type solution_id: str
4704
- :param identity_id: the User identifier (required)
4705
- :type identity_id: str
4692
+ :param solution_role: This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution. (required)
4693
+ :type solution_role: SolutionRole
4706
4694
  :param _request_timeout: timeout setting for this request. If one
4707
4695
  number provided, it will be total request
4708
4696
  timeout. It can also be a pair (tuple) of
@@ -4725,10 +4713,10 @@ class SolutionApi:
4725
4713
  :return: Returns the result object.
4726
4714
  """ # noqa: E501
4727
4715
 
4728
- _param = self._remove_solution_access_control_serialize(
4716
+ _param = self._set_solution_default_security_serialize(
4729
4717
  organization_id=organization_id,
4730
4718
  solution_id=solution_id,
4731
- identity_id=identity_id,
4719
+ solution_role=solution_role,
4732
4720
  _request_auth=_request_auth,
4733
4721
  _content_type=_content_type,
4734
4722
  _headers=_headers,
@@ -4736,7 +4724,7 @@ class SolutionApi:
4736
4724
  )
4737
4725
 
4738
4726
  _response_types_map: Dict[str, Optional[str]] = {
4739
- '204': None,
4727
+ '201': "SolutionSecurity",
4740
4728
  '404': None,
4741
4729
  }
4742
4730
  response_data = self.api_client.call_api(
@@ -4751,11 +4739,11 @@ class SolutionApi:
4751
4739
 
4752
4740
 
4753
4741
  @validate_call
4754
- def remove_solution_access_control_without_preload_content(
4742
+ def set_solution_default_security_without_preload_content(
4755
4743
  self,
4756
4744
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4757
4745
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4758
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4746
+ solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4759
4747
  _request_timeout: Union[
4760
4748
  None,
4761
4749
  Annotated[StrictFloat, Field(gt=0)],
@@ -4769,15 +4757,15 @@ class SolutionApi:
4769
4757
  _headers: Optional[Dict[StrictStr, Any]] = None,
4770
4758
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4771
4759
  ) -> RESTResponseType:
4772
- """Remove the specified access from the given Organization Solution
4760
+ """Set the Solution default security
4773
4761
 
4774
4762
 
4775
4763
  :param organization_id: the Organization identifier (required)
4776
4764
  :type organization_id: str
4777
4765
  :param solution_id: the Solution identifier (required)
4778
4766
  :type solution_id: str
4779
- :param identity_id: the User identifier (required)
4780
- :type identity_id: str
4767
+ :param solution_role: This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution. (required)
4768
+ :type solution_role: SolutionRole
4781
4769
  :param _request_timeout: timeout setting for this request. If one
4782
4770
  number provided, it will be total request
4783
4771
  timeout. It can also be a pair (tuple) of
@@ -4800,10 +4788,10 @@ class SolutionApi:
4800
4788
  :return: Returns the result object.
4801
4789
  """ # noqa: E501
4802
4790
 
4803
- _param = self._remove_solution_access_control_serialize(
4791
+ _param = self._set_solution_default_security_serialize(
4804
4792
  organization_id=organization_id,
4805
4793
  solution_id=solution_id,
4806
- identity_id=identity_id,
4794
+ solution_role=solution_role,
4807
4795
  _request_auth=_request_auth,
4808
4796
  _content_type=_content_type,
4809
4797
  _headers=_headers,
@@ -4811,7 +4799,7 @@ class SolutionApi:
4811
4799
  )
4812
4800
 
4813
4801
  _response_types_map: Dict[str, Optional[str]] = {
4814
- '204': None,
4802
+ '201': "SolutionSecurity",
4815
4803
  '404': None,
4816
4804
  }
4817
4805
  response_data = self.api_client.call_api(
@@ -4821,11 +4809,11 @@ class SolutionApi:
4821
4809
  return response_data.response
4822
4810
 
4823
4811
 
4824
- def _remove_solution_access_control_serialize(
4812
+ def _set_solution_default_security_serialize(
4825
4813
  self,
4826
4814
  organization_id,
4827
4815
  solution_id,
4828
- identity_id,
4816
+ solution_role,
4829
4817
  _request_auth,
4830
4818
  _content_type,
4831
4819
  _headers,
@@ -4841,7 +4829,7 @@ class SolutionApi:
4841
4829
  _query_params: List[Tuple[str, str]] = []
4842
4830
  _header_params: Dict[str, Optional[str]] = _headers or {}
4843
4831
  _form_params: List[Tuple[str, str]] = []
4844
- _files: Dict[str, str] = {}
4832
+ _files: Dict[str, Union[str, bytes]] = {}
4845
4833
  _body_params: Optional[bytes] = None
4846
4834
 
4847
4835
  # process the path parameters
@@ -4849,15 +4837,36 @@ class SolutionApi:
4849
4837
  _path_params['organization_id'] = organization_id
4850
4838
  if solution_id is not None:
4851
4839
  _path_params['solution_id'] = solution_id
4852
- if identity_id is not None:
4853
- _path_params['identity_id'] = identity_id
4854
4840
  # process the query parameters
4855
4841
  # process the header parameters
4856
4842
  # process the form parameters
4857
4843
  # process the body parameter
4844
+ if solution_role is not None:
4845
+ _body_params = solution_role
4858
4846
 
4859
4847
 
4848
+ # set the HTTP header `Accept`
4849
+ if 'Accept' not in _header_params:
4850
+ _header_params['Accept'] = self.api_client.select_header_accept(
4851
+ [
4852
+ 'application/json'
4853
+ ]
4854
+ )
4860
4855
 
4856
+ # set the HTTP header `Content-Type`
4857
+ if _content_type:
4858
+ _header_params['Content-Type'] = _content_type
4859
+ else:
4860
+ _default_content_type = (
4861
+ self.api_client.select_header_content_type(
4862
+ [
4863
+ 'application/json',
4864
+ 'application/yaml'
4865
+ ]
4866
+ )
4867
+ )
4868
+ if _default_content_type is not None:
4869
+ _header_params['Content-Type'] = _default_content_type
4861
4870
 
4862
4871
  # authentication setting
4863
4872
  _auth_settings: List[str] = [
@@ -4865,8 +4874,8 @@ class SolutionApi:
4865
4874
  ]
4866
4875
 
4867
4876
  return self.api_client.param_serialize(
4868
- method='DELETE',
4869
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
4877
+ method='POST',
4878
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/default',
4870
4879
  path_params=_path_params,
4871
4880
  query_params=_query_params,
4872
4881
  header_params=_header_params,
@@ -4883,619 +4892,11 @@ class SolutionApi:
4883
4892
 
4884
4893
 
4885
4894
  @validate_call
4886
- def set_solution_default_security(
4895
+ def update_solution(
4887
4896
  self,
4888
4897
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4889
4898
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4890
- solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4891
- _request_timeout: Union[
4892
- None,
4893
- Annotated[StrictFloat, Field(gt=0)],
4894
- Tuple[
4895
- Annotated[StrictFloat, Field(gt=0)],
4896
- Annotated[StrictFloat, Field(gt=0)]
4897
- ]
4898
- ] = None,
4899
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
4900
- _content_type: Optional[StrictStr] = None,
4901
- _headers: Optional[Dict[StrictStr, Any]] = None,
4902
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4903
- ) -> SolutionSecurity:
4904
- """Set the Solution default security
4905
-
4906
-
4907
- :param organization_id: the Organization identifier (required)
4908
- :type organization_id: str
4909
- :param solution_id: the Solution identifier (required)
4910
- :type solution_id: str
4911
- :param solution_role: This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution. (required)
4912
- :type solution_role: SolutionRole
4913
- :param _request_timeout: timeout setting for this request. If one
4914
- number provided, it will be total request
4915
- timeout. It can also be a pair (tuple) of
4916
- (connection, read) timeouts.
4917
- :type _request_timeout: int, tuple(int, int), optional
4918
- :param _request_auth: set to override the auth_settings for an a single
4919
- request; this effectively ignores the
4920
- authentication in the spec for a single request.
4921
- :type _request_auth: dict, optional
4922
- :param _content_type: force content-type for the request.
4923
- :type _content_type: str, Optional
4924
- :param _headers: set to override the headers for a single
4925
- request; this effectively ignores the headers
4926
- in the spec for a single request.
4927
- :type _headers: dict, optional
4928
- :param _host_index: set to override the host_index for a single
4929
- request; this effectively ignores the host_index
4930
- in the spec for a single request.
4931
- :type _host_index: int, optional
4932
- :return: Returns the result object.
4933
- """ # noqa: E501
4934
-
4935
- _param = self._set_solution_default_security_serialize(
4936
- organization_id=organization_id,
4937
- solution_id=solution_id,
4938
- solution_role=solution_role,
4939
- _request_auth=_request_auth,
4940
- _content_type=_content_type,
4941
- _headers=_headers,
4942
- _host_index=_host_index
4943
- )
4944
-
4945
- _response_types_map: Dict[str, Optional[str]] = {
4946
- '201': "SolutionSecurity",
4947
- '404': None,
4948
- }
4949
- response_data = self.api_client.call_api(
4950
- *_param,
4951
- _request_timeout=_request_timeout
4952
- )
4953
- response_data.read()
4954
- return self.api_client.response_deserialize(
4955
- response_data=response_data,
4956
- response_types_map=_response_types_map,
4957
- ).data
4958
-
4959
-
4960
- @validate_call
4961
- def set_solution_default_security_with_http_info(
4962
- self,
4963
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4964
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4965
- solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4966
- _request_timeout: Union[
4967
- None,
4968
- Annotated[StrictFloat, Field(gt=0)],
4969
- Tuple[
4970
- Annotated[StrictFloat, Field(gt=0)],
4971
- Annotated[StrictFloat, Field(gt=0)]
4972
- ]
4973
- ] = None,
4974
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
4975
- _content_type: Optional[StrictStr] = None,
4976
- _headers: Optional[Dict[StrictStr, Any]] = None,
4977
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4978
- ) -> ApiResponse[SolutionSecurity]:
4979
- """Set the Solution default security
4980
-
4981
-
4982
- :param organization_id: the Organization identifier (required)
4983
- :type organization_id: str
4984
- :param solution_id: the Solution identifier (required)
4985
- :type solution_id: str
4986
- :param solution_role: This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution. (required)
4987
- :type solution_role: SolutionRole
4988
- :param _request_timeout: timeout setting for this request. If one
4989
- number provided, it will be total request
4990
- timeout. It can also be a pair (tuple) of
4991
- (connection, read) timeouts.
4992
- :type _request_timeout: int, tuple(int, int), optional
4993
- :param _request_auth: set to override the auth_settings for an a single
4994
- request; this effectively ignores the
4995
- authentication in the spec for a single request.
4996
- :type _request_auth: dict, optional
4997
- :param _content_type: force content-type for the request.
4998
- :type _content_type: str, Optional
4999
- :param _headers: set to override the headers for a single
5000
- request; this effectively ignores the headers
5001
- in the spec for a single request.
5002
- :type _headers: dict, optional
5003
- :param _host_index: set to override the host_index for a single
5004
- request; this effectively ignores the host_index
5005
- in the spec for a single request.
5006
- :type _host_index: int, optional
5007
- :return: Returns the result object.
5008
- """ # noqa: E501
5009
-
5010
- _param = self._set_solution_default_security_serialize(
5011
- organization_id=organization_id,
5012
- solution_id=solution_id,
5013
- solution_role=solution_role,
5014
- _request_auth=_request_auth,
5015
- _content_type=_content_type,
5016
- _headers=_headers,
5017
- _host_index=_host_index
5018
- )
5019
-
5020
- _response_types_map: Dict[str, Optional[str]] = {
5021
- '201': "SolutionSecurity",
5022
- '404': None,
5023
- }
5024
- response_data = self.api_client.call_api(
5025
- *_param,
5026
- _request_timeout=_request_timeout
5027
- )
5028
- response_data.read()
5029
- return self.api_client.response_deserialize(
5030
- response_data=response_data,
5031
- response_types_map=_response_types_map,
5032
- )
5033
-
5034
-
5035
- @validate_call
5036
- def set_solution_default_security_without_preload_content(
5037
- self,
5038
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5039
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5040
- solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
5041
- _request_timeout: Union[
5042
- None,
5043
- Annotated[StrictFloat, Field(gt=0)],
5044
- Tuple[
5045
- Annotated[StrictFloat, Field(gt=0)],
5046
- Annotated[StrictFloat, Field(gt=0)]
5047
- ]
5048
- ] = None,
5049
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5050
- _content_type: Optional[StrictStr] = None,
5051
- _headers: Optional[Dict[StrictStr, Any]] = None,
5052
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5053
- ) -> RESTResponseType:
5054
- """Set the Solution default security
5055
-
5056
-
5057
- :param organization_id: the Organization identifier (required)
5058
- :type organization_id: str
5059
- :param solution_id: the Solution identifier (required)
5060
- :type solution_id: str
5061
- :param solution_role: This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution. (required)
5062
- :type solution_role: SolutionRole
5063
- :param _request_timeout: timeout setting for this request. If one
5064
- number provided, it will be total request
5065
- timeout. It can also be a pair (tuple) of
5066
- (connection, read) timeouts.
5067
- :type _request_timeout: int, tuple(int, int), optional
5068
- :param _request_auth: set to override the auth_settings for an a single
5069
- request; this effectively ignores the
5070
- authentication in the spec for a single request.
5071
- :type _request_auth: dict, optional
5072
- :param _content_type: force content-type for the request.
5073
- :type _content_type: str, Optional
5074
- :param _headers: set to override the headers for a single
5075
- request; this effectively ignores the headers
5076
- in the spec for a single request.
5077
- :type _headers: dict, optional
5078
- :param _host_index: set to override the host_index for a single
5079
- request; this effectively ignores the host_index
5080
- in the spec for a single request.
5081
- :type _host_index: int, optional
5082
- :return: Returns the result object.
5083
- """ # noqa: E501
5084
-
5085
- _param = self._set_solution_default_security_serialize(
5086
- organization_id=organization_id,
5087
- solution_id=solution_id,
5088
- solution_role=solution_role,
5089
- _request_auth=_request_auth,
5090
- _content_type=_content_type,
5091
- _headers=_headers,
5092
- _host_index=_host_index
5093
- )
5094
-
5095
- _response_types_map: Dict[str, Optional[str]] = {
5096
- '201': "SolutionSecurity",
5097
- '404': None,
5098
- }
5099
- response_data = self.api_client.call_api(
5100
- *_param,
5101
- _request_timeout=_request_timeout
5102
- )
5103
- return response_data.response
5104
-
5105
-
5106
- def _set_solution_default_security_serialize(
5107
- self,
5108
- organization_id,
5109
- solution_id,
5110
- solution_role,
5111
- _request_auth,
5112
- _content_type,
5113
- _headers,
5114
- _host_index,
5115
- ) -> RequestSerialized:
5116
-
5117
- _host = None
5118
-
5119
- _collection_formats: Dict[str, str] = {
5120
- }
5121
-
5122
- _path_params: Dict[str, str] = {}
5123
- _query_params: List[Tuple[str, str]] = []
5124
- _header_params: Dict[str, Optional[str]] = _headers or {}
5125
- _form_params: List[Tuple[str, str]] = []
5126
- _files: Dict[str, str] = {}
5127
- _body_params: Optional[bytes] = None
5128
-
5129
- # process the path parameters
5130
- if organization_id is not None:
5131
- _path_params['organization_id'] = organization_id
5132
- if solution_id is not None:
5133
- _path_params['solution_id'] = solution_id
5134
- # process the query parameters
5135
- # process the header parameters
5136
- # process the form parameters
5137
- # process the body parameter
5138
- if solution_role is not None:
5139
- _body_params = solution_role
5140
-
5141
-
5142
- # set the HTTP header `Accept`
5143
- _header_params['Accept'] = self.api_client.select_header_accept(
5144
- [
5145
- 'application/json'
5146
- ]
5147
- )
5148
-
5149
- # set the HTTP header `Content-Type`
5150
- if _content_type:
5151
- _header_params['Content-Type'] = _content_type
5152
- else:
5153
- _default_content_type = (
5154
- self.api_client.select_header_content_type(
5155
- [
5156
- 'application/json',
5157
- 'application/yaml'
5158
- ]
5159
- )
5160
- )
5161
- if _default_content_type is not None:
5162
- _header_params['Content-Type'] = _default_content_type
5163
-
5164
- # authentication setting
5165
- _auth_settings: List[str] = [
5166
- 'oAuth2AuthCode'
5167
- ]
5168
-
5169
- return self.api_client.param_serialize(
5170
- method='POST',
5171
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/default',
5172
- path_params=_path_params,
5173
- query_params=_query_params,
5174
- header_params=_header_params,
5175
- body=_body_params,
5176
- post_params=_form_params,
5177
- files=_files,
5178
- auth_settings=_auth_settings,
5179
- collection_formats=_collection_formats,
5180
- _host=_host,
5181
- _request_auth=_request_auth
5182
- )
5183
-
5184
-
5185
-
5186
-
5187
- @validate_call
5188
- def update_solution(
5189
- self,
5190
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5191
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5192
- solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5193
- _request_timeout: Union[
5194
- None,
5195
- Annotated[StrictFloat, Field(gt=0)],
5196
- Tuple[
5197
- Annotated[StrictFloat, Field(gt=0)],
5198
- Annotated[StrictFloat, Field(gt=0)]
5199
- ]
5200
- ] = None,
5201
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5202
- _content_type: Optional[StrictStr] = None,
5203
- _headers: Optional[Dict[StrictStr, Any]] = None,
5204
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5205
- ) -> Solution:
5206
- """Update a solution
5207
-
5208
-
5209
- :param organization_id: the Organization identifier (required)
5210
- :type organization_id: str
5211
- :param solution_id: the Solution identifier (required)
5212
- :type solution_id: str
5213
- :param solution: the new Solution details. This endpoint can't be used to update security (required)
5214
- :type solution: Solution
5215
- :param _request_timeout: timeout setting for this request. If one
5216
- number provided, it will be total request
5217
- timeout. It can also be a pair (tuple) of
5218
- (connection, read) timeouts.
5219
- :type _request_timeout: int, tuple(int, int), optional
5220
- :param _request_auth: set to override the auth_settings for an a single
5221
- request; this effectively ignores the
5222
- authentication in the spec for a single request.
5223
- :type _request_auth: dict, optional
5224
- :param _content_type: force content-type for the request.
5225
- :type _content_type: str, Optional
5226
- :param _headers: set to override the headers for a single
5227
- request; this effectively ignores the headers
5228
- in the spec for a single request.
5229
- :type _headers: dict, optional
5230
- :param _host_index: set to override the host_index for a single
5231
- request; this effectively ignores the host_index
5232
- in the spec for a single request.
5233
- :type _host_index: int, optional
5234
- :return: Returns the result object.
5235
- """ # noqa: E501
5236
-
5237
- _param = self._update_solution_serialize(
5238
- organization_id=organization_id,
5239
- solution_id=solution_id,
5240
- solution=solution,
5241
- _request_auth=_request_auth,
5242
- _content_type=_content_type,
5243
- _headers=_headers,
5244
- _host_index=_host_index
5245
- )
5246
-
5247
- _response_types_map: Dict[str, Optional[str]] = {
5248
- '200': "Solution",
5249
- '400': None,
5250
- '404': None,
5251
- }
5252
- response_data = self.api_client.call_api(
5253
- *_param,
5254
- _request_timeout=_request_timeout
5255
- )
5256
- response_data.read()
5257
- return self.api_client.response_deserialize(
5258
- response_data=response_data,
5259
- response_types_map=_response_types_map,
5260
- ).data
5261
-
5262
-
5263
- @validate_call
5264
- def update_solution_with_http_info(
5265
- self,
5266
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5267
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5268
- solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5269
- _request_timeout: Union[
5270
- None,
5271
- Annotated[StrictFloat, Field(gt=0)],
5272
- Tuple[
5273
- Annotated[StrictFloat, Field(gt=0)],
5274
- Annotated[StrictFloat, Field(gt=0)]
5275
- ]
5276
- ] = None,
5277
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5278
- _content_type: Optional[StrictStr] = None,
5279
- _headers: Optional[Dict[StrictStr, Any]] = None,
5280
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5281
- ) -> ApiResponse[Solution]:
5282
- """Update a solution
5283
-
5284
-
5285
- :param organization_id: the Organization identifier (required)
5286
- :type organization_id: str
5287
- :param solution_id: the Solution identifier (required)
5288
- :type solution_id: str
5289
- :param solution: the new Solution details. This endpoint can't be used to update security (required)
5290
- :type solution: Solution
5291
- :param _request_timeout: timeout setting for this request. If one
5292
- number provided, it will be total request
5293
- timeout. It can also be a pair (tuple) of
5294
- (connection, read) timeouts.
5295
- :type _request_timeout: int, tuple(int, int), optional
5296
- :param _request_auth: set to override the auth_settings for an a single
5297
- request; this effectively ignores the
5298
- authentication in the spec for a single request.
5299
- :type _request_auth: dict, optional
5300
- :param _content_type: force content-type for the request.
5301
- :type _content_type: str, Optional
5302
- :param _headers: set to override the headers for a single
5303
- request; this effectively ignores the headers
5304
- in the spec for a single request.
5305
- :type _headers: dict, optional
5306
- :param _host_index: set to override the host_index for a single
5307
- request; this effectively ignores the host_index
5308
- in the spec for a single request.
5309
- :type _host_index: int, optional
5310
- :return: Returns the result object.
5311
- """ # noqa: E501
5312
-
5313
- _param = self._update_solution_serialize(
5314
- organization_id=organization_id,
5315
- solution_id=solution_id,
5316
- solution=solution,
5317
- _request_auth=_request_auth,
5318
- _content_type=_content_type,
5319
- _headers=_headers,
5320
- _host_index=_host_index
5321
- )
5322
-
5323
- _response_types_map: Dict[str, Optional[str]] = {
5324
- '200': "Solution",
5325
- '400': None,
5326
- '404': None,
5327
- }
5328
- response_data = self.api_client.call_api(
5329
- *_param,
5330
- _request_timeout=_request_timeout
5331
- )
5332
- response_data.read()
5333
- return self.api_client.response_deserialize(
5334
- response_data=response_data,
5335
- response_types_map=_response_types_map,
5336
- )
5337
-
5338
-
5339
- @validate_call
5340
- def update_solution_without_preload_content(
5341
- self,
5342
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5343
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5344
- solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5345
- _request_timeout: Union[
5346
- None,
5347
- Annotated[StrictFloat, Field(gt=0)],
5348
- Tuple[
5349
- Annotated[StrictFloat, Field(gt=0)],
5350
- Annotated[StrictFloat, Field(gt=0)]
5351
- ]
5352
- ] = None,
5353
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5354
- _content_type: Optional[StrictStr] = None,
5355
- _headers: Optional[Dict[StrictStr, Any]] = None,
5356
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5357
- ) -> RESTResponseType:
5358
- """Update a solution
5359
-
5360
-
5361
- :param organization_id: the Organization identifier (required)
5362
- :type organization_id: str
5363
- :param solution_id: the Solution identifier (required)
5364
- :type solution_id: str
5365
- :param solution: the new Solution details. This endpoint can't be used to update security (required)
5366
- :type solution: Solution
5367
- :param _request_timeout: timeout setting for this request. If one
5368
- number provided, it will be total request
5369
- timeout. It can also be a pair (tuple) of
5370
- (connection, read) timeouts.
5371
- :type _request_timeout: int, tuple(int, int), optional
5372
- :param _request_auth: set to override the auth_settings for an a single
5373
- request; this effectively ignores the
5374
- authentication in the spec for a single request.
5375
- :type _request_auth: dict, optional
5376
- :param _content_type: force content-type for the request.
5377
- :type _content_type: str, Optional
5378
- :param _headers: set to override the headers for a single
5379
- request; this effectively ignores the headers
5380
- in the spec for a single request.
5381
- :type _headers: dict, optional
5382
- :param _host_index: set to override the host_index for a single
5383
- request; this effectively ignores the host_index
5384
- in the spec for a single request.
5385
- :type _host_index: int, optional
5386
- :return: Returns the result object.
5387
- """ # noqa: E501
5388
-
5389
- _param = self._update_solution_serialize(
5390
- organization_id=organization_id,
5391
- solution_id=solution_id,
5392
- solution=solution,
5393
- _request_auth=_request_auth,
5394
- _content_type=_content_type,
5395
- _headers=_headers,
5396
- _host_index=_host_index
5397
- )
5398
-
5399
- _response_types_map: Dict[str, Optional[str]] = {
5400
- '200': "Solution",
5401
- '400': None,
5402
- '404': None,
5403
- }
5404
- response_data = self.api_client.call_api(
5405
- *_param,
5406
- _request_timeout=_request_timeout
5407
- )
5408
- return response_data.response
5409
-
5410
-
5411
- def _update_solution_serialize(
5412
- self,
5413
- organization_id,
5414
- solution_id,
5415
- solution,
5416
- _request_auth,
5417
- _content_type,
5418
- _headers,
5419
- _host_index,
5420
- ) -> RequestSerialized:
5421
-
5422
- _host = None
5423
-
5424
- _collection_formats: Dict[str, str] = {
5425
- }
5426
-
5427
- _path_params: Dict[str, str] = {}
5428
- _query_params: List[Tuple[str, str]] = []
5429
- _header_params: Dict[str, Optional[str]] = _headers or {}
5430
- _form_params: List[Tuple[str, str]] = []
5431
- _files: Dict[str, str] = {}
5432
- _body_params: Optional[bytes] = None
5433
-
5434
- # process the path parameters
5435
- if organization_id is not None:
5436
- _path_params['organization_id'] = organization_id
5437
- if solution_id is not None:
5438
- _path_params['solution_id'] = solution_id
5439
- # process the query parameters
5440
- # process the header parameters
5441
- # process the form parameters
5442
- # process the body parameter
5443
- if solution is not None:
5444
- _body_params = solution
5445
-
5446
-
5447
- # set the HTTP header `Accept`
5448
- _header_params['Accept'] = self.api_client.select_header_accept(
5449
- [
5450
- 'application/json'
5451
- ]
5452
- )
5453
-
5454
- # set the HTTP header `Content-Type`
5455
- if _content_type:
5456
- _header_params['Content-Type'] = _content_type
5457
- else:
5458
- _default_content_type = (
5459
- self.api_client.select_header_content_type(
5460
- [
5461
- 'application/json',
5462
- 'application/yaml'
5463
- ]
5464
- )
5465
- )
5466
- if _default_content_type is not None:
5467
- _header_params['Content-Type'] = _default_content_type
5468
-
5469
- # authentication setting
5470
- _auth_settings: List[str] = [
5471
- 'oAuth2AuthCode'
5472
- ]
5473
-
5474
- return self.api_client.param_serialize(
5475
- method='PATCH',
5476
- resource_path='/organizations/{organization_id}/solutions/{solution_id}',
5477
- path_params=_path_params,
5478
- query_params=_query_params,
5479
- header_params=_header_params,
5480
- body=_body_params,
5481
- post_params=_form_params,
5482
- files=_files,
5483
- auth_settings=_auth_settings,
5484
- collection_formats=_collection_formats,
5485
- _host=_host,
5486
- _request_auth=_request_auth
5487
- )
5488
-
5489
-
5490
-
5491
-
5492
- @validate_call
5493
- def update_solution_access_control(
5494
- self,
5495
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5496
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5497
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5498
- solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
4899
+ solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5499
4900
  _request_timeout: Union[
5500
4901
  None,
5501
4902
  Annotated[StrictFloat, Field(gt=0)],
@@ -5508,18 +4909,16 @@ class SolutionApi:
5508
4909
  _content_type: Optional[StrictStr] = None,
5509
4910
  _headers: Optional[Dict[StrictStr, Any]] = None,
5510
4911
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5511
- ) -> SolutionAccessControl:
5512
- """Update the specified access to User for a Solution
4912
+ ) -> Solution:
4913
+ """Update a solution
5513
4914
 
5514
4915
 
5515
4916
  :param organization_id: the Organization identifier (required)
5516
4917
  :type organization_id: str
5517
4918
  :param solution_id: the Solution identifier (required)
5518
4919
  :type solution_id: str
5519
- :param identity_id: the User identifier (required)
5520
- :type identity_id: str
5521
- :param solution_role: The new Solution Access Control (required)
5522
- :type solution_role: SolutionRole
4920
+ :param solution: the new Solution details. This endpoint can't be used to update security (required)
4921
+ :type solution: Solution
5523
4922
  :param _request_timeout: timeout setting for this request. If one
5524
4923
  number provided, it will be total request
5525
4924
  timeout. It can also be a pair (tuple) of
@@ -5542,11 +4941,10 @@ class SolutionApi:
5542
4941
  :return: Returns the result object.
5543
4942
  """ # noqa: E501
5544
4943
 
5545
- _param = self._update_solution_access_control_serialize(
4944
+ _param = self._update_solution_serialize(
5546
4945
  organization_id=organization_id,
5547
4946
  solution_id=solution_id,
5548
- identity_id=identity_id,
5549
- solution_role=solution_role,
4947
+ solution=solution,
5550
4948
  _request_auth=_request_auth,
5551
4949
  _content_type=_content_type,
5552
4950
  _headers=_headers,
@@ -5554,7 +4952,8 @@ class SolutionApi:
5554
4952
  )
5555
4953
 
5556
4954
  _response_types_map: Dict[str, Optional[str]] = {
5557
- '200': "SolutionAccessControl",
4955
+ '200': "Solution",
4956
+ '400': None,
5558
4957
  '404': None,
5559
4958
  }
5560
4959
  response_data = self.api_client.call_api(
@@ -5569,12 +4968,11 @@ class SolutionApi:
5569
4968
 
5570
4969
 
5571
4970
  @validate_call
5572
- def update_solution_access_control_with_http_info(
4971
+ def update_solution_with_http_info(
5573
4972
  self,
5574
4973
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5575
4974
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5576
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5577
- solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
4975
+ solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5578
4976
  _request_timeout: Union[
5579
4977
  None,
5580
4978
  Annotated[StrictFloat, Field(gt=0)],
@@ -5587,18 +4985,16 @@ class SolutionApi:
5587
4985
  _content_type: Optional[StrictStr] = None,
5588
4986
  _headers: Optional[Dict[StrictStr, Any]] = None,
5589
4987
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5590
- ) -> ApiResponse[SolutionAccessControl]:
5591
- """Update the specified access to User for a Solution
4988
+ ) -> ApiResponse[Solution]:
4989
+ """Update a solution
5592
4990
 
5593
4991
 
5594
4992
  :param organization_id: the Organization identifier (required)
5595
4993
  :type organization_id: str
5596
4994
  :param solution_id: the Solution identifier (required)
5597
4995
  :type solution_id: str
5598
- :param identity_id: the User identifier (required)
5599
- :type identity_id: str
5600
- :param solution_role: The new Solution Access Control (required)
5601
- :type solution_role: SolutionRole
4996
+ :param solution: the new Solution details. This endpoint can't be used to update security (required)
4997
+ :type solution: Solution
5602
4998
  :param _request_timeout: timeout setting for this request. If one
5603
4999
  number provided, it will be total request
5604
5000
  timeout. It can also be a pair (tuple) of
@@ -5621,11 +5017,10 @@ class SolutionApi:
5621
5017
  :return: Returns the result object.
5622
5018
  """ # noqa: E501
5623
5019
 
5624
- _param = self._update_solution_access_control_serialize(
5020
+ _param = self._update_solution_serialize(
5625
5021
  organization_id=organization_id,
5626
5022
  solution_id=solution_id,
5627
- identity_id=identity_id,
5628
- solution_role=solution_role,
5023
+ solution=solution,
5629
5024
  _request_auth=_request_auth,
5630
5025
  _content_type=_content_type,
5631
5026
  _headers=_headers,
@@ -5633,7 +5028,8 @@ class SolutionApi:
5633
5028
  )
5634
5029
 
5635
5030
  _response_types_map: Dict[str, Optional[str]] = {
5636
- '200': "SolutionAccessControl",
5031
+ '200': "Solution",
5032
+ '400': None,
5637
5033
  '404': None,
5638
5034
  }
5639
5035
  response_data = self.api_client.call_api(
@@ -5648,12 +5044,11 @@ class SolutionApi:
5648
5044
 
5649
5045
 
5650
5046
  @validate_call
5651
- def update_solution_access_control_without_preload_content(
5047
+ def update_solution_without_preload_content(
5652
5048
  self,
5653
5049
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5654
5050
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5655
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5656
- solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5051
+ solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5657
5052
  _request_timeout: Union[
5658
5053
  None,
5659
5054
  Annotated[StrictFloat, Field(gt=0)],
@@ -5667,17 +5062,15 @@ class SolutionApi:
5667
5062
  _headers: Optional[Dict[StrictStr, Any]] = None,
5668
5063
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5669
5064
  ) -> RESTResponseType:
5670
- """Update the specified access to User for a Solution
5065
+ """Update a solution
5671
5066
 
5672
5067
 
5673
5068
  :param organization_id: the Organization identifier (required)
5674
5069
  :type organization_id: str
5675
5070
  :param solution_id: the Solution identifier (required)
5676
5071
  :type solution_id: str
5677
- :param identity_id: the User identifier (required)
5678
- :type identity_id: str
5679
- :param solution_role: The new Solution Access Control (required)
5680
- :type solution_role: SolutionRole
5072
+ :param solution: the new Solution details. This endpoint can't be used to update security (required)
5073
+ :type solution: Solution
5681
5074
  :param _request_timeout: timeout setting for this request. If one
5682
5075
  number provided, it will be total request
5683
5076
  timeout. It can also be a pair (tuple) of
@@ -5700,11 +5093,10 @@ class SolutionApi:
5700
5093
  :return: Returns the result object.
5701
5094
  """ # noqa: E501
5702
5095
 
5703
- _param = self._update_solution_access_control_serialize(
5096
+ _param = self._update_solution_serialize(
5704
5097
  organization_id=organization_id,
5705
5098
  solution_id=solution_id,
5706
- identity_id=identity_id,
5707
- solution_role=solution_role,
5099
+ solution=solution,
5708
5100
  _request_auth=_request_auth,
5709
5101
  _content_type=_content_type,
5710
5102
  _headers=_headers,
@@ -5712,7 +5104,8 @@ class SolutionApi:
5712
5104
  )
5713
5105
 
5714
5106
  _response_types_map: Dict[str, Optional[str]] = {
5715
- '200': "SolutionAccessControl",
5107
+ '200': "Solution",
5108
+ '400': None,
5716
5109
  '404': None,
5717
5110
  }
5718
5111
  response_data = self.api_client.call_api(
@@ -5722,12 +5115,11 @@ class SolutionApi:
5722
5115
  return response_data.response
5723
5116
 
5724
5117
 
5725
- def _update_solution_access_control_serialize(
5118
+ def _update_solution_serialize(
5726
5119
  self,
5727
5120
  organization_id,
5728
5121
  solution_id,
5729
- identity_id,
5730
- solution_role,
5122
+ solution,
5731
5123
  _request_auth,
5732
5124
  _content_type,
5733
5125
  _headers,
@@ -5743,7 +5135,7 @@ class SolutionApi:
5743
5135
  _query_params: List[Tuple[str, str]] = []
5744
5136
  _header_params: Dict[str, Optional[str]] = _headers or {}
5745
5137
  _form_params: List[Tuple[str, str]] = []
5746
- _files: Dict[str, str] = {}
5138
+ _files: Dict[str, Union[str, bytes]] = {}
5747
5139
  _body_params: Optional[bytes] = None
5748
5140
 
5749
5141
  # process the path parameters
@@ -5751,22 +5143,21 @@ class SolutionApi:
5751
5143
  _path_params['organization_id'] = organization_id
5752
5144
  if solution_id is not None:
5753
5145
  _path_params['solution_id'] = solution_id
5754
- if identity_id is not None:
5755
- _path_params['identity_id'] = identity_id
5756
5146
  # process the query parameters
5757
5147
  # process the header parameters
5758
5148
  # process the form parameters
5759
5149
  # process the body parameter
5760
- if solution_role is not None:
5761
- _body_params = solution_role
5150
+ if solution is not None:
5151
+ _body_params = solution
5762
5152
 
5763
5153
 
5764
5154
  # set the HTTP header `Accept`
5765
- _header_params['Accept'] = self.api_client.select_header_accept(
5766
- [
5767
- 'application/json'
5768
- ]
5769
- )
5155
+ if 'Accept' not in _header_params:
5156
+ _header_params['Accept'] = self.api_client.select_header_accept(
5157
+ [
5158
+ 'application/json'
5159
+ ]
5160
+ )
5770
5161
 
5771
5162
  # set the HTTP header `Content-Type`
5772
5163
  if _content_type:
@@ -5775,7 +5166,8 @@ class SolutionApi:
5775
5166
  _default_content_type = (
5776
5167
  self.api_client.select_header_content_type(
5777
5168
  [
5778
- 'application/json'
5169
+ 'application/json',
5170
+ 'application/yaml'
5779
5171
  ]
5780
5172
  )
5781
5173
  )
@@ -5789,7 +5181,7 @@ class SolutionApi:
5789
5181
 
5790
5182
  return self.api_client.param_serialize(
5791
5183
  method='PATCH',
5792
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
5184
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}',
5793
5185
  path_params=_path_params,
5794
5186
  query_params=_query_params,
5795
5187
  header_params=_header_params,
@@ -5806,12 +5198,12 @@ class SolutionApi:
5806
5198
 
5807
5199
 
5808
5200
  @validate_call
5809
- def update_solution_run_template(
5201
+ def update_solution_access_control(
5810
5202
  self,
5811
5203
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5812
5204
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5813
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
5814
- run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
5205
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5206
+ solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5815
5207
  _request_timeout: Union[
5816
5208
  None,
5817
5209
  Annotated[StrictFloat, Field(gt=0)],
@@ -5824,18 +5216,18 @@ class SolutionApi:
5824
5216
  _content_type: Optional[StrictStr] = None,
5825
5217
  _headers: Optional[Dict[StrictStr, Any]] = None,
5826
5218
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5827
- ) -> List[RunTemplate]:
5828
- """Update the specified Solution Run Template
5219
+ ) -> SolutionAccessControl:
5220
+ """Update the specified access to User for a Solution
5829
5221
 
5830
5222
 
5831
5223
  :param organization_id: the Organization identifier (required)
5832
5224
  :type organization_id: str
5833
5225
  :param solution_id: the Solution identifier (required)
5834
5226
  :type solution_id: str
5835
- :param run_template_id: the Run Template identifier (required)
5836
- :type run_template_id: str
5837
- :param run_template: the Run Templates (required)
5838
- :type run_template: RunTemplate
5227
+ :param identity_id: the User identifier (required)
5228
+ :type identity_id: str
5229
+ :param solution_role: The new Solution Access Control (required)
5230
+ :type solution_role: SolutionRole
5839
5231
  :param _request_timeout: timeout setting for this request. If one
5840
5232
  number provided, it will be total request
5841
5233
  timeout. It can also be a pair (tuple) of
@@ -5858,11 +5250,11 @@ class SolutionApi:
5858
5250
  :return: Returns the result object.
5859
5251
  """ # noqa: E501
5860
5252
 
5861
- _param = self._update_solution_run_template_serialize(
5253
+ _param = self._update_solution_access_control_serialize(
5862
5254
  organization_id=organization_id,
5863
5255
  solution_id=solution_id,
5864
- run_template_id=run_template_id,
5865
- run_template=run_template,
5256
+ identity_id=identity_id,
5257
+ solution_role=solution_role,
5866
5258
  _request_auth=_request_auth,
5867
5259
  _content_type=_content_type,
5868
5260
  _headers=_headers,
@@ -5870,8 +5262,7 @@ class SolutionApi:
5870
5262
  )
5871
5263
 
5872
5264
  _response_types_map: Dict[str, Optional[str]] = {
5873
- '200': "List[RunTemplate]",
5874
- '400': None,
5265
+ '200': "SolutionAccessControl",
5875
5266
  '404': None,
5876
5267
  }
5877
5268
  response_data = self.api_client.call_api(
@@ -5886,12 +5277,12 @@ class SolutionApi:
5886
5277
 
5887
5278
 
5888
5279
  @validate_call
5889
- def update_solution_run_template_with_http_info(
5280
+ def update_solution_access_control_with_http_info(
5890
5281
  self,
5891
5282
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5892
5283
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5893
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
5894
- run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
5284
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5285
+ solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5895
5286
  _request_timeout: Union[
5896
5287
  None,
5897
5288
  Annotated[StrictFloat, Field(gt=0)],
@@ -5904,18 +5295,18 @@ class SolutionApi:
5904
5295
  _content_type: Optional[StrictStr] = None,
5905
5296
  _headers: Optional[Dict[StrictStr, Any]] = None,
5906
5297
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5907
- ) -> ApiResponse[List[RunTemplate]]:
5908
- """Update the specified Solution Run Template
5298
+ ) -> ApiResponse[SolutionAccessControl]:
5299
+ """Update the specified access to User for a Solution
5909
5300
 
5910
5301
 
5911
5302
  :param organization_id: the Organization identifier (required)
5912
5303
  :type organization_id: str
5913
5304
  :param solution_id: the Solution identifier (required)
5914
5305
  :type solution_id: str
5915
- :param run_template_id: the Run Template identifier (required)
5916
- :type run_template_id: str
5917
- :param run_template: the Run Templates (required)
5918
- :type run_template: RunTemplate
5306
+ :param identity_id: the User identifier (required)
5307
+ :type identity_id: str
5308
+ :param solution_role: The new Solution Access Control (required)
5309
+ :type solution_role: SolutionRole
5919
5310
  :param _request_timeout: timeout setting for this request. If one
5920
5311
  number provided, it will be total request
5921
5312
  timeout. It can also be a pair (tuple) of
@@ -5938,11 +5329,11 @@ class SolutionApi:
5938
5329
  :return: Returns the result object.
5939
5330
  """ # noqa: E501
5940
5331
 
5941
- _param = self._update_solution_run_template_serialize(
5332
+ _param = self._update_solution_access_control_serialize(
5942
5333
  organization_id=organization_id,
5943
5334
  solution_id=solution_id,
5944
- run_template_id=run_template_id,
5945
- run_template=run_template,
5335
+ identity_id=identity_id,
5336
+ solution_role=solution_role,
5946
5337
  _request_auth=_request_auth,
5947
5338
  _content_type=_content_type,
5948
5339
  _headers=_headers,
@@ -5950,8 +5341,7 @@ class SolutionApi:
5950
5341
  )
5951
5342
 
5952
5343
  _response_types_map: Dict[str, Optional[str]] = {
5953
- '200': "List[RunTemplate]",
5954
- '400': None,
5344
+ '200': "SolutionAccessControl",
5955
5345
  '404': None,
5956
5346
  }
5957
5347
  response_data = self.api_client.call_api(
@@ -5966,12 +5356,12 @@ class SolutionApi:
5966
5356
 
5967
5357
 
5968
5358
  @validate_call
5969
- def update_solution_run_template_without_preload_content(
5359
+ def update_solution_access_control_without_preload_content(
5970
5360
  self,
5971
5361
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5972
5362
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5973
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
5974
- run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
5363
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5364
+ solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5975
5365
  _request_timeout: Union[
5976
5366
  None,
5977
5367
  Annotated[StrictFloat, Field(gt=0)],
@@ -5985,17 +5375,17 @@ class SolutionApi:
5985
5375
  _headers: Optional[Dict[StrictStr, Any]] = None,
5986
5376
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5987
5377
  ) -> RESTResponseType:
5988
- """Update the specified Solution Run Template
5378
+ """Update the specified access to User for a Solution
5989
5379
 
5990
5380
 
5991
5381
  :param organization_id: the Organization identifier (required)
5992
5382
  :type organization_id: str
5993
5383
  :param solution_id: the Solution identifier (required)
5994
5384
  :type solution_id: str
5995
- :param run_template_id: the Run Template identifier (required)
5996
- :type run_template_id: str
5997
- :param run_template: the Run Templates (required)
5998
- :type run_template: RunTemplate
5385
+ :param identity_id: the User identifier (required)
5386
+ :type identity_id: str
5387
+ :param solution_role: The new Solution Access Control (required)
5388
+ :type solution_role: SolutionRole
5999
5389
  :param _request_timeout: timeout setting for this request. If one
6000
5390
  number provided, it will be total request
6001
5391
  timeout. It can also be a pair (tuple) of
@@ -6018,11 +5408,11 @@ class SolutionApi:
6018
5408
  :return: Returns the result object.
6019
5409
  """ # noqa: E501
6020
5410
 
6021
- _param = self._update_solution_run_template_serialize(
5411
+ _param = self._update_solution_access_control_serialize(
6022
5412
  organization_id=organization_id,
6023
5413
  solution_id=solution_id,
6024
- run_template_id=run_template_id,
6025
- run_template=run_template,
5414
+ identity_id=identity_id,
5415
+ solution_role=solution_role,
6026
5416
  _request_auth=_request_auth,
6027
5417
  _content_type=_content_type,
6028
5418
  _headers=_headers,
@@ -6030,8 +5420,7 @@ class SolutionApi:
6030
5420
  )
6031
5421
 
6032
5422
  _response_types_map: Dict[str, Optional[str]] = {
6033
- '200': "List[RunTemplate]",
6034
- '400': None,
5423
+ '200': "SolutionAccessControl",
6035
5424
  '404': None,
6036
5425
  }
6037
5426
  response_data = self.api_client.call_api(
@@ -6041,12 +5430,12 @@ class SolutionApi:
6041
5430
  return response_data.response
6042
5431
 
6043
5432
 
6044
- def _update_solution_run_template_serialize(
5433
+ def _update_solution_access_control_serialize(
6045
5434
  self,
6046
5435
  organization_id,
6047
5436
  solution_id,
6048
- run_template_id,
6049
- run_template,
5437
+ identity_id,
5438
+ solution_role,
6050
5439
  _request_auth,
6051
5440
  _content_type,
6052
5441
  _headers,
@@ -6062,7 +5451,7 @@ class SolutionApi:
6062
5451
  _query_params: List[Tuple[str, str]] = []
6063
5452
  _header_params: Dict[str, Optional[str]] = _headers or {}
6064
5453
  _form_params: List[Tuple[str, str]] = []
6065
- _files: Dict[str, str] = {}
5454
+ _files: Dict[str, Union[str, bytes]] = {}
6066
5455
  _body_params: Optional[bytes] = None
6067
5456
 
6068
5457
  # process the path parameters
@@ -6070,22 +5459,23 @@ class SolutionApi:
6070
5459
  _path_params['organization_id'] = organization_id
6071
5460
  if solution_id is not None:
6072
5461
  _path_params['solution_id'] = solution_id
6073
- if run_template_id is not None:
6074
- _path_params['run_template_id'] = run_template_id
5462
+ if identity_id is not None:
5463
+ _path_params['identity_id'] = identity_id
6075
5464
  # process the query parameters
6076
5465
  # process the header parameters
6077
5466
  # process the form parameters
6078
5467
  # process the body parameter
6079
- if run_template is not None:
6080
- _body_params = run_template
5468
+ if solution_role is not None:
5469
+ _body_params = solution_role
6081
5470
 
6082
5471
 
6083
5472
  # set the HTTP header `Accept`
6084
- _header_params['Accept'] = self.api_client.select_header_accept(
6085
- [
6086
- 'application/json'
6087
- ]
6088
- )
5473
+ if 'Accept' not in _header_params:
5474
+ _header_params['Accept'] = self.api_client.select_header_accept(
5475
+ [
5476
+ 'application/json'
5477
+ ]
5478
+ )
6089
5479
 
6090
5480
  # set the HTTP header `Content-Type`
6091
5481
  if _content_type:
@@ -6094,8 +5484,7 @@ class SolutionApi:
6094
5484
  _default_content_type = (
6095
5485
  self.api_client.select_header_content_type(
6096
5486
  [
6097
- 'application/json',
6098
- 'application/yaml'
5487
+ 'application/json'
6099
5488
  ]
6100
5489
  )
6101
5490
  )
@@ -6109,7 +5498,7 @@ class SolutionApi:
6109
5498
 
6110
5499
  return self.api_client.param_serialize(
6111
5500
  method='PATCH',
6112
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}',
5501
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
6113
5502
  path_params=_path_params,
6114
5503
  query_params=_query_params,
6115
5504
  header_params=_header_params,
@@ -6126,14 +5515,12 @@ class SolutionApi:
6126
5515
 
6127
5516
 
6128
5517
  @validate_call
6129
- def upload_run_template_handler(
5518
+ def update_solution_run_template(
6130
5519
  self,
6131
5520
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6132
5521
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
6133
5522
  run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
6134
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
6135
- body: Union[StrictBytes, StrictStr],
6136
- overwrite: Annotated[Optional[StrictBool], Field(description="whether to overwrite any existing handler resource")] = None,
5523
+ run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
6137
5524
  _request_timeout: Union[
6138
5525
  None,
6139
5526
  Annotated[StrictFloat, Field(gt=0)],
@@ -6146,8 +5533,8 @@ class SolutionApi:
6146
5533
  _content_type: Optional[StrictStr] = None,
6147
5534
  _headers: Optional[Dict[StrictStr, Any]] = None,
6148
5535
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6149
- ) -> None:
6150
- """Upload a Run Template step handler zip file
5536
+ ) -> List[RunTemplate]:
5537
+ """Update the specified Solution Run Template
6151
5538
 
6152
5539
 
6153
5540
  :param organization_id: the Organization identifier (required)
@@ -6156,12 +5543,8 @@ class SolutionApi:
6156
5543
  :type solution_id: str
6157
5544
  :param run_template_id: the Run Template identifier (required)
6158
5545
  :type run_template_id: str
6159
- :param handler_id: the Handler identifier (required)
6160
- :type handler_id: RunTemplateHandlerId
6161
- :param body: (required)
6162
- :type body: bytearray
6163
- :param overwrite: whether to overwrite any existing handler resource
6164
- :type overwrite: bool
5546
+ :param run_template: the Run Templates (required)
5547
+ :type run_template: RunTemplate
6165
5548
  :param _request_timeout: timeout setting for this request. If one
6166
5549
  number provided, it will be total request
6167
5550
  timeout. It can also be a pair (tuple) of
@@ -6184,13 +5567,11 @@ class SolutionApi:
6184
5567
  :return: Returns the result object.
6185
5568
  """ # noqa: E501
6186
5569
 
6187
- _param = self._upload_run_template_handler_serialize(
5570
+ _param = self._update_solution_run_template_serialize(
6188
5571
  organization_id=organization_id,
6189
5572
  solution_id=solution_id,
6190
5573
  run_template_id=run_template_id,
6191
- handler_id=handler_id,
6192
- body=body,
6193
- overwrite=overwrite,
5574
+ run_template=run_template,
6194
5575
  _request_auth=_request_auth,
6195
5576
  _content_type=_content_type,
6196
5577
  _headers=_headers,
@@ -6198,8 +5579,9 @@ class SolutionApi:
6198
5579
  )
6199
5580
 
6200
5581
  _response_types_map: Dict[str, Optional[str]] = {
6201
- '201': None,
5582
+ '200': "List[RunTemplate]",
6202
5583
  '400': None,
5584
+ '404': None,
6203
5585
  }
6204
5586
  response_data = self.api_client.call_api(
6205
5587
  *_param,
@@ -6213,14 +5595,12 @@ class SolutionApi:
6213
5595
 
6214
5596
 
6215
5597
  @validate_call
6216
- def upload_run_template_handler_with_http_info(
5598
+ def update_solution_run_template_with_http_info(
6217
5599
  self,
6218
5600
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6219
5601
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
6220
5602
  run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
6221
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
6222
- body: Union[StrictBytes, StrictStr],
6223
- overwrite: Annotated[Optional[StrictBool], Field(description="whether to overwrite any existing handler resource")] = None,
5603
+ run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
6224
5604
  _request_timeout: Union[
6225
5605
  None,
6226
5606
  Annotated[StrictFloat, Field(gt=0)],
@@ -6233,8 +5613,8 @@ class SolutionApi:
6233
5613
  _content_type: Optional[StrictStr] = None,
6234
5614
  _headers: Optional[Dict[StrictStr, Any]] = None,
6235
5615
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6236
- ) -> ApiResponse[None]:
6237
- """Upload a Run Template step handler zip file
5616
+ ) -> ApiResponse[List[RunTemplate]]:
5617
+ """Update the specified Solution Run Template
6238
5618
 
6239
5619
 
6240
5620
  :param organization_id: the Organization identifier (required)
@@ -6243,12 +5623,8 @@ class SolutionApi:
6243
5623
  :type solution_id: str
6244
5624
  :param run_template_id: the Run Template identifier (required)
6245
5625
  :type run_template_id: str
6246
- :param handler_id: the Handler identifier (required)
6247
- :type handler_id: RunTemplateHandlerId
6248
- :param body: (required)
6249
- :type body: bytearray
6250
- :param overwrite: whether to overwrite any existing handler resource
6251
- :type overwrite: bool
5626
+ :param run_template: the Run Templates (required)
5627
+ :type run_template: RunTemplate
6252
5628
  :param _request_timeout: timeout setting for this request. If one
6253
5629
  number provided, it will be total request
6254
5630
  timeout. It can also be a pair (tuple) of
@@ -6271,13 +5647,11 @@ class SolutionApi:
6271
5647
  :return: Returns the result object.
6272
5648
  """ # noqa: E501
6273
5649
 
6274
- _param = self._upload_run_template_handler_serialize(
5650
+ _param = self._update_solution_run_template_serialize(
6275
5651
  organization_id=organization_id,
6276
5652
  solution_id=solution_id,
6277
5653
  run_template_id=run_template_id,
6278
- handler_id=handler_id,
6279
- body=body,
6280
- overwrite=overwrite,
5654
+ run_template=run_template,
6281
5655
  _request_auth=_request_auth,
6282
5656
  _content_type=_content_type,
6283
5657
  _headers=_headers,
@@ -6285,8 +5659,9 @@ class SolutionApi:
6285
5659
  )
6286
5660
 
6287
5661
  _response_types_map: Dict[str, Optional[str]] = {
6288
- '201': None,
5662
+ '200': "List[RunTemplate]",
6289
5663
  '400': None,
5664
+ '404': None,
6290
5665
  }
6291
5666
  response_data = self.api_client.call_api(
6292
5667
  *_param,
@@ -6300,14 +5675,12 @@ class SolutionApi:
6300
5675
 
6301
5676
 
6302
5677
  @validate_call
6303
- def upload_run_template_handler_without_preload_content(
5678
+ def update_solution_run_template_without_preload_content(
6304
5679
  self,
6305
5680
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6306
5681
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
6307
5682
  run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
6308
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
6309
- body: Union[StrictBytes, StrictStr],
6310
- overwrite: Annotated[Optional[StrictBool], Field(description="whether to overwrite any existing handler resource")] = None,
5683
+ run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
6311
5684
  _request_timeout: Union[
6312
5685
  None,
6313
5686
  Annotated[StrictFloat, Field(gt=0)],
@@ -6321,7 +5694,7 @@ class SolutionApi:
6321
5694
  _headers: Optional[Dict[StrictStr, Any]] = None,
6322
5695
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6323
5696
  ) -> RESTResponseType:
6324
- """Upload a Run Template step handler zip file
5697
+ """Update the specified Solution Run Template
6325
5698
 
6326
5699
 
6327
5700
  :param organization_id: the Organization identifier (required)
@@ -6330,12 +5703,8 @@ class SolutionApi:
6330
5703
  :type solution_id: str
6331
5704
  :param run_template_id: the Run Template identifier (required)
6332
5705
  :type run_template_id: str
6333
- :param handler_id: the Handler identifier (required)
6334
- :type handler_id: RunTemplateHandlerId
6335
- :param body: (required)
6336
- :type body: bytearray
6337
- :param overwrite: whether to overwrite any existing handler resource
6338
- :type overwrite: bool
5706
+ :param run_template: the Run Templates (required)
5707
+ :type run_template: RunTemplate
6339
5708
  :param _request_timeout: timeout setting for this request. If one
6340
5709
  number provided, it will be total request
6341
5710
  timeout. It can also be a pair (tuple) of
@@ -6358,13 +5727,11 @@ class SolutionApi:
6358
5727
  :return: Returns the result object.
6359
5728
  """ # noqa: E501
6360
5729
 
6361
- _param = self._upload_run_template_handler_serialize(
5730
+ _param = self._update_solution_run_template_serialize(
6362
5731
  organization_id=organization_id,
6363
5732
  solution_id=solution_id,
6364
5733
  run_template_id=run_template_id,
6365
- handler_id=handler_id,
6366
- body=body,
6367
- overwrite=overwrite,
5734
+ run_template=run_template,
6368
5735
  _request_auth=_request_auth,
6369
5736
  _content_type=_content_type,
6370
5737
  _headers=_headers,
@@ -6372,8 +5739,9 @@ class SolutionApi:
6372
5739
  )
6373
5740
 
6374
5741
  _response_types_map: Dict[str, Optional[str]] = {
6375
- '201': None,
5742
+ '200': "List[RunTemplate]",
6376
5743
  '400': None,
5744
+ '404': None,
6377
5745
  }
6378
5746
  response_data = self.api_client.call_api(
6379
5747
  *_param,
@@ -6382,14 +5750,12 @@ class SolutionApi:
6382
5750
  return response_data.response
6383
5751
 
6384
5752
 
6385
- def _upload_run_template_handler_serialize(
5753
+ def _update_solution_run_template_serialize(
6386
5754
  self,
6387
5755
  organization_id,
6388
5756
  solution_id,
6389
5757
  run_template_id,
6390
- handler_id,
6391
- body,
6392
- overwrite,
5758
+ run_template,
6393
5759
  _request_auth,
6394
5760
  _content_type,
6395
5761
  _headers,
@@ -6405,7 +5771,7 @@ class SolutionApi:
6405
5771
  _query_params: List[Tuple[str, str]] = []
6406
5772
  _header_params: Dict[str, Optional[str]] = _headers or {}
6407
5773
  _form_params: List[Tuple[str, str]] = []
6408
- _files: Dict[str, str] = {}
5774
+ _files: Dict[str, Union[str, bytes]] = {}
6409
5775
  _body_params: Optional[bytes] = None
6410
5776
 
6411
5777
  # process the path parameters
@@ -6415,25 +5781,21 @@ class SolutionApi:
6415
5781
  _path_params['solution_id'] = solution_id
6416
5782
  if run_template_id is not None:
6417
5783
  _path_params['run_template_id'] = run_template_id
6418
- if handler_id is not None:
6419
- _path_params['handler_id'] = handler_id.value
6420
5784
  # process the query parameters
6421
- if overwrite is not None:
6422
-
6423
- _query_params.append(('overwrite', overwrite))
6424
-
6425
5785
  # process the header parameters
6426
5786
  # process the form parameters
6427
5787
  # process the body parameter
6428
- if body is not None:
6429
- # convert to byte array if the input is a file name (str)
6430
- if isinstance(body, str):
6431
- with open(body, "rb") as _fp:
6432
- _body_params = _fp.read()
6433
- else:
6434
- _body_params = body
5788
+ if run_template is not None:
5789
+ _body_params = run_template
6435
5790
 
6436
5791
 
5792
+ # set the HTTP header `Accept`
5793
+ if 'Accept' not in _header_params:
5794
+ _header_params['Accept'] = self.api_client.select_header_accept(
5795
+ [
5796
+ 'application/json'
5797
+ ]
5798
+ )
6437
5799
 
6438
5800
  # set the HTTP header `Content-Type`
6439
5801
  if _content_type:
@@ -6442,7 +5804,8 @@ class SolutionApi:
6442
5804
  _default_content_type = (
6443
5805
  self.api_client.select_header_content_type(
6444
5806
  [
6445
- 'application/octet-stream'
5807
+ 'application/json',
5808
+ 'application/yaml'
6446
5809
  ]
6447
5810
  )
6448
5811
  )
@@ -6455,8 +5818,8 @@ class SolutionApi:
6455
5818
  ]
6456
5819
 
6457
5820
  return self.api_client.param_serialize(
6458
- method='POST',
6459
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runtemplates/{run_template_id}/handlers/{handler_id}/upload',
5821
+ method='PATCH',
5822
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}',
6460
5823
  path_params=_path_params,
6461
5824
  query_params=_query_params,
6462
5825
  header_params=_header_params,