cosmotech-api 3.3.4__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 (259) hide show
  1. cosmotech_api/__init__.py +3 -49
  2. cosmotech_api/api/__init__.py +0 -3
  3. cosmotech_api/api/connector_api.py +7 -263
  4. cosmotech_api/api/dataset_api.py +65 -69
  5. cosmotech_api/api/organization_api.py +15 -882
  6. cosmotech_api/api/run_api.py +9 -11
  7. cosmotech_api/api/runner_api.py +20 -21
  8. cosmotech_api/api/scenario_api.py +121 -141
  9. cosmotech_api/api/scenariorun_api.py +66 -76
  10. cosmotech_api/api/scenariorunresult_api.py +1 -1
  11. cosmotech_api/api/solution_api.py +397 -1053
  12. cosmotech_api/api/twingraph_api.py +72 -83
  13. cosmotech_api/api/validator_api.py +1 -1
  14. cosmotech_api/api/workspace_api.py +14 -312
  15. cosmotech_api/api_client.py +1 -1
  16. cosmotech_api/configuration.py +5 -13
  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 +1 -1
  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 +1 -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 -46
  126. cosmotech_api/models/component_role_permissions.py +1 -1
  127. cosmotech_api/models/connector.py +3 -7
  128. cosmotech_api/models/connector_parameter.py +1 -1
  129. cosmotech_api/models/connector_parameter_group.py +1 -1
  130. cosmotech_api/models/container_resource_size_info.py +1 -1
  131. cosmotech_api/models/container_resource_sizing.py +1 -1
  132. cosmotech_api/models/created_run.py +1 -1
  133. cosmotech_api/models/dataset.py +1 -1
  134. cosmotech_api/models/dataset_access_control.py +1 -1
  135. cosmotech_api/models/dataset_compatibility.py +1 -1
  136. cosmotech_api/models/dataset_connector.py +1 -1
  137. cosmotech_api/models/dataset_copy_parameters.py +1 -1
  138. cosmotech_api/models/dataset_role.py +1 -1
  139. cosmotech_api/models/dataset_search.py +1 -1
  140. cosmotech_api/models/dataset_security.py +1 -1
  141. cosmotech_api/models/dataset_source_type.py +1 -1
  142. cosmotech_api/models/dataset_twin_graph_hash.py +1 -1
  143. cosmotech_api/models/dataset_twin_graph_info.py +1 -1
  144. cosmotech_api/models/dataset_twin_graph_query.py +1 -1
  145. cosmotech_api/models/delete_historical_data.py +1 -1
  146. cosmotech_api/models/file_upload_metadata.py +1 -1
  147. cosmotech_api/models/file_upload_validation.py +1 -1
  148. cosmotech_api/models/graph_properties.py +1 -1
  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 +2 -8
  152. cosmotech_api/models/organization_access_control.py +1 -1
  153. cosmotech_api/models/organization_role.py +1 -1
  154. cosmotech_api/models/organization_security.py +1 -1
  155. cosmotech_api/models/organization_service.py +7 -7
  156. cosmotech_api/models/organization_services.py +7 -7
  157. cosmotech_api/models/query_result.py +1 -1
  158. cosmotech_api/models/resource_size_info.py +1 -1
  159. cosmotech_api/models/run.py +1 -1
  160. cosmotech_api/models/run_container.py +3 -13
  161. cosmotech_api/models/run_container_artifact.py +7 -7
  162. cosmotech_api/models/run_container_logs.py +7 -7
  163. cosmotech_api/models/run_data.py +1 -1
  164. cosmotech_api/models/run_data_query.py +1 -1
  165. cosmotech_api/models/run_logs.py +16 -21
  166. cosmotech_api/models/run_logs_entry.py +1 -1
  167. cosmotech_api/models/run_resource_requested.py +1 -1
  168. cosmotech_api/models/run_search.py +7 -7
  169. cosmotech_api/models/run_search_state.py +1 -1
  170. cosmotech_api/models/run_start_containers.py +10 -10
  171. cosmotech_api/models/run_state.py +1 -1
  172. cosmotech_api/models/run_status.py +1 -1
  173. cosmotech_api/models/run_status_node.py +1 -1
  174. cosmotech_api/models/run_template.py +1 -1
  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 +1 -1
  178. cosmotech_api/models/run_template_parameter_group.py +1 -1
  179. cosmotech_api/models/run_template_parameter_value.py +1 -1
  180. cosmotech_api/models/run_template_resource_sizing.py +1 -1
  181. cosmotech_api/models/run_template_step_source.py +1 -1
  182. cosmotech_api/models/runner.py +5 -24
  183. cosmotech_api/models/runner_access_control.py +1 -1
  184. cosmotech_api/models/runner_changed_parameter_value.py +7 -7
  185. cosmotech_api/models/runner_comparison_result.py +10 -10
  186. cosmotech_api/models/runner_data_download_info.py +9 -12
  187. cosmotech_api/models/runner_data_download_job.py +7 -7
  188. cosmotech_api/models/runner_job_state.py +1 -1
  189. cosmotech_api/models/runner_last_run.py +7 -7
  190. cosmotech_api/models/runner_parent_last_run.py +7 -7
  191. cosmotech_api/models/runner_resource_sizing.py +1 -1
  192. cosmotech_api/models/runner_role.py +1 -1
  193. cosmotech_api/models/runner_root_last_run.py +7 -7
  194. cosmotech_api/models/runner_run_template_parameter_value.py +1 -1
  195. cosmotech_api/models/runner_security.py +1 -1
  196. cosmotech_api/models/runner_validation_status.py +1 -1
  197. cosmotech_api/models/scenario.py +10 -10
  198. cosmotech_api/models/scenario_access_control.py +7 -7
  199. cosmotech_api/models/scenario_changed_parameter_value.py +7 -7
  200. cosmotech_api/models/scenario_comparison_result.py +10 -10
  201. cosmotech_api/models/scenario_data_download_info.py +7 -7
  202. cosmotech_api/models/scenario_data_download_job.py +7 -7
  203. cosmotech_api/models/scenario_job_state.py +1 -1
  204. cosmotech_api/models/scenario_last_run.py +7 -7
  205. cosmotech_api/models/scenario_resource_sizing.py +7 -7
  206. cosmotech_api/models/scenario_role.py +7 -7
  207. cosmotech_api/models/scenario_run.py +13 -13
  208. cosmotech_api/models/scenario_run_container.py +10 -10
  209. cosmotech_api/models/scenario_run_container_artifact.py +7 -7
  210. cosmotech_api/models/scenario_run_container_logs.py +7 -7
  211. cosmotech_api/models/scenario_run_logs.py +10 -10
  212. cosmotech_api/models/scenario_run_resource_requested.py +7 -7
  213. cosmotech_api/models/scenario_run_search.py +7 -7
  214. cosmotech_api/models/scenario_run_search_state.py +1 -1
  215. cosmotech_api/models/scenario_run_start_containers.py +10 -10
  216. cosmotech_api/models/scenario_run_state.py +1 -1
  217. cosmotech_api/models/scenario_run_status.py +10 -10
  218. cosmotech_api/models/scenario_run_status_node.py +7 -7
  219. cosmotech_api/models/scenario_run_template_parameter_value.py +7 -7
  220. cosmotech_api/models/scenario_security.py +10 -10
  221. cosmotech_api/models/scenario_validation_status.py +1 -1
  222. cosmotech_api/models/send_run_data_request.py +1 -1
  223. cosmotech_api/models/solution.py +2 -2
  224. cosmotech_api/models/solution_access_control.py +1 -1
  225. cosmotech_api/models/solution_role.py +1 -1
  226. cosmotech_api/models/solution_security.py +1 -1
  227. cosmotech_api/models/source_info.py +1 -1
  228. cosmotech_api/models/sub_dataset_graph_query.py +1 -1
  229. cosmotech_api/models/twin_graph_batch_result.py +1 -1
  230. cosmotech_api/models/twin_graph_hash.py +7 -7
  231. cosmotech_api/models/twin_graph_query.py +7 -7
  232. cosmotech_api/models/twincache_status_enum.py +1 -1
  233. cosmotech_api/models/validator.py +7 -7
  234. cosmotech_api/models/workspace.py +2 -2
  235. cosmotech_api/models/workspace_access_control.py +1 -1
  236. cosmotech_api/models/workspace_file.py +1 -1
  237. cosmotech_api/models/workspace_role.py +1 -1
  238. cosmotech_api/models/workspace_secret.py +7 -7
  239. cosmotech_api/models/workspace_security.py +1 -1
  240. cosmotech_api/models/workspace_solution.py +1 -1
  241. cosmotech_api/models/workspace_web_app.py +1 -1
  242. cosmotech_api/rest.py +1 -1
  243. {cosmotech_api-3.3.4.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/METADATA +5 -13
  244. cosmotech_api-4.0.0.dev8.dist-info/RECORD +262 -0
  245. {cosmotech_api-3.3.4.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/WHEEL +1 -1
  246. cosmotech_api/api/meta_api.py +0 -281
  247. cosmotech_api/models/about_info.py +0 -92
  248. cosmotech_api/models/about_info_version.py +0 -100
  249. cosmotech_api/models/organization_create_request.py +0 -95
  250. cosmotech_api/models/organization_update_request.py +0 -89
  251. cosmotech_api/models/runner_create_request.py +0 -154
  252. cosmotech_api/models/runner_update_request.py +0 -123
  253. cosmotech_api/models/solution_create_request.py +0 -143
  254. cosmotech_api/models/solution_update_request.py +0 -107
  255. cosmotech_api/models/workspace_create_request.py +0 -117
  256. cosmotech_api/models/workspace_update_request.py +0 -109
  257. cosmotech_api-3.3.4.dist-info/RECORD +0 -273
  258. {cosmotech_api-3.3.4.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/LICENSE +0 -0
  259. {cosmotech_api-3.3.4.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.3.4
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
@@ -323,8 +322,7 @@ class SolutionApi:
323
322
  _default_content_type = (
324
323
  self.api_client.select_header_content_type(
325
324
  [
326
- 'application/json',
327
- 'application/yaml'
325
+ 'application/json'
328
326
  ]
329
327
  )
330
328
  )
@@ -630,8 +628,7 @@ class SolutionApi:
630
628
  _default_content_type = (
631
629
  self.api_client.select_header_content_type(
632
630
  [
633
- 'application/json',
634
- 'application/yaml'
631
+ 'application/json'
635
632
  ]
636
633
  )
637
634
  )
@@ -937,8 +934,7 @@ class SolutionApi:
937
934
  _default_content_type = (
938
935
  self.api_client.select_header_content_type(
939
936
  [
940
- 'application/json',
941
- 'application/yaml'
937
+ 'application/json'
942
938
  ]
943
939
  )
944
940
  )
@@ -2109,12 +2105,11 @@ class SolutionApi:
2109
2105
 
2110
2106
 
2111
2107
  @validate_call
2112
- def download_run_template_handler(
2108
+ def find_all_solutions(
2113
2109
  self,
2114
2110
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2115
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2116
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
2117
- 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,
2118
2113
  _request_timeout: Union[
2119
2114
  None,
2120
2115
  Annotated[StrictFloat, Field(gt=0)],
@@ -2127,18 +2122,16 @@ class SolutionApi:
2127
2122
  _content_type: Optional[StrictStr] = None,
2128
2123
  _headers: Optional[Dict[StrictStr, Any]] = None,
2129
2124
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2130
- ) -> bytearray:
2131
- """Download a Run Template step handler zip file
2125
+ ) -> List[Solution]:
2126
+ """List all Solutions
2132
2127
 
2133
2128
 
2134
2129
  :param organization_id: the Organization identifier (required)
2135
2130
  :type organization_id: str
2136
- :param solution_id: the Solution identifier (required)
2137
- :type solution_id: str
2138
- :param run_template_id: the Run Template identifier (required)
2139
- :type run_template_id: str
2140
- :param handler_id: the Handler identifier (required)
2141
- :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
2142
2135
  :param _request_timeout: timeout setting for this request. If one
2143
2136
  number provided, it will be total request
2144
2137
  timeout. It can also be a pair (tuple) of
@@ -2161,11 +2154,10 @@ class SolutionApi:
2161
2154
  :return: Returns the result object.
2162
2155
  """ # noqa: E501
2163
2156
 
2164
- _param = self._download_run_template_handler_serialize(
2157
+ _param = self._find_all_solutions_serialize(
2165
2158
  organization_id=organization_id,
2166
- solution_id=solution_id,
2167
- run_template_id=run_template_id,
2168
- handler_id=handler_id,
2159
+ page=page,
2160
+ size=size,
2169
2161
  _request_auth=_request_auth,
2170
2162
  _content_type=_content_type,
2171
2163
  _headers=_headers,
@@ -2173,8 +2165,7 @@ class SolutionApi:
2173
2165
  )
2174
2166
 
2175
2167
  _response_types_map: Dict[str, Optional[str]] = {
2176
- '200': "bytearray",
2177
- '404': None,
2168
+ '200': "List[Solution]",
2178
2169
  }
2179
2170
  response_data = self.api_client.call_api(
2180
2171
  *_param,
@@ -2188,12 +2179,11 @@ class SolutionApi:
2188
2179
 
2189
2180
 
2190
2181
  @validate_call
2191
- def download_run_template_handler_with_http_info(
2182
+ def find_all_solutions_with_http_info(
2192
2183
  self,
2193
2184
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2194
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2195
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
2196
- 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,
2197
2187
  _request_timeout: Union[
2198
2188
  None,
2199
2189
  Annotated[StrictFloat, Field(gt=0)],
@@ -2206,18 +2196,16 @@ class SolutionApi:
2206
2196
  _content_type: Optional[StrictStr] = None,
2207
2197
  _headers: Optional[Dict[StrictStr, Any]] = None,
2208
2198
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2209
- ) -> ApiResponse[bytearray]:
2210
- """Download a Run Template step handler zip file
2199
+ ) -> ApiResponse[List[Solution]]:
2200
+ """List all Solutions
2211
2201
 
2212
2202
 
2213
2203
  :param organization_id: the Organization identifier (required)
2214
2204
  :type organization_id: str
2215
- :param solution_id: the Solution identifier (required)
2216
- :type solution_id: str
2217
- :param run_template_id: the Run Template identifier (required)
2218
- :type run_template_id: str
2219
- :param handler_id: the Handler identifier (required)
2220
- :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
2221
2209
  :param _request_timeout: timeout setting for this request. If one
2222
2210
  number provided, it will be total request
2223
2211
  timeout. It can also be a pair (tuple) of
@@ -2240,11 +2228,10 @@ class SolutionApi:
2240
2228
  :return: Returns the result object.
2241
2229
  """ # noqa: E501
2242
2230
 
2243
- _param = self._download_run_template_handler_serialize(
2231
+ _param = self._find_all_solutions_serialize(
2244
2232
  organization_id=organization_id,
2245
- solution_id=solution_id,
2246
- run_template_id=run_template_id,
2247
- handler_id=handler_id,
2233
+ page=page,
2234
+ size=size,
2248
2235
  _request_auth=_request_auth,
2249
2236
  _content_type=_content_type,
2250
2237
  _headers=_headers,
@@ -2252,8 +2239,7 @@ class SolutionApi:
2252
2239
  )
2253
2240
 
2254
2241
  _response_types_map: Dict[str, Optional[str]] = {
2255
- '200': "bytearray",
2256
- '404': None,
2242
+ '200': "List[Solution]",
2257
2243
  }
2258
2244
  response_data = self.api_client.call_api(
2259
2245
  *_param,
@@ -2267,12 +2253,11 @@ class SolutionApi:
2267
2253
 
2268
2254
 
2269
2255
  @validate_call
2270
- def download_run_template_handler_without_preload_content(
2256
+ def find_all_solutions_without_preload_content(
2271
2257
  self,
2272
2258
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2273
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2274
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
2275
- 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,
2276
2261
  _request_timeout: Union[
2277
2262
  None,
2278
2263
  Annotated[StrictFloat, Field(gt=0)],
@@ -2286,17 +2271,15 @@ class SolutionApi:
2286
2271
  _headers: Optional[Dict[StrictStr, Any]] = None,
2287
2272
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2288
2273
  ) -> RESTResponseType:
2289
- """Download a Run Template step handler zip file
2274
+ """List all Solutions
2290
2275
 
2291
2276
 
2292
2277
  :param organization_id: the Organization identifier (required)
2293
2278
  :type organization_id: str
2294
- :param solution_id: the Solution identifier (required)
2295
- :type solution_id: str
2296
- :param run_template_id: the Run Template identifier (required)
2297
- :type run_template_id: str
2298
- :param handler_id: the Handler identifier (required)
2299
- :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
2300
2283
  :param _request_timeout: timeout setting for this request. If one
2301
2284
  number provided, it will be total request
2302
2285
  timeout. It can also be a pair (tuple) of
@@ -2319,11 +2302,10 @@ class SolutionApi:
2319
2302
  :return: Returns the result object.
2320
2303
  """ # noqa: E501
2321
2304
 
2322
- _param = self._download_run_template_handler_serialize(
2305
+ _param = self._find_all_solutions_serialize(
2323
2306
  organization_id=organization_id,
2324
- solution_id=solution_id,
2325
- run_template_id=run_template_id,
2326
- handler_id=handler_id,
2307
+ page=page,
2308
+ size=size,
2327
2309
  _request_auth=_request_auth,
2328
2310
  _content_type=_content_type,
2329
2311
  _headers=_headers,
@@ -2331,8 +2313,7 @@ class SolutionApi:
2331
2313
  )
2332
2314
 
2333
2315
  _response_types_map: Dict[str, Optional[str]] = {
2334
- '200': "bytearray",
2335
- '404': None,
2316
+ '200': "List[Solution]",
2336
2317
  }
2337
2318
  response_data = self.api_client.call_api(
2338
2319
  *_param,
@@ -2341,12 +2322,11 @@ class SolutionApi:
2341
2322
  return response_data.response
2342
2323
 
2343
2324
 
2344
- def _download_run_template_handler_serialize(
2325
+ def _find_all_solutions_serialize(
2345
2326
  self,
2346
2327
  organization_id,
2347
- solution_id,
2348
- run_template_id,
2349
- handler_id,
2328
+ page,
2329
+ size,
2350
2330
  _request_auth,
2351
2331
  _content_type,
2352
2332
  _headers,
@@ -2368,13 +2348,15 @@ class SolutionApi:
2368
2348
  # process the path parameters
2369
2349
  if organization_id is not None:
2370
2350
  _path_params['organization_id'] = organization_id
2371
- if solution_id is not None:
2372
- _path_params['solution_id'] = solution_id
2373
- if run_template_id is not None:
2374
- _path_params['run_template_id'] = run_template_id
2375
- if handler_id is not None:
2376
- _path_params['handler_id'] = handler_id.value
2377
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
+
2378
2360
  # process the header parameters
2379
2361
  # process the form parameters
2380
2362
  # process the body parameter
@@ -2384,7 +2366,7 @@ class SolutionApi:
2384
2366
  if 'Accept' not in _header_params:
2385
2367
  _header_params['Accept'] = self.api_client.select_header_accept(
2386
2368
  [
2387
- 'application/octet-stream'
2369
+ 'application/json'
2388
2370
  ]
2389
2371
  )
2390
2372
 
@@ -2396,7 +2378,7 @@ class SolutionApi:
2396
2378
 
2397
2379
  return self.api_client.param_serialize(
2398
2380
  method='GET',
2399
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runtemplates/{run_template_id}/handlers/{handler_id}/download',
2381
+ resource_path='/organizations/{organization_id}/solutions',
2400
2382
  path_params=_path_params,
2401
2383
  query_params=_query_params,
2402
2384
  header_params=_header_params,
@@ -2413,11 +2395,10 @@ class SolutionApi:
2413
2395
 
2414
2396
 
2415
2397
  @validate_call
2416
- def find_all_solutions(
2398
+ def find_solution_by_id(
2417
2399
  self,
2418
2400
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2419
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2420
- size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2401
+ solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2421
2402
  _request_timeout: Union[
2422
2403
  None,
2423
2404
  Annotated[StrictFloat, Field(gt=0)],
@@ -2430,16 +2411,14 @@ class SolutionApi:
2430
2411
  _content_type: Optional[StrictStr] = None,
2431
2412
  _headers: Optional[Dict[StrictStr, Any]] = None,
2432
2413
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2433
- ) -> List[Solution]:
2434
- """List all Solutions
2414
+ ) -> Solution:
2415
+ """Get the details of a solution
2435
2416
 
2436
2417
 
2437
2418
  :param organization_id: the Organization identifier (required)
2438
2419
  :type organization_id: str
2439
- :param page: page number to query
2440
- :type page: int
2441
- :param size: amount of result by page
2442
- :type size: int
2420
+ :param solution_id: the Solution identifier (required)
2421
+ :type solution_id: str
2443
2422
  :param _request_timeout: timeout setting for this request. If one
2444
2423
  number provided, it will be total request
2445
2424
  timeout. It can also be a pair (tuple) of
@@ -2462,10 +2441,9 @@ class SolutionApi:
2462
2441
  :return: Returns the result object.
2463
2442
  """ # noqa: E501
2464
2443
 
2465
- _param = self._find_all_solutions_serialize(
2444
+ _param = self._find_solution_by_id_serialize(
2466
2445
  organization_id=organization_id,
2467
- page=page,
2468
- size=size,
2446
+ solution_id=solution_id,
2469
2447
  _request_auth=_request_auth,
2470
2448
  _content_type=_content_type,
2471
2449
  _headers=_headers,
@@ -2473,7 +2451,8 @@ class SolutionApi:
2473
2451
  )
2474
2452
 
2475
2453
  _response_types_map: Dict[str, Optional[str]] = {
2476
- '200': "List[Solution]",
2454
+ '200': "Solution",
2455
+ '404': None,
2477
2456
  }
2478
2457
  response_data = self.api_client.call_api(
2479
2458
  *_param,
@@ -2487,11 +2466,10 @@ class SolutionApi:
2487
2466
 
2488
2467
 
2489
2468
  @validate_call
2490
- def find_all_solutions_with_http_info(
2469
+ def find_solution_by_id_with_http_info(
2491
2470
  self,
2492
2471
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2493
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2494
- size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2472
+ solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2495
2473
  _request_timeout: Union[
2496
2474
  None,
2497
2475
  Annotated[StrictFloat, Field(gt=0)],
@@ -2504,16 +2482,14 @@ class SolutionApi:
2504
2482
  _content_type: Optional[StrictStr] = None,
2505
2483
  _headers: Optional[Dict[StrictStr, Any]] = None,
2506
2484
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2507
- ) -> ApiResponse[List[Solution]]:
2508
- """List all Solutions
2485
+ ) -> ApiResponse[Solution]:
2486
+ """Get the details of a solution
2509
2487
 
2510
2488
 
2511
2489
  :param organization_id: the Organization identifier (required)
2512
2490
  :type organization_id: str
2513
- :param page: page number to query
2514
- :type page: int
2515
- :param size: amount of result by page
2516
- :type size: int
2491
+ :param solution_id: the Solution identifier (required)
2492
+ :type solution_id: str
2517
2493
  :param _request_timeout: timeout setting for this request. If one
2518
2494
  number provided, it will be total request
2519
2495
  timeout. It can also be a pair (tuple) of
@@ -2536,10 +2512,9 @@ class SolutionApi:
2536
2512
  :return: Returns the result object.
2537
2513
  """ # noqa: E501
2538
2514
 
2539
- _param = self._find_all_solutions_serialize(
2515
+ _param = self._find_solution_by_id_serialize(
2540
2516
  organization_id=organization_id,
2541
- page=page,
2542
- size=size,
2517
+ solution_id=solution_id,
2543
2518
  _request_auth=_request_auth,
2544
2519
  _content_type=_content_type,
2545
2520
  _headers=_headers,
@@ -2547,7 +2522,8 @@ class SolutionApi:
2547
2522
  )
2548
2523
 
2549
2524
  _response_types_map: Dict[str, Optional[str]] = {
2550
- '200': "List[Solution]",
2525
+ '200': "Solution",
2526
+ '404': None,
2551
2527
  }
2552
2528
  response_data = self.api_client.call_api(
2553
2529
  *_param,
@@ -2561,11 +2537,10 @@ class SolutionApi:
2561
2537
 
2562
2538
 
2563
2539
  @validate_call
2564
- def find_all_solutions_without_preload_content(
2540
+ def find_solution_by_id_without_preload_content(
2565
2541
  self,
2566
2542
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2567
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2568
- size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2543
+ solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2569
2544
  _request_timeout: Union[
2570
2545
  None,
2571
2546
  Annotated[StrictFloat, Field(gt=0)],
@@ -2579,15 +2554,13 @@ class SolutionApi:
2579
2554
  _headers: Optional[Dict[StrictStr, Any]] = None,
2580
2555
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2581
2556
  ) -> RESTResponseType:
2582
- """List all Solutions
2557
+ """Get the details of a solution
2583
2558
 
2584
2559
 
2585
2560
  :param organization_id: the Organization identifier (required)
2586
2561
  :type organization_id: str
2587
- :param page: page number to query
2588
- :type page: int
2589
- :param size: amount of result by page
2590
- :type size: int
2562
+ :param solution_id: the Solution identifier (required)
2563
+ :type solution_id: str
2591
2564
  :param _request_timeout: timeout setting for this request. If one
2592
2565
  number provided, it will be total request
2593
2566
  timeout. It can also be a pair (tuple) of
@@ -2610,10 +2583,9 @@ class SolutionApi:
2610
2583
  :return: Returns the result object.
2611
2584
  """ # noqa: E501
2612
2585
 
2613
- _param = self._find_all_solutions_serialize(
2586
+ _param = self._find_solution_by_id_serialize(
2614
2587
  organization_id=organization_id,
2615
- page=page,
2616
- size=size,
2588
+ solution_id=solution_id,
2617
2589
  _request_auth=_request_auth,
2618
2590
  _content_type=_content_type,
2619
2591
  _headers=_headers,
@@ -2621,7 +2593,8 @@ class SolutionApi:
2621
2593
  )
2622
2594
 
2623
2595
  _response_types_map: Dict[str, Optional[str]] = {
2624
- '200': "List[Solution]",
2596
+ '200': "Solution",
2597
+ '404': None,
2625
2598
  }
2626
2599
  response_data = self.api_client.call_api(
2627
2600
  *_param,
@@ -2630,11 +2603,10 @@ class SolutionApi:
2630
2603
  return response_data.response
2631
2604
 
2632
2605
 
2633
- def _find_all_solutions_serialize(
2606
+ def _find_solution_by_id_serialize(
2634
2607
  self,
2635
2608
  organization_id,
2636
- page,
2637
- size,
2609
+ solution_id,
2638
2610
  _request_auth,
2639
2611
  _content_type,
2640
2612
  _headers,
@@ -2656,15 +2628,9 @@ class SolutionApi:
2656
2628
  # process the path parameters
2657
2629
  if organization_id is not None:
2658
2630
  _path_params['organization_id'] = organization_id
2631
+ if solution_id is not None:
2632
+ _path_params['solution_id'] = solution_id
2659
2633
  # process the query parameters
2660
- if page is not None:
2661
-
2662
- _query_params.append(('page', page))
2663
-
2664
- if size is not None:
2665
-
2666
- _query_params.append(('size', size))
2667
-
2668
2634
  # process the header parameters
2669
2635
  # process the form parameters
2670
2636
  # process the body parameter
@@ -2686,7 +2652,7 @@ class SolutionApi:
2686
2652
 
2687
2653
  return self.api_client.param_serialize(
2688
2654
  method='GET',
2689
- resource_path='/organizations/{organization_id}/solutions',
2655
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}',
2690
2656
  path_params=_path_params,
2691
2657
  query_params=_query_params,
2692
2658
  header_params=_header_params,
@@ -2703,10 +2669,11 @@ class SolutionApi:
2703
2669
 
2704
2670
 
2705
2671
  @validate_call
2706
- def find_solution_by_id(
2672
+ def get_solution_access_control(
2707
2673
  self,
2708
2674
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2709
2675
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2676
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2710
2677
  _request_timeout: Union[
2711
2678
  None,
2712
2679
  Annotated[StrictFloat, Field(gt=0)],
@@ -2719,14 +2686,16 @@ class SolutionApi:
2719
2686
  _content_type: Optional[StrictStr] = None,
2720
2687
  _headers: Optional[Dict[StrictStr, Any]] = None,
2721
2688
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2722
- ) -> Solution:
2723
- """Get the details of a solution
2689
+ ) -> SolutionAccessControl:
2690
+ """Get a control access for the Solution
2724
2691
 
2725
2692
 
2726
2693
  :param organization_id: the Organization identifier (required)
2727
2694
  :type organization_id: str
2728
2695
  :param solution_id: the Solution identifier (required)
2729
2696
  :type solution_id: str
2697
+ :param identity_id: the User identifier (required)
2698
+ :type identity_id: str
2730
2699
  :param _request_timeout: timeout setting for this request. If one
2731
2700
  number provided, it will be total request
2732
2701
  timeout. It can also be a pair (tuple) of
@@ -2749,9 +2718,10 @@ class SolutionApi:
2749
2718
  :return: Returns the result object.
2750
2719
  """ # noqa: E501
2751
2720
 
2752
- _param = self._find_solution_by_id_serialize(
2721
+ _param = self._get_solution_access_control_serialize(
2753
2722
  organization_id=organization_id,
2754
2723
  solution_id=solution_id,
2724
+ identity_id=identity_id,
2755
2725
  _request_auth=_request_auth,
2756
2726
  _content_type=_content_type,
2757
2727
  _headers=_headers,
@@ -2759,7 +2729,7 @@ class SolutionApi:
2759
2729
  )
2760
2730
 
2761
2731
  _response_types_map: Dict[str, Optional[str]] = {
2762
- '200': "Solution",
2732
+ '200': "SolutionAccessControl",
2763
2733
  '404': None,
2764
2734
  }
2765
2735
  response_data = self.api_client.call_api(
@@ -2774,10 +2744,11 @@ class SolutionApi:
2774
2744
 
2775
2745
 
2776
2746
  @validate_call
2777
- def find_solution_by_id_with_http_info(
2747
+ def get_solution_access_control_with_http_info(
2778
2748
  self,
2779
2749
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2780
2750
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2751
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2781
2752
  _request_timeout: Union[
2782
2753
  None,
2783
2754
  Annotated[StrictFloat, Field(gt=0)],
@@ -2790,14 +2761,16 @@ class SolutionApi:
2790
2761
  _content_type: Optional[StrictStr] = None,
2791
2762
  _headers: Optional[Dict[StrictStr, Any]] = None,
2792
2763
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2793
- ) -> ApiResponse[Solution]:
2794
- """Get the details of a solution
2764
+ ) -> ApiResponse[SolutionAccessControl]:
2765
+ """Get a control access for the Solution
2795
2766
 
2796
2767
 
2797
2768
  :param organization_id: the Organization identifier (required)
2798
2769
  :type organization_id: str
2799
2770
  :param solution_id: the Solution identifier (required)
2800
2771
  :type solution_id: str
2772
+ :param identity_id: the User identifier (required)
2773
+ :type identity_id: str
2801
2774
  :param _request_timeout: timeout setting for this request. If one
2802
2775
  number provided, it will be total request
2803
2776
  timeout. It can also be a pair (tuple) of
@@ -2820,9 +2793,10 @@ class SolutionApi:
2820
2793
  :return: Returns the result object.
2821
2794
  """ # noqa: E501
2822
2795
 
2823
- _param = self._find_solution_by_id_serialize(
2796
+ _param = self._get_solution_access_control_serialize(
2824
2797
  organization_id=organization_id,
2825
2798
  solution_id=solution_id,
2799
+ identity_id=identity_id,
2826
2800
  _request_auth=_request_auth,
2827
2801
  _content_type=_content_type,
2828
2802
  _headers=_headers,
@@ -2830,7 +2804,7 @@ class SolutionApi:
2830
2804
  )
2831
2805
 
2832
2806
  _response_types_map: Dict[str, Optional[str]] = {
2833
- '200': "Solution",
2807
+ '200': "SolutionAccessControl",
2834
2808
  '404': None,
2835
2809
  }
2836
2810
  response_data = self.api_client.call_api(
@@ -2845,10 +2819,11 @@ class SolutionApi:
2845
2819
 
2846
2820
 
2847
2821
  @validate_call
2848
- def find_solution_by_id_without_preload_content(
2822
+ def get_solution_access_control_without_preload_content(
2849
2823
  self,
2850
2824
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2851
2825
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2826
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2852
2827
  _request_timeout: Union[
2853
2828
  None,
2854
2829
  Annotated[StrictFloat, Field(gt=0)],
@@ -2862,13 +2837,15 @@ class SolutionApi:
2862
2837
  _headers: Optional[Dict[StrictStr, Any]] = None,
2863
2838
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2864
2839
  ) -> RESTResponseType:
2865
- """Get the details of a solution
2840
+ """Get a control access for the Solution
2866
2841
 
2867
2842
 
2868
2843
  :param organization_id: the Organization identifier (required)
2869
2844
  :type organization_id: str
2870
2845
  :param solution_id: the Solution identifier (required)
2871
2846
  :type solution_id: str
2847
+ :param identity_id: the User identifier (required)
2848
+ :type identity_id: str
2872
2849
  :param _request_timeout: timeout setting for this request. If one
2873
2850
  number provided, it will be total request
2874
2851
  timeout. It can also be a pair (tuple) of
@@ -2891,9 +2868,10 @@ class SolutionApi:
2891
2868
  :return: Returns the result object.
2892
2869
  """ # noqa: E501
2893
2870
 
2894
- _param = self._find_solution_by_id_serialize(
2871
+ _param = self._get_solution_access_control_serialize(
2895
2872
  organization_id=organization_id,
2896
2873
  solution_id=solution_id,
2874
+ identity_id=identity_id,
2897
2875
  _request_auth=_request_auth,
2898
2876
  _content_type=_content_type,
2899
2877
  _headers=_headers,
@@ -2901,7 +2879,7 @@ class SolutionApi:
2901
2879
  )
2902
2880
 
2903
2881
  _response_types_map: Dict[str, Optional[str]] = {
2904
- '200': "Solution",
2882
+ '200': "SolutionAccessControl",
2905
2883
  '404': None,
2906
2884
  }
2907
2885
  response_data = self.api_client.call_api(
@@ -2911,10 +2889,11 @@ class SolutionApi:
2911
2889
  return response_data.response
2912
2890
 
2913
2891
 
2914
- def _find_solution_by_id_serialize(
2892
+ def _get_solution_access_control_serialize(
2915
2893
  self,
2916
2894
  organization_id,
2917
2895
  solution_id,
2896
+ identity_id,
2918
2897
  _request_auth,
2919
2898
  _content_type,
2920
2899
  _headers,
@@ -2938,6 +2917,8 @@ class SolutionApi:
2938
2917
  _path_params['organization_id'] = organization_id
2939
2918
  if solution_id is not None:
2940
2919
  _path_params['solution_id'] = solution_id
2920
+ if identity_id is not None:
2921
+ _path_params['identity_id'] = identity_id
2941
2922
  # process the query parameters
2942
2923
  # process the header parameters
2943
2924
  # process the form parameters
@@ -2960,7 +2941,7 @@ class SolutionApi:
2960
2941
 
2961
2942
  return self.api_client.param_serialize(
2962
2943
  method='GET',
2963
- resource_path='/organizations/{organization_id}/solutions/{solution_id}',
2944
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
2964
2945
  path_params=_path_params,
2965
2946
  query_params=_query_params,
2966
2947
  header_params=_header_params,
@@ -2977,11 +2958,10 @@ class SolutionApi:
2977
2958
 
2978
2959
 
2979
2960
  @validate_call
2980
- def get_solution_access_control(
2961
+ def get_solution_security(
2981
2962
  self,
2982
2963
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2983
2964
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2984
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2985
2965
  _request_timeout: Union[
2986
2966
  None,
2987
2967
  Annotated[StrictFloat, Field(gt=0)],
@@ -2994,16 +2974,14 @@ class SolutionApi:
2994
2974
  _content_type: Optional[StrictStr] = None,
2995
2975
  _headers: Optional[Dict[StrictStr, Any]] = None,
2996
2976
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2997
- ) -> SolutionAccessControl:
2998
- """Get a control access for the Solution
2977
+ ) -> SolutionSecurity:
2978
+ """Get the Solution security information
2999
2979
 
3000
2980
 
3001
2981
  :param organization_id: the Organization identifier (required)
3002
2982
  :type organization_id: str
3003
2983
  :param solution_id: the Solution identifier (required)
3004
2984
  :type solution_id: str
3005
- :param identity_id: the User identifier (required)
3006
- :type identity_id: str
3007
2985
  :param _request_timeout: timeout setting for this request. If one
3008
2986
  number provided, it will be total request
3009
2987
  timeout. It can also be a pair (tuple) of
@@ -3026,10 +3004,9 @@ class SolutionApi:
3026
3004
  :return: Returns the result object.
3027
3005
  """ # noqa: E501
3028
3006
 
3029
- _param = self._get_solution_access_control_serialize(
3007
+ _param = self._get_solution_security_serialize(
3030
3008
  organization_id=organization_id,
3031
3009
  solution_id=solution_id,
3032
- identity_id=identity_id,
3033
3010
  _request_auth=_request_auth,
3034
3011
  _content_type=_content_type,
3035
3012
  _headers=_headers,
@@ -3037,7 +3014,7 @@ class SolutionApi:
3037
3014
  )
3038
3015
 
3039
3016
  _response_types_map: Dict[str, Optional[str]] = {
3040
- '200': "SolutionAccessControl",
3017
+ '200': "SolutionSecurity",
3041
3018
  '404': None,
3042
3019
  }
3043
3020
  response_data = self.api_client.call_api(
@@ -3052,11 +3029,10 @@ class SolutionApi:
3052
3029
 
3053
3030
 
3054
3031
  @validate_call
3055
- def get_solution_access_control_with_http_info(
3032
+ def get_solution_security_with_http_info(
3056
3033
  self,
3057
3034
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3058
3035
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
3059
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
3060
3036
  _request_timeout: Union[
3061
3037
  None,
3062
3038
  Annotated[StrictFloat, Field(gt=0)],
@@ -3069,16 +3045,14 @@ class SolutionApi:
3069
3045
  _content_type: Optional[StrictStr] = None,
3070
3046
  _headers: Optional[Dict[StrictStr, Any]] = None,
3071
3047
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3072
- ) -> ApiResponse[SolutionAccessControl]:
3073
- """Get a control access for the Solution
3048
+ ) -> ApiResponse[SolutionSecurity]:
3049
+ """Get the Solution security information
3074
3050
 
3075
3051
 
3076
3052
  :param organization_id: the Organization identifier (required)
3077
3053
  :type organization_id: str
3078
3054
  :param solution_id: the Solution identifier (required)
3079
3055
  :type solution_id: str
3080
- :param identity_id: the User identifier (required)
3081
- :type identity_id: str
3082
3056
  :param _request_timeout: timeout setting for this request. If one
3083
3057
  number provided, it will be total request
3084
3058
  timeout. It can also be a pair (tuple) of
@@ -3101,10 +3075,9 @@ class SolutionApi:
3101
3075
  :return: Returns the result object.
3102
3076
  """ # noqa: E501
3103
3077
 
3104
- _param = self._get_solution_access_control_serialize(
3078
+ _param = self._get_solution_security_serialize(
3105
3079
  organization_id=organization_id,
3106
3080
  solution_id=solution_id,
3107
- identity_id=identity_id,
3108
3081
  _request_auth=_request_auth,
3109
3082
  _content_type=_content_type,
3110
3083
  _headers=_headers,
@@ -3112,7 +3085,7 @@ class SolutionApi:
3112
3085
  )
3113
3086
 
3114
3087
  _response_types_map: Dict[str, Optional[str]] = {
3115
- '200': "SolutionAccessControl",
3088
+ '200': "SolutionSecurity",
3116
3089
  '404': None,
3117
3090
  }
3118
3091
  response_data = self.api_client.call_api(
@@ -3127,11 +3100,10 @@ class SolutionApi:
3127
3100
 
3128
3101
 
3129
3102
  @validate_call
3130
- def get_solution_access_control_without_preload_content(
3103
+ def get_solution_security_without_preload_content(
3131
3104
  self,
3132
3105
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3133
3106
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
3134
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
3135
3107
  _request_timeout: Union[
3136
3108
  None,
3137
3109
  Annotated[StrictFloat, Field(gt=0)],
@@ -3145,15 +3117,13 @@ class SolutionApi:
3145
3117
  _headers: Optional[Dict[StrictStr, Any]] = None,
3146
3118
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3147
3119
  ) -> RESTResponseType:
3148
- """Get a control access for the Solution
3120
+ """Get the Solution security information
3149
3121
 
3150
3122
 
3151
3123
  :param organization_id: the Organization identifier (required)
3152
3124
  :type organization_id: str
3153
3125
  :param solution_id: the Solution identifier (required)
3154
3126
  :type solution_id: str
3155
- :param identity_id: the User identifier (required)
3156
- :type identity_id: str
3157
3127
  :param _request_timeout: timeout setting for this request. If one
3158
3128
  number provided, it will be total request
3159
3129
  timeout. It can also be a pair (tuple) of
@@ -3176,10 +3146,9 @@ class SolutionApi:
3176
3146
  :return: Returns the result object.
3177
3147
  """ # noqa: E501
3178
3148
 
3179
- _param = self._get_solution_access_control_serialize(
3149
+ _param = self._get_solution_security_serialize(
3180
3150
  organization_id=organization_id,
3181
3151
  solution_id=solution_id,
3182
- identity_id=identity_id,
3183
3152
  _request_auth=_request_auth,
3184
3153
  _content_type=_content_type,
3185
3154
  _headers=_headers,
@@ -3187,7 +3156,7 @@ class SolutionApi:
3187
3156
  )
3188
3157
 
3189
3158
  _response_types_map: Dict[str, Optional[str]] = {
3190
- '200': "SolutionAccessControl",
3159
+ '200': "SolutionSecurity",
3191
3160
  '404': None,
3192
3161
  }
3193
3162
  response_data = self.api_client.call_api(
@@ -3197,11 +3166,10 @@ class SolutionApi:
3197
3166
  return response_data.response
3198
3167
 
3199
3168
 
3200
- def _get_solution_access_control_serialize(
3169
+ def _get_solution_security_serialize(
3201
3170
  self,
3202
3171
  organization_id,
3203
3172
  solution_id,
3204
- identity_id,
3205
3173
  _request_auth,
3206
3174
  _content_type,
3207
3175
  _headers,
@@ -3225,8 +3193,6 @@ class SolutionApi:
3225
3193
  _path_params['organization_id'] = organization_id
3226
3194
  if solution_id is not None:
3227
3195
  _path_params['solution_id'] = solution_id
3228
- if identity_id is not None:
3229
- _path_params['identity_id'] = identity_id
3230
3196
  # process the query parameters
3231
3197
  # process the header parameters
3232
3198
  # process the form parameters
@@ -3249,7 +3215,7 @@ class SolutionApi:
3249
3215
 
3250
3216
  return self.api_client.param_serialize(
3251
3217
  method='GET',
3252
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
3218
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security',
3253
3219
  path_params=_path_params,
3254
3220
  query_params=_query_params,
3255
3221
  header_params=_header_params,
@@ -3266,7 +3232,7 @@ class SolutionApi:
3266
3232
 
3267
3233
 
3268
3234
  @validate_call
3269
- def get_solution_security(
3235
+ def get_solution_security_users(
3270
3236
  self,
3271
3237
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3272
3238
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3282,8 +3248,8 @@ class SolutionApi:
3282
3248
  _content_type: Optional[StrictStr] = None,
3283
3249
  _headers: Optional[Dict[StrictStr, Any]] = None,
3284
3250
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3285
- ) -> SolutionSecurity:
3286
- """Get the Solution security information
3251
+ ) -> List[str]:
3252
+ """Get the Solution security users list
3287
3253
 
3288
3254
 
3289
3255
  :param organization_id: the Organization identifier (required)
@@ -3312,7 +3278,7 @@ class SolutionApi:
3312
3278
  :return: Returns the result object.
3313
3279
  """ # noqa: E501
3314
3280
 
3315
- _param = self._get_solution_security_serialize(
3281
+ _param = self._get_solution_security_users_serialize(
3316
3282
  organization_id=organization_id,
3317
3283
  solution_id=solution_id,
3318
3284
  _request_auth=_request_auth,
@@ -3322,7 +3288,7 @@ class SolutionApi:
3322
3288
  )
3323
3289
 
3324
3290
  _response_types_map: Dict[str, Optional[str]] = {
3325
- '200': "SolutionSecurity",
3291
+ '200': "List[str]",
3326
3292
  '404': None,
3327
3293
  }
3328
3294
  response_data = self.api_client.call_api(
@@ -3337,7 +3303,7 @@ class SolutionApi:
3337
3303
 
3338
3304
 
3339
3305
  @validate_call
3340
- def get_solution_security_with_http_info(
3306
+ def get_solution_security_users_with_http_info(
3341
3307
  self,
3342
3308
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3343
3309
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3353,8 +3319,8 @@ class SolutionApi:
3353
3319
  _content_type: Optional[StrictStr] = None,
3354
3320
  _headers: Optional[Dict[StrictStr, Any]] = None,
3355
3321
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3356
- ) -> ApiResponse[SolutionSecurity]:
3357
- """Get the Solution security information
3322
+ ) -> ApiResponse[List[str]]:
3323
+ """Get the Solution security users list
3358
3324
 
3359
3325
 
3360
3326
  :param organization_id: the Organization identifier (required)
@@ -3383,7 +3349,7 @@ class SolutionApi:
3383
3349
  :return: Returns the result object.
3384
3350
  """ # noqa: E501
3385
3351
 
3386
- _param = self._get_solution_security_serialize(
3352
+ _param = self._get_solution_security_users_serialize(
3387
3353
  organization_id=organization_id,
3388
3354
  solution_id=solution_id,
3389
3355
  _request_auth=_request_auth,
@@ -3393,7 +3359,7 @@ class SolutionApi:
3393
3359
  )
3394
3360
 
3395
3361
  _response_types_map: Dict[str, Optional[str]] = {
3396
- '200': "SolutionSecurity",
3362
+ '200': "List[str]",
3397
3363
  '404': None,
3398
3364
  }
3399
3365
  response_data = self.api_client.call_api(
@@ -3408,7 +3374,7 @@ class SolutionApi:
3408
3374
 
3409
3375
 
3410
3376
  @validate_call
3411
- def get_solution_security_without_preload_content(
3377
+ def get_solution_security_users_without_preload_content(
3412
3378
  self,
3413
3379
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3414
3380
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3425,7 +3391,7 @@ class SolutionApi:
3425
3391
  _headers: Optional[Dict[StrictStr, Any]] = None,
3426
3392
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3427
3393
  ) -> RESTResponseType:
3428
- """Get the Solution security information
3394
+ """Get the Solution security users list
3429
3395
 
3430
3396
 
3431
3397
  :param organization_id: the Organization identifier (required)
@@ -3454,7 +3420,7 @@ class SolutionApi:
3454
3420
  :return: Returns the result object.
3455
3421
  """ # noqa: E501
3456
3422
 
3457
- _param = self._get_solution_security_serialize(
3423
+ _param = self._get_solution_security_users_serialize(
3458
3424
  organization_id=organization_id,
3459
3425
  solution_id=solution_id,
3460
3426
  _request_auth=_request_auth,
@@ -3464,7 +3430,7 @@ class SolutionApi:
3464
3430
  )
3465
3431
 
3466
3432
  _response_types_map: Dict[str, Optional[str]] = {
3467
- '200': "SolutionSecurity",
3433
+ '200': "List[str]",
3468
3434
  '404': None,
3469
3435
  }
3470
3436
  response_data = self.api_client.call_api(
@@ -3474,7 +3440,7 @@ class SolutionApi:
3474
3440
  return response_data.response
3475
3441
 
3476
3442
 
3477
- def _get_solution_security_serialize(
3443
+ def _get_solution_security_users_serialize(
3478
3444
  self,
3479
3445
  organization_id,
3480
3446
  solution_id,
@@ -3523,7 +3489,7 @@ class SolutionApi:
3523
3489
 
3524
3490
  return self.api_client.param_serialize(
3525
3491
  method='GET',
3526
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security',
3492
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/users',
3527
3493
  path_params=_path_params,
3528
3494
  query_params=_query_params,
3529
3495
  header_params=_header_params,
@@ -3540,7 +3506,7 @@ class SolutionApi:
3540
3506
 
3541
3507
 
3542
3508
  @validate_call
3543
- def get_solution_security_users(
3509
+ def remove_all_run_templates(
3544
3510
  self,
3545
3511
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3546
3512
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3556,8 +3522,8 @@ class SolutionApi:
3556
3522
  _content_type: Optional[StrictStr] = None,
3557
3523
  _headers: Optional[Dict[StrictStr, Any]] = None,
3558
3524
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3559
- ) -> List[str]:
3560
- """Get the Solution security users list
3525
+ ) -> None:
3526
+ """Remove all Run Templates from the Solution specified
3561
3527
 
3562
3528
 
3563
3529
  :param organization_id: the Organization identifier (required)
@@ -3586,7 +3552,7 @@ class SolutionApi:
3586
3552
  :return: Returns the result object.
3587
3553
  """ # noqa: E501
3588
3554
 
3589
- _param = self._get_solution_security_users_serialize(
3555
+ _param = self._remove_all_run_templates_serialize(
3590
3556
  organization_id=organization_id,
3591
3557
  solution_id=solution_id,
3592
3558
  _request_auth=_request_auth,
@@ -3596,7 +3562,7 @@ class SolutionApi:
3596
3562
  )
3597
3563
 
3598
3564
  _response_types_map: Dict[str, Optional[str]] = {
3599
- '200': "List[str]",
3565
+ '204': None,
3600
3566
  '404': None,
3601
3567
  }
3602
3568
  response_data = self.api_client.call_api(
@@ -3611,7 +3577,7 @@ class SolutionApi:
3611
3577
 
3612
3578
 
3613
3579
  @validate_call
3614
- def get_solution_security_users_with_http_info(
3580
+ def remove_all_run_templates_with_http_info(
3615
3581
  self,
3616
3582
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3617
3583
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3627,8 +3593,8 @@ class SolutionApi:
3627
3593
  _content_type: Optional[StrictStr] = None,
3628
3594
  _headers: Optional[Dict[StrictStr, Any]] = None,
3629
3595
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3630
- ) -> ApiResponse[List[str]]:
3631
- """Get the Solution security users list
3596
+ ) -> ApiResponse[None]:
3597
+ """Remove all Run Templates from the Solution specified
3632
3598
 
3633
3599
 
3634
3600
  :param organization_id: the Organization identifier (required)
@@ -3657,7 +3623,7 @@ class SolutionApi:
3657
3623
  :return: Returns the result object.
3658
3624
  """ # noqa: E501
3659
3625
 
3660
- _param = self._get_solution_security_users_serialize(
3626
+ _param = self._remove_all_run_templates_serialize(
3661
3627
  organization_id=organization_id,
3662
3628
  solution_id=solution_id,
3663
3629
  _request_auth=_request_auth,
@@ -3667,7 +3633,7 @@ class SolutionApi:
3667
3633
  )
3668
3634
 
3669
3635
  _response_types_map: Dict[str, Optional[str]] = {
3670
- '200': "List[str]",
3636
+ '204': None,
3671
3637
  '404': None,
3672
3638
  }
3673
3639
  response_data = self.api_client.call_api(
@@ -3682,7 +3648,7 @@ class SolutionApi:
3682
3648
 
3683
3649
 
3684
3650
  @validate_call
3685
- def get_solution_security_users_without_preload_content(
3651
+ def remove_all_run_templates_without_preload_content(
3686
3652
  self,
3687
3653
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3688
3654
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3699,7 +3665,7 @@ class SolutionApi:
3699
3665
  _headers: Optional[Dict[StrictStr, Any]] = None,
3700
3666
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3701
3667
  ) -> RESTResponseType:
3702
- """Get the Solution security users list
3668
+ """Remove all Run Templates from the Solution specified
3703
3669
 
3704
3670
 
3705
3671
  :param organization_id: the Organization identifier (required)
@@ -3728,7 +3694,7 @@ class SolutionApi:
3728
3694
  :return: Returns the result object.
3729
3695
  """ # noqa: E501
3730
3696
 
3731
- _param = self._get_solution_security_users_serialize(
3697
+ _param = self._remove_all_run_templates_serialize(
3732
3698
  organization_id=organization_id,
3733
3699
  solution_id=solution_id,
3734
3700
  _request_auth=_request_auth,
@@ -3738,7 +3704,7 @@ class SolutionApi:
3738
3704
  )
3739
3705
 
3740
3706
  _response_types_map: Dict[str, Optional[str]] = {
3741
- '200': "List[str]",
3707
+ '204': None,
3742
3708
  '404': None,
3743
3709
  }
3744
3710
  response_data = self.api_client.call_api(
@@ -3748,7 +3714,7 @@ class SolutionApi:
3748
3714
  return response_data.response
3749
3715
 
3750
3716
 
3751
- def _get_solution_security_users_serialize(
3717
+ def _remove_all_run_templates_serialize(
3752
3718
  self,
3753
3719
  organization_id,
3754
3720
  solution_id,
@@ -3781,13 +3747,6 @@ class SolutionApi:
3781
3747
  # process the body parameter
3782
3748
 
3783
3749
 
3784
- # set the HTTP header `Accept`
3785
- if 'Accept' not in _header_params:
3786
- _header_params['Accept'] = self.api_client.select_header_accept(
3787
- [
3788
- 'application/json'
3789
- ]
3790
- )
3791
3750
 
3792
3751
 
3793
3752
  # authentication setting
@@ -3796,8 +3755,8 @@ class SolutionApi:
3796
3755
  ]
3797
3756
 
3798
3757
  return self.api_client.param_serialize(
3799
- method='GET',
3800
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/users',
3758
+ method='DELETE',
3759
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates',
3801
3760
  path_params=_path_params,
3802
3761
  query_params=_query_params,
3803
3762
  header_params=_header_params,
@@ -3814,7 +3773,7 @@ class SolutionApi:
3814
3773
 
3815
3774
 
3816
3775
  @validate_call
3817
- def remove_all_run_templates(
3776
+ def remove_all_solution_parameter_groups(
3818
3777
  self,
3819
3778
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3820
3779
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3831,7 +3790,7 @@ class SolutionApi:
3831
3790
  _headers: Optional[Dict[StrictStr, Any]] = None,
3832
3791
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3833
3792
  ) -> None:
3834
- """Remove all Run Templates from the Solution specified
3793
+ """Remove all Parameter Groups from the Solution specified
3835
3794
 
3836
3795
 
3837
3796
  :param organization_id: the Organization identifier (required)
@@ -3860,7 +3819,7 @@ class SolutionApi:
3860
3819
  :return: Returns the result object.
3861
3820
  """ # noqa: E501
3862
3821
 
3863
- _param = self._remove_all_run_templates_serialize(
3822
+ _param = self._remove_all_solution_parameter_groups_serialize(
3864
3823
  organization_id=organization_id,
3865
3824
  solution_id=solution_id,
3866
3825
  _request_auth=_request_auth,
@@ -3885,7 +3844,7 @@ class SolutionApi:
3885
3844
 
3886
3845
 
3887
3846
  @validate_call
3888
- def remove_all_run_templates_with_http_info(
3847
+ def remove_all_solution_parameter_groups_with_http_info(
3889
3848
  self,
3890
3849
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3891
3850
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3902,7 +3861,7 @@ class SolutionApi:
3902
3861
  _headers: Optional[Dict[StrictStr, Any]] = None,
3903
3862
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3904
3863
  ) -> ApiResponse[None]:
3905
- """Remove all Run Templates from the Solution specified
3864
+ """Remove all Parameter Groups from the Solution specified
3906
3865
 
3907
3866
 
3908
3867
  :param organization_id: the Organization identifier (required)
@@ -3931,7 +3890,7 @@ class SolutionApi:
3931
3890
  :return: Returns the result object.
3932
3891
  """ # noqa: E501
3933
3892
 
3934
- _param = self._remove_all_run_templates_serialize(
3893
+ _param = self._remove_all_solution_parameter_groups_serialize(
3935
3894
  organization_id=organization_id,
3936
3895
  solution_id=solution_id,
3937
3896
  _request_auth=_request_auth,
@@ -3956,7 +3915,7 @@ class SolutionApi:
3956
3915
 
3957
3916
 
3958
3917
  @validate_call
3959
- def remove_all_run_templates_without_preload_content(
3918
+ def remove_all_solution_parameter_groups_without_preload_content(
3960
3919
  self,
3961
3920
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3962
3921
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3973,7 +3932,7 @@ class SolutionApi:
3973
3932
  _headers: Optional[Dict[StrictStr, Any]] = None,
3974
3933
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3975
3934
  ) -> RESTResponseType:
3976
- """Remove all Run Templates from the Solution specified
3935
+ """Remove all Parameter Groups from the Solution specified
3977
3936
 
3978
3937
 
3979
3938
  :param organization_id: the Organization identifier (required)
@@ -4002,7 +3961,7 @@ class SolutionApi:
4002
3961
  :return: Returns the result object.
4003
3962
  """ # noqa: E501
4004
3963
 
4005
- _param = self._remove_all_run_templates_serialize(
3964
+ _param = self._remove_all_solution_parameter_groups_serialize(
4006
3965
  organization_id=organization_id,
4007
3966
  solution_id=solution_id,
4008
3967
  _request_auth=_request_auth,
@@ -4022,7 +3981,7 @@ class SolutionApi:
4022
3981
  return response_data.response
4023
3982
 
4024
3983
 
4025
- def _remove_all_run_templates_serialize(
3984
+ def _remove_all_solution_parameter_groups_serialize(
4026
3985
  self,
4027
3986
  organization_id,
4028
3987
  solution_id,
@@ -4064,7 +4023,7 @@ class SolutionApi:
4064
4023
 
4065
4024
  return self.api_client.param_serialize(
4066
4025
  method='DELETE',
4067
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates',
4026
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups',
4068
4027
  path_params=_path_params,
4069
4028
  query_params=_query_params,
4070
4029
  header_params=_header_params,
@@ -4081,7 +4040,7 @@ class SolutionApi:
4081
4040
 
4082
4041
 
4083
4042
  @validate_call
4084
- def remove_all_solution_parameter_groups(
4043
+ def remove_all_solution_parameters(
4085
4044
  self,
4086
4045
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4087
4046
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -4098,7 +4057,7 @@ class SolutionApi:
4098
4057
  _headers: Optional[Dict[StrictStr, Any]] = None,
4099
4058
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4100
4059
  ) -> None:
4101
- """Remove all Parameter Groups from the Solution specified
4060
+ """Remove all Parameters from the Solution specified
4102
4061
 
4103
4062
 
4104
4063
  :param organization_id: the Organization identifier (required)
@@ -4127,7 +4086,7 @@ class SolutionApi:
4127
4086
  :return: Returns the result object.
4128
4087
  """ # noqa: E501
4129
4088
 
4130
- _param = self._remove_all_solution_parameter_groups_serialize(
4089
+ _param = self._remove_all_solution_parameters_serialize(
4131
4090
  organization_id=organization_id,
4132
4091
  solution_id=solution_id,
4133
4092
  _request_auth=_request_auth,
@@ -4152,7 +4111,7 @@ class SolutionApi:
4152
4111
 
4153
4112
 
4154
4113
  @validate_call
4155
- def remove_all_solution_parameter_groups_with_http_info(
4114
+ def remove_all_solution_parameters_with_http_info(
4156
4115
  self,
4157
4116
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4158
4117
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -4169,7 +4128,7 @@ class SolutionApi:
4169
4128
  _headers: Optional[Dict[StrictStr, Any]] = None,
4170
4129
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4171
4130
  ) -> ApiResponse[None]:
4172
- """Remove all Parameter Groups from the Solution specified
4131
+ """Remove all Parameters from the Solution specified
4173
4132
 
4174
4133
 
4175
4134
  :param organization_id: the Organization identifier (required)
@@ -4198,7 +4157,7 @@ class SolutionApi:
4198
4157
  :return: Returns the result object.
4199
4158
  """ # noqa: E501
4200
4159
 
4201
- _param = self._remove_all_solution_parameter_groups_serialize(
4160
+ _param = self._remove_all_solution_parameters_serialize(
4202
4161
  organization_id=organization_id,
4203
4162
  solution_id=solution_id,
4204
4163
  _request_auth=_request_auth,
@@ -4223,7 +4182,7 @@ class SolutionApi:
4223
4182
 
4224
4183
 
4225
4184
  @validate_call
4226
- def remove_all_solution_parameter_groups_without_preload_content(
4185
+ def remove_all_solution_parameters_without_preload_content(
4227
4186
  self,
4228
4187
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4229
4188
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -4240,7 +4199,7 @@ class SolutionApi:
4240
4199
  _headers: Optional[Dict[StrictStr, Any]] = None,
4241
4200
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4242
4201
  ) -> RESTResponseType:
4243
- """Remove all Parameter Groups from the Solution specified
4202
+ """Remove all Parameters from the Solution specified
4244
4203
 
4245
4204
 
4246
4205
  :param organization_id: the Organization identifier (required)
@@ -4269,7 +4228,7 @@ class SolutionApi:
4269
4228
  :return: Returns the result object.
4270
4229
  """ # noqa: E501
4271
4230
 
4272
- _param = self._remove_all_solution_parameter_groups_serialize(
4231
+ _param = self._remove_all_solution_parameters_serialize(
4273
4232
  organization_id=organization_id,
4274
4233
  solution_id=solution_id,
4275
4234
  _request_auth=_request_auth,
@@ -4289,7 +4248,7 @@ class SolutionApi:
4289
4248
  return response_data.response
4290
4249
 
4291
4250
 
4292
- def _remove_all_solution_parameter_groups_serialize(
4251
+ def _remove_all_solution_parameters_serialize(
4293
4252
  self,
4294
4253
  organization_id,
4295
4254
  solution_id,
@@ -4331,7 +4290,7 @@ class SolutionApi:
4331
4290
 
4332
4291
  return self.api_client.param_serialize(
4333
4292
  method='DELETE',
4334
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups',
4293
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters',
4335
4294
  path_params=_path_params,
4336
4295
  query_params=_query_params,
4337
4296
  header_params=_header_params,
@@ -4348,10 +4307,11 @@ class SolutionApi:
4348
4307
 
4349
4308
 
4350
4309
  @validate_call
4351
- def remove_all_solution_parameters(
4310
+ def remove_solution_access_control(
4352
4311
  self,
4353
4312
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4354
4313
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4314
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4355
4315
  _request_timeout: Union[
4356
4316
  None,
4357
4317
  Annotated[StrictFloat, Field(gt=0)],
@@ -4365,13 +4325,15 @@ class SolutionApi:
4365
4325
  _headers: Optional[Dict[StrictStr, Any]] = None,
4366
4326
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4367
4327
  ) -> None:
4368
- """Remove all Parameters from the Solution specified
4328
+ """Remove the specified access from the given Organization Solution
4369
4329
 
4370
4330
 
4371
4331
  :param organization_id: the Organization identifier (required)
4372
4332
  :type organization_id: str
4373
4333
  :param solution_id: the Solution identifier (required)
4374
4334
  :type solution_id: str
4335
+ :param identity_id: the User identifier (required)
4336
+ :type identity_id: str
4375
4337
  :param _request_timeout: timeout setting for this request. If one
4376
4338
  number provided, it will be total request
4377
4339
  timeout. It can also be a pair (tuple) of
@@ -4394,9 +4356,10 @@ class SolutionApi:
4394
4356
  :return: Returns the result object.
4395
4357
  """ # noqa: E501
4396
4358
 
4397
- _param = self._remove_all_solution_parameters_serialize(
4359
+ _param = self._remove_solution_access_control_serialize(
4398
4360
  organization_id=organization_id,
4399
4361
  solution_id=solution_id,
4362
+ identity_id=identity_id,
4400
4363
  _request_auth=_request_auth,
4401
4364
  _content_type=_content_type,
4402
4365
  _headers=_headers,
@@ -4419,10 +4382,11 @@ class SolutionApi:
4419
4382
 
4420
4383
 
4421
4384
  @validate_call
4422
- def remove_all_solution_parameters_with_http_info(
4385
+ def remove_solution_access_control_with_http_info(
4423
4386
  self,
4424
4387
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4425
4388
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4389
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4426
4390
  _request_timeout: Union[
4427
4391
  None,
4428
4392
  Annotated[StrictFloat, Field(gt=0)],
@@ -4436,13 +4400,15 @@ class SolutionApi:
4436
4400
  _headers: Optional[Dict[StrictStr, Any]] = None,
4437
4401
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4438
4402
  ) -> ApiResponse[None]:
4439
- """Remove all Parameters from the Solution specified
4403
+ """Remove the specified access from the given Organization Solution
4440
4404
 
4441
4405
 
4442
4406
  :param organization_id: the Organization identifier (required)
4443
4407
  :type organization_id: str
4444
4408
  :param solution_id: the Solution identifier (required)
4445
4409
  :type solution_id: str
4410
+ :param identity_id: the User identifier (required)
4411
+ :type identity_id: str
4446
4412
  :param _request_timeout: timeout setting for this request. If one
4447
4413
  number provided, it will be total request
4448
4414
  timeout. It can also be a pair (tuple) of
@@ -4465,9 +4431,10 @@ class SolutionApi:
4465
4431
  :return: Returns the result object.
4466
4432
  """ # noqa: E501
4467
4433
 
4468
- _param = self._remove_all_solution_parameters_serialize(
4434
+ _param = self._remove_solution_access_control_serialize(
4469
4435
  organization_id=organization_id,
4470
4436
  solution_id=solution_id,
4437
+ identity_id=identity_id,
4471
4438
  _request_auth=_request_auth,
4472
4439
  _content_type=_content_type,
4473
4440
  _headers=_headers,
@@ -4490,10 +4457,11 @@ class SolutionApi:
4490
4457
 
4491
4458
 
4492
4459
  @validate_call
4493
- def remove_all_solution_parameters_without_preload_content(
4460
+ def remove_solution_access_control_without_preload_content(
4494
4461
  self,
4495
4462
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4496
4463
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4464
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4497
4465
  _request_timeout: Union[
4498
4466
  None,
4499
4467
  Annotated[StrictFloat, Field(gt=0)],
@@ -4507,13 +4475,15 @@ class SolutionApi:
4507
4475
  _headers: Optional[Dict[StrictStr, Any]] = None,
4508
4476
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4509
4477
  ) -> RESTResponseType:
4510
- """Remove all Parameters from the Solution specified
4478
+ """Remove the specified access from the given Organization Solution
4511
4479
 
4512
4480
 
4513
4481
  :param organization_id: the Organization identifier (required)
4514
4482
  :type organization_id: str
4515
4483
  :param solution_id: the Solution identifier (required)
4516
4484
  :type solution_id: str
4485
+ :param identity_id: the User identifier (required)
4486
+ :type identity_id: str
4517
4487
  :param _request_timeout: timeout setting for this request. If one
4518
4488
  number provided, it will be total request
4519
4489
  timeout. It can also be a pair (tuple) of
@@ -4536,9 +4506,10 @@ class SolutionApi:
4536
4506
  :return: Returns the result object.
4537
4507
  """ # noqa: E501
4538
4508
 
4539
- _param = self._remove_all_solution_parameters_serialize(
4509
+ _param = self._remove_solution_access_control_serialize(
4540
4510
  organization_id=organization_id,
4541
4511
  solution_id=solution_id,
4512
+ identity_id=identity_id,
4542
4513
  _request_auth=_request_auth,
4543
4514
  _content_type=_content_type,
4544
4515
  _headers=_headers,
@@ -4556,10 +4527,11 @@ class SolutionApi:
4556
4527
  return response_data.response
4557
4528
 
4558
4529
 
4559
- def _remove_all_solution_parameters_serialize(
4530
+ def _remove_solution_access_control_serialize(
4560
4531
  self,
4561
4532
  organization_id,
4562
4533
  solution_id,
4534
+ identity_id,
4563
4535
  _request_auth,
4564
4536
  _content_type,
4565
4537
  _headers,
@@ -4583,6 +4555,8 @@ class SolutionApi:
4583
4555
  _path_params['organization_id'] = organization_id
4584
4556
  if solution_id is not None:
4585
4557
  _path_params['solution_id'] = solution_id
4558
+ if identity_id is not None:
4559
+ _path_params['identity_id'] = identity_id
4586
4560
  # process the query parameters
4587
4561
  # process the header parameters
4588
4562
  # process the form parameters
@@ -4598,7 +4572,7 @@ class SolutionApi:
4598
4572
 
4599
4573
  return self.api_client.param_serialize(
4600
4574
  method='DELETE',
4601
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters',
4575
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
4602
4576
  path_params=_path_params,
4603
4577
  query_params=_query_params,
4604
4578
  header_params=_header_params,
@@ -4615,11 +4589,11 @@ class SolutionApi:
4615
4589
 
4616
4590
 
4617
4591
  @validate_call
4618
- def remove_solution_access_control(
4592
+ def set_solution_default_security(
4619
4593
  self,
4620
4594
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4621
4595
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4622
- 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.")],
4623
4597
  _request_timeout: Union[
4624
4598
  None,
4625
4599
  Annotated[StrictFloat, Field(gt=0)],
@@ -4632,16 +4606,16 @@ class SolutionApi:
4632
4606
  _content_type: Optional[StrictStr] = None,
4633
4607
  _headers: Optional[Dict[StrictStr, Any]] = None,
4634
4608
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4635
- ) -> None:
4636
- """Remove the specified access from the given Organization Solution
4609
+ ) -> SolutionSecurity:
4610
+ """Set the Solution default security
4637
4611
 
4638
4612
 
4639
4613
  :param organization_id: the Organization identifier (required)
4640
4614
  :type organization_id: str
4641
4615
  :param solution_id: the Solution identifier (required)
4642
4616
  :type solution_id: str
4643
- :param identity_id: the User identifier (required)
4644
- :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
4645
4619
  :param _request_timeout: timeout setting for this request. If one
4646
4620
  number provided, it will be total request
4647
4621
  timeout. It can also be a pair (tuple) of
@@ -4664,10 +4638,10 @@ class SolutionApi:
4664
4638
  :return: Returns the result object.
4665
4639
  """ # noqa: E501
4666
4640
 
4667
- _param = self._remove_solution_access_control_serialize(
4641
+ _param = self._set_solution_default_security_serialize(
4668
4642
  organization_id=organization_id,
4669
4643
  solution_id=solution_id,
4670
- identity_id=identity_id,
4644
+ solution_role=solution_role,
4671
4645
  _request_auth=_request_auth,
4672
4646
  _content_type=_content_type,
4673
4647
  _headers=_headers,
@@ -4675,7 +4649,7 @@ class SolutionApi:
4675
4649
  )
4676
4650
 
4677
4651
  _response_types_map: Dict[str, Optional[str]] = {
4678
- '204': None,
4652
+ '201': "SolutionSecurity",
4679
4653
  '404': None,
4680
4654
  }
4681
4655
  response_data = self.api_client.call_api(
@@ -4690,11 +4664,11 @@ class SolutionApi:
4690
4664
 
4691
4665
 
4692
4666
  @validate_call
4693
- def remove_solution_access_control_with_http_info(
4667
+ def set_solution_default_security_with_http_info(
4694
4668
  self,
4695
4669
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4696
4670
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4697
- 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.")],
4698
4672
  _request_timeout: Union[
4699
4673
  None,
4700
4674
  Annotated[StrictFloat, Field(gt=0)],
@@ -4707,16 +4681,16 @@ class SolutionApi:
4707
4681
  _content_type: Optional[StrictStr] = None,
4708
4682
  _headers: Optional[Dict[StrictStr, Any]] = None,
4709
4683
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4710
- ) -> ApiResponse[None]:
4711
- """Remove the specified access from the given Organization Solution
4684
+ ) -> ApiResponse[SolutionSecurity]:
4685
+ """Set the Solution default security
4712
4686
 
4713
4687
 
4714
4688
  :param organization_id: the Organization identifier (required)
4715
4689
  :type organization_id: str
4716
4690
  :param solution_id: the Solution identifier (required)
4717
4691
  :type solution_id: str
4718
- :param identity_id: the User identifier (required)
4719
- :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
4720
4694
  :param _request_timeout: timeout setting for this request. If one
4721
4695
  number provided, it will be total request
4722
4696
  timeout. It can also be a pair (tuple) of
@@ -4739,10 +4713,10 @@ class SolutionApi:
4739
4713
  :return: Returns the result object.
4740
4714
  """ # noqa: E501
4741
4715
 
4742
- _param = self._remove_solution_access_control_serialize(
4716
+ _param = self._set_solution_default_security_serialize(
4743
4717
  organization_id=organization_id,
4744
4718
  solution_id=solution_id,
4745
- identity_id=identity_id,
4719
+ solution_role=solution_role,
4746
4720
  _request_auth=_request_auth,
4747
4721
  _content_type=_content_type,
4748
4722
  _headers=_headers,
@@ -4750,7 +4724,7 @@ class SolutionApi:
4750
4724
  )
4751
4725
 
4752
4726
  _response_types_map: Dict[str, Optional[str]] = {
4753
- '204': None,
4727
+ '201': "SolutionSecurity",
4754
4728
  '404': None,
4755
4729
  }
4756
4730
  response_data = self.api_client.call_api(
@@ -4765,11 +4739,11 @@ class SolutionApi:
4765
4739
 
4766
4740
 
4767
4741
  @validate_call
4768
- def remove_solution_access_control_without_preload_content(
4742
+ def set_solution_default_security_without_preload_content(
4769
4743
  self,
4770
4744
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4771
4745
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4772
- 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.")],
4773
4747
  _request_timeout: Union[
4774
4748
  None,
4775
4749
  Annotated[StrictFloat, Field(gt=0)],
@@ -4783,15 +4757,15 @@ class SolutionApi:
4783
4757
  _headers: Optional[Dict[StrictStr, Any]] = None,
4784
4758
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4785
4759
  ) -> RESTResponseType:
4786
- """Remove the specified access from the given Organization Solution
4760
+ """Set the Solution default security
4787
4761
 
4788
4762
 
4789
4763
  :param organization_id: the Organization identifier (required)
4790
4764
  :type organization_id: str
4791
4765
  :param solution_id: the Solution identifier (required)
4792
4766
  :type solution_id: str
4793
- :param identity_id: the User identifier (required)
4794
- :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
4795
4769
  :param _request_timeout: timeout setting for this request. If one
4796
4770
  number provided, it will be total request
4797
4771
  timeout. It can also be a pair (tuple) of
@@ -4814,10 +4788,10 @@ class SolutionApi:
4814
4788
  :return: Returns the result object.
4815
4789
  """ # noqa: E501
4816
4790
 
4817
- _param = self._remove_solution_access_control_serialize(
4791
+ _param = self._set_solution_default_security_serialize(
4818
4792
  organization_id=organization_id,
4819
4793
  solution_id=solution_id,
4820
- identity_id=identity_id,
4794
+ solution_role=solution_role,
4821
4795
  _request_auth=_request_auth,
4822
4796
  _content_type=_content_type,
4823
4797
  _headers=_headers,
@@ -4825,7 +4799,7 @@ class SolutionApi:
4825
4799
  )
4826
4800
 
4827
4801
  _response_types_map: Dict[str, Optional[str]] = {
4828
- '204': None,
4802
+ '201': "SolutionSecurity",
4829
4803
  '404': None,
4830
4804
  }
4831
4805
  response_data = self.api_client.call_api(
@@ -4835,11 +4809,11 @@ class SolutionApi:
4835
4809
  return response_data.response
4836
4810
 
4837
4811
 
4838
- def _remove_solution_access_control_serialize(
4812
+ def _set_solution_default_security_serialize(
4839
4813
  self,
4840
4814
  organization_id,
4841
4815
  solution_id,
4842
- identity_id,
4816
+ solution_role,
4843
4817
  _request_auth,
4844
4818
  _content_type,
4845
4819
  _headers,
@@ -4863,15 +4837,36 @@ class SolutionApi:
4863
4837
  _path_params['organization_id'] = organization_id
4864
4838
  if solution_id is not None:
4865
4839
  _path_params['solution_id'] = solution_id
4866
- if identity_id is not None:
4867
- _path_params['identity_id'] = identity_id
4868
4840
  # process the query parameters
4869
4841
  # process the header parameters
4870
4842
  # process the form parameters
4871
4843
  # process the body parameter
4844
+ if solution_role is not None:
4845
+ _body_params = solution_role
4872
4846
 
4873
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
+ )
4874
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
4875
4870
 
4876
4871
  # authentication setting
4877
4872
  _auth_settings: List[str] = [
@@ -4879,8 +4874,8 @@ class SolutionApi:
4879
4874
  ]
4880
4875
 
4881
4876
  return self.api_client.param_serialize(
4882
- method='DELETE',
4883
- 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',
4884
4879
  path_params=_path_params,
4885
4880
  query_params=_query_params,
4886
4881
  header_params=_header_params,
@@ -4897,11 +4892,11 @@ class SolutionApi:
4897
4892
 
4898
4893
 
4899
4894
  @validate_call
4900
- def set_solution_default_security(
4895
+ def update_solution(
4901
4896
  self,
4902
4897
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4903
4898
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4904
- 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.")],
4899
+ solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
4905
4900
  _request_timeout: Union[
4906
4901
  None,
4907
4902
  Annotated[StrictFloat, Field(gt=0)],
@@ -4914,16 +4909,16 @@ class SolutionApi:
4914
4909
  _content_type: Optional[StrictStr] = None,
4915
4910
  _headers: Optional[Dict[StrictStr, Any]] = None,
4916
4911
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4917
- ) -> SolutionSecurity:
4918
- """Set the Solution default security
4912
+ ) -> Solution:
4913
+ """Update a solution
4919
4914
 
4920
4915
 
4921
4916
  :param organization_id: the Organization identifier (required)
4922
4917
  :type organization_id: str
4923
4918
  :param solution_id: the Solution identifier (required)
4924
4919
  :type solution_id: str
4925
- :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)
4926
- :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
4927
4922
  :param _request_timeout: timeout setting for this request. If one
4928
4923
  number provided, it will be total request
4929
4924
  timeout. It can also be a pair (tuple) of
@@ -4946,10 +4941,10 @@ class SolutionApi:
4946
4941
  :return: Returns the result object.
4947
4942
  """ # noqa: E501
4948
4943
 
4949
- _param = self._set_solution_default_security_serialize(
4944
+ _param = self._update_solution_serialize(
4950
4945
  organization_id=organization_id,
4951
4946
  solution_id=solution_id,
4952
- solution_role=solution_role,
4947
+ solution=solution,
4953
4948
  _request_auth=_request_auth,
4954
4949
  _content_type=_content_type,
4955
4950
  _headers=_headers,
@@ -4957,7 +4952,8 @@ class SolutionApi:
4957
4952
  )
4958
4953
 
4959
4954
  _response_types_map: Dict[str, Optional[str]] = {
4960
- '201': "SolutionSecurity",
4955
+ '200': "Solution",
4956
+ '400': None,
4961
4957
  '404': None,
4962
4958
  }
4963
4959
  response_data = self.api_client.call_api(
@@ -4972,625 +4968,11 @@ class SolutionApi:
4972
4968
 
4973
4969
 
4974
4970
  @validate_call
4975
- def set_solution_default_security_with_http_info(
4976
- self,
4977
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4978
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4979
- 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.")],
4980
- _request_timeout: Union[
4981
- None,
4982
- Annotated[StrictFloat, Field(gt=0)],
4983
- Tuple[
4984
- Annotated[StrictFloat, Field(gt=0)],
4985
- Annotated[StrictFloat, Field(gt=0)]
4986
- ]
4987
- ] = None,
4988
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
4989
- _content_type: Optional[StrictStr] = None,
4990
- _headers: Optional[Dict[StrictStr, Any]] = None,
4991
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4992
- ) -> ApiResponse[SolutionSecurity]:
4993
- """Set the Solution default security
4994
-
4995
-
4996
- :param organization_id: the Organization identifier (required)
4997
- :type organization_id: str
4998
- :param solution_id: the Solution identifier (required)
4999
- :type solution_id: str
5000
- :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)
5001
- :type solution_role: SolutionRole
5002
- :param _request_timeout: timeout setting for this request. If one
5003
- number provided, it will be total request
5004
- timeout. It can also be a pair (tuple) of
5005
- (connection, read) timeouts.
5006
- :type _request_timeout: int, tuple(int, int), optional
5007
- :param _request_auth: set to override the auth_settings for an a single
5008
- request; this effectively ignores the
5009
- authentication in the spec for a single request.
5010
- :type _request_auth: dict, optional
5011
- :param _content_type: force content-type for the request.
5012
- :type _content_type: str, Optional
5013
- :param _headers: set to override the headers for a single
5014
- request; this effectively ignores the headers
5015
- in the spec for a single request.
5016
- :type _headers: dict, optional
5017
- :param _host_index: set to override the host_index for a single
5018
- request; this effectively ignores the host_index
5019
- in the spec for a single request.
5020
- :type _host_index: int, optional
5021
- :return: Returns the result object.
5022
- """ # noqa: E501
5023
-
5024
- _param = self._set_solution_default_security_serialize(
5025
- organization_id=organization_id,
5026
- solution_id=solution_id,
5027
- solution_role=solution_role,
5028
- _request_auth=_request_auth,
5029
- _content_type=_content_type,
5030
- _headers=_headers,
5031
- _host_index=_host_index
5032
- )
5033
-
5034
- _response_types_map: Dict[str, Optional[str]] = {
5035
- '201': "SolutionSecurity",
5036
- '404': None,
5037
- }
5038
- response_data = self.api_client.call_api(
5039
- *_param,
5040
- _request_timeout=_request_timeout
5041
- )
5042
- response_data.read()
5043
- return self.api_client.response_deserialize(
5044
- response_data=response_data,
5045
- response_types_map=_response_types_map,
5046
- )
5047
-
5048
-
5049
- @validate_call
5050
- def set_solution_default_security_without_preload_content(
5051
- self,
5052
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5053
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5054
- 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.")],
5055
- _request_timeout: Union[
5056
- None,
5057
- Annotated[StrictFloat, Field(gt=0)],
5058
- Tuple[
5059
- Annotated[StrictFloat, Field(gt=0)],
5060
- Annotated[StrictFloat, Field(gt=0)]
5061
- ]
5062
- ] = None,
5063
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5064
- _content_type: Optional[StrictStr] = None,
5065
- _headers: Optional[Dict[StrictStr, Any]] = None,
5066
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5067
- ) -> RESTResponseType:
5068
- """Set the Solution default security
5069
-
5070
-
5071
- :param organization_id: the Organization identifier (required)
5072
- :type organization_id: str
5073
- :param solution_id: the Solution identifier (required)
5074
- :type solution_id: str
5075
- :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)
5076
- :type solution_role: SolutionRole
5077
- :param _request_timeout: timeout setting for this request. If one
5078
- number provided, it will be total request
5079
- timeout. It can also be a pair (tuple) of
5080
- (connection, read) timeouts.
5081
- :type _request_timeout: int, tuple(int, int), optional
5082
- :param _request_auth: set to override the auth_settings for an a single
5083
- request; this effectively ignores the
5084
- authentication in the spec for a single request.
5085
- :type _request_auth: dict, optional
5086
- :param _content_type: force content-type for the request.
5087
- :type _content_type: str, Optional
5088
- :param _headers: set to override the headers for a single
5089
- request; this effectively ignores the headers
5090
- in the spec for a single request.
5091
- :type _headers: dict, optional
5092
- :param _host_index: set to override the host_index for a single
5093
- request; this effectively ignores the host_index
5094
- in the spec for a single request.
5095
- :type _host_index: int, optional
5096
- :return: Returns the result object.
5097
- """ # noqa: E501
5098
-
5099
- _param = self._set_solution_default_security_serialize(
5100
- organization_id=organization_id,
5101
- solution_id=solution_id,
5102
- solution_role=solution_role,
5103
- _request_auth=_request_auth,
5104
- _content_type=_content_type,
5105
- _headers=_headers,
5106
- _host_index=_host_index
5107
- )
5108
-
5109
- _response_types_map: Dict[str, Optional[str]] = {
5110
- '201': "SolutionSecurity",
5111
- '404': None,
5112
- }
5113
- response_data = self.api_client.call_api(
5114
- *_param,
5115
- _request_timeout=_request_timeout
5116
- )
5117
- return response_data.response
5118
-
5119
-
5120
- def _set_solution_default_security_serialize(
5121
- self,
5122
- organization_id,
5123
- solution_id,
5124
- solution_role,
5125
- _request_auth,
5126
- _content_type,
5127
- _headers,
5128
- _host_index,
5129
- ) -> RequestSerialized:
5130
-
5131
- _host = None
5132
-
5133
- _collection_formats: Dict[str, str] = {
5134
- }
5135
-
5136
- _path_params: Dict[str, str] = {}
5137
- _query_params: List[Tuple[str, str]] = []
5138
- _header_params: Dict[str, Optional[str]] = _headers or {}
5139
- _form_params: List[Tuple[str, str]] = []
5140
- _files: Dict[str, Union[str, bytes]] = {}
5141
- _body_params: Optional[bytes] = None
5142
-
5143
- # process the path parameters
5144
- if organization_id is not None:
5145
- _path_params['organization_id'] = organization_id
5146
- if solution_id is not None:
5147
- _path_params['solution_id'] = solution_id
5148
- # process the query parameters
5149
- # process the header parameters
5150
- # process the form parameters
5151
- # process the body parameter
5152
- if solution_role is not None:
5153
- _body_params = solution_role
5154
-
5155
-
5156
- # set the HTTP header `Accept`
5157
- if 'Accept' not in _header_params:
5158
- _header_params['Accept'] = self.api_client.select_header_accept(
5159
- [
5160
- 'application/json'
5161
- ]
5162
- )
5163
-
5164
- # set the HTTP header `Content-Type`
5165
- if _content_type:
5166
- _header_params['Content-Type'] = _content_type
5167
- else:
5168
- _default_content_type = (
5169
- self.api_client.select_header_content_type(
5170
- [
5171
- 'application/json',
5172
- 'application/yaml'
5173
- ]
5174
- )
5175
- )
5176
- if _default_content_type is not None:
5177
- _header_params['Content-Type'] = _default_content_type
5178
-
5179
- # authentication setting
5180
- _auth_settings: List[str] = [
5181
- 'oAuth2AuthCode'
5182
- ]
5183
-
5184
- return self.api_client.param_serialize(
5185
- method='POST',
5186
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/default',
5187
- path_params=_path_params,
5188
- query_params=_query_params,
5189
- header_params=_header_params,
5190
- body=_body_params,
5191
- post_params=_form_params,
5192
- files=_files,
5193
- auth_settings=_auth_settings,
5194
- collection_formats=_collection_formats,
5195
- _host=_host,
5196
- _request_auth=_request_auth
5197
- )
5198
-
5199
-
5200
-
5201
-
5202
- @validate_call
5203
- def update_solution(
5204
- self,
5205
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5206
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5207
- solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update : - id - runTemplates - security ")],
5208
- _request_timeout: Union[
5209
- None,
5210
- Annotated[StrictFloat, Field(gt=0)],
5211
- Tuple[
5212
- Annotated[StrictFloat, Field(gt=0)],
5213
- Annotated[StrictFloat, Field(gt=0)]
5214
- ]
5215
- ] = None,
5216
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5217
- _content_type: Optional[StrictStr] = None,
5218
- _headers: Optional[Dict[StrictStr, Any]] = None,
5219
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5220
- ) -> Solution:
5221
- """Update a solution
5222
-
5223
-
5224
- :param organization_id: the Organization identifier (required)
5225
- :type organization_id: str
5226
- :param solution_id: the Solution identifier (required)
5227
- :type solution_id: str
5228
- :param solution: the new Solution details. This endpoint can't be used to update : - id - runTemplates - security (required)
5229
- :type solution: Solution
5230
- :param _request_timeout: timeout setting for this request. If one
5231
- number provided, it will be total request
5232
- timeout. It can also be a pair (tuple) of
5233
- (connection, read) timeouts.
5234
- :type _request_timeout: int, tuple(int, int), optional
5235
- :param _request_auth: set to override the auth_settings for an a single
5236
- request; this effectively ignores the
5237
- authentication in the spec for a single request.
5238
- :type _request_auth: dict, optional
5239
- :param _content_type: force content-type for the request.
5240
- :type _content_type: str, Optional
5241
- :param _headers: set to override the headers for a single
5242
- request; this effectively ignores the headers
5243
- in the spec for a single request.
5244
- :type _headers: dict, optional
5245
- :param _host_index: set to override the host_index for a single
5246
- request; this effectively ignores the host_index
5247
- in the spec for a single request.
5248
- :type _host_index: int, optional
5249
- :return: Returns the result object.
5250
- """ # noqa: E501
5251
-
5252
- _param = self._update_solution_serialize(
5253
- organization_id=organization_id,
5254
- solution_id=solution_id,
5255
- solution=solution,
5256
- _request_auth=_request_auth,
5257
- _content_type=_content_type,
5258
- _headers=_headers,
5259
- _host_index=_host_index
5260
- )
5261
-
5262
- _response_types_map: Dict[str, Optional[str]] = {
5263
- '200': "Solution",
5264
- '400': None,
5265
- '404': None,
5266
- }
5267
- response_data = self.api_client.call_api(
5268
- *_param,
5269
- _request_timeout=_request_timeout
5270
- )
5271
- response_data.read()
5272
- return self.api_client.response_deserialize(
5273
- response_data=response_data,
5274
- response_types_map=_response_types_map,
5275
- ).data
5276
-
5277
-
5278
- @validate_call
5279
- def update_solution_with_http_info(
5280
- self,
5281
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5282
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5283
- solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update : - id - runTemplates - security ")],
5284
- _request_timeout: Union[
5285
- None,
5286
- Annotated[StrictFloat, Field(gt=0)],
5287
- Tuple[
5288
- Annotated[StrictFloat, Field(gt=0)],
5289
- Annotated[StrictFloat, Field(gt=0)]
5290
- ]
5291
- ] = None,
5292
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5293
- _content_type: Optional[StrictStr] = None,
5294
- _headers: Optional[Dict[StrictStr, Any]] = None,
5295
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5296
- ) -> ApiResponse[Solution]:
5297
- """Update a solution
5298
-
5299
-
5300
- :param organization_id: the Organization identifier (required)
5301
- :type organization_id: str
5302
- :param solution_id: the Solution identifier (required)
5303
- :type solution_id: str
5304
- :param solution: the new Solution details. This endpoint can't be used to update : - id - runTemplates - security (required)
5305
- :type solution: Solution
5306
- :param _request_timeout: timeout setting for this request. If one
5307
- number provided, it will be total request
5308
- timeout. It can also be a pair (tuple) of
5309
- (connection, read) timeouts.
5310
- :type _request_timeout: int, tuple(int, int), optional
5311
- :param _request_auth: set to override the auth_settings for an a single
5312
- request; this effectively ignores the
5313
- authentication in the spec for a single request.
5314
- :type _request_auth: dict, optional
5315
- :param _content_type: force content-type for the request.
5316
- :type _content_type: str, Optional
5317
- :param _headers: set to override the headers for a single
5318
- request; this effectively ignores the headers
5319
- in the spec for a single request.
5320
- :type _headers: dict, optional
5321
- :param _host_index: set to override the host_index for a single
5322
- request; this effectively ignores the host_index
5323
- in the spec for a single request.
5324
- :type _host_index: int, optional
5325
- :return: Returns the result object.
5326
- """ # noqa: E501
5327
-
5328
- _param = self._update_solution_serialize(
5329
- organization_id=organization_id,
5330
- solution_id=solution_id,
5331
- solution=solution,
5332
- _request_auth=_request_auth,
5333
- _content_type=_content_type,
5334
- _headers=_headers,
5335
- _host_index=_host_index
5336
- )
5337
-
5338
- _response_types_map: Dict[str, Optional[str]] = {
5339
- '200': "Solution",
5340
- '400': None,
5341
- '404': None,
5342
- }
5343
- response_data = self.api_client.call_api(
5344
- *_param,
5345
- _request_timeout=_request_timeout
5346
- )
5347
- response_data.read()
5348
- return self.api_client.response_deserialize(
5349
- response_data=response_data,
5350
- response_types_map=_response_types_map,
5351
- )
5352
-
5353
-
5354
- @validate_call
5355
- def update_solution_without_preload_content(
5356
- self,
5357
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5358
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5359
- solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update : - id - runTemplates - security ")],
5360
- _request_timeout: Union[
5361
- None,
5362
- Annotated[StrictFloat, Field(gt=0)],
5363
- Tuple[
5364
- Annotated[StrictFloat, Field(gt=0)],
5365
- Annotated[StrictFloat, Field(gt=0)]
5366
- ]
5367
- ] = None,
5368
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5369
- _content_type: Optional[StrictStr] = None,
5370
- _headers: Optional[Dict[StrictStr, Any]] = None,
5371
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5372
- ) -> RESTResponseType:
5373
- """Update a solution
5374
-
5375
-
5376
- :param organization_id: the Organization identifier (required)
5377
- :type organization_id: str
5378
- :param solution_id: the Solution identifier (required)
5379
- :type solution_id: str
5380
- :param solution: the new Solution details. This endpoint can't be used to update : - id - runTemplates - security (required)
5381
- :type solution: Solution
5382
- :param _request_timeout: timeout setting for this request. If one
5383
- number provided, it will be total request
5384
- timeout. It can also be a pair (tuple) of
5385
- (connection, read) timeouts.
5386
- :type _request_timeout: int, tuple(int, int), optional
5387
- :param _request_auth: set to override the auth_settings for an a single
5388
- request; this effectively ignores the
5389
- authentication in the spec for a single request.
5390
- :type _request_auth: dict, optional
5391
- :param _content_type: force content-type for the request.
5392
- :type _content_type: str, Optional
5393
- :param _headers: set to override the headers for a single
5394
- request; this effectively ignores the headers
5395
- in the spec for a single request.
5396
- :type _headers: dict, optional
5397
- :param _host_index: set to override the host_index for a single
5398
- request; this effectively ignores the host_index
5399
- in the spec for a single request.
5400
- :type _host_index: int, optional
5401
- :return: Returns the result object.
5402
- """ # noqa: E501
5403
-
5404
- _param = self._update_solution_serialize(
5405
- organization_id=organization_id,
5406
- solution_id=solution_id,
5407
- solution=solution,
5408
- _request_auth=_request_auth,
5409
- _content_type=_content_type,
5410
- _headers=_headers,
5411
- _host_index=_host_index
5412
- )
5413
-
5414
- _response_types_map: Dict[str, Optional[str]] = {
5415
- '200': "Solution",
5416
- '400': None,
5417
- '404': None,
5418
- }
5419
- response_data = self.api_client.call_api(
5420
- *_param,
5421
- _request_timeout=_request_timeout
5422
- )
5423
- return response_data.response
5424
-
5425
-
5426
- def _update_solution_serialize(
5427
- self,
5428
- organization_id,
5429
- solution_id,
5430
- solution,
5431
- _request_auth,
5432
- _content_type,
5433
- _headers,
5434
- _host_index,
5435
- ) -> RequestSerialized:
5436
-
5437
- _host = None
5438
-
5439
- _collection_formats: Dict[str, str] = {
5440
- }
5441
-
5442
- _path_params: Dict[str, str] = {}
5443
- _query_params: List[Tuple[str, str]] = []
5444
- _header_params: Dict[str, Optional[str]] = _headers or {}
5445
- _form_params: List[Tuple[str, str]] = []
5446
- _files: Dict[str, Union[str, bytes]] = {}
5447
- _body_params: Optional[bytes] = None
5448
-
5449
- # process the path parameters
5450
- if organization_id is not None:
5451
- _path_params['organization_id'] = organization_id
5452
- if solution_id is not None:
5453
- _path_params['solution_id'] = solution_id
5454
- # process the query parameters
5455
- # process the header parameters
5456
- # process the form parameters
5457
- # process the body parameter
5458
- if solution is not None:
5459
- _body_params = solution
5460
-
5461
-
5462
- # set the HTTP header `Accept`
5463
- if 'Accept' not in _header_params:
5464
- _header_params['Accept'] = self.api_client.select_header_accept(
5465
- [
5466
- 'application/json'
5467
- ]
5468
- )
5469
-
5470
- # set the HTTP header `Content-Type`
5471
- if _content_type:
5472
- _header_params['Content-Type'] = _content_type
5473
- else:
5474
- _default_content_type = (
5475
- self.api_client.select_header_content_type(
5476
- [
5477
- 'application/json',
5478
- 'application/yaml'
5479
- ]
5480
- )
5481
- )
5482
- if _default_content_type is not None:
5483
- _header_params['Content-Type'] = _default_content_type
5484
-
5485
- # authentication setting
5486
- _auth_settings: List[str] = [
5487
- 'oAuth2AuthCode'
5488
- ]
5489
-
5490
- return self.api_client.param_serialize(
5491
- method='PATCH',
5492
- resource_path='/organizations/{organization_id}/solutions/{solution_id}',
5493
- path_params=_path_params,
5494
- query_params=_query_params,
5495
- header_params=_header_params,
5496
- body=_body_params,
5497
- post_params=_form_params,
5498
- files=_files,
5499
- auth_settings=_auth_settings,
5500
- collection_formats=_collection_formats,
5501
- _host=_host,
5502
- _request_auth=_request_auth
5503
- )
5504
-
5505
-
5506
-
5507
-
5508
- @validate_call
5509
- def update_solution_access_control(
5510
- self,
5511
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5512
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5513
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5514
- solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5515
- _request_timeout: Union[
5516
- None,
5517
- Annotated[StrictFloat, Field(gt=0)],
5518
- Tuple[
5519
- Annotated[StrictFloat, Field(gt=0)],
5520
- Annotated[StrictFloat, Field(gt=0)]
5521
- ]
5522
- ] = None,
5523
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5524
- _content_type: Optional[StrictStr] = None,
5525
- _headers: Optional[Dict[StrictStr, Any]] = None,
5526
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5527
- ) -> SolutionAccessControl:
5528
- """Update the specified access to User for a Solution
5529
-
5530
-
5531
- :param organization_id: the Organization identifier (required)
5532
- :type organization_id: str
5533
- :param solution_id: the Solution identifier (required)
5534
- :type solution_id: str
5535
- :param identity_id: the User identifier (required)
5536
- :type identity_id: str
5537
- :param solution_role: The new Solution Access Control (required)
5538
- :type solution_role: SolutionRole
5539
- :param _request_timeout: timeout setting for this request. If one
5540
- number provided, it will be total request
5541
- timeout. It can also be a pair (tuple) of
5542
- (connection, read) timeouts.
5543
- :type _request_timeout: int, tuple(int, int), optional
5544
- :param _request_auth: set to override the auth_settings for an a single
5545
- request; this effectively ignores the
5546
- authentication in the spec for a single request.
5547
- :type _request_auth: dict, optional
5548
- :param _content_type: force content-type for the request.
5549
- :type _content_type: str, Optional
5550
- :param _headers: set to override the headers for a single
5551
- request; this effectively ignores the headers
5552
- in the spec for a single request.
5553
- :type _headers: dict, optional
5554
- :param _host_index: set to override the host_index for a single
5555
- request; this effectively ignores the host_index
5556
- in the spec for a single request.
5557
- :type _host_index: int, optional
5558
- :return: Returns the result object.
5559
- """ # noqa: E501
5560
-
5561
- _param = self._update_solution_access_control_serialize(
5562
- organization_id=organization_id,
5563
- solution_id=solution_id,
5564
- identity_id=identity_id,
5565
- solution_role=solution_role,
5566
- _request_auth=_request_auth,
5567
- _content_type=_content_type,
5568
- _headers=_headers,
5569
- _host_index=_host_index
5570
- )
5571
-
5572
- _response_types_map: Dict[str, Optional[str]] = {
5573
- '200': "SolutionAccessControl",
5574
- '404': None,
5575
- }
5576
- response_data = self.api_client.call_api(
5577
- *_param,
5578
- _request_timeout=_request_timeout
5579
- )
5580
- response_data.read()
5581
- return self.api_client.response_deserialize(
5582
- response_data=response_data,
5583
- response_types_map=_response_types_map,
5584
- ).data
5585
-
5586
-
5587
- @validate_call
5588
- def update_solution_access_control_with_http_info(
4971
+ def update_solution_with_http_info(
5589
4972
  self,
5590
4973
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5591
4974
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5592
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5593
- 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")],
5594
4976
  _request_timeout: Union[
5595
4977
  None,
5596
4978
  Annotated[StrictFloat, Field(gt=0)],
@@ -5603,18 +4985,16 @@ class SolutionApi:
5603
4985
  _content_type: Optional[StrictStr] = None,
5604
4986
  _headers: Optional[Dict[StrictStr, Any]] = None,
5605
4987
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5606
- ) -> ApiResponse[SolutionAccessControl]:
5607
- """Update the specified access to User for a Solution
4988
+ ) -> ApiResponse[Solution]:
4989
+ """Update a solution
5608
4990
 
5609
4991
 
5610
4992
  :param organization_id: the Organization identifier (required)
5611
4993
  :type organization_id: str
5612
4994
  :param solution_id: the Solution identifier (required)
5613
4995
  :type solution_id: str
5614
- :param identity_id: the User identifier (required)
5615
- :type identity_id: str
5616
- :param solution_role: The new Solution Access Control (required)
5617
- :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
5618
4998
  :param _request_timeout: timeout setting for this request. If one
5619
4999
  number provided, it will be total request
5620
5000
  timeout. It can also be a pair (tuple) of
@@ -5637,11 +5017,10 @@ class SolutionApi:
5637
5017
  :return: Returns the result object.
5638
5018
  """ # noqa: E501
5639
5019
 
5640
- _param = self._update_solution_access_control_serialize(
5020
+ _param = self._update_solution_serialize(
5641
5021
  organization_id=organization_id,
5642
5022
  solution_id=solution_id,
5643
- identity_id=identity_id,
5644
- solution_role=solution_role,
5023
+ solution=solution,
5645
5024
  _request_auth=_request_auth,
5646
5025
  _content_type=_content_type,
5647
5026
  _headers=_headers,
@@ -5649,7 +5028,8 @@ class SolutionApi:
5649
5028
  )
5650
5029
 
5651
5030
  _response_types_map: Dict[str, Optional[str]] = {
5652
- '200': "SolutionAccessControl",
5031
+ '200': "Solution",
5032
+ '400': None,
5653
5033
  '404': None,
5654
5034
  }
5655
5035
  response_data = self.api_client.call_api(
@@ -5664,12 +5044,11 @@ class SolutionApi:
5664
5044
 
5665
5045
 
5666
5046
  @validate_call
5667
- def update_solution_access_control_without_preload_content(
5047
+ def update_solution_without_preload_content(
5668
5048
  self,
5669
5049
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5670
5050
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5671
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5672
- 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")],
5673
5052
  _request_timeout: Union[
5674
5053
  None,
5675
5054
  Annotated[StrictFloat, Field(gt=0)],
@@ -5683,17 +5062,15 @@ class SolutionApi:
5683
5062
  _headers: Optional[Dict[StrictStr, Any]] = None,
5684
5063
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5685
5064
  ) -> RESTResponseType:
5686
- """Update the specified access to User for a Solution
5065
+ """Update a solution
5687
5066
 
5688
5067
 
5689
5068
  :param organization_id: the Organization identifier (required)
5690
5069
  :type organization_id: str
5691
5070
  :param solution_id: the Solution identifier (required)
5692
5071
  :type solution_id: str
5693
- :param identity_id: the User identifier (required)
5694
- :type identity_id: str
5695
- :param solution_role: The new Solution Access Control (required)
5696
- :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
5697
5074
  :param _request_timeout: timeout setting for this request. If one
5698
5075
  number provided, it will be total request
5699
5076
  timeout. It can also be a pair (tuple) of
@@ -5716,11 +5093,10 @@ class SolutionApi:
5716
5093
  :return: Returns the result object.
5717
5094
  """ # noqa: E501
5718
5095
 
5719
- _param = self._update_solution_access_control_serialize(
5096
+ _param = self._update_solution_serialize(
5720
5097
  organization_id=organization_id,
5721
5098
  solution_id=solution_id,
5722
- identity_id=identity_id,
5723
- solution_role=solution_role,
5099
+ solution=solution,
5724
5100
  _request_auth=_request_auth,
5725
5101
  _content_type=_content_type,
5726
5102
  _headers=_headers,
@@ -5728,7 +5104,8 @@ class SolutionApi:
5728
5104
  )
5729
5105
 
5730
5106
  _response_types_map: Dict[str, Optional[str]] = {
5731
- '200': "SolutionAccessControl",
5107
+ '200': "Solution",
5108
+ '400': None,
5732
5109
  '404': None,
5733
5110
  }
5734
5111
  response_data = self.api_client.call_api(
@@ -5738,12 +5115,11 @@ class SolutionApi:
5738
5115
  return response_data.response
5739
5116
 
5740
5117
 
5741
- def _update_solution_access_control_serialize(
5118
+ def _update_solution_serialize(
5742
5119
  self,
5743
5120
  organization_id,
5744
5121
  solution_id,
5745
- identity_id,
5746
- solution_role,
5122
+ solution,
5747
5123
  _request_auth,
5748
5124
  _content_type,
5749
5125
  _headers,
@@ -5767,14 +5143,12 @@ class SolutionApi:
5767
5143
  _path_params['organization_id'] = organization_id
5768
5144
  if solution_id is not None:
5769
5145
  _path_params['solution_id'] = solution_id
5770
- if identity_id is not None:
5771
- _path_params['identity_id'] = identity_id
5772
5146
  # process the query parameters
5773
5147
  # process the header parameters
5774
5148
  # process the form parameters
5775
5149
  # process the body parameter
5776
- if solution_role is not None:
5777
- _body_params = solution_role
5150
+ if solution is not None:
5151
+ _body_params = solution
5778
5152
 
5779
5153
 
5780
5154
  # set the HTTP header `Accept`
@@ -5807,7 +5181,7 @@ class SolutionApi:
5807
5181
 
5808
5182
  return self.api_client.param_serialize(
5809
5183
  method='PATCH',
5810
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
5184
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}',
5811
5185
  path_params=_path_params,
5812
5186
  query_params=_query_params,
5813
5187
  header_params=_header_params,
@@ -5824,12 +5198,12 @@ class SolutionApi:
5824
5198
 
5825
5199
 
5826
5200
  @validate_call
5827
- def update_solution_run_template(
5201
+ def update_solution_access_control(
5828
5202
  self,
5829
5203
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5830
5204
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5831
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
5832
- 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")],
5833
5207
  _request_timeout: Union[
5834
5208
  None,
5835
5209
  Annotated[StrictFloat, Field(gt=0)],
@@ -5842,18 +5216,18 @@ class SolutionApi:
5842
5216
  _content_type: Optional[StrictStr] = None,
5843
5217
  _headers: Optional[Dict[StrictStr, Any]] = None,
5844
5218
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5845
- ) -> List[RunTemplate]:
5846
- """Update the specified Solution Run Template
5219
+ ) -> SolutionAccessControl:
5220
+ """Update the specified access to User for a Solution
5847
5221
 
5848
5222
 
5849
5223
  :param organization_id: the Organization identifier (required)
5850
5224
  :type organization_id: str
5851
5225
  :param solution_id: the Solution identifier (required)
5852
5226
  :type solution_id: str
5853
- :param run_template_id: the Run Template identifier (required)
5854
- :type run_template_id: str
5855
- :param run_template: the Run Templates (required)
5856
- :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
5857
5231
  :param _request_timeout: timeout setting for this request. If one
5858
5232
  number provided, it will be total request
5859
5233
  timeout. It can also be a pair (tuple) of
@@ -5876,11 +5250,11 @@ class SolutionApi:
5876
5250
  :return: Returns the result object.
5877
5251
  """ # noqa: E501
5878
5252
 
5879
- _param = self._update_solution_run_template_serialize(
5253
+ _param = self._update_solution_access_control_serialize(
5880
5254
  organization_id=organization_id,
5881
5255
  solution_id=solution_id,
5882
- run_template_id=run_template_id,
5883
- run_template=run_template,
5256
+ identity_id=identity_id,
5257
+ solution_role=solution_role,
5884
5258
  _request_auth=_request_auth,
5885
5259
  _content_type=_content_type,
5886
5260
  _headers=_headers,
@@ -5888,8 +5262,7 @@ class SolutionApi:
5888
5262
  )
5889
5263
 
5890
5264
  _response_types_map: Dict[str, Optional[str]] = {
5891
- '200': "List[RunTemplate]",
5892
- '400': None,
5265
+ '200': "SolutionAccessControl",
5893
5266
  '404': None,
5894
5267
  }
5895
5268
  response_data = self.api_client.call_api(
@@ -5904,12 +5277,12 @@ class SolutionApi:
5904
5277
 
5905
5278
 
5906
5279
  @validate_call
5907
- def update_solution_run_template_with_http_info(
5280
+ def update_solution_access_control_with_http_info(
5908
5281
  self,
5909
5282
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5910
5283
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5911
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
5912
- 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")],
5913
5286
  _request_timeout: Union[
5914
5287
  None,
5915
5288
  Annotated[StrictFloat, Field(gt=0)],
@@ -5922,18 +5295,18 @@ class SolutionApi:
5922
5295
  _content_type: Optional[StrictStr] = None,
5923
5296
  _headers: Optional[Dict[StrictStr, Any]] = None,
5924
5297
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5925
- ) -> ApiResponse[List[RunTemplate]]:
5926
- """Update the specified Solution Run Template
5298
+ ) -> ApiResponse[SolutionAccessControl]:
5299
+ """Update the specified access to User for a Solution
5927
5300
 
5928
5301
 
5929
5302
  :param organization_id: the Organization identifier (required)
5930
5303
  :type organization_id: str
5931
5304
  :param solution_id: the Solution identifier (required)
5932
5305
  :type solution_id: str
5933
- :param run_template_id: the Run Template identifier (required)
5934
- :type run_template_id: str
5935
- :param run_template: the Run Templates (required)
5936
- :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
5937
5310
  :param _request_timeout: timeout setting for this request. If one
5938
5311
  number provided, it will be total request
5939
5312
  timeout. It can also be a pair (tuple) of
@@ -5956,11 +5329,11 @@ class SolutionApi:
5956
5329
  :return: Returns the result object.
5957
5330
  """ # noqa: E501
5958
5331
 
5959
- _param = self._update_solution_run_template_serialize(
5332
+ _param = self._update_solution_access_control_serialize(
5960
5333
  organization_id=organization_id,
5961
5334
  solution_id=solution_id,
5962
- run_template_id=run_template_id,
5963
- run_template=run_template,
5335
+ identity_id=identity_id,
5336
+ solution_role=solution_role,
5964
5337
  _request_auth=_request_auth,
5965
5338
  _content_type=_content_type,
5966
5339
  _headers=_headers,
@@ -5968,8 +5341,7 @@ class SolutionApi:
5968
5341
  )
5969
5342
 
5970
5343
  _response_types_map: Dict[str, Optional[str]] = {
5971
- '200': "List[RunTemplate]",
5972
- '400': None,
5344
+ '200': "SolutionAccessControl",
5973
5345
  '404': None,
5974
5346
  }
5975
5347
  response_data = self.api_client.call_api(
@@ -5984,12 +5356,12 @@ class SolutionApi:
5984
5356
 
5985
5357
 
5986
5358
  @validate_call
5987
- def update_solution_run_template_without_preload_content(
5359
+ def update_solution_access_control_without_preload_content(
5988
5360
  self,
5989
5361
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5990
5362
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5991
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
5992
- 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")],
5993
5365
  _request_timeout: Union[
5994
5366
  None,
5995
5367
  Annotated[StrictFloat, Field(gt=0)],
@@ -6003,17 +5375,17 @@ class SolutionApi:
6003
5375
  _headers: Optional[Dict[StrictStr, Any]] = None,
6004
5376
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6005
5377
  ) -> RESTResponseType:
6006
- """Update the specified Solution Run Template
5378
+ """Update the specified access to User for a Solution
6007
5379
 
6008
5380
 
6009
5381
  :param organization_id: the Organization identifier (required)
6010
5382
  :type organization_id: str
6011
5383
  :param solution_id: the Solution identifier (required)
6012
5384
  :type solution_id: str
6013
- :param run_template_id: the Run Template identifier (required)
6014
- :type run_template_id: str
6015
- :param run_template: the Run Templates (required)
6016
- :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
6017
5389
  :param _request_timeout: timeout setting for this request. If one
6018
5390
  number provided, it will be total request
6019
5391
  timeout. It can also be a pair (tuple) of
@@ -6036,11 +5408,11 @@ class SolutionApi:
6036
5408
  :return: Returns the result object.
6037
5409
  """ # noqa: E501
6038
5410
 
6039
- _param = self._update_solution_run_template_serialize(
5411
+ _param = self._update_solution_access_control_serialize(
6040
5412
  organization_id=organization_id,
6041
5413
  solution_id=solution_id,
6042
- run_template_id=run_template_id,
6043
- run_template=run_template,
5414
+ identity_id=identity_id,
5415
+ solution_role=solution_role,
6044
5416
  _request_auth=_request_auth,
6045
5417
  _content_type=_content_type,
6046
5418
  _headers=_headers,
@@ -6048,8 +5420,7 @@ class SolutionApi:
6048
5420
  )
6049
5421
 
6050
5422
  _response_types_map: Dict[str, Optional[str]] = {
6051
- '200': "List[RunTemplate]",
6052
- '400': None,
5423
+ '200': "SolutionAccessControl",
6053
5424
  '404': None,
6054
5425
  }
6055
5426
  response_data = self.api_client.call_api(
@@ -6059,12 +5430,12 @@ class SolutionApi:
6059
5430
  return response_data.response
6060
5431
 
6061
5432
 
6062
- def _update_solution_run_template_serialize(
5433
+ def _update_solution_access_control_serialize(
6063
5434
  self,
6064
5435
  organization_id,
6065
5436
  solution_id,
6066
- run_template_id,
6067
- run_template,
5437
+ identity_id,
5438
+ solution_role,
6068
5439
  _request_auth,
6069
5440
  _content_type,
6070
5441
  _headers,
@@ -6088,14 +5459,14 @@ class SolutionApi:
6088
5459
  _path_params['organization_id'] = organization_id
6089
5460
  if solution_id is not None:
6090
5461
  _path_params['solution_id'] = solution_id
6091
- if run_template_id is not None:
6092
- _path_params['run_template_id'] = run_template_id
5462
+ if identity_id is not None:
5463
+ _path_params['identity_id'] = identity_id
6093
5464
  # process the query parameters
6094
5465
  # process the header parameters
6095
5466
  # process the form parameters
6096
5467
  # process the body parameter
6097
- if run_template is not None:
6098
- _body_params = run_template
5468
+ if solution_role is not None:
5469
+ _body_params = solution_role
6099
5470
 
6100
5471
 
6101
5472
  # set the HTTP header `Accept`
@@ -6113,8 +5484,7 @@ class SolutionApi:
6113
5484
  _default_content_type = (
6114
5485
  self.api_client.select_header_content_type(
6115
5486
  [
6116
- 'application/json',
6117
- 'application/yaml'
5487
+ 'application/json'
6118
5488
  ]
6119
5489
  )
6120
5490
  )
@@ -6128,7 +5498,7 @@ class SolutionApi:
6128
5498
 
6129
5499
  return self.api_client.param_serialize(
6130
5500
  method='PATCH',
6131
- 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}',
6132
5502
  path_params=_path_params,
6133
5503
  query_params=_query_params,
6134
5504
  header_params=_header_params,
@@ -6145,14 +5515,12 @@ class SolutionApi:
6145
5515
 
6146
5516
 
6147
5517
  @validate_call
6148
- def upload_run_template_handler(
5518
+ def update_solution_run_template(
6149
5519
  self,
6150
5520
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6151
5521
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
6152
5522
  run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
6153
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
6154
- body: Union[StrictBytes, StrictStr],
6155
- overwrite: Annotated[Optional[StrictBool], Field(description="whether to overwrite any existing handler resource")] = None,
5523
+ run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
6156
5524
  _request_timeout: Union[
6157
5525
  None,
6158
5526
  Annotated[StrictFloat, Field(gt=0)],
@@ -6165,8 +5533,8 @@ class SolutionApi:
6165
5533
  _content_type: Optional[StrictStr] = None,
6166
5534
  _headers: Optional[Dict[StrictStr, Any]] = None,
6167
5535
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6168
- ) -> None:
6169
- """Upload a Run Template step handler zip file
5536
+ ) -> List[RunTemplate]:
5537
+ """Update the specified Solution Run Template
6170
5538
 
6171
5539
 
6172
5540
  :param organization_id: the Organization identifier (required)
@@ -6175,12 +5543,8 @@ class SolutionApi:
6175
5543
  :type solution_id: str
6176
5544
  :param run_template_id: the Run Template identifier (required)
6177
5545
  :type run_template_id: str
6178
- :param handler_id: the Handler identifier (required)
6179
- :type handler_id: RunTemplateHandlerId
6180
- :param body: (required)
6181
- :type body: bytearray
6182
- :param overwrite: whether to overwrite any existing handler resource
6183
- :type overwrite: bool
5546
+ :param run_template: the Run Templates (required)
5547
+ :type run_template: RunTemplate
6184
5548
  :param _request_timeout: timeout setting for this request. If one
6185
5549
  number provided, it will be total request
6186
5550
  timeout. It can also be a pair (tuple) of
@@ -6203,13 +5567,11 @@ class SolutionApi:
6203
5567
  :return: Returns the result object.
6204
5568
  """ # noqa: E501
6205
5569
 
6206
- _param = self._upload_run_template_handler_serialize(
5570
+ _param = self._update_solution_run_template_serialize(
6207
5571
  organization_id=organization_id,
6208
5572
  solution_id=solution_id,
6209
5573
  run_template_id=run_template_id,
6210
- handler_id=handler_id,
6211
- body=body,
6212
- overwrite=overwrite,
5574
+ run_template=run_template,
6213
5575
  _request_auth=_request_auth,
6214
5576
  _content_type=_content_type,
6215
5577
  _headers=_headers,
@@ -6217,8 +5579,9 @@ class SolutionApi:
6217
5579
  )
6218
5580
 
6219
5581
  _response_types_map: Dict[str, Optional[str]] = {
6220
- '201': None,
5582
+ '200': "List[RunTemplate]",
6221
5583
  '400': None,
5584
+ '404': None,
6222
5585
  }
6223
5586
  response_data = self.api_client.call_api(
6224
5587
  *_param,
@@ -6232,14 +5595,12 @@ class SolutionApi:
6232
5595
 
6233
5596
 
6234
5597
  @validate_call
6235
- def upload_run_template_handler_with_http_info(
5598
+ def update_solution_run_template_with_http_info(
6236
5599
  self,
6237
5600
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6238
5601
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
6239
5602
  run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
6240
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
6241
- body: Union[StrictBytes, StrictStr],
6242
- overwrite: Annotated[Optional[StrictBool], Field(description="whether to overwrite any existing handler resource")] = None,
5603
+ run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
6243
5604
  _request_timeout: Union[
6244
5605
  None,
6245
5606
  Annotated[StrictFloat, Field(gt=0)],
@@ -6252,8 +5613,8 @@ class SolutionApi:
6252
5613
  _content_type: Optional[StrictStr] = None,
6253
5614
  _headers: Optional[Dict[StrictStr, Any]] = None,
6254
5615
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6255
- ) -> ApiResponse[None]:
6256
- """Upload a Run Template step handler zip file
5616
+ ) -> ApiResponse[List[RunTemplate]]:
5617
+ """Update the specified Solution Run Template
6257
5618
 
6258
5619
 
6259
5620
  :param organization_id: the Organization identifier (required)
@@ -6262,12 +5623,8 @@ class SolutionApi:
6262
5623
  :type solution_id: str
6263
5624
  :param run_template_id: the Run Template identifier (required)
6264
5625
  :type run_template_id: str
6265
- :param handler_id: the Handler identifier (required)
6266
- :type handler_id: RunTemplateHandlerId
6267
- :param body: (required)
6268
- :type body: bytearray
6269
- :param overwrite: whether to overwrite any existing handler resource
6270
- :type overwrite: bool
5626
+ :param run_template: the Run Templates (required)
5627
+ :type run_template: RunTemplate
6271
5628
  :param _request_timeout: timeout setting for this request. If one
6272
5629
  number provided, it will be total request
6273
5630
  timeout. It can also be a pair (tuple) of
@@ -6290,13 +5647,11 @@ class SolutionApi:
6290
5647
  :return: Returns the result object.
6291
5648
  """ # noqa: E501
6292
5649
 
6293
- _param = self._upload_run_template_handler_serialize(
5650
+ _param = self._update_solution_run_template_serialize(
6294
5651
  organization_id=organization_id,
6295
5652
  solution_id=solution_id,
6296
5653
  run_template_id=run_template_id,
6297
- handler_id=handler_id,
6298
- body=body,
6299
- overwrite=overwrite,
5654
+ run_template=run_template,
6300
5655
  _request_auth=_request_auth,
6301
5656
  _content_type=_content_type,
6302
5657
  _headers=_headers,
@@ -6304,8 +5659,9 @@ class SolutionApi:
6304
5659
  )
6305
5660
 
6306
5661
  _response_types_map: Dict[str, Optional[str]] = {
6307
- '201': None,
5662
+ '200': "List[RunTemplate]",
6308
5663
  '400': None,
5664
+ '404': None,
6309
5665
  }
6310
5666
  response_data = self.api_client.call_api(
6311
5667
  *_param,
@@ -6319,14 +5675,12 @@ class SolutionApi:
6319
5675
 
6320
5676
 
6321
5677
  @validate_call
6322
- def upload_run_template_handler_without_preload_content(
5678
+ def update_solution_run_template_without_preload_content(
6323
5679
  self,
6324
5680
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6325
5681
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
6326
5682
  run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
6327
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
6328
- body: Union[StrictBytes, StrictStr],
6329
- overwrite: Annotated[Optional[StrictBool], Field(description="whether to overwrite any existing handler resource")] = None,
5683
+ run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
6330
5684
  _request_timeout: Union[
6331
5685
  None,
6332
5686
  Annotated[StrictFloat, Field(gt=0)],
@@ -6340,7 +5694,7 @@ class SolutionApi:
6340
5694
  _headers: Optional[Dict[StrictStr, Any]] = None,
6341
5695
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6342
5696
  ) -> RESTResponseType:
6343
- """Upload a Run Template step handler zip file
5697
+ """Update the specified Solution Run Template
6344
5698
 
6345
5699
 
6346
5700
  :param organization_id: the Organization identifier (required)
@@ -6349,12 +5703,8 @@ class SolutionApi:
6349
5703
  :type solution_id: str
6350
5704
  :param run_template_id: the Run Template identifier (required)
6351
5705
  :type run_template_id: str
6352
- :param handler_id: the Handler identifier (required)
6353
- :type handler_id: RunTemplateHandlerId
6354
- :param body: (required)
6355
- :type body: bytearray
6356
- :param overwrite: whether to overwrite any existing handler resource
6357
- :type overwrite: bool
5706
+ :param run_template: the Run Templates (required)
5707
+ :type run_template: RunTemplate
6358
5708
  :param _request_timeout: timeout setting for this request. If one
6359
5709
  number provided, it will be total request
6360
5710
  timeout. It can also be a pair (tuple) of
@@ -6377,13 +5727,11 @@ class SolutionApi:
6377
5727
  :return: Returns the result object.
6378
5728
  """ # noqa: E501
6379
5729
 
6380
- _param = self._upload_run_template_handler_serialize(
5730
+ _param = self._update_solution_run_template_serialize(
6381
5731
  organization_id=organization_id,
6382
5732
  solution_id=solution_id,
6383
5733
  run_template_id=run_template_id,
6384
- handler_id=handler_id,
6385
- body=body,
6386
- overwrite=overwrite,
5734
+ run_template=run_template,
6387
5735
  _request_auth=_request_auth,
6388
5736
  _content_type=_content_type,
6389
5737
  _headers=_headers,
@@ -6391,8 +5739,9 @@ class SolutionApi:
6391
5739
  )
6392
5740
 
6393
5741
  _response_types_map: Dict[str, Optional[str]] = {
6394
- '201': None,
5742
+ '200': "List[RunTemplate]",
6395
5743
  '400': None,
5744
+ '404': None,
6396
5745
  }
6397
5746
  response_data = self.api_client.call_api(
6398
5747
  *_param,
@@ -6401,14 +5750,12 @@ class SolutionApi:
6401
5750
  return response_data.response
6402
5751
 
6403
5752
 
6404
- def _upload_run_template_handler_serialize(
5753
+ def _update_solution_run_template_serialize(
6405
5754
  self,
6406
5755
  organization_id,
6407
5756
  solution_id,
6408
5757
  run_template_id,
6409
- handler_id,
6410
- body,
6411
- overwrite,
5758
+ run_template,
6412
5759
  _request_auth,
6413
5760
  _content_type,
6414
5761
  _headers,
@@ -6434,25 +5781,21 @@ class SolutionApi:
6434
5781
  _path_params['solution_id'] = solution_id
6435
5782
  if run_template_id is not None:
6436
5783
  _path_params['run_template_id'] = run_template_id
6437
- if handler_id is not None:
6438
- _path_params['handler_id'] = handler_id.value
6439
5784
  # process the query parameters
6440
- if overwrite is not None:
6441
-
6442
- _query_params.append(('overwrite', overwrite))
6443
-
6444
5785
  # process the header parameters
6445
5786
  # process the form parameters
6446
5787
  # process the body parameter
6447
- if body is not None:
6448
- # convert to byte array if the input is a file name (str)
6449
- if isinstance(body, str):
6450
- with open(body, "rb") as _fp:
6451
- _body_params = _fp.read()
6452
- else:
6453
- _body_params = body
5788
+ if run_template is not None:
5789
+ _body_params = run_template
6454
5790
 
6455
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
+ )
6456
5799
 
6457
5800
  # set the HTTP header `Content-Type`
6458
5801
  if _content_type:
@@ -6461,7 +5804,8 @@ class SolutionApi:
6461
5804
  _default_content_type = (
6462
5805
  self.api_client.select_header_content_type(
6463
5806
  [
6464
- 'application/octet-stream'
5807
+ 'application/json',
5808
+ 'application/yaml'
6465
5809
  ]
6466
5810
  )
6467
5811
  )
@@ -6474,8 +5818,8 @@ class SolutionApi:
6474
5818
  ]
6475
5819
 
6476
5820
  return self.api_client.param_serialize(
6477
- method='POST',
6478
- 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}',
6479
5823
  path_params=_path_params,
6480
5824
  query_params=_query_params,
6481
5825
  header_params=_header_params,