cosmotech-api 3.2.6__py3-none-any.whl → 3.2.6.dev0__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (244) hide show
  1. cosmotech_api/__init__.py +3 -45
  2. cosmotech_api/api/__init__.py +0 -3
  3. cosmotech_api/api/connector_api.py +7 -262
  4. cosmotech_api/api/dataset_api.py +19 -19
  5. cosmotech_api/api/organization_api.py +8 -869
  6. cosmotech_api/api/run_api.py +7 -7
  7. cosmotech_api/api/runner_api.py +13 -12
  8. cosmotech_api/api/scenario_api.py +3265 -6544
  9. cosmotech_api/api/scenariorun_api.py +1960 -4007
  10. cosmotech_api/api/scenariorunresult_api.py +1 -1
  11. cosmotech_api/api/solution_api.py +394 -1045
  12. cosmotech_api/api/twingraph_api.py +2061 -4118
  13. cosmotech_api/api/validator_api.py +1 -1
  14. cosmotech_api/api/workspace_api.py +12 -315
  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 +21 -5
  67. cosmotech_api/model/runner_access_control.py +1 -1
  68. cosmotech_api/model/runner_changed_parameter_value.py +1 -1
  69. cosmotech_api/model/runner_comparison_result.py +1 -1
  70. cosmotech_api/model/runner_data_download_info.py +11 -1
  71. cosmotech_api/model/runner_data_download_job.py +1 -1
  72. cosmotech_api/model/runner_job_state.py +1 -1
  73. cosmotech_api/model/runner_last_run.py +1 -1
  74. cosmotech_api/model/runner_resource_sizing.py +1 -1
  75. cosmotech_api/model/runner_role.py +1 -1
  76. cosmotech_api/model/runner_run_template_parameter_value.py +1 -1
  77. cosmotech_api/model/runner_security.py +1 -1
  78. cosmotech_api/model/runner_validation_status.py +1 -1
  79. cosmotech_api/model/scenario.py +1 -1
  80. cosmotech_api/model/scenario_access_control.py +1 -1
  81. cosmotech_api/model/scenario_changed_parameter_value.py +1 -1
  82. cosmotech_api/model/scenario_comparison_result.py +1 -1
  83. cosmotech_api/model/scenario_data_download_info.py +1 -1
  84. cosmotech_api/model/scenario_data_download_job.py +1 -1
  85. cosmotech_api/model/scenario_job_state.py +1 -1
  86. cosmotech_api/model/scenario_last_run.py +1 -1
  87. cosmotech_api/model/scenario_resource_sizing.py +1 -1
  88. cosmotech_api/model/scenario_role.py +1 -1
  89. cosmotech_api/model/scenario_run.py +1 -1
  90. cosmotech_api/model/scenario_run_container.py +1 -1
  91. cosmotech_api/model/scenario_run_container_artifact.py +1 -1
  92. cosmotech_api/model/scenario_run_container_logs.py +1 -1
  93. cosmotech_api/model/scenario_run_logs.py +1 -1
  94. cosmotech_api/model/scenario_run_resource_requested.py +1 -1
  95. cosmotech_api/model/scenario_run_result.py +1 -1
  96. cosmotech_api/model/scenario_run_search.py +1 -1
  97. cosmotech_api/model/scenario_run_start_containers.py +1 -1
  98. cosmotech_api/model/scenario_run_state.py +1 -1
  99. cosmotech_api/model/scenario_run_status.py +1 -1
  100. cosmotech_api/model/scenario_run_status_node.py +1 -1
  101. cosmotech_api/model/scenario_run_template_parameter_value.py +1 -1
  102. cosmotech_api/model/scenario_security.py +1 -1
  103. cosmotech_api/model/scenario_validation_status.py +1 -1
  104. cosmotech_api/model/solution.py +1 -1
  105. cosmotech_api/model/solution_access_control.py +1 -1
  106. cosmotech_api/model/solution_role.py +1 -1
  107. cosmotech_api/model/solution_security.py +1 -1
  108. cosmotech_api/model/source_info.py +1 -1
  109. cosmotech_api/model/sub_dataset_graph_query.py +1 -1
  110. cosmotech_api/model/translated_labels.py +1 -1
  111. cosmotech_api/model/twin_graph_batch_result.py +1 -1
  112. cosmotech_api/model/twin_graph_hash.py +1 -1
  113. cosmotech_api/model/twin_graph_query.py +1 -1
  114. cosmotech_api/model/validator.py +1 -1
  115. cosmotech_api/model/validator_run.py +1 -1
  116. cosmotech_api/model/workspace.py +1 -1
  117. cosmotech_api/model/workspace_access_control.py +1 -1
  118. cosmotech_api/model/workspace_file.py +1 -1
  119. cosmotech_api/model/workspace_role.py +1 -1
  120. cosmotech_api/model/workspace_secret.py +1 -1
  121. cosmotech_api/model/workspace_security.py +1 -1
  122. cosmotech_api/model/workspace_solution.py +1 -1
  123. cosmotech_api/model/workspace_web_app.py +1 -1
  124. cosmotech_api/model_utils.py +1 -1
  125. cosmotech_api/models/__init__.py +3 -42
  126. cosmotech_api/models/component_role_permissions.py +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 +88 -0
  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 +1 -1
  156. cosmotech_api/models/organization_services.py +1 -1
  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 +1 -1
  162. cosmotech_api/models/run_container_logs.py +1 -1
  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 +88 -0
  167. cosmotech_api/models/run_resource_requested.py +1 -1
  168. cosmotech_api/models/run_search.py +1 -1
  169. cosmotech_api/models/run_search_state.py +1 -1
  170. cosmotech_api/models/run_start_containers.py +1 -1
  171. cosmotech_api/models/run_state.py +1 -1
  172. cosmotech_api/models/run_status.py +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 +2 -2
  183. cosmotech_api/models/runner_access_control.py +1 -1
  184. cosmotech_api/models/runner_changed_parameter_value.py +1 -1
  185. cosmotech_api/models/runner_comparison_result.py +1 -1
  186. cosmotech_api/models/runner_data_download_info.py +1 -1
  187. cosmotech_api/models/runner_data_download_job.py +1 -1
  188. cosmotech_api/models/runner_resource_sizing.py +1 -1
  189. cosmotech_api/models/runner_role.py +1 -1
  190. cosmotech_api/models/runner_run_template_parameter_value.py +1 -1
  191. cosmotech_api/models/runner_security.py +1 -1
  192. cosmotech_api/models/runner_validation_status.py +1 -1
  193. cosmotech_api/models/scenario.py +2 -2
  194. cosmotech_api/models/scenario_access_control.py +1 -1
  195. cosmotech_api/models/scenario_changed_parameter_value.py +1 -1
  196. cosmotech_api/models/scenario_comparison_result.py +1 -1
  197. cosmotech_api/models/scenario_data_download_info.py +1 -1
  198. cosmotech_api/models/scenario_data_download_job.py +1 -1
  199. cosmotech_api/models/scenario_job_state.py +1 -1
  200. cosmotech_api/models/scenario_last_run.py +1 -1
  201. cosmotech_api/models/scenario_resource_sizing.py +1 -1
  202. cosmotech_api/models/scenario_role.py +1 -1
  203. cosmotech_api/models/scenario_run.py +1 -1
  204. cosmotech_api/models/scenario_run_container.py +1 -1
  205. cosmotech_api/models/scenario_run_container_artifact.py +1 -1
  206. cosmotech_api/models/scenario_run_container_logs.py +1 -1
  207. cosmotech_api/models/scenario_run_logs.py +1 -1
  208. cosmotech_api/models/scenario_run_resource_requested.py +1 -1
  209. cosmotech_api/models/scenario_run_search.py +1 -1
  210. cosmotech_api/models/scenario_run_search_state.py +1 -1
  211. cosmotech_api/models/scenario_run_start_containers.py +1 -1
  212. cosmotech_api/models/scenario_run_state.py +1 -1
  213. cosmotech_api/models/scenario_run_status.py +1 -1
  214. cosmotech_api/models/scenario_run_status_node.py +1 -1
  215. cosmotech_api/models/scenario_run_template_parameter_value.py +1 -1
  216. cosmotech_api/models/scenario_security.py +1 -1
  217. cosmotech_api/models/scenario_validation_status.py +1 -1
  218. cosmotech_api/models/send_run_data_request.py +1 -1
  219. cosmotech_api/models/solution.py +2 -2
  220. cosmotech_api/models/solution_access_control.py +1 -1
  221. cosmotech_api/models/solution_role.py +1 -1
  222. cosmotech_api/models/solution_security.py +1 -1
  223. cosmotech_api/models/source_info.py +1 -1
  224. cosmotech_api/models/sub_dataset_graph_query.py +1 -1
  225. cosmotech_api/models/twin_graph_batch_result.py +1 -1
  226. cosmotech_api/models/twin_graph_hash.py +1 -1
  227. cosmotech_api/models/twin_graph_query.py +1 -1
  228. cosmotech_api/models/twincache_status_enum.py +1 -1
  229. cosmotech_api/models/validator.py +1 -1
  230. cosmotech_api/models/workspace.py +2 -2
  231. cosmotech_api/models/workspace_access_control.py +1 -1
  232. cosmotech_api/models/workspace_file.py +1 -1
  233. cosmotech_api/models/workspace_role.py +1 -1
  234. cosmotech_api/models/workspace_secret.py +7 -5
  235. cosmotech_api/models/workspace_security.py +1 -1
  236. cosmotech_api/models/workspace_solution.py +1 -1
  237. cosmotech_api/models/workspace_web_app.py +1 -1
  238. cosmotech_api/rest.py +1 -1
  239. {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/METADATA +1 -1
  240. cosmotech_api-3.2.6.dev0.dist-info/RECORD +262 -0
  241. {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/WHEEL +1 -1
  242. cosmotech_api-3.2.6.dist-info/RECORD +0 -260
  243. {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/LICENSE +0 -0
  244. {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Cosmo Tech Platform API
7
7
 
8
- The version of the OpenAPI document: 3.2.6
8
+ The version of the OpenAPI document: 4.0.0-onprem.7
9
9
  Contact: platform@cosmotech.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -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
@@ -2101,12 +2100,11 @@ class SolutionApi:
2101
2100
 
2102
2101
 
2103
2102
  @validate_call
2104
- def download_run_template_handler(
2103
+ def find_all_solutions(
2105
2104
  self,
2106
2105
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2107
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2108
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
2109
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
2106
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2107
+ size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2110
2108
  _request_timeout: Union[
2111
2109
  None,
2112
2110
  Annotated[StrictFloat, Field(gt=0)],
@@ -2119,18 +2117,16 @@ class SolutionApi:
2119
2117
  _content_type: Optional[StrictStr] = None,
2120
2118
  _headers: Optional[Dict[StrictStr, Any]] = None,
2121
2119
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2122
- ) -> bytearray:
2123
- """Download a Run Template step handler zip file
2120
+ ) -> List[Solution]:
2121
+ """List all Solutions
2124
2122
 
2125
2123
 
2126
2124
  :param organization_id: the Organization identifier (required)
2127
2125
  :type organization_id: str
2128
- :param solution_id: the Solution identifier (required)
2129
- :type solution_id: str
2130
- :param run_template_id: the Run Template identifier (required)
2131
- :type run_template_id: str
2132
- :param handler_id: the Handler identifier (required)
2133
- :type handler_id: RunTemplateHandlerId
2126
+ :param page: page number to query (first page is at index 0)
2127
+ :type page: int
2128
+ :param size: amount of result by page
2129
+ :type size: int
2134
2130
  :param _request_timeout: timeout setting for this request. If one
2135
2131
  number provided, it will be total request
2136
2132
  timeout. It can also be a pair (tuple) of
@@ -2153,11 +2149,10 @@ class SolutionApi:
2153
2149
  :return: Returns the result object.
2154
2150
  """ # noqa: E501
2155
2151
 
2156
- _param = self._download_run_template_handler_serialize(
2152
+ _param = self._find_all_solutions_serialize(
2157
2153
  organization_id=organization_id,
2158
- solution_id=solution_id,
2159
- run_template_id=run_template_id,
2160
- handler_id=handler_id,
2154
+ page=page,
2155
+ size=size,
2161
2156
  _request_auth=_request_auth,
2162
2157
  _content_type=_content_type,
2163
2158
  _headers=_headers,
@@ -2165,8 +2160,7 @@ class SolutionApi:
2165
2160
  )
2166
2161
 
2167
2162
  _response_types_map: Dict[str, Optional[str]] = {
2168
- '200': "bytearray",
2169
- '404': None,
2163
+ '200': "List[Solution]",
2170
2164
  }
2171
2165
  response_data = self.api_client.call_api(
2172
2166
  *_param,
@@ -2180,12 +2174,11 @@ class SolutionApi:
2180
2174
 
2181
2175
 
2182
2176
  @validate_call
2183
- def download_run_template_handler_with_http_info(
2177
+ def find_all_solutions_with_http_info(
2184
2178
  self,
2185
2179
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2186
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2187
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
2188
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
2180
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2181
+ size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2189
2182
  _request_timeout: Union[
2190
2183
  None,
2191
2184
  Annotated[StrictFloat, Field(gt=0)],
@@ -2198,18 +2191,16 @@ class SolutionApi:
2198
2191
  _content_type: Optional[StrictStr] = None,
2199
2192
  _headers: Optional[Dict[StrictStr, Any]] = None,
2200
2193
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2201
- ) -> ApiResponse[bytearray]:
2202
- """Download a Run Template step handler zip file
2194
+ ) -> ApiResponse[List[Solution]]:
2195
+ """List all Solutions
2203
2196
 
2204
2197
 
2205
2198
  :param organization_id: the Organization identifier (required)
2206
2199
  :type organization_id: str
2207
- :param solution_id: the Solution identifier (required)
2208
- :type solution_id: str
2209
- :param run_template_id: the Run Template identifier (required)
2210
- :type run_template_id: str
2211
- :param handler_id: the Handler identifier (required)
2212
- :type handler_id: RunTemplateHandlerId
2200
+ :param page: page number to query (first page is at index 0)
2201
+ :type page: int
2202
+ :param size: amount of result by page
2203
+ :type size: int
2213
2204
  :param _request_timeout: timeout setting for this request. If one
2214
2205
  number provided, it will be total request
2215
2206
  timeout. It can also be a pair (tuple) of
@@ -2232,11 +2223,10 @@ class SolutionApi:
2232
2223
  :return: Returns the result object.
2233
2224
  """ # noqa: E501
2234
2225
 
2235
- _param = self._download_run_template_handler_serialize(
2226
+ _param = self._find_all_solutions_serialize(
2236
2227
  organization_id=organization_id,
2237
- solution_id=solution_id,
2238
- run_template_id=run_template_id,
2239
- handler_id=handler_id,
2228
+ page=page,
2229
+ size=size,
2240
2230
  _request_auth=_request_auth,
2241
2231
  _content_type=_content_type,
2242
2232
  _headers=_headers,
@@ -2244,8 +2234,7 @@ class SolutionApi:
2244
2234
  )
2245
2235
 
2246
2236
  _response_types_map: Dict[str, Optional[str]] = {
2247
- '200': "bytearray",
2248
- '404': None,
2237
+ '200': "List[Solution]",
2249
2238
  }
2250
2239
  response_data = self.api_client.call_api(
2251
2240
  *_param,
@@ -2259,12 +2248,11 @@ class SolutionApi:
2259
2248
 
2260
2249
 
2261
2250
  @validate_call
2262
- def download_run_template_handler_without_preload_content(
2251
+ def find_all_solutions_without_preload_content(
2263
2252
  self,
2264
2253
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2265
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2266
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
2267
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
2254
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2255
+ size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2268
2256
  _request_timeout: Union[
2269
2257
  None,
2270
2258
  Annotated[StrictFloat, Field(gt=0)],
@@ -2278,17 +2266,15 @@ class SolutionApi:
2278
2266
  _headers: Optional[Dict[StrictStr, Any]] = None,
2279
2267
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2280
2268
  ) -> RESTResponseType:
2281
- """Download a Run Template step handler zip file
2269
+ """List all Solutions
2282
2270
 
2283
2271
 
2284
2272
  :param organization_id: the Organization identifier (required)
2285
2273
  :type organization_id: str
2286
- :param solution_id: the Solution identifier (required)
2287
- :type solution_id: str
2288
- :param run_template_id: the Run Template identifier (required)
2289
- :type run_template_id: str
2290
- :param handler_id: the Handler identifier (required)
2291
- :type handler_id: RunTemplateHandlerId
2274
+ :param page: page number to query (first page is at index 0)
2275
+ :type page: int
2276
+ :param size: amount of result by page
2277
+ :type size: int
2292
2278
  :param _request_timeout: timeout setting for this request. If one
2293
2279
  number provided, it will be total request
2294
2280
  timeout. It can also be a pair (tuple) of
@@ -2311,11 +2297,10 @@ class SolutionApi:
2311
2297
  :return: Returns the result object.
2312
2298
  """ # noqa: E501
2313
2299
 
2314
- _param = self._download_run_template_handler_serialize(
2300
+ _param = self._find_all_solutions_serialize(
2315
2301
  organization_id=organization_id,
2316
- solution_id=solution_id,
2317
- run_template_id=run_template_id,
2318
- handler_id=handler_id,
2302
+ page=page,
2303
+ size=size,
2319
2304
  _request_auth=_request_auth,
2320
2305
  _content_type=_content_type,
2321
2306
  _headers=_headers,
@@ -2323,8 +2308,7 @@ class SolutionApi:
2323
2308
  )
2324
2309
 
2325
2310
  _response_types_map: Dict[str, Optional[str]] = {
2326
- '200': "bytearray",
2327
- '404': None,
2311
+ '200': "List[Solution]",
2328
2312
  }
2329
2313
  response_data = self.api_client.call_api(
2330
2314
  *_param,
@@ -2333,12 +2317,11 @@ class SolutionApi:
2333
2317
  return response_data.response
2334
2318
 
2335
2319
 
2336
- def _download_run_template_handler_serialize(
2320
+ def _find_all_solutions_serialize(
2337
2321
  self,
2338
2322
  organization_id,
2339
- solution_id,
2340
- run_template_id,
2341
- handler_id,
2323
+ page,
2324
+ size,
2342
2325
  _request_auth,
2343
2326
  _content_type,
2344
2327
  _headers,
@@ -2360,13 +2343,15 @@ class SolutionApi:
2360
2343
  # process the path parameters
2361
2344
  if organization_id is not None:
2362
2345
  _path_params['organization_id'] = organization_id
2363
- if solution_id is not None:
2364
- _path_params['solution_id'] = solution_id
2365
- if run_template_id is not None:
2366
- _path_params['run_template_id'] = run_template_id
2367
- if handler_id is not None:
2368
- _path_params['handler_id'] = handler_id.value
2369
2346
  # process the query parameters
2347
+ if page is not None:
2348
+
2349
+ _query_params.append(('page', page))
2350
+
2351
+ if size is not None:
2352
+
2353
+ _query_params.append(('size', size))
2354
+
2370
2355
  # process the header parameters
2371
2356
  # process the form parameters
2372
2357
  # process the body parameter
@@ -2375,7 +2360,7 @@ class SolutionApi:
2375
2360
  # set the HTTP header `Accept`
2376
2361
  _header_params['Accept'] = self.api_client.select_header_accept(
2377
2362
  [
2378
- 'application/octet-stream'
2363
+ 'application/json'
2379
2364
  ]
2380
2365
  )
2381
2366
 
@@ -2387,7 +2372,7 @@ class SolutionApi:
2387
2372
 
2388
2373
  return self.api_client.param_serialize(
2389
2374
  method='GET',
2390
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runtemplates/{run_template_id}/handlers/{handler_id}/download',
2375
+ resource_path='/organizations/{organization_id}/solutions',
2391
2376
  path_params=_path_params,
2392
2377
  query_params=_query_params,
2393
2378
  header_params=_header_params,
@@ -2404,11 +2389,10 @@ class SolutionApi:
2404
2389
 
2405
2390
 
2406
2391
  @validate_call
2407
- def find_all_solutions(
2392
+ def find_solution_by_id(
2408
2393
  self,
2409
2394
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2410
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2411
- size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2395
+ solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2412
2396
  _request_timeout: Union[
2413
2397
  None,
2414
2398
  Annotated[StrictFloat, Field(gt=0)],
@@ -2421,16 +2405,14 @@ class SolutionApi:
2421
2405
  _content_type: Optional[StrictStr] = None,
2422
2406
  _headers: Optional[Dict[StrictStr, Any]] = None,
2423
2407
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2424
- ) -> List[Solution]:
2425
- """List all Solutions
2408
+ ) -> Solution:
2409
+ """Get the details of a solution
2426
2410
 
2427
2411
 
2428
2412
  :param organization_id: the Organization identifier (required)
2429
2413
  :type organization_id: str
2430
- :param page: page number to query
2431
- :type page: int
2432
- :param size: amount of result by page
2433
- :type size: int
2414
+ :param solution_id: the Solution identifier (required)
2415
+ :type solution_id: str
2434
2416
  :param _request_timeout: timeout setting for this request. If one
2435
2417
  number provided, it will be total request
2436
2418
  timeout. It can also be a pair (tuple) of
@@ -2453,10 +2435,9 @@ class SolutionApi:
2453
2435
  :return: Returns the result object.
2454
2436
  """ # noqa: E501
2455
2437
 
2456
- _param = self._find_all_solutions_serialize(
2438
+ _param = self._find_solution_by_id_serialize(
2457
2439
  organization_id=organization_id,
2458
- page=page,
2459
- size=size,
2440
+ solution_id=solution_id,
2460
2441
  _request_auth=_request_auth,
2461
2442
  _content_type=_content_type,
2462
2443
  _headers=_headers,
@@ -2464,7 +2445,8 @@ class SolutionApi:
2464
2445
  )
2465
2446
 
2466
2447
  _response_types_map: Dict[str, Optional[str]] = {
2467
- '200': "List[Solution]",
2448
+ '200': "Solution",
2449
+ '404': None,
2468
2450
  }
2469
2451
  response_data = self.api_client.call_api(
2470
2452
  *_param,
@@ -2478,11 +2460,10 @@ class SolutionApi:
2478
2460
 
2479
2461
 
2480
2462
  @validate_call
2481
- def find_all_solutions_with_http_info(
2463
+ def find_solution_by_id_with_http_info(
2482
2464
  self,
2483
2465
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2484
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2485
- size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2466
+ solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2486
2467
  _request_timeout: Union[
2487
2468
  None,
2488
2469
  Annotated[StrictFloat, Field(gt=0)],
@@ -2495,16 +2476,14 @@ class SolutionApi:
2495
2476
  _content_type: Optional[StrictStr] = None,
2496
2477
  _headers: Optional[Dict[StrictStr, Any]] = None,
2497
2478
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2498
- ) -> ApiResponse[List[Solution]]:
2499
- """List all Solutions
2479
+ ) -> ApiResponse[Solution]:
2480
+ """Get the details of a solution
2500
2481
 
2501
2482
 
2502
2483
  :param organization_id: the Organization identifier (required)
2503
2484
  :type organization_id: str
2504
- :param page: page number to query
2505
- :type page: int
2506
- :param size: amount of result by page
2507
- :type size: int
2485
+ :param solution_id: the Solution identifier (required)
2486
+ :type solution_id: str
2508
2487
  :param _request_timeout: timeout setting for this request. If one
2509
2488
  number provided, it will be total request
2510
2489
  timeout. It can also be a pair (tuple) of
@@ -2527,10 +2506,9 @@ class SolutionApi:
2527
2506
  :return: Returns the result object.
2528
2507
  """ # noqa: E501
2529
2508
 
2530
- _param = self._find_all_solutions_serialize(
2509
+ _param = self._find_solution_by_id_serialize(
2531
2510
  organization_id=organization_id,
2532
- page=page,
2533
- size=size,
2511
+ solution_id=solution_id,
2534
2512
  _request_auth=_request_auth,
2535
2513
  _content_type=_content_type,
2536
2514
  _headers=_headers,
@@ -2538,7 +2516,8 @@ class SolutionApi:
2538
2516
  )
2539
2517
 
2540
2518
  _response_types_map: Dict[str, Optional[str]] = {
2541
- '200': "List[Solution]",
2519
+ '200': "Solution",
2520
+ '404': None,
2542
2521
  }
2543
2522
  response_data = self.api_client.call_api(
2544
2523
  *_param,
@@ -2552,11 +2531,10 @@ class SolutionApi:
2552
2531
 
2553
2532
 
2554
2533
  @validate_call
2555
- def find_all_solutions_without_preload_content(
2534
+ def find_solution_by_id_without_preload_content(
2556
2535
  self,
2557
2536
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2558
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2559
- size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2537
+ solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2560
2538
  _request_timeout: Union[
2561
2539
  None,
2562
2540
  Annotated[StrictFloat, Field(gt=0)],
@@ -2570,15 +2548,13 @@ class SolutionApi:
2570
2548
  _headers: Optional[Dict[StrictStr, Any]] = None,
2571
2549
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2572
2550
  ) -> RESTResponseType:
2573
- """List all Solutions
2551
+ """Get the details of a solution
2574
2552
 
2575
2553
 
2576
2554
  :param organization_id: the Organization identifier (required)
2577
2555
  :type organization_id: str
2578
- :param page: page number to query
2579
- :type page: int
2580
- :param size: amount of result by page
2581
- :type size: int
2556
+ :param solution_id: the Solution identifier (required)
2557
+ :type solution_id: str
2582
2558
  :param _request_timeout: timeout setting for this request. If one
2583
2559
  number provided, it will be total request
2584
2560
  timeout. It can also be a pair (tuple) of
@@ -2601,10 +2577,9 @@ class SolutionApi:
2601
2577
  :return: Returns the result object.
2602
2578
  """ # noqa: E501
2603
2579
 
2604
- _param = self._find_all_solutions_serialize(
2580
+ _param = self._find_solution_by_id_serialize(
2605
2581
  organization_id=organization_id,
2606
- page=page,
2607
- size=size,
2582
+ solution_id=solution_id,
2608
2583
  _request_auth=_request_auth,
2609
2584
  _content_type=_content_type,
2610
2585
  _headers=_headers,
@@ -2612,7 +2587,8 @@ class SolutionApi:
2612
2587
  )
2613
2588
 
2614
2589
  _response_types_map: Dict[str, Optional[str]] = {
2615
- '200': "List[Solution]",
2590
+ '200': "Solution",
2591
+ '404': None,
2616
2592
  }
2617
2593
  response_data = self.api_client.call_api(
2618
2594
  *_param,
@@ -2621,11 +2597,10 @@ class SolutionApi:
2621
2597
  return response_data.response
2622
2598
 
2623
2599
 
2624
- def _find_all_solutions_serialize(
2600
+ def _find_solution_by_id_serialize(
2625
2601
  self,
2626
2602
  organization_id,
2627
- page,
2628
- size,
2603
+ solution_id,
2629
2604
  _request_auth,
2630
2605
  _content_type,
2631
2606
  _headers,
@@ -2647,15 +2622,9 @@ class SolutionApi:
2647
2622
  # process the path parameters
2648
2623
  if organization_id is not None:
2649
2624
  _path_params['organization_id'] = organization_id
2625
+ if solution_id is not None:
2626
+ _path_params['solution_id'] = solution_id
2650
2627
  # process the query parameters
2651
- if page is not None:
2652
-
2653
- _query_params.append(('page', page))
2654
-
2655
- if size is not None:
2656
-
2657
- _query_params.append(('size', size))
2658
-
2659
2628
  # process the header parameters
2660
2629
  # process the form parameters
2661
2630
  # process the body parameter
@@ -2676,7 +2645,7 @@ class SolutionApi:
2676
2645
 
2677
2646
  return self.api_client.param_serialize(
2678
2647
  method='GET',
2679
- resource_path='/organizations/{organization_id}/solutions',
2648
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}',
2680
2649
  path_params=_path_params,
2681
2650
  query_params=_query_params,
2682
2651
  header_params=_header_params,
@@ -2693,10 +2662,11 @@ class SolutionApi:
2693
2662
 
2694
2663
 
2695
2664
  @validate_call
2696
- def find_solution_by_id(
2665
+ def get_solution_access_control(
2697
2666
  self,
2698
2667
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2699
2668
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2669
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2700
2670
  _request_timeout: Union[
2701
2671
  None,
2702
2672
  Annotated[StrictFloat, Field(gt=0)],
@@ -2709,14 +2679,16 @@ class SolutionApi:
2709
2679
  _content_type: Optional[StrictStr] = None,
2710
2680
  _headers: Optional[Dict[StrictStr, Any]] = None,
2711
2681
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2712
- ) -> Solution:
2713
- """Get the details of a solution
2682
+ ) -> SolutionAccessControl:
2683
+ """Get a control access for the Solution
2714
2684
 
2715
2685
 
2716
2686
  :param organization_id: the Organization identifier (required)
2717
2687
  :type organization_id: str
2718
2688
  :param solution_id: the Solution identifier (required)
2719
2689
  :type solution_id: str
2690
+ :param identity_id: the User identifier (required)
2691
+ :type identity_id: str
2720
2692
  :param _request_timeout: timeout setting for this request. If one
2721
2693
  number provided, it will be total request
2722
2694
  timeout. It can also be a pair (tuple) of
@@ -2739,9 +2711,10 @@ class SolutionApi:
2739
2711
  :return: Returns the result object.
2740
2712
  """ # noqa: E501
2741
2713
 
2742
- _param = self._find_solution_by_id_serialize(
2714
+ _param = self._get_solution_access_control_serialize(
2743
2715
  organization_id=organization_id,
2744
2716
  solution_id=solution_id,
2717
+ identity_id=identity_id,
2745
2718
  _request_auth=_request_auth,
2746
2719
  _content_type=_content_type,
2747
2720
  _headers=_headers,
@@ -2749,7 +2722,7 @@ class SolutionApi:
2749
2722
  )
2750
2723
 
2751
2724
  _response_types_map: Dict[str, Optional[str]] = {
2752
- '200': "Solution",
2725
+ '200': "SolutionAccessControl",
2753
2726
  '404': None,
2754
2727
  }
2755
2728
  response_data = self.api_client.call_api(
@@ -2764,10 +2737,11 @@ class SolutionApi:
2764
2737
 
2765
2738
 
2766
2739
  @validate_call
2767
- def find_solution_by_id_with_http_info(
2740
+ def get_solution_access_control_with_http_info(
2768
2741
  self,
2769
2742
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2770
2743
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2744
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2771
2745
  _request_timeout: Union[
2772
2746
  None,
2773
2747
  Annotated[StrictFloat, Field(gt=0)],
@@ -2780,14 +2754,16 @@ class SolutionApi:
2780
2754
  _content_type: Optional[StrictStr] = None,
2781
2755
  _headers: Optional[Dict[StrictStr, Any]] = None,
2782
2756
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2783
- ) -> ApiResponse[Solution]:
2784
- """Get the details of a solution
2757
+ ) -> ApiResponse[SolutionAccessControl]:
2758
+ """Get a control access for the Solution
2785
2759
 
2786
2760
 
2787
2761
  :param organization_id: the Organization identifier (required)
2788
2762
  :type organization_id: str
2789
2763
  :param solution_id: the Solution identifier (required)
2790
2764
  :type solution_id: str
2765
+ :param identity_id: the User identifier (required)
2766
+ :type identity_id: str
2791
2767
  :param _request_timeout: timeout setting for this request. If one
2792
2768
  number provided, it will be total request
2793
2769
  timeout. It can also be a pair (tuple) of
@@ -2810,9 +2786,10 @@ class SolutionApi:
2810
2786
  :return: Returns the result object.
2811
2787
  """ # noqa: E501
2812
2788
 
2813
- _param = self._find_solution_by_id_serialize(
2789
+ _param = self._get_solution_access_control_serialize(
2814
2790
  organization_id=organization_id,
2815
2791
  solution_id=solution_id,
2792
+ identity_id=identity_id,
2816
2793
  _request_auth=_request_auth,
2817
2794
  _content_type=_content_type,
2818
2795
  _headers=_headers,
@@ -2820,7 +2797,7 @@ class SolutionApi:
2820
2797
  )
2821
2798
 
2822
2799
  _response_types_map: Dict[str, Optional[str]] = {
2823
- '200': "Solution",
2800
+ '200': "SolutionAccessControl",
2824
2801
  '404': None,
2825
2802
  }
2826
2803
  response_data = self.api_client.call_api(
@@ -2835,10 +2812,11 @@ class SolutionApi:
2835
2812
 
2836
2813
 
2837
2814
  @validate_call
2838
- def find_solution_by_id_without_preload_content(
2815
+ def get_solution_access_control_without_preload_content(
2839
2816
  self,
2840
2817
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2841
2818
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2819
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2842
2820
  _request_timeout: Union[
2843
2821
  None,
2844
2822
  Annotated[StrictFloat, Field(gt=0)],
@@ -2852,13 +2830,15 @@ class SolutionApi:
2852
2830
  _headers: Optional[Dict[StrictStr, Any]] = None,
2853
2831
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2854
2832
  ) -> RESTResponseType:
2855
- """Get the details of a solution
2833
+ """Get a control access for the Solution
2856
2834
 
2857
2835
 
2858
2836
  :param organization_id: the Organization identifier (required)
2859
2837
  :type organization_id: str
2860
2838
  :param solution_id: the Solution identifier (required)
2861
2839
  :type solution_id: str
2840
+ :param identity_id: the User identifier (required)
2841
+ :type identity_id: str
2862
2842
  :param _request_timeout: timeout setting for this request. If one
2863
2843
  number provided, it will be total request
2864
2844
  timeout. It can also be a pair (tuple) of
@@ -2881,9 +2861,10 @@ class SolutionApi:
2881
2861
  :return: Returns the result object.
2882
2862
  """ # noqa: E501
2883
2863
 
2884
- _param = self._find_solution_by_id_serialize(
2864
+ _param = self._get_solution_access_control_serialize(
2885
2865
  organization_id=organization_id,
2886
2866
  solution_id=solution_id,
2867
+ identity_id=identity_id,
2887
2868
  _request_auth=_request_auth,
2888
2869
  _content_type=_content_type,
2889
2870
  _headers=_headers,
@@ -2891,7 +2872,7 @@ class SolutionApi:
2891
2872
  )
2892
2873
 
2893
2874
  _response_types_map: Dict[str, Optional[str]] = {
2894
- '200': "Solution",
2875
+ '200': "SolutionAccessControl",
2895
2876
  '404': None,
2896
2877
  }
2897
2878
  response_data = self.api_client.call_api(
@@ -2901,10 +2882,11 @@ class SolutionApi:
2901
2882
  return response_data.response
2902
2883
 
2903
2884
 
2904
- def _find_solution_by_id_serialize(
2885
+ def _get_solution_access_control_serialize(
2905
2886
  self,
2906
2887
  organization_id,
2907
2888
  solution_id,
2889
+ identity_id,
2908
2890
  _request_auth,
2909
2891
  _content_type,
2910
2892
  _headers,
@@ -2928,6 +2910,8 @@ class SolutionApi:
2928
2910
  _path_params['organization_id'] = organization_id
2929
2911
  if solution_id is not None:
2930
2912
  _path_params['solution_id'] = solution_id
2913
+ if identity_id is not None:
2914
+ _path_params['identity_id'] = identity_id
2931
2915
  # process the query parameters
2932
2916
  # process the header parameters
2933
2917
  # process the form parameters
@@ -2949,7 +2933,7 @@ class SolutionApi:
2949
2933
 
2950
2934
  return self.api_client.param_serialize(
2951
2935
  method='GET',
2952
- resource_path='/organizations/{organization_id}/solutions/{solution_id}',
2936
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
2953
2937
  path_params=_path_params,
2954
2938
  query_params=_query_params,
2955
2939
  header_params=_header_params,
@@ -2966,11 +2950,10 @@ class SolutionApi:
2966
2950
 
2967
2951
 
2968
2952
  @validate_call
2969
- def get_solution_access_control(
2953
+ def get_solution_security(
2970
2954
  self,
2971
2955
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2972
2956
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
2973
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
2974
2957
  _request_timeout: Union[
2975
2958
  None,
2976
2959
  Annotated[StrictFloat, Field(gt=0)],
@@ -2983,16 +2966,14 @@ class SolutionApi:
2983
2966
  _content_type: Optional[StrictStr] = None,
2984
2967
  _headers: Optional[Dict[StrictStr, Any]] = None,
2985
2968
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2986
- ) -> SolutionAccessControl:
2987
- """Get a control access for the Solution
2969
+ ) -> SolutionSecurity:
2970
+ """Get the Solution security information
2988
2971
 
2989
2972
 
2990
2973
  :param organization_id: the Organization identifier (required)
2991
2974
  :type organization_id: str
2992
2975
  :param solution_id: the Solution identifier (required)
2993
2976
  :type solution_id: str
2994
- :param identity_id: the User identifier (required)
2995
- :type identity_id: str
2996
2977
  :param _request_timeout: timeout setting for this request. If one
2997
2978
  number provided, it will be total request
2998
2979
  timeout. It can also be a pair (tuple) of
@@ -3015,10 +2996,9 @@ class SolutionApi:
3015
2996
  :return: Returns the result object.
3016
2997
  """ # noqa: E501
3017
2998
 
3018
- _param = self._get_solution_access_control_serialize(
2999
+ _param = self._get_solution_security_serialize(
3019
3000
  organization_id=organization_id,
3020
3001
  solution_id=solution_id,
3021
- identity_id=identity_id,
3022
3002
  _request_auth=_request_auth,
3023
3003
  _content_type=_content_type,
3024
3004
  _headers=_headers,
@@ -3026,7 +3006,7 @@ class SolutionApi:
3026
3006
  )
3027
3007
 
3028
3008
  _response_types_map: Dict[str, Optional[str]] = {
3029
- '200': "SolutionAccessControl",
3009
+ '200': "SolutionSecurity",
3030
3010
  '404': None,
3031
3011
  }
3032
3012
  response_data = self.api_client.call_api(
@@ -3041,11 +3021,10 @@ class SolutionApi:
3041
3021
 
3042
3022
 
3043
3023
  @validate_call
3044
- def get_solution_access_control_with_http_info(
3024
+ def get_solution_security_with_http_info(
3045
3025
  self,
3046
3026
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3047
3027
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
3048
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
3049
3028
  _request_timeout: Union[
3050
3029
  None,
3051
3030
  Annotated[StrictFloat, Field(gt=0)],
@@ -3058,16 +3037,14 @@ class SolutionApi:
3058
3037
  _content_type: Optional[StrictStr] = None,
3059
3038
  _headers: Optional[Dict[StrictStr, Any]] = None,
3060
3039
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3061
- ) -> ApiResponse[SolutionAccessControl]:
3062
- """Get a control access for the Solution
3040
+ ) -> ApiResponse[SolutionSecurity]:
3041
+ """Get the Solution security information
3063
3042
 
3064
3043
 
3065
3044
  :param organization_id: the Organization identifier (required)
3066
3045
  :type organization_id: str
3067
3046
  :param solution_id: the Solution identifier (required)
3068
3047
  :type solution_id: str
3069
- :param identity_id: the User identifier (required)
3070
- :type identity_id: str
3071
3048
  :param _request_timeout: timeout setting for this request. If one
3072
3049
  number provided, it will be total request
3073
3050
  timeout. It can also be a pair (tuple) of
@@ -3090,10 +3067,9 @@ class SolutionApi:
3090
3067
  :return: Returns the result object.
3091
3068
  """ # noqa: E501
3092
3069
 
3093
- _param = self._get_solution_access_control_serialize(
3070
+ _param = self._get_solution_security_serialize(
3094
3071
  organization_id=organization_id,
3095
3072
  solution_id=solution_id,
3096
- identity_id=identity_id,
3097
3073
  _request_auth=_request_auth,
3098
3074
  _content_type=_content_type,
3099
3075
  _headers=_headers,
@@ -3101,7 +3077,7 @@ class SolutionApi:
3101
3077
  )
3102
3078
 
3103
3079
  _response_types_map: Dict[str, Optional[str]] = {
3104
- '200': "SolutionAccessControl",
3080
+ '200': "SolutionSecurity",
3105
3081
  '404': None,
3106
3082
  }
3107
3083
  response_data = self.api_client.call_api(
@@ -3116,11 +3092,10 @@ class SolutionApi:
3116
3092
 
3117
3093
 
3118
3094
  @validate_call
3119
- def get_solution_access_control_without_preload_content(
3095
+ def get_solution_security_without_preload_content(
3120
3096
  self,
3121
3097
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3122
3098
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
3123
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
3124
3099
  _request_timeout: Union[
3125
3100
  None,
3126
3101
  Annotated[StrictFloat, Field(gt=0)],
@@ -3134,15 +3109,13 @@ class SolutionApi:
3134
3109
  _headers: Optional[Dict[StrictStr, Any]] = None,
3135
3110
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3136
3111
  ) -> RESTResponseType:
3137
- """Get a control access for the Solution
3112
+ """Get the Solution security information
3138
3113
 
3139
3114
 
3140
3115
  :param organization_id: the Organization identifier (required)
3141
3116
  :type organization_id: str
3142
3117
  :param solution_id: the Solution identifier (required)
3143
3118
  :type solution_id: str
3144
- :param identity_id: the User identifier (required)
3145
- :type identity_id: str
3146
3119
  :param _request_timeout: timeout setting for this request. If one
3147
3120
  number provided, it will be total request
3148
3121
  timeout. It can also be a pair (tuple) of
@@ -3165,10 +3138,9 @@ class SolutionApi:
3165
3138
  :return: Returns the result object.
3166
3139
  """ # noqa: E501
3167
3140
 
3168
- _param = self._get_solution_access_control_serialize(
3141
+ _param = self._get_solution_security_serialize(
3169
3142
  organization_id=organization_id,
3170
3143
  solution_id=solution_id,
3171
- identity_id=identity_id,
3172
3144
  _request_auth=_request_auth,
3173
3145
  _content_type=_content_type,
3174
3146
  _headers=_headers,
@@ -3176,7 +3148,7 @@ class SolutionApi:
3176
3148
  )
3177
3149
 
3178
3150
  _response_types_map: Dict[str, Optional[str]] = {
3179
- '200': "SolutionAccessControl",
3151
+ '200': "SolutionSecurity",
3180
3152
  '404': None,
3181
3153
  }
3182
3154
  response_data = self.api_client.call_api(
@@ -3186,11 +3158,10 @@ class SolutionApi:
3186
3158
  return response_data.response
3187
3159
 
3188
3160
 
3189
- def _get_solution_access_control_serialize(
3161
+ def _get_solution_security_serialize(
3190
3162
  self,
3191
3163
  organization_id,
3192
3164
  solution_id,
3193
- identity_id,
3194
3165
  _request_auth,
3195
3166
  _content_type,
3196
3167
  _headers,
@@ -3214,8 +3185,6 @@ class SolutionApi:
3214
3185
  _path_params['organization_id'] = organization_id
3215
3186
  if solution_id is not None:
3216
3187
  _path_params['solution_id'] = solution_id
3217
- if identity_id is not None:
3218
- _path_params['identity_id'] = identity_id
3219
3188
  # process the query parameters
3220
3189
  # process the header parameters
3221
3190
  # process the form parameters
@@ -3237,7 +3206,7 @@ class SolutionApi:
3237
3206
 
3238
3207
  return self.api_client.param_serialize(
3239
3208
  method='GET',
3240
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
3209
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security',
3241
3210
  path_params=_path_params,
3242
3211
  query_params=_query_params,
3243
3212
  header_params=_header_params,
@@ -3254,7 +3223,7 @@ class SolutionApi:
3254
3223
 
3255
3224
 
3256
3225
  @validate_call
3257
- def get_solution_security(
3226
+ def get_solution_security_users(
3258
3227
  self,
3259
3228
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3260
3229
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3270,8 +3239,8 @@ class SolutionApi:
3270
3239
  _content_type: Optional[StrictStr] = None,
3271
3240
  _headers: Optional[Dict[StrictStr, Any]] = None,
3272
3241
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3273
- ) -> SolutionSecurity:
3274
- """Get the Solution security information
3242
+ ) -> List[str]:
3243
+ """Get the Solution security users list
3275
3244
 
3276
3245
 
3277
3246
  :param organization_id: the Organization identifier (required)
@@ -3300,7 +3269,7 @@ class SolutionApi:
3300
3269
  :return: Returns the result object.
3301
3270
  """ # noqa: E501
3302
3271
 
3303
- _param = self._get_solution_security_serialize(
3272
+ _param = self._get_solution_security_users_serialize(
3304
3273
  organization_id=organization_id,
3305
3274
  solution_id=solution_id,
3306
3275
  _request_auth=_request_auth,
@@ -3310,7 +3279,7 @@ class SolutionApi:
3310
3279
  )
3311
3280
 
3312
3281
  _response_types_map: Dict[str, Optional[str]] = {
3313
- '200': "SolutionSecurity",
3282
+ '200': "List[str]",
3314
3283
  '404': None,
3315
3284
  }
3316
3285
  response_data = self.api_client.call_api(
@@ -3325,7 +3294,7 @@ class SolutionApi:
3325
3294
 
3326
3295
 
3327
3296
  @validate_call
3328
- def get_solution_security_with_http_info(
3297
+ def get_solution_security_users_with_http_info(
3329
3298
  self,
3330
3299
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3331
3300
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3341,8 +3310,8 @@ class SolutionApi:
3341
3310
  _content_type: Optional[StrictStr] = None,
3342
3311
  _headers: Optional[Dict[StrictStr, Any]] = None,
3343
3312
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3344
- ) -> ApiResponse[SolutionSecurity]:
3345
- """Get the Solution security information
3313
+ ) -> ApiResponse[List[str]]:
3314
+ """Get the Solution security users list
3346
3315
 
3347
3316
 
3348
3317
  :param organization_id: the Organization identifier (required)
@@ -3371,7 +3340,7 @@ class SolutionApi:
3371
3340
  :return: Returns the result object.
3372
3341
  """ # noqa: E501
3373
3342
 
3374
- _param = self._get_solution_security_serialize(
3343
+ _param = self._get_solution_security_users_serialize(
3375
3344
  organization_id=organization_id,
3376
3345
  solution_id=solution_id,
3377
3346
  _request_auth=_request_auth,
@@ -3381,7 +3350,7 @@ class SolutionApi:
3381
3350
  )
3382
3351
 
3383
3352
  _response_types_map: Dict[str, Optional[str]] = {
3384
- '200': "SolutionSecurity",
3353
+ '200': "List[str]",
3385
3354
  '404': None,
3386
3355
  }
3387
3356
  response_data = self.api_client.call_api(
@@ -3396,7 +3365,7 @@ class SolutionApi:
3396
3365
 
3397
3366
 
3398
3367
  @validate_call
3399
- def get_solution_security_without_preload_content(
3368
+ def get_solution_security_users_without_preload_content(
3400
3369
  self,
3401
3370
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3402
3371
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3413,7 +3382,7 @@ class SolutionApi:
3413
3382
  _headers: Optional[Dict[StrictStr, Any]] = None,
3414
3383
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3415
3384
  ) -> RESTResponseType:
3416
- """Get the Solution security information
3385
+ """Get the Solution security users list
3417
3386
 
3418
3387
 
3419
3388
  :param organization_id: the Organization identifier (required)
@@ -3442,7 +3411,7 @@ class SolutionApi:
3442
3411
  :return: Returns the result object.
3443
3412
  """ # noqa: E501
3444
3413
 
3445
- _param = self._get_solution_security_serialize(
3414
+ _param = self._get_solution_security_users_serialize(
3446
3415
  organization_id=organization_id,
3447
3416
  solution_id=solution_id,
3448
3417
  _request_auth=_request_auth,
@@ -3452,7 +3421,7 @@ class SolutionApi:
3452
3421
  )
3453
3422
 
3454
3423
  _response_types_map: Dict[str, Optional[str]] = {
3455
- '200': "SolutionSecurity",
3424
+ '200': "List[str]",
3456
3425
  '404': None,
3457
3426
  }
3458
3427
  response_data = self.api_client.call_api(
@@ -3462,7 +3431,7 @@ class SolutionApi:
3462
3431
  return response_data.response
3463
3432
 
3464
3433
 
3465
- def _get_solution_security_serialize(
3434
+ def _get_solution_security_users_serialize(
3466
3435
  self,
3467
3436
  organization_id,
3468
3437
  solution_id,
@@ -3510,7 +3479,7 @@ class SolutionApi:
3510
3479
 
3511
3480
  return self.api_client.param_serialize(
3512
3481
  method='GET',
3513
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security',
3482
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/users',
3514
3483
  path_params=_path_params,
3515
3484
  query_params=_query_params,
3516
3485
  header_params=_header_params,
@@ -3527,7 +3496,7 @@ class SolutionApi:
3527
3496
 
3528
3497
 
3529
3498
  @validate_call
3530
- def get_solution_security_users(
3499
+ def remove_all_run_templates(
3531
3500
  self,
3532
3501
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3533
3502
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3543,8 +3512,8 @@ class SolutionApi:
3543
3512
  _content_type: Optional[StrictStr] = None,
3544
3513
  _headers: Optional[Dict[StrictStr, Any]] = None,
3545
3514
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3546
- ) -> List[str]:
3547
- """Get the Solution security users list
3515
+ ) -> None:
3516
+ """Remove all Run Templates from the Solution specified
3548
3517
 
3549
3518
 
3550
3519
  :param organization_id: the Organization identifier (required)
@@ -3573,7 +3542,7 @@ class SolutionApi:
3573
3542
  :return: Returns the result object.
3574
3543
  """ # noqa: E501
3575
3544
 
3576
- _param = self._get_solution_security_users_serialize(
3545
+ _param = self._remove_all_run_templates_serialize(
3577
3546
  organization_id=organization_id,
3578
3547
  solution_id=solution_id,
3579
3548
  _request_auth=_request_auth,
@@ -3583,7 +3552,7 @@ class SolutionApi:
3583
3552
  )
3584
3553
 
3585
3554
  _response_types_map: Dict[str, Optional[str]] = {
3586
- '200': "List[str]",
3555
+ '204': None,
3587
3556
  '404': None,
3588
3557
  }
3589
3558
  response_data = self.api_client.call_api(
@@ -3598,7 +3567,7 @@ class SolutionApi:
3598
3567
 
3599
3568
 
3600
3569
  @validate_call
3601
- def get_solution_security_users_with_http_info(
3570
+ def remove_all_run_templates_with_http_info(
3602
3571
  self,
3603
3572
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3604
3573
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3614,8 +3583,8 @@ class SolutionApi:
3614
3583
  _content_type: Optional[StrictStr] = None,
3615
3584
  _headers: Optional[Dict[StrictStr, Any]] = None,
3616
3585
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3617
- ) -> ApiResponse[List[str]]:
3618
- """Get the Solution security users list
3586
+ ) -> ApiResponse[None]:
3587
+ """Remove all Run Templates from the Solution specified
3619
3588
 
3620
3589
 
3621
3590
  :param organization_id: the Organization identifier (required)
@@ -3644,7 +3613,7 @@ class SolutionApi:
3644
3613
  :return: Returns the result object.
3645
3614
  """ # noqa: E501
3646
3615
 
3647
- _param = self._get_solution_security_users_serialize(
3616
+ _param = self._remove_all_run_templates_serialize(
3648
3617
  organization_id=organization_id,
3649
3618
  solution_id=solution_id,
3650
3619
  _request_auth=_request_auth,
@@ -3654,7 +3623,7 @@ class SolutionApi:
3654
3623
  )
3655
3624
 
3656
3625
  _response_types_map: Dict[str, Optional[str]] = {
3657
- '200': "List[str]",
3626
+ '204': None,
3658
3627
  '404': None,
3659
3628
  }
3660
3629
  response_data = self.api_client.call_api(
@@ -3669,7 +3638,7 @@ class SolutionApi:
3669
3638
 
3670
3639
 
3671
3640
  @validate_call
3672
- def get_solution_security_users_without_preload_content(
3641
+ def remove_all_run_templates_without_preload_content(
3673
3642
  self,
3674
3643
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3675
3644
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3686,7 +3655,7 @@ class SolutionApi:
3686
3655
  _headers: Optional[Dict[StrictStr, Any]] = None,
3687
3656
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3688
3657
  ) -> RESTResponseType:
3689
- """Get the Solution security users list
3658
+ """Remove all Run Templates from the Solution specified
3690
3659
 
3691
3660
 
3692
3661
  :param organization_id: the Organization identifier (required)
@@ -3715,7 +3684,7 @@ class SolutionApi:
3715
3684
  :return: Returns the result object.
3716
3685
  """ # noqa: E501
3717
3686
 
3718
- _param = self._get_solution_security_users_serialize(
3687
+ _param = self._remove_all_run_templates_serialize(
3719
3688
  organization_id=organization_id,
3720
3689
  solution_id=solution_id,
3721
3690
  _request_auth=_request_auth,
@@ -3725,7 +3694,7 @@ class SolutionApi:
3725
3694
  )
3726
3695
 
3727
3696
  _response_types_map: Dict[str, Optional[str]] = {
3728
- '200': "List[str]",
3697
+ '204': None,
3729
3698
  '404': None,
3730
3699
  }
3731
3700
  response_data = self.api_client.call_api(
@@ -3735,7 +3704,7 @@ class SolutionApi:
3735
3704
  return response_data.response
3736
3705
 
3737
3706
 
3738
- def _get_solution_security_users_serialize(
3707
+ def _remove_all_run_templates_serialize(
3739
3708
  self,
3740
3709
  organization_id,
3741
3710
  solution_id,
@@ -3768,12 +3737,6 @@ class SolutionApi:
3768
3737
  # process the body parameter
3769
3738
 
3770
3739
 
3771
- # set the HTTP header `Accept`
3772
- _header_params['Accept'] = self.api_client.select_header_accept(
3773
- [
3774
- 'application/json'
3775
- ]
3776
- )
3777
3740
 
3778
3741
 
3779
3742
  # authentication setting
@@ -3782,8 +3745,8 @@ class SolutionApi:
3782
3745
  ]
3783
3746
 
3784
3747
  return self.api_client.param_serialize(
3785
- method='GET',
3786
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/users',
3748
+ method='DELETE',
3749
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates',
3787
3750
  path_params=_path_params,
3788
3751
  query_params=_query_params,
3789
3752
  header_params=_header_params,
@@ -3800,7 +3763,7 @@ class SolutionApi:
3800
3763
 
3801
3764
 
3802
3765
  @validate_call
3803
- def remove_all_run_templates(
3766
+ def remove_all_solution_parameter_groups(
3804
3767
  self,
3805
3768
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3806
3769
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3817,7 +3780,7 @@ class SolutionApi:
3817
3780
  _headers: Optional[Dict[StrictStr, Any]] = None,
3818
3781
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3819
3782
  ) -> None:
3820
- """Remove all Run Templates from the Solution specified
3783
+ """Remove all Parameter Groups from the Solution specified
3821
3784
 
3822
3785
 
3823
3786
  :param organization_id: the Organization identifier (required)
@@ -3846,7 +3809,7 @@ class SolutionApi:
3846
3809
  :return: Returns the result object.
3847
3810
  """ # noqa: E501
3848
3811
 
3849
- _param = self._remove_all_run_templates_serialize(
3812
+ _param = self._remove_all_solution_parameter_groups_serialize(
3850
3813
  organization_id=organization_id,
3851
3814
  solution_id=solution_id,
3852
3815
  _request_auth=_request_auth,
@@ -3871,7 +3834,7 @@ class SolutionApi:
3871
3834
 
3872
3835
 
3873
3836
  @validate_call
3874
- def remove_all_run_templates_with_http_info(
3837
+ def remove_all_solution_parameter_groups_with_http_info(
3875
3838
  self,
3876
3839
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3877
3840
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3888,7 +3851,7 @@ class SolutionApi:
3888
3851
  _headers: Optional[Dict[StrictStr, Any]] = None,
3889
3852
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3890
3853
  ) -> ApiResponse[None]:
3891
- """Remove all Run Templates from the Solution specified
3854
+ """Remove all Parameter Groups from the Solution specified
3892
3855
 
3893
3856
 
3894
3857
  :param organization_id: the Organization identifier (required)
@@ -3917,7 +3880,7 @@ class SolutionApi:
3917
3880
  :return: Returns the result object.
3918
3881
  """ # noqa: E501
3919
3882
 
3920
- _param = self._remove_all_run_templates_serialize(
3883
+ _param = self._remove_all_solution_parameter_groups_serialize(
3921
3884
  organization_id=organization_id,
3922
3885
  solution_id=solution_id,
3923
3886
  _request_auth=_request_auth,
@@ -3942,7 +3905,7 @@ class SolutionApi:
3942
3905
 
3943
3906
 
3944
3907
  @validate_call
3945
- def remove_all_run_templates_without_preload_content(
3908
+ def remove_all_solution_parameter_groups_without_preload_content(
3946
3909
  self,
3947
3910
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3948
3911
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -3959,7 +3922,7 @@ class SolutionApi:
3959
3922
  _headers: Optional[Dict[StrictStr, Any]] = None,
3960
3923
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3961
3924
  ) -> RESTResponseType:
3962
- """Remove all Run Templates from the Solution specified
3925
+ """Remove all Parameter Groups from the Solution specified
3963
3926
 
3964
3927
 
3965
3928
  :param organization_id: the Organization identifier (required)
@@ -3988,7 +3951,7 @@ class SolutionApi:
3988
3951
  :return: Returns the result object.
3989
3952
  """ # noqa: E501
3990
3953
 
3991
- _param = self._remove_all_run_templates_serialize(
3954
+ _param = self._remove_all_solution_parameter_groups_serialize(
3992
3955
  organization_id=organization_id,
3993
3956
  solution_id=solution_id,
3994
3957
  _request_auth=_request_auth,
@@ -4008,7 +3971,7 @@ class SolutionApi:
4008
3971
  return response_data.response
4009
3972
 
4010
3973
 
4011
- def _remove_all_run_templates_serialize(
3974
+ def _remove_all_solution_parameter_groups_serialize(
4012
3975
  self,
4013
3976
  organization_id,
4014
3977
  solution_id,
@@ -4050,7 +4013,7 @@ class SolutionApi:
4050
4013
 
4051
4014
  return self.api_client.param_serialize(
4052
4015
  method='DELETE',
4053
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates',
4016
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups',
4054
4017
  path_params=_path_params,
4055
4018
  query_params=_query_params,
4056
4019
  header_params=_header_params,
@@ -4067,7 +4030,7 @@ class SolutionApi:
4067
4030
 
4068
4031
 
4069
4032
  @validate_call
4070
- def remove_all_solution_parameter_groups(
4033
+ def remove_all_solution_parameters(
4071
4034
  self,
4072
4035
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4073
4036
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -4084,7 +4047,7 @@ class SolutionApi:
4084
4047
  _headers: Optional[Dict[StrictStr, Any]] = None,
4085
4048
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4086
4049
  ) -> None:
4087
- """Remove all Parameter Groups from the Solution specified
4050
+ """Remove all Parameters from the Solution specified
4088
4051
 
4089
4052
 
4090
4053
  :param organization_id: the Organization identifier (required)
@@ -4113,7 +4076,7 @@ class SolutionApi:
4113
4076
  :return: Returns the result object.
4114
4077
  """ # noqa: E501
4115
4078
 
4116
- _param = self._remove_all_solution_parameter_groups_serialize(
4079
+ _param = self._remove_all_solution_parameters_serialize(
4117
4080
  organization_id=organization_id,
4118
4081
  solution_id=solution_id,
4119
4082
  _request_auth=_request_auth,
@@ -4138,7 +4101,7 @@ class SolutionApi:
4138
4101
 
4139
4102
 
4140
4103
  @validate_call
4141
- def remove_all_solution_parameter_groups_with_http_info(
4104
+ def remove_all_solution_parameters_with_http_info(
4142
4105
  self,
4143
4106
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4144
4107
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -4155,7 +4118,7 @@ class SolutionApi:
4155
4118
  _headers: Optional[Dict[StrictStr, Any]] = None,
4156
4119
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4157
4120
  ) -> ApiResponse[None]:
4158
- """Remove all Parameter Groups from the Solution specified
4121
+ """Remove all Parameters from the Solution specified
4159
4122
 
4160
4123
 
4161
4124
  :param organization_id: the Organization identifier (required)
@@ -4184,7 +4147,7 @@ class SolutionApi:
4184
4147
  :return: Returns the result object.
4185
4148
  """ # noqa: E501
4186
4149
 
4187
- _param = self._remove_all_solution_parameter_groups_serialize(
4150
+ _param = self._remove_all_solution_parameters_serialize(
4188
4151
  organization_id=organization_id,
4189
4152
  solution_id=solution_id,
4190
4153
  _request_auth=_request_auth,
@@ -4209,7 +4172,7 @@ class SolutionApi:
4209
4172
 
4210
4173
 
4211
4174
  @validate_call
4212
- def remove_all_solution_parameter_groups_without_preload_content(
4175
+ def remove_all_solution_parameters_without_preload_content(
4213
4176
  self,
4214
4177
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4215
4178
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
@@ -4226,7 +4189,7 @@ class SolutionApi:
4226
4189
  _headers: Optional[Dict[StrictStr, Any]] = None,
4227
4190
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4228
4191
  ) -> RESTResponseType:
4229
- """Remove all Parameter Groups from the Solution specified
4192
+ """Remove all Parameters from the Solution specified
4230
4193
 
4231
4194
 
4232
4195
  :param organization_id: the Organization identifier (required)
@@ -4255,7 +4218,7 @@ class SolutionApi:
4255
4218
  :return: Returns the result object.
4256
4219
  """ # noqa: E501
4257
4220
 
4258
- _param = self._remove_all_solution_parameter_groups_serialize(
4221
+ _param = self._remove_all_solution_parameters_serialize(
4259
4222
  organization_id=organization_id,
4260
4223
  solution_id=solution_id,
4261
4224
  _request_auth=_request_auth,
@@ -4275,7 +4238,7 @@ class SolutionApi:
4275
4238
  return response_data.response
4276
4239
 
4277
4240
 
4278
- def _remove_all_solution_parameter_groups_serialize(
4241
+ def _remove_all_solution_parameters_serialize(
4279
4242
  self,
4280
4243
  organization_id,
4281
4244
  solution_id,
@@ -4317,7 +4280,7 @@ class SolutionApi:
4317
4280
 
4318
4281
  return self.api_client.param_serialize(
4319
4282
  method='DELETE',
4320
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameterGroups',
4283
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters',
4321
4284
  path_params=_path_params,
4322
4285
  query_params=_query_params,
4323
4286
  header_params=_header_params,
@@ -4334,10 +4297,11 @@ class SolutionApi:
4334
4297
 
4335
4298
 
4336
4299
  @validate_call
4337
- def remove_all_solution_parameters(
4300
+ def remove_solution_access_control(
4338
4301
  self,
4339
4302
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4340
4303
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4304
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4341
4305
  _request_timeout: Union[
4342
4306
  None,
4343
4307
  Annotated[StrictFloat, Field(gt=0)],
@@ -4351,13 +4315,15 @@ class SolutionApi:
4351
4315
  _headers: Optional[Dict[StrictStr, Any]] = None,
4352
4316
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4353
4317
  ) -> None:
4354
- """Remove all Parameters from the Solution specified
4318
+ """Remove the specified access from the given Organization Solution
4355
4319
 
4356
4320
 
4357
4321
  :param organization_id: the Organization identifier (required)
4358
4322
  :type organization_id: str
4359
4323
  :param solution_id: the Solution identifier (required)
4360
4324
  :type solution_id: str
4325
+ :param identity_id: the User identifier (required)
4326
+ :type identity_id: str
4361
4327
  :param _request_timeout: timeout setting for this request. If one
4362
4328
  number provided, it will be total request
4363
4329
  timeout. It can also be a pair (tuple) of
@@ -4380,9 +4346,10 @@ class SolutionApi:
4380
4346
  :return: Returns the result object.
4381
4347
  """ # noqa: E501
4382
4348
 
4383
- _param = self._remove_all_solution_parameters_serialize(
4349
+ _param = self._remove_solution_access_control_serialize(
4384
4350
  organization_id=organization_id,
4385
4351
  solution_id=solution_id,
4352
+ identity_id=identity_id,
4386
4353
  _request_auth=_request_auth,
4387
4354
  _content_type=_content_type,
4388
4355
  _headers=_headers,
@@ -4405,10 +4372,11 @@ class SolutionApi:
4405
4372
 
4406
4373
 
4407
4374
  @validate_call
4408
- def remove_all_solution_parameters_with_http_info(
4375
+ def remove_solution_access_control_with_http_info(
4409
4376
  self,
4410
4377
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4411
4378
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4379
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4412
4380
  _request_timeout: Union[
4413
4381
  None,
4414
4382
  Annotated[StrictFloat, Field(gt=0)],
@@ -4422,13 +4390,15 @@ class SolutionApi:
4422
4390
  _headers: Optional[Dict[StrictStr, Any]] = None,
4423
4391
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4424
4392
  ) -> ApiResponse[None]:
4425
- """Remove all Parameters from the Solution specified
4393
+ """Remove the specified access from the given Organization Solution
4426
4394
 
4427
4395
 
4428
4396
  :param organization_id: the Organization identifier (required)
4429
4397
  :type organization_id: str
4430
4398
  :param solution_id: the Solution identifier (required)
4431
4399
  :type solution_id: str
4400
+ :param identity_id: the User identifier (required)
4401
+ :type identity_id: str
4432
4402
  :param _request_timeout: timeout setting for this request. If one
4433
4403
  number provided, it will be total request
4434
4404
  timeout. It can also be a pair (tuple) of
@@ -4451,9 +4421,10 @@ class SolutionApi:
4451
4421
  :return: Returns the result object.
4452
4422
  """ # noqa: E501
4453
4423
 
4454
- _param = self._remove_all_solution_parameters_serialize(
4424
+ _param = self._remove_solution_access_control_serialize(
4455
4425
  organization_id=organization_id,
4456
4426
  solution_id=solution_id,
4427
+ identity_id=identity_id,
4457
4428
  _request_auth=_request_auth,
4458
4429
  _content_type=_content_type,
4459
4430
  _headers=_headers,
@@ -4476,10 +4447,11 @@ class SolutionApi:
4476
4447
 
4477
4448
 
4478
4449
  @validate_call
4479
- def remove_all_solution_parameters_without_preload_content(
4450
+ def remove_solution_access_control_without_preload_content(
4480
4451
  self,
4481
4452
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4482
4453
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4454
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4483
4455
  _request_timeout: Union[
4484
4456
  None,
4485
4457
  Annotated[StrictFloat, Field(gt=0)],
@@ -4493,13 +4465,15 @@ class SolutionApi:
4493
4465
  _headers: Optional[Dict[StrictStr, Any]] = None,
4494
4466
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4495
4467
  ) -> RESTResponseType:
4496
- """Remove all Parameters from the Solution specified
4468
+ """Remove the specified access from the given Organization Solution
4497
4469
 
4498
4470
 
4499
4471
  :param organization_id: the Organization identifier (required)
4500
4472
  :type organization_id: str
4501
4473
  :param solution_id: the Solution identifier (required)
4502
4474
  :type solution_id: str
4475
+ :param identity_id: the User identifier (required)
4476
+ :type identity_id: str
4503
4477
  :param _request_timeout: timeout setting for this request. If one
4504
4478
  number provided, it will be total request
4505
4479
  timeout. It can also be a pair (tuple) of
@@ -4522,9 +4496,10 @@ class SolutionApi:
4522
4496
  :return: Returns the result object.
4523
4497
  """ # noqa: E501
4524
4498
 
4525
- _param = self._remove_all_solution_parameters_serialize(
4499
+ _param = self._remove_solution_access_control_serialize(
4526
4500
  organization_id=organization_id,
4527
4501
  solution_id=solution_id,
4502
+ identity_id=identity_id,
4528
4503
  _request_auth=_request_auth,
4529
4504
  _content_type=_content_type,
4530
4505
  _headers=_headers,
@@ -4542,10 +4517,11 @@ class SolutionApi:
4542
4517
  return response_data.response
4543
4518
 
4544
4519
 
4545
- def _remove_all_solution_parameters_serialize(
4520
+ def _remove_solution_access_control_serialize(
4546
4521
  self,
4547
4522
  organization_id,
4548
4523
  solution_id,
4524
+ identity_id,
4549
4525
  _request_auth,
4550
4526
  _content_type,
4551
4527
  _headers,
@@ -4569,6 +4545,8 @@ class SolutionApi:
4569
4545
  _path_params['organization_id'] = organization_id
4570
4546
  if solution_id is not None:
4571
4547
  _path_params['solution_id'] = solution_id
4548
+ if identity_id is not None:
4549
+ _path_params['identity_id'] = identity_id
4572
4550
  # process the query parameters
4573
4551
  # process the header parameters
4574
4552
  # process the form parameters
@@ -4584,7 +4562,7 @@ class SolutionApi:
4584
4562
 
4585
4563
  return self.api_client.param_serialize(
4586
4564
  method='DELETE',
4587
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/parameters',
4565
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
4588
4566
  path_params=_path_params,
4589
4567
  query_params=_query_params,
4590
4568
  header_params=_header_params,
@@ -4601,11 +4579,11 @@ class SolutionApi:
4601
4579
 
4602
4580
 
4603
4581
  @validate_call
4604
- def remove_solution_access_control(
4582
+ def set_solution_default_security(
4605
4583
  self,
4606
4584
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4607
4585
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4608
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4586
+ solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4609
4587
  _request_timeout: Union[
4610
4588
  None,
4611
4589
  Annotated[StrictFloat, Field(gt=0)],
@@ -4618,16 +4596,16 @@ class SolutionApi:
4618
4596
  _content_type: Optional[StrictStr] = None,
4619
4597
  _headers: Optional[Dict[StrictStr, Any]] = None,
4620
4598
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4621
- ) -> None:
4622
- """Remove the specified access from the given Organization Solution
4599
+ ) -> SolutionSecurity:
4600
+ """Set the Solution default security
4623
4601
 
4624
4602
 
4625
4603
  :param organization_id: the Organization identifier (required)
4626
4604
  :type organization_id: str
4627
4605
  :param solution_id: the Solution identifier (required)
4628
4606
  :type solution_id: str
4629
- :param identity_id: the User identifier (required)
4630
- :type identity_id: str
4607
+ :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)
4608
+ :type solution_role: SolutionRole
4631
4609
  :param _request_timeout: timeout setting for this request. If one
4632
4610
  number provided, it will be total request
4633
4611
  timeout. It can also be a pair (tuple) of
@@ -4650,10 +4628,10 @@ class SolutionApi:
4650
4628
  :return: Returns the result object.
4651
4629
  """ # noqa: E501
4652
4630
 
4653
- _param = self._remove_solution_access_control_serialize(
4631
+ _param = self._set_solution_default_security_serialize(
4654
4632
  organization_id=organization_id,
4655
4633
  solution_id=solution_id,
4656
- identity_id=identity_id,
4634
+ solution_role=solution_role,
4657
4635
  _request_auth=_request_auth,
4658
4636
  _content_type=_content_type,
4659
4637
  _headers=_headers,
@@ -4661,7 +4639,7 @@ class SolutionApi:
4661
4639
  )
4662
4640
 
4663
4641
  _response_types_map: Dict[str, Optional[str]] = {
4664
- '204': None,
4642
+ '201': "SolutionSecurity",
4665
4643
  '404': None,
4666
4644
  }
4667
4645
  response_data = self.api_client.call_api(
@@ -4676,11 +4654,11 @@ class SolutionApi:
4676
4654
 
4677
4655
 
4678
4656
  @validate_call
4679
- def remove_solution_access_control_with_http_info(
4657
+ def set_solution_default_security_with_http_info(
4680
4658
  self,
4681
4659
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4682
4660
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4683
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4661
+ solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4684
4662
  _request_timeout: Union[
4685
4663
  None,
4686
4664
  Annotated[StrictFloat, Field(gt=0)],
@@ -4693,16 +4671,16 @@ class SolutionApi:
4693
4671
  _content_type: Optional[StrictStr] = None,
4694
4672
  _headers: Optional[Dict[StrictStr, Any]] = None,
4695
4673
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4696
- ) -> ApiResponse[None]:
4697
- """Remove the specified access from the given Organization Solution
4674
+ ) -> ApiResponse[SolutionSecurity]:
4675
+ """Set the Solution default security
4698
4676
 
4699
4677
 
4700
4678
  :param organization_id: the Organization identifier (required)
4701
4679
  :type organization_id: str
4702
4680
  :param solution_id: the Solution identifier (required)
4703
4681
  :type solution_id: str
4704
- :param identity_id: the User identifier (required)
4705
- :type identity_id: str
4682
+ :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)
4683
+ :type solution_role: SolutionRole
4706
4684
  :param _request_timeout: timeout setting for this request. If one
4707
4685
  number provided, it will be total request
4708
4686
  timeout. It can also be a pair (tuple) of
@@ -4725,10 +4703,10 @@ class SolutionApi:
4725
4703
  :return: Returns the result object.
4726
4704
  """ # noqa: E501
4727
4705
 
4728
- _param = self._remove_solution_access_control_serialize(
4706
+ _param = self._set_solution_default_security_serialize(
4729
4707
  organization_id=organization_id,
4730
4708
  solution_id=solution_id,
4731
- identity_id=identity_id,
4709
+ solution_role=solution_role,
4732
4710
  _request_auth=_request_auth,
4733
4711
  _content_type=_content_type,
4734
4712
  _headers=_headers,
@@ -4736,7 +4714,7 @@ class SolutionApi:
4736
4714
  )
4737
4715
 
4738
4716
  _response_types_map: Dict[str, Optional[str]] = {
4739
- '204': None,
4717
+ '201': "SolutionSecurity",
4740
4718
  '404': None,
4741
4719
  }
4742
4720
  response_data = self.api_client.call_api(
@@ -4751,11 +4729,11 @@ class SolutionApi:
4751
4729
 
4752
4730
 
4753
4731
  @validate_call
4754
- def remove_solution_access_control_without_preload_content(
4732
+ def set_solution_default_security_without_preload_content(
4755
4733
  self,
4756
4734
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4757
4735
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4758
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
4736
+ solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4759
4737
  _request_timeout: Union[
4760
4738
  None,
4761
4739
  Annotated[StrictFloat, Field(gt=0)],
@@ -4769,15 +4747,15 @@ class SolutionApi:
4769
4747
  _headers: Optional[Dict[StrictStr, Any]] = None,
4770
4748
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4771
4749
  ) -> RESTResponseType:
4772
- """Remove the specified access from the given Organization Solution
4750
+ """Set the Solution default security
4773
4751
 
4774
4752
 
4775
4753
  :param organization_id: the Organization identifier (required)
4776
4754
  :type organization_id: str
4777
4755
  :param solution_id: the Solution identifier (required)
4778
4756
  :type solution_id: str
4779
- :param identity_id: the User identifier (required)
4780
- :type identity_id: str
4757
+ :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)
4758
+ :type solution_role: SolutionRole
4781
4759
  :param _request_timeout: timeout setting for this request. If one
4782
4760
  number provided, it will be total request
4783
4761
  timeout. It can also be a pair (tuple) of
@@ -4800,10 +4778,10 @@ class SolutionApi:
4800
4778
  :return: Returns the result object.
4801
4779
  """ # noqa: E501
4802
4780
 
4803
- _param = self._remove_solution_access_control_serialize(
4781
+ _param = self._set_solution_default_security_serialize(
4804
4782
  organization_id=organization_id,
4805
4783
  solution_id=solution_id,
4806
- identity_id=identity_id,
4784
+ solution_role=solution_role,
4807
4785
  _request_auth=_request_auth,
4808
4786
  _content_type=_content_type,
4809
4787
  _headers=_headers,
@@ -4811,7 +4789,7 @@ class SolutionApi:
4811
4789
  )
4812
4790
 
4813
4791
  _response_types_map: Dict[str, Optional[str]] = {
4814
- '204': None,
4792
+ '201': "SolutionSecurity",
4815
4793
  '404': None,
4816
4794
  }
4817
4795
  response_data = self.api_client.call_api(
@@ -4821,11 +4799,11 @@ class SolutionApi:
4821
4799
  return response_data.response
4822
4800
 
4823
4801
 
4824
- def _remove_solution_access_control_serialize(
4802
+ def _set_solution_default_security_serialize(
4825
4803
  self,
4826
4804
  organization_id,
4827
4805
  solution_id,
4828
- identity_id,
4806
+ solution_role,
4829
4807
  _request_auth,
4830
4808
  _content_type,
4831
4809
  _headers,
@@ -4849,15 +4827,35 @@ class SolutionApi:
4849
4827
  _path_params['organization_id'] = organization_id
4850
4828
  if solution_id is not None:
4851
4829
  _path_params['solution_id'] = solution_id
4852
- if identity_id is not None:
4853
- _path_params['identity_id'] = identity_id
4854
4830
  # process the query parameters
4855
4831
  # process the header parameters
4856
4832
  # process the form parameters
4857
4833
  # process the body parameter
4834
+ if solution_role is not None:
4835
+ _body_params = solution_role
4858
4836
 
4859
4837
 
4838
+ # set the HTTP header `Accept`
4839
+ _header_params['Accept'] = self.api_client.select_header_accept(
4840
+ [
4841
+ 'application/json'
4842
+ ]
4843
+ )
4860
4844
 
4845
+ # set the HTTP header `Content-Type`
4846
+ if _content_type:
4847
+ _header_params['Content-Type'] = _content_type
4848
+ else:
4849
+ _default_content_type = (
4850
+ self.api_client.select_header_content_type(
4851
+ [
4852
+ 'application/json',
4853
+ 'application/yaml'
4854
+ ]
4855
+ )
4856
+ )
4857
+ if _default_content_type is not None:
4858
+ _header_params['Content-Type'] = _default_content_type
4861
4859
 
4862
4860
  # authentication setting
4863
4861
  _auth_settings: List[str] = [
@@ -4865,8 +4863,8 @@ class SolutionApi:
4865
4863
  ]
4866
4864
 
4867
4865
  return self.api_client.param_serialize(
4868
- method='DELETE',
4869
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
4866
+ method='POST',
4867
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/default',
4870
4868
  path_params=_path_params,
4871
4869
  query_params=_query_params,
4872
4870
  header_params=_header_params,
@@ -4883,11 +4881,11 @@ class SolutionApi:
4883
4881
 
4884
4882
 
4885
4883
  @validate_call
4886
- def set_solution_default_security(
4884
+ def update_solution(
4887
4885
  self,
4888
4886
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4889
4887
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4890
- solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4888
+ solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
4891
4889
  _request_timeout: Union[
4892
4890
  None,
4893
4891
  Annotated[StrictFloat, Field(gt=0)],
@@ -4900,16 +4898,16 @@ class SolutionApi:
4900
4898
  _content_type: Optional[StrictStr] = None,
4901
4899
  _headers: Optional[Dict[StrictStr, Any]] = None,
4902
4900
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4903
- ) -> SolutionSecurity:
4904
- """Set the Solution default security
4901
+ ) -> Solution:
4902
+ """Update a solution
4905
4903
 
4906
4904
 
4907
4905
  :param organization_id: the Organization identifier (required)
4908
4906
  :type organization_id: str
4909
4907
  :param solution_id: the Solution identifier (required)
4910
4908
  :type solution_id: str
4911
- :param solution_role: This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution. (required)
4912
- :type solution_role: SolutionRole
4909
+ :param solution: the new Solution details. This endpoint can't be used to update security (required)
4910
+ :type solution: Solution
4913
4911
  :param _request_timeout: timeout setting for this request. If one
4914
4912
  number provided, it will be total request
4915
4913
  timeout. It can also be a pair (tuple) of
@@ -4932,10 +4930,10 @@ class SolutionApi:
4932
4930
  :return: Returns the result object.
4933
4931
  """ # noqa: E501
4934
4932
 
4935
- _param = self._set_solution_default_security_serialize(
4933
+ _param = self._update_solution_serialize(
4936
4934
  organization_id=organization_id,
4937
4935
  solution_id=solution_id,
4938
- solution_role=solution_role,
4936
+ solution=solution,
4939
4937
  _request_auth=_request_auth,
4940
4938
  _content_type=_content_type,
4941
4939
  _headers=_headers,
@@ -4943,7 +4941,8 @@ class SolutionApi:
4943
4941
  )
4944
4942
 
4945
4943
  _response_types_map: Dict[str, Optional[str]] = {
4946
- '201': "SolutionSecurity",
4944
+ '200': "Solution",
4945
+ '400': None,
4947
4946
  '404': None,
4948
4947
  }
4949
4948
  response_data = self.api_client.call_api(
@@ -4958,11 +4957,11 @@ class SolutionApi:
4958
4957
 
4959
4958
 
4960
4959
  @validate_call
4961
- def set_solution_default_security_with_http_info(
4960
+ def update_solution_with_http_info(
4962
4961
  self,
4963
4962
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4964
4963
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
4965
- solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
4964
+ solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
4966
4965
  _request_timeout: Union[
4967
4966
  None,
4968
4967
  Annotated[StrictFloat, Field(gt=0)],
@@ -4975,630 +4974,16 @@ class SolutionApi:
4975
4974
  _content_type: Optional[StrictStr] = None,
4976
4975
  _headers: Optional[Dict[StrictStr, Any]] = None,
4977
4976
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4978
- ) -> ApiResponse[SolutionSecurity]:
4979
- """Set the Solution default security
4980
-
4981
-
4982
- :param organization_id: the Organization identifier (required)
4983
- :type organization_id: str
4984
- :param solution_id: the Solution identifier (required)
4985
- :type solution_id: str
4986
- :param solution_role: This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution. (required)
4987
- :type solution_role: SolutionRole
4988
- :param _request_timeout: timeout setting for this request. If one
4989
- number provided, it will be total request
4990
- timeout. It can also be a pair (tuple) of
4991
- (connection, read) timeouts.
4992
- :type _request_timeout: int, tuple(int, int), optional
4993
- :param _request_auth: set to override the auth_settings for an a single
4994
- request; this effectively ignores the
4995
- authentication in the spec for a single request.
4996
- :type _request_auth: dict, optional
4997
- :param _content_type: force content-type for the request.
4998
- :type _content_type: str, Optional
4999
- :param _headers: set to override the headers for a single
5000
- request; this effectively ignores the headers
5001
- in the spec for a single request.
5002
- :type _headers: dict, optional
5003
- :param _host_index: set to override the host_index for a single
5004
- request; this effectively ignores the host_index
5005
- in the spec for a single request.
5006
- :type _host_index: int, optional
5007
- :return: Returns the result object.
5008
- """ # noqa: E501
5009
-
5010
- _param = self._set_solution_default_security_serialize(
5011
- organization_id=organization_id,
5012
- solution_id=solution_id,
5013
- solution_role=solution_role,
5014
- _request_auth=_request_auth,
5015
- _content_type=_content_type,
5016
- _headers=_headers,
5017
- _host_index=_host_index
5018
- )
5019
-
5020
- _response_types_map: Dict[str, Optional[str]] = {
5021
- '201': "SolutionSecurity",
5022
- '404': None,
5023
- }
5024
- response_data = self.api_client.call_api(
5025
- *_param,
5026
- _request_timeout=_request_timeout
5027
- )
5028
- response_data.read()
5029
- return self.api_client.response_deserialize(
5030
- response_data=response_data,
5031
- response_types_map=_response_types_map,
5032
- )
5033
-
5034
-
5035
- @validate_call
5036
- def set_solution_default_security_without_preload_content(
5037
- self,
5038
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5039
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5040
- solution_role: Annotated[SolutionRole, Field(description="This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.")],
5041
- _request_timeout: Union[
5042
- None,
5043
- Annotated[StrictFloat, Field(gt=0)],
5044
- Tuple[
5045
- Annotated[StrictFloat, Field(gt=0)],
5046
- Annotated[StrictFloat, Field(gt=0)]
5047
- ]
5048
- ] = None,
5049
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5050
- _content_type: Optional[StrictStr] = None,
5051
- _headers: Optional[Dict[StrictStr, Any]] = None,
5052
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5053
- ) -> RESTResponseType:
5054
- """Set the Solution default security
5055
-
5056
-
5057
- :param organization_id: the Organization identifier (required)
5058
- :type organization_id: str
5059
- :param solution_id: the Solution identifier (required)
5060
- :type solution_id: str
5061
- :param solution_role: This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution. (required)
5062
- :type solution_role: SolutionRole
5063
- :param _request_timeout: timeout setting for this request. If one
5064
- number provided, it will be total request
5065
- timeout. It can also be a pair (tuple) of
5066
- (connection, read) timeouts.
5067
- :type _request_timeout: int, tuple(int, int), optional
5068
- :param _request_auth: set to override the auth_settings for an a single
5069
- request; this effectively ignores the
5070
- authentication in the spec for a single request.
5071
- :type _request_auth: dict, optional
5072
- :param _content_type: force content-type for the request.
5073
- :type _content_type: str, Optional
5074
- :param _headers: set to override the headers for a single
5075
- request; this effectively ignores the headers
5076
- in the spec for a single request.
5077
- :type _headers: dict, optional
5078
- :param _host_index: set to override the host_index for a single
5079
- request; this effectively ignores the host_index
5080
- in the spec for a single request.
5081
- :type _host_index: int, optional
5082
- :return: Returns the result object.
5083
- """ # noqa: E501
5084
-
5085
- _param = self._set_solution_default_security_serialize(
5086
- organization_id=organization_id,
5087
- solution_id=solution_id,
5088
- solution_role=solution_role,
5089
- _request_auth=_request_auth,
5090
- _content_type=_content_type,
5091
- _headers=_headers,
5092
- _host_index=_host_index
5093
- )
5094
-
5095
- _response_types_map: Dict[str, Optional[str]] = {
5096
- '201': "SolutionSecurity",
5097
- '404': None,
5098
- }
5099
- response_data = self.api_client.call_api(
5100
- *_param,
5101
- _request_timeout=_request_timeout
5102
- )
5103
- return response_data.response
5104
-
5105
-
5106
- def _set_solution_default_security_serialize(
5107
- self,
5108
- organization_id,
5109
- solution_id,
5110
- solution_role,
5111
- _request_auth,
5112
- _content_type,
5113
- _headers,
5114
- _host_index,
5115
- ) -> RequestSerialized:
5116
-
5117
- _host = None
5118
-
5119
- _collection_formats: Dict[str, str] = {
5120
- }
5121
-
5122
- _path_params: Dict[str, str] = {}
5123
- _query_params: List[Tuple[str, str]] = []
5124
- _header_params: Dict[str, Optional[str]] = _headers or {}
5125
- _form_params: List[Tuple[str, str]] = []
5126
- _files: Dict[str, str] = {}
5127
- _body_params: Optional[bytes] = None
5128
-
5129
- # process the path parameters
5130
- if organization_id is not None:
5131
- _path_params['organization_id'] = organization_id
5132
- if solution_id is not None:
5133
- _path_params['solution_id'] = solution_id
5134
- # process the query parameters
5135
- # process the header parameters
5136
- # process the form parameters
5137
- # process the body parameter
5138
- if solution_role is not None:
5139
- _body_params = solution_role
5140
-
5141
-
5142
- # set the HTTP header `Accept`
5143
- _header_params['Accept'] = self.api_client.select_header_accept(
5144
- [
5145
- 'application/json'
5146
- ]
5147
- )
5148
-
5149
- # set the HTTP header `Content-Type`
5150
- if _content_type:
5151
- _header_params['Content-Type'] = _content_type
5152
- else:
5153
- _default_content_type = (
5154
- self.api_client.select_header_content_type(
5155
- [
5156
- 'application/json',
5157
- 'application/yaml'
5158
- ]
5159
- )
5160
- )
5161
- if _default_content_type is not None:
5162
- _header_params['Content-Type'] = _default_content_type
5163
-
5164
- # authentication setting
5165
- _auth_settings: List[str] = [
5166
- 'oAuth2AuthCode'
5167
- ]
5168
-
5169
- return self.api_client.param_serialize(
5170
- method='POST',
5171
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/default',
5172
- path_params=_path_params,
5173
- query_params=_query_params,
5174
- header_params=_header_params,
5175
- body=_body_params,
5176
- post_params=_form_params,
5177
- files=_files,
5178
- auth_settings=_auth_settings,
5179
- collection_formats=_collection_formats,
5180
- _host=_host,
5181
- _request_auth=_request_auth
5182
- )
5183
-
5184
-
5185
-
5186
-
5187
- @validate_call
5188
- def update_solution(
5189
- self,
5190
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5191
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5192
- solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5193
- _request_timeout: Union[
5194
- None,
5195
- Annotated[StrictFloat, Field(gt=0)],
5196
- Tuple[
5197
- Annotated[StrictFloat, Field(gt=0)],
5198
- Annotated[StrictFloat, Field(gt=0)]
5199
- ]
5200
- ] = None,
5201
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5202
- _content_type: Optional[StrictStr] = None,
5203
- _headers: Optional[Dict[StrictStr, Any]] = None,
5204
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5205
- ) -> Solution:
5206
- """Update a solution
5207
-
5208
-
5209
- :param organization_id: the Organization identifier (required)
5210
- :type organization_id: str
5211
- :param solution_id: the Solution identifier (required)
5212
- :type solution_id: str
5213
- :param solution: the new Solution details. This endpoint can't be used to update security (required)
5214
- :type solution: Solution
5215
- :param _request_timeout: timeout setting for this request. If one
5216
- number provided, it will be total request
5217
- timeout. It can also be a pair (tuple) of
5218
- (connection, read) timeouts.
5219
- :type _request_timeout: int, tuple(int, int), optional
5220
- :param _request_auth: set to override the auth_settings for an a single
5221
- request; this effectively ignores the
5222
- authentication in the spec for a single request.
5223
- :type _request_auth: dict, optional
5224
- :param _content_type: force content-type for the request.
5225
- :type _content_type: str, Optional
5226
- :param _headers: set to override the headers for a single
5227
- request; this effectively ignores the headers
5228
- in the spec for a single request.
5229
- :type _headers: dict, optional
5230
- :param _host_index: set to override the host_index for a single
5231
- request; this effectively ignores the host_index
5232
- in the spec for a single request.
5233
- :type _host_index: int, optional
5234
- :return: Returns the result object.
5235
- """ # noqa: E501
5236
-
5237
- _param = self._update_solution_serialize(
5238
- organization_id=organization_id,
5239
- solution_id=solution_id,
5240
- solution=solution,
5241
- _request_auth=_request_auth,
5242
- _content_type=_content_type,
5243
- _headers=_headers,
5244
- _host_index=_host_index
5245
- )
5246
-
5247
- _response_types_map: Dict[str, Optional[str]] = {
5248
- '200': "Solution",
5249
- '400': None,
5250
- '404': None,
5251
- }
5252
- response_data = self.api_client.call_api(
5253
- *_param,
5254
- _request_timeout=_request_timeout
5255
- )
5256
- response_data.read()
5257
- return self.api_client.response_deserialize(
5258
- response_data=response_data,
5259
- response_types_map=_response_types_map,
5260
- ).data
5261
-
5262
-
5263
- @validate_call
5264
- def update_solution_with_http_info(
5265
- self,
5266
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5267
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5268
- solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5269
- _request_timeout: Union[
5270
- None,
5271
- Annotated[StrictFloat, Field(gt=0)],
5272
- Tuple[
5273
- Annotated[StrictFloat, Field(gt=0)],
5274
- Annotated[StrictFloat, Field(gt=0)]
5275
- ]
5276
- ] = None,
5277
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5278
- _content_type: Optional[StrictStr] = None,
5279
- _headers: Optional[Dict[StrictStr, Any]] = None,
5280
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5281
- ) -> ApiResponse[Solution]:
5282
- """Update a solution
5283
-
5284
-
5285
- :param organization_id: the Organization identifier (required)
5286
- :type organization_id: str
5287
- :param solution_id: the Solution identifier (required)
5288
- :type solution_id: str
5289
- :param solution: the new Solution details. This endpoint can't be used to update security (required)
5290
- :type solution: Solution
5291
- :param _request_timeout: timeout setting for this request. If one
5292
- number provided, it will be total request
5293
- timeout. It can also be a pair (tuple) of
5294
- (connection, read) timeouts.
5295
- :type _request_timeout: int, tuple(int, int), optional
5296
- :param _request_auth: set to override the auth_settings for an a single
5297
- request; this effectively ignores the
5298
- authentication in the spec for a single request.
5299
- :type _request_auth: dict, optional
5300
- :param _content_type: force content-type for the request.
5301
- :type _content_type: str, Optional
5302
- :param _headers: set to override the headers for a single
5303
- request; this effectively ignores the headers
5304
- in the spec for a single request.
5305
- :type _headers: dict, optional
5306
- :param _host_index: set to override the host_index for a single
5307
- request; this effectively ignores the host_index
5308
- in the spec for a single request.
5309
- :type _host_index: int, optional
5310
- :return: Returns the result object.
5311
- """ # noqa: E501
5312
-
5313
- _param = self._update_solution_serialize(
5314
- organization_id=organization_id,
5315
- solution_id=solution_id,
5316
- solution=solution,
5317
- _request_auth=_request_auth,
5318
- _content_type=_content_type,
5319
- _headers=_headers,
5320
- _host_index=_host_index
5321
- )
5322
-
5323
- _response_types_map: Dict[str, Optional[str]] = {
5324
- '200': "Solution",
5325
- '400': None,
5326
- '404': None,
5327
- }
5328
- response_data = self.api_client.call_api(
5329
- *_param,
5330
- _request_timeout=_request_timeout
5331
- )
5332
- response_data.read()
5333
- return self.api_client.response_deserialize(
5334
- response_data=response_data,
5335
- response_types_map=_response_types_map,
5336
- )
5337
-
5338
-
5339
- @validate_call
5340
- def update_solution_without_preload_content(
5341
- self,
5342
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5343
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5344
- solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5345
- _request_timeout: Union[
5346
- None,
5347
- Annotated[StrictFloat, Field(gt=0)],
5348
- Tuple[
5349
- Annotated[StrictFloat, Field(gt=0)],
5350
- Annotated[StrictFloat, Field(gt=0)]
5351
- ]
5352
- ] = None,
5353
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5354
- _content_type: Optional[StrictStr] = None,
5355
- _headers: Optional[Dict[StrictStr, Any]] = None,
5356
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5357
- ) -> RESTResponseType:
5358
- """Update a solution
5359
-
5360
-
5361
- :param organization_id: the Organization identifier (required)
5362
- :type organization_id: str
5363
- :param solution_id: the Solution identifier (required)
5364
- :type solution_id: str
5365
- :param solution: the new Solution details. This endpoint can't be used to update security (required)
5366
- :type solution: Solution
5367
- :param _request_timeout: timeout setting for this request. If one
5368
- number provided, it will be total request
5369
- timeout. It can also be a pair (tuple) of
5370
- (connection, read) timeouts.
5371
- :type _request_timeout: int, tuple(int, int), optional
5372
- :param _request_auth: set to override the auth_settings for an a single
5373
- request; this effectively ignores the
5374
- authentication in the spec for a single request.
5375
- :type _request_auth: dict, optional
5376
- :param _content_type: force content-type for the request.
5377
- :type _content_type: str, Optional
5378
- :param _headers: set to override the headers for a single
5379
- request; this effectively ignores the headers
5380
- in the spec for a single request.
5381
- :type _headers: dict, optional
5382
- :param _host_index: set to override the host_index for a single
5383
- request; this effectively ignores the host_index
5384
- in the spec for a single request.
5385
- :type _host_index: int, optional
5386
- :return: Returns the result object.
5387
- """ # noqa: E501
5388
-
5389
- _param = self._update_solution_serialize(
5390
- organization_id=organization_id,
5391
- solution_id=solution_id,
5392
- solution=solution,
5393
- _request_auth=_request_auth,
5394
- _content_type=_content_type,
5395
- _headers=_headers,
5396
- _host_index=_host_index
5397
- )
5398
-
5399
- _response_types_map: Dict[str, Optional[str]] = {
5400
- '200': "Solution",
5401
- '400': None,
5402
- '404': None,
5403
- }
5404
- response_data = self.api_client.call_api(
5405
- *_param,
5406
- _request_timeout=_request_timeout
5407
- )
5408
- return response_data.response
5409
-
5410
-
5411
- def _update_solution_serialize(
5412
- self,
5413
- organization_id,
5414
- solution_id,
5415
- solution,
5416
- _request_auth,
5417
- _content_type,
5418
- _headers,
5419
- _host_index,
5420
- ) -> RequestSerialized:
5421
-
5422
- _host = None
5423
-
5424
- _collection_formats: Dict[str, str] = {
5425
- }
5426
-
5427
- _path_params: Dict[str, str] = {}
5428
- _query_params: List[Tuple[str, str]] = []
5429
- _header_params: Dict[str, Optional[str]] = _headers or {}
5430
- _form_params: List[Tuple[str, str]] = []
5431
- _files: Dict[str, str] = {}
5432
- _body_params: Optional[bytes] = None
5433
-
5434
- # process the path parameters
5435
- if organization_id is not None:
5436
- _path_params['organization_id'] = organization_id
5437
- if solution_id is not None:
5438
- _path_params['solution_id'] = solution_id
5439
- # process the query parameters
5440
- # process the header parameters
5441
- # process the form parameters
5442
- # process the body parameter
5443
- if solution is not None:
5444
- _body_params = solution
5445
-
5446
-
5447
- # set the HTTP header `Accept`
5448
- _header_params['Accept'] = self.api_client.select_header_accept(
5449
- [
5450
- 'application/json'
5451
- ]
5452
- )
5453
-
5454
- # set the HTTP header `Content-Type`
5455
- if _content_type:
5456
- _header_params['Content-Type'] = _content_type
5457
- else:
5458
- _default_content_type = (
5459
- self.api_client.select_header_content_type(
5460
- [
5461
- 'application/json',
5462
- 'application/yaml'
5463
- ]
5464
- )
5465
- )
5466
- if _default_content_type is not None:
5467
- _header_params['Content-Type'] = _default_content_type
5468
-
5469
- # authentication setting
5470
- _auth_settings: List[str] = [
5471
- 'oAuth2AuthCode'
5472
- ]
5473
-
5474
- return self.api_client.param_serialize(
5475
- method='PATCH',
5476
- resource_path='/organizations/{organization_id}/solutions/{solution_id}',
5477
- path_params=_path_params,
5478
- query_params=_query_params,
5479
- header_params=_header_params,
5480
- body=_body_params,
5481
- post_params=_form_params,
5482
- files=_files,
5483
- auth_settings=_auth_settings,
5484
- collection_formats=_collection_formats,
5485
- _host=_host,
5486
- _request_auth=_request_auth
5487
- )
5488
-
5489
-
5490
-
5491
-
5492
- @validate_call
5493
- def update_solution_access_control(
5494
- self,
5495
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5496
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5497
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5498
- solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5499
- _request_timeout: Union[
5500
- None,
5501
- Annotated[StrictFloat, Field(gt=0)],
5502
- Tuple[
5503
- Annotated[StrictFloat, Field(gt=0)],
5504
- Annotated[StrictFloat, Field(gt=0)]
5505
- ]
5506
- ] = None,
5507
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5508
- _content_type: Optional[StrictStr] = None,
5509
- _headers: Optional[Dict[StrictStr, Any]] = None,
5510
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5511
- ) -> SolutionAccessControl:
5512
- """Update the specified access to User for a Solution
5513
-
5514
-
5515
- :param organization_id: the Organization identifier (required)
5516
- :type organization_id: str
5517
- :param solution_id: the Solution identifier (required)
5518
- :type solution_id: str
5519
- :param identity_id: the User identifier (required)
5520
- :type identity_id: str
5521
- :param solution_role: The new Solution Access Control (required)
5522
- :type solution_role: SolutionRole
5523
- :param _request_timeout: timeout setting for this request. If one
5524
- number provided, it will be total request
5525
- timeout. It can also be a pair (tuple) of
5526
- (connection, read) timeouts.
5527
- :type _request_timeout: int, tuple(int, int), optional
5528
- :param _request_auth: set to override the auth_settings for an a single
5529
- request; this effectively ignores the
5530
- authentication in the spec for a single request.
5531
- :type _request_auth: dict, optional
5532
- :param _content_type: force content-type for the request.
5533
- :type _content_type: str, Optional
5534
- :param _headers: set to override the headers for a single
5535
- request; this effectively ignores the headers
5536
- in the spec for a single request.
5537
- :type _headers: dict, optional
5538
- :param _host_index: set to override the host_index for a single
5539
- request; this effectively ignores the host_index
5540
- in the spec for a single request.
5541
- :type _host_index: int, optional
5542
- :return: Returns the result object.
5543
- """ # noqa: E501
5544
-
5545
- _param = self._update_solution_access_control_serialize(
5546
- organization_id=organization_id,
5547
- solution_id=solution_id,
5548
- identity_id=identity_id,
5549
- solution_role=solution_role,
5550
- _request_auth=_request_auth,
5551
- _content_type=_content_type,
5552
- _headers=_headers,
5553
- _host_index=_host_index
5554
- )
5555
-
5556
- _response_types_map: Dict[str, Optional[str]] = {
5557
- '200': "SolutionAccessControl",
5558
- '404': None,
5559
- }
5560
- response_data = self.api_client.call_api(
5561
- *_param,
5562
- _request_timeout=_request_timeout
5563
- )
5564
- response_data.read()
5565
- return self.api_client.response_deserialize(
5566
- response_data=response_data,
5567
- response_types_map=_response_types_map,
5568
- ).data
5569
-
5570
-
5571
- @validate_call
5572
- def update_solution_access_control_with_http_info(
5573
- self,
5574
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5575
- solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5576
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5577
- solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5578
- _request_timeout: Union[
5579
- None,
5580
- Annotated[StrictFloat, Field(gt=0)],
5581
- Tuple[
5582
- Annotated[StrictFloat, Field(gt=0)],
5583
- Annotated[StrictFloat, Field(gt=0)]
5584
- ]
5585
- ] = None,
5586
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5587
- _content_type: Optional[StrictStr] = None,
5588
- _headers: Optional[Dict[StrictStr, Any]] = None,
5589
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5590
- ) -> ApiResponse[SolutionAccessControl]:
5591
- """Update the specified access to User for a Solution
4977
+ ) -> ApiResponse[Solution]:
4978
+ """Update a solution
5592
4979
 
5593
4980
 
5594
4981
  :param organization_id: the Organization identifier (required)
5595
4982
  :type organization_id: str
5596
4983
  :param solution_id: the Solution identifier (required)
5597
4984
  :type solution_id: str
5598
- :param identity_id: the User identifier (required)
5599
- :type identity_id: str
5600
- :param solution_role: The new Solution Access Control (required)
5601
- :type solution_role: SolutionRole
4985
+ :param solution: the new Solution details. This endpoint can't be used to update security (required)
4986
+ :type solution: Solution
5602
4987
  :param _request_timeout: timeout setting for this request. If one
5603
4988
  number provided, it will be total request
5604
4989
  timeout. It can also be a pair (tuple) of
@@ -5621,11 +5006,10 @@ class SolutionApi:
5621
5006
  :return: Returns the result object.
5622
5007
  """ # noqa: E501
5623
5008
 
5624
- _param = self._update_solution_access_control_serialize(
5009
+ _param = self._update_solution_serialize(
5625
5010
  organization_id=organization_id,
5626
5011
  solution_id=solution_id,
5627
- identity_id=identity_id,
5628
- solution_role=solution_role,
5012
+ solution=solution,
5629
5013
  _request_auth=_request_auth,
5630
5014
  _content_type=_content_type,
5631
5015
  _headers=_headers,
@@ -5633,7 +5017,8 @@ class SolutionApi:
5633
5017
  )
5634
5018
 
5635
5019
  _response_types_map: Dict[str, Optional[str]] = {
5636
- '200': "SolutionAccessControl",
5020
+ '200': "Solution",
5021
+ '400': None,
5637
5022
  '404': None,
5638
5023
  }
5639
5024
  response_data = self.api_client.call_api(
@@ -5648,12 +5033,11 @@ class SolutionApi:
5648
5033
 
5649
5034
 
5650
5035
  @validate_call
5651
- def update_solution_access_control_without_preload_content(
5036
+ def update_solution_without_preload_content(
5652
5037
  self,
5653
5038
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5654
5039
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5655
- identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5656
- solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5040
+ solution: Annotated[Solution, Field(description="the new Solution details. This endpoint can't be used to update security")],
5657
5041
  _request_timeout: Union[
5658
5042
  None,
5659
5043
  Annotated[StrictFloat, Field(gt=0)],
@@ -5667,17 +5051,15 @@ class SolutionApi:
5667
5051
  _headers: Optional[Dict[StrictStr, Any]] = None,
5668
5052
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5669
5053
  ) -> RESTResponseType:
5670
- """Update the specified access to User for a Solution
5054
+ """Update a solution
5671
5055
 
5672
5056
 
5673
5057
  :param organization_id: the Organization identifier (required)
5674
5058
  :type organization_id: str
5675
5059
  :param solution_id: the Solution identifier (required)
5676
5060
  :type solution_id: str
5677
- :param identity_id: the User identifier (required)
5678
- :type identity_id: str
5679
- :param solution_role: The new Solution Access Control (required)
5680
- :type solution_role: SolutionRole
5061
+ :param solution: the new Solution details. This endpoint can't be used to update security (required)
5062
+ :type solution: Solution
5681
5063
  :param _request_timeout: timeout setting for this request. If one
5682
5064
  number provided, it will be total request
5683
5065
  timeout. It can also be a pair (tuple) of
@@ -5700,11 +5082,10 @@ class SolutionApi:
5700
5082
  :return: Returns the result object.
5701
5083
  """ # noqa: E501
5702
5084
 
5703
- _param = self._update_solution_access_control_serialize(
5085
+ _param = self._update_solution_serialize(
5704
5086
  organization_id=organization_id,
5705
5087
  solution_id=solution_id,
5706
- identity_id=identity_id,
5707
- solution_role=solution_role,
5088
+ solution=solution,
5708
5089
  _request_auth=_request_auth,
5709
5090
  _content_type=_content_type,
5710
5091
  _headers=_headers,
@@ -5712,7 +5093,8 @@ class SolutionApi:
5712
5093
  )
5713
5094
 
5714
5095
  _response_types_map: Dict[str, Optional[str]] = {
5715
- '200': "SolutionAccessControl",
5096
+ '200': "Solution",
5097
+ '400': None,
5716
5098
  '404': None,
5717
5099
  }
5718
5100
  response_data = self.api_client.call_api(
@@ -5722,12 +5104,11 @@ class SolutionApi:
5722
5104
  return response_data.response
5723
5105
 
5724
5106
 
5725
- def _update_solution_access_control_serialize(
5107
+ def _update_solution_serialize(
5726
5108
  self,
5727
5109
  organization_id,
5728
5110
  solution_id,
5729
- identity_id,
5730
- solution_role,
5111
+ solution,
5731
5112
  _request_auth,
5732
5113
  _content_type,
5733
5114
  _headers,
@@ -5751,14 +5132,12 @@ class SolutionApi:
5751
5132
  _path_params['organization_id'] = organization_id
5752
5133
  if solution_id is not None:
5753
5134
  _path_params['solution_id'] = solution_id
5754
- if identity_id is not None:
5755
- _path_params['identity_id'] = identity_id
5756
5135
  # process the query parameters
5757
5136
  # process the header parameters
5758
5137
  # process the form parameters
5759
5138
  # process the body parameter
5760
- if solution_role is not None:
5761
- _body_params = solution_role
5139
+ if solution is not None:
5140
+ _body_params = solution
5762
5141
 
5763
5142
 
5764
5143
  # set the HTTP header `Accept`
@@ -5775,7 +5154,8 @@ class SolutionApi:
5775
5154
  _default_content_type = (
5776
5155
  self.api_client.select_header_content_type(
5777
5156
  [
5778
- 'application/json'
5157
+ 'application/json',
5158
+ 'application/yaml'
5779
5159
  ]
5780
5160
  )
5781
5161
  )
@@ -5789,7 +5169,7 @@ class SolutionApi:
5789
5169
 
5790
5170
  return self.api_client.param_serialize(
5791
5171
  method='PATCH',
5792
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
5172
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}',
5793
5173
  path_params=_path_params,
5794
5174
  query_params=_query_params,
5795
5175
  header_params=_header_params,
@@ -5806,12 +5186,12 @@ class SolutionApi:
5806
5186
 
5807
5187
 
5808
5188
  @validate_call
5809
- def update_solution_run_template(
5189
+ def update_solution_access_control(
5810
5190
  self,
5811
5191
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5812
5192
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5813
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
5814
- run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
5193
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5194
+ solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5815
5195
  _request_timeout: Union[
5816
5196
  None,
5817
5197
  Annotated[StrictFloat, Field(gt=0)],
@@ -5824,18 +5204,18 @@ class SolutionApi:
5824
5204
  _content_type: Optional[StrictStr] = None,
5825
5205
  _headers: Optional[Dict[StrictStr, Any]] = None,
5826
5206
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5827
- ) -> List[RunTemplate]:
5828
- """Update the specified Solution Run Template
5207
+ ) -> SolutionAccessControl:
5208
+ """Update the specified access to User for a Solution
5829
5209
 
5830
5210
 
5831
5211
  :param organization_id: the Organization identifier (required)
5832
5212
  :type organization_id: str
5833
5213
  :param solution_id: the Solution identifier (required)
5834
5214
  :type solution_id: str
5835
- :param run_template_id: the Run Template identifier (required)
5836
- :type run_template_id: str
5837
- :param run_template: the Run Templates (required)
5838
- :type run_template: RunTemplate
5215
+ :param identity_id: the User identifier (required)
5216
+ :type identity_id: str
5217
+ :param solution_role: The new Solution Access Control (required)
5218
+ :type solution_role: SolutionRole
5839
5219
  :param _request_timeout: timeout setting for this request. If one
5840
5220
  number provided, it will be total request
5841
5221
  timeout. It can also be a pair (tuple) of
@@ -5858,11 +5238,11 @@ class SolutionApi:
5858
5238
  :return: Returns the result object.
5859
5239
  """ # noqa: E501
5860
5240
 
5861
- _param = self._update_solution_run_template_serialize(
5241
+ _param = self._update_solution_access_control_serialize(
5862
5242
  organization_id=organization_id,
5863
5243
  solution_id=solution_id,
5864
- run_template_id=run_template_id,
5865
- run_template=run_template,
5244
+ identity_id=identity_id,
5245
+ solution_role=solution_role,
5866
5246
  _request_auth=_request_auth,
5867
5247
  _content_type=_content_type,
5868
5248
  _headers=_headers,
@@ -5870,8 +5250,7 @@ class SolutionApi:
5870
5250
  )
5871
5251
 
5872
5252
  _response_types_map: Dict[str, Optional[str]] = {
5873
- '200': "List[RunTemplate]",
5874
- '400': None,
5253
+ '200': "SolutionAccessControl",
5875
5254
  '404': None,
5876
5255
  }
5877
5256
  response_data = self.api_client.call_api(
@@ -5886,12 +5265,12 @@ class SolutionApi:
5886
5265
 
5887
5266
 
5888
5267
  @validate_call
5889
- def update_solution_run_template_with_http_info(
5268
+ def update_solution_access_control_with_http_info(
5890
5269
  self,
5891
5270
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5892
5271
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5893
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
5894
- run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
5272
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5273
+ solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5895
5274
  _request_timeout: Union[
5896
5275
  None,
5897
5276
  Annotated[StrictFloat, Field(gt=0)],
@@ -5904,18 +5283,18 @@ class SolutionApi:
5904
5283
  _content_type: Optional[StrictStr] = None,
5905
5284
  _headers: Optional[Dict[StrictStr, Any]] = None,
5906
5285
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5907
- ) -> ApiResponse[List[RunTemplate]]:
5908
- """Update the specified Solution Run Template
5286
+ ) -> ApiResponse[SolutionAccessControl]:
5287
+ """Update the specified access to User for a Solution
5909
5288
 
5910
5289
 
5911
5290
  :param organization_id: the Organization identifier (required)
5912
5291
  :type organization_id: str
5913
5292
  :param solution_id: the Solution identifier (required)
5914
5293
  :type solution_id: str
5915
- :param run_template_id: the Run Template identifier (required)
5916
- :type run_template_id: str
5917
- :param run_template: the Run Templates (required)
5918
- :type run_template: RunTemplate
5294
+ :param identity_id: the User identifier (required)
5295
+ :type identity_id: str
5296
+ :param solution_role: The new Solution Access Control (required)
5297
+ :type solution_role: SolutionRole
5919
5298
  :param _request_timeout: timeout setting for this request. If one
5920
5299
  number provided, it will be total request
5921
5300
  timeout. It can also be a pair (tuple) of
@@ -5938,11 +5317,11 @@ class SolutionApi:
5938
5317
  :return: Returns the result object.
5939
5318
  """ # noqa: E501
5940
5319
 
5941
- _param = self._update_solution_run_template_serialize(
5320
+ _param = self._update_solution_access_control_serialize(
5942
5321
  organization_id=organization_id,
5943
5322
  solution_id=solution_id,
5944
- run_template_id=run_template_id,
5945
- run_template=run_template,
5323
+ identity_id=identity_id,
5324
+ solution_role=solution_role,
5946
5325
  _request_auth=_request_auth,
5947
5326
  _content_type=_content_type,
5948
5327
  _headers=_headers,
@@ -5950,8 +5329,7 @@ class SolutionApi:
5950
5329
  )
5951
5330
 
5952
5331
  _response_types_map: Dict[str, Optional[str]] = {
5953
- '200': "List[RunTemplate]",
5954
- '400': None,
5332
+ '200': "SolutionAccessControl",
5955
5333
  '404': None,
5956
5334
  }
5957
5335
  response_data = self.api_client.call_api(
@@ -5966,12 +5344,12 @@ class SolutionApi:
5966
5344
 
5967
5345
 
5968
5346
  @validate_call
5969
- def update_solution_run_template_without_preload_content(
5347
+ def update_solution_access_control_without_preload_content(
5970
5348
  self,
5971
5349
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5972
5350
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
5973
- run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
5974
- run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
5351
+ identity_id: Annotated[StrictStr, Field(description="the User identifier")],
5352
+ solution_role: Annotated[SolutionRole, Field(description="The new Solution Access Control")],
5975
5353
  _request_timeout: Union[
5976
5354
  None,
5977
5355
  Annotated[StrictFloat, Field(gt=0)],
@@ -5985,17 +5363,17 @@ class SolutionApi:
5985
5363
  _headers: Optional[Dict[StrictStr, Any]] = None,
5986
5364
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5987
5365
  ) -> RESTResponseType:
5988
- """Update the specified Solution Run Template
5366
+ """Update the specified access to User for a Solution
5989
5367
 
5990
5368
 
5991
5369
  :param organization_id: the Organization identifier (required)
5992
5370
  :type organization_id: str
5993
5371
  :param solution_id: the Solution identifier (required)
5994
5372
  :type solution_id: str
5995
- :param run_template_id: the Run Template identifier (required)
5996
- :type run_template_id: str
5997
- :param run_template: the Run Templates (required)
5998
- :type run_template: RunTemplate
5373
+ :param identity_id: the User identifier (required)
5374
+ :type identity_id: str
5375
+ :param solution_role: The new Solution Access Control (required)
5376
+ :type solution_role: SolutionRole
5999
5377
  :param _request_timeout: timeout setting for this request. If one
6000
5378
  number provided, it will be total request
6001
5379
  timeout. It can also be a pair (tuple) of
@@ -6018,11 +5396,11 @@ class SolutionApi:
6018
5396
  :return: Returns the result object.
6019
5397
  """ # noqa: E501
6020
5398
 
6021
- _param = self._update_solution_run_template_serialize(
5399
+ _param = self._update_solution_access_control_serialize(
6022
5400
  organization_id=organization_id,
6023
5401
  solution_id=solution_id,
6024
- run_template_id=run_template_id,
6025
- run_template=run_template,
5402
+ identity_id=identity_id,
5403
+ solution_role=solution_role,
6026
5404
  _request_auth=_request_auth,
6027
5405
  _content_type=_content_type,
6028
5406
  _headers=_headers,
@@ -6030,8 +5408,7 @@ class SolutionApi:
6030
5408
  )
6031
5409
 
6032
5410
  _response_types_map: Dict[str, Optional[str]] = {
6033
- '200': "List[RunTemplate]",
6034
- '400': None,
5411
+ '200': "SolutionAccessControl",
6035
5412
  '404': None,
6036
5413
  }
6037
5414
  response_data = self.api_client.call_api(
@@ -6041,12 +5418,12 @@ class SolutionApi:
6041
5418
  return response_data.response
6042
5419
 
6043
5420
 
6044
- def _update_solution_run_template_serialize(
5421
+ def _update_solution_access_control_serialize(
6045
5422
  self,
6046
5423
  organization_id,
6047
5424
  solution_id,
6048
- run_template_id,
6049
- run_template,
5425
+ identity_id,
5426
+ solution_role,
6050
5427
  _request_auth,
6051
5428
  _content_type,
6052
5429
  _headers,
@@ -6070,14 +5447,14 @@ class SolutionApi:
6070
5447
  _path_params['organization_id'] = organization_id
6071
5448
  if solution_id is not None:
6072
5449
  _path_params['solution_id'] = solution_id
6073
- if run_template_id is not None:
6074
- _path_params['run_template_id'] = run_template_id
5450
+ if identity_id is not None:
5451
+ _path_params['identity_id'] = identity_id
6075
5452
  # process the query parameters
6076
5453
  # process the header parameters
6077
5454
  # process the form parameters
6078
5455
  # process the body parameter
6079
- if run_template is not None:
6080
- _body_params = run_template
5456
+ if solution_role is not None:
5457
+ _body_params = solution_role
6081
5458
 
6082
5459
 
6083
5460
  # set the HTTP header `Accept`
@@ -6094,8 +5471,7 @@ class SolutionApi:
6094
5471
  _default_content_type = (
6095
5472
  self.api_client.select_header_content_type(
6096
5473
  [
6097
- 'application/json',
6098
- 'application/yaml'
5474
+ 'application/json'
6099
5475
  ]
6100
5476
  )
6101
5477
  )
@@ -6109,7 +5485,7 @@ class SolutionApi:
6109
5485
 
6110
5486
  return self.api_client.param_serialize(
6111
5487
  method='PATCH',
6112
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}',
5488
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id}',
6113
5489
  path_params=_path_params,
6114
5490
  query_params=_query_params,
6115
5491
  header_params=_header_params,
@@ -6126,14 +5502,12 @@ class SolutionApi:
6126
5502
 
6127
5503
 
6128
5504
  @validate_call
6129
- def upload_run_template_handler(
5505
+ def update_solution_run_template(
6130
5506
  self,
6131
5507
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6132
5508
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
6133
5509
  run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
6134
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
6135
- body: Union[StrictBytes, StrictStr],
6136
- overwrite: Annotated[Optional[StrictBool], Field(description="whether to overwrite any existing handler resource")] = None,
5510
+ run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
6137
5511
  _request_timeout: Union[
6138
5512
  None,
6139
5513
  Annotated[StrictFloat, Field(gt=0)],
@@ -6146,8 +5520,8 @@ class SolutionApi:
6146
5520
  _content_type: Optional[StrictStr] = None,
6147
5521
  _headers: Optional[Dict[StrictStr, Any]] = None,
6148
5522
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6149
- ) -> None:
6150
- """Upload a Run Template step handler zip file
5523
+ ) -> List[RunTemplate]:
5524
+ """Update the specified Solution Run Template
6151
5525
 
6152
5526
 
6153
5527
  :param organization_id: the Organization identifier (required)
@@ -6156,12 +5530,8 @@ class SolutionApi:
6156
5530
  :type solution_id: str
6157
5531
  :param run_template_id: the Run Template identifier (required)
6158
5532
  :type run_template_id: str
6159
- :param handler_id: the Handler identifier (required)
6160
- :type handler_id: RunTemplateHandlerId
6161
- :param body: (required)
6162
- :type body: bytearray
6163
- :param overwrite: whether to overwrite any existing handler resource
6164
- :type overwrite: bool
5533
+ :param run_template: the Run Templates (required)
5534
+ :type run_template: RunTemplate
6165
5535
  :param _request_timeout: timeout setting for this request. If one
6166
5536
  number provided, it will be total request
6167
5537
  timeout. It can also be a pair (tuple) of
@@ -6184,13 +5554,11 @@ class SolutionApi:
6184
5554
  :return: Returns the result object.
6185
5555
  """ # noqa: E501
6186
5556
 
6187
- _param = self._upload_run_template_handler_serialize(
5557
+ _param = self._update_solution_run_template_serialize(
6188
5558
  organization_id=organization_id,
6189
5559
  solution_id=solution_id,
6190
5560
  run_template_id=run_template_id,
6191
- handler_id=handler_id,
6192
- body=body,
6193
- overwrite=overwrite,
5561
+ run_template=run_template,
6194
5562
  _request_auth=_request_auth,
6195
5563
  _content_type=_content_type,
6196
5564
  _headers=_headers,
@@ -6198,8 +5566,9 @@ class SolutionApi:
6198
5566
  )
6199
5567
 
6200
5568
  _response_types_map: Dict[str, Optional[str]] = {
6201
- '201': None,
5569
+ '200': "List[RunTemplate]",
6202
5570
  '400': None,
5571
+ '404': None,
6203
5572
  }
6204
5573
  response_data = self.api_client.call_api(
6205
5574
  *_param,
@@ -6213,14 +5582,12 @@ class SolutionApi:
6213
5582
 
6214
5583
 
6215
5584
  @validate_call
6216
- def upload_run_template_handler_with_http_info(
5585
+ def update_solution_run_template_with_http_info(
6217
5586
  self,
6218
5587
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6219
5588
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
6220
5589
  run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
6221
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
6222
- body: Union[StrictBytes, StrictStr],
6223
- overwrite: Annotated[Optional[StrictBool], Field(description="whether to overwrite any existing handler resource")] = None,
5590
+ run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
6224
5591
  _request_timeout: Union[
6225
5592
  None,
6226
5593
  Annotated[StrictFloat, Field(gt=0)],
@@ -6233,8 +5600,8 @@ class SolutionApi:
6233
5600
  _content_type: Optional[StrictStr] = None,
6234
5601
  _headers: Optional[Dict[StrictStr, Any]] = None,
6235
5602
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6236
- ) -> ApiResponse[None]:
6237
- """Upload a Run Template step handler zip file
5603
+ ) -> ApiResponse[List[RunTemplate]]:
5604
+ """Update the specified Solution Run Template
6238
5605
 
6239
5606
 
6240
5607
  :param organization_id: the Organization identifier (required)
@@ -6243,12 +5610,8 @@ class SolutionApi:
6243
5610
  :type solution_id: str
6244
5611
  :param run_template_id: the Run Template identifier (required)
6245
5612
  :type run_template_id: str
6246
- :param handler_id: the Handler identifier (required)
6247
- :type handler_id: RunTemplateHandlerId
6248
- :param body: (required)
6249
- :type body: bytearray
6250
- :param overwrite: whether to overwrite any existing handler resource
6251
- :type overwrite: bool
5613
+ :param run_template: the Run Templates (required)
5614
+ :type run_template: RunTemplate
6252
5615
  :param _request_timeout: timeout setting for this request. If one
6253
5616
  number provided, it will be total request
6254
5617
  timeout. It can also be a pair (tuple) of
@@ -6271,13 +5634,11 @@ class SolutionApi:
6271
5634
  :return: Returns the result object.
6272
5635
  """ # noqa: E501
6273
5636
 
6274
- _param = self._upload_run_template_handler_serialize(
5637
+ _param = self._update_solution_run_template_serialize(
6275
5638
  organization_id=organization_id,
6276
5639
  solution_id=solution_id,
6277
5640
  run_template_id=run_template_id,
6278
- handler_id=handler_id,
6279
- body=body,
6280
- overwrite=overwrite,
5641
+ run_template=run_template,
6281
5642
  _request_auth=_request_auth,
6282
5643
  _content_type=_content_type,
6283
5644
  _headers=_headers,
@@ -6285,8 +5646,9 @@ class SolutionApi:
6285
5646
  )
6286
5647
 
6287
5648
  _response_types_map: Dict[str, Optional[str]] = {
6288
- '201': None,
5649
+ '200': "List[RunTemplate]",
6289
5650
  '400': None,
5651
+ '404': None,
6290
5652
  }
6291
5653
  response_data = self.api_client.call_api(
6292
5654
  *_param,
@@ -6300,14 +5662,12 @@ class SolutionApi:
6300
5662
 
6301
5663
 
6302
5664
  @validate_call
6303
- def upload_run_template_handler_without_preload_content(
5665
+ def update_solution_run_template_without_preload_content(
6304
5666
  self,
6305
5667
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6306
5668
  solution_id: Annotated[StrictStr, Field(description="the Solution identifier")],
6307
5669
  run_template_id: Annotated[StrictStr, Field(description="the Run Template identifier")],
6308
- handler_id: Annotated[RunTemplateHandlerId, Field(description="the Handler identifier")],
6309
- body: Union[StrictBytes, StrictStr],
6310
- overwrite: Annotated[Optional[StrictBool], Field(description="whether to overwrite any existing handler resource")] = None,
5670
+ run_template: Annotated[RunTemplate, Field(description="the Run Templates")],
6311
5671
  _request_timeout: Union[
6312
5672
  None,
6313
5673
  Annotated[StrictFloat, Field(gt=0)],
@@ -6321,7 +5681,7 @@ class SolutionApi:
6321
5681
  _headers: Optional[Dict[StrictStr, Any]] = None,
6322
5682
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6323
5683
  ) -> RESTResponseType:
6324
- """Upload a Run Template step handler zip file
5684
+ """Update the specified Solution Run Template
6325
5685
 
6326
5686
 
6327
5687
  :param organization_id: the Organization identifier (required)
@@ -6330,12 +5690,8 @@ class SolutionApi:
6330
5690
  :type solution_id: str
6331
5691
  :param run_template_id: the Run Template identifier (required)
6332
5692
  :type run_template_id: str
6333
- :param handler_id: the Handler identifier (required)
6334
- :type handler_id: RunTemplateHandlerId
6335
- :param body: (required)
6336
- :type body: bytearray
6337
- :param overwrite: whether to overwrite any existing handler resource
6338
- :type overwrite: bool
5693
+ :param run_template: the Run Templates (required)
5694
+ :type run_template: RunTemplate
6339
5695
  :param _request_timeout: timeout setting for this request. If one
6340
5696
  number provided, it will be total request
6341
5697
  timeout. It can also be a pair (tuple) of
@@ -6358,13 +5714,11 @@ class SolutionApi:
6358
5714
  :return: Returns the result object.
6359
5715
  """ # noqa: E501
6360
5716
 
6361
- _param = self._upload_run_template_handler_serialize(
5717
+ _param = self._update_solution_run_template_serialize(
6362
5718
  organization_id=organization_id,
6363
5719
  solution_id=solution_id,
6364
5720
  run_template_id=run_template_id,
6365
- handler_id=handler_id,
6366
- body=body,
6367
- overwrite=overwrite,
5721
+ run_template=run_template,
6368
5722
  _request_auth=_request_auth,
6369
5723
  _content_type=_content_type,
6370
5724
  _headers=_headers,
@@ -6372,8 +5726,9 @@ class SolutionApi:
6372
5726
  )
6373
5727
 
6374
5728
  _response_types_map: Dict[str, Optional[str]] = {
6375
- '201': None,
5729
+ '200': "List[RunTemplate]",
6376
5730
  '400': None,
5731
+ '404': None,
6377
5732
  }
6378
5733
  response_data = self.api_client.call_api(
6379
5734
  *_param,
@@ -6382,14 +5737,12 @@ class SolutionApi:
6382
5737
  return response_data.response
6383
5738
 
6384
5739
 
6385
- def _upload_run_template_handler_serialize(
5740
+ def _update_solution_run_template_serialize(
6386
5741
  self,
6387
5742
  organization_id,
6388
5743
  solution_id,
6389
5744
  run_template_id,
6390
- handler_id,
6391
- body,
6392
- overwrite,
5745
+ run_template,
6393
5746
  _request_auth,
6394
5747
  _content_type,
6395
5748
  _headers,
@@ -6415,25 +5768,20 @@ class SolutionApi:
6415
5768
  _path_params['solution_id'] = solution_id
6416
5769
  if run_template_id is not None:
6417
5770
  _path_params['run_template_id'] = run_template_id
6418
- if handler_id is not None:
6419
- _path_params['handler_id'] = handler_id.value
6420
5771
  # process the query parameters
6421
- if overwrite is not None:
6422
-
6423
- _query_params.append(('overwrite', overwrite))
6424
-
6425
5772
  # process the header parameters
6426
5773
  # process the form parameters
6427
5774
  # process the body parameter
6428
- if body is not None:
6429
- # convert to byte array if the input is a file name (str)
6430
- if isinstance(body, str):
6431
- with open(body, "rb") as _fp:
6432
- _body_params = _fp.read()
6433
- else:
6434
- _body_params = body
5775
+ if run_template is not None:
5776
+ _body_params = run_template
6435
5777
 
6436
5778
 
5779
+ # set the HTTP header `Accept`
5780
+ _header_params['Accept'] = self.api_client.select_header_accept(
5781
+ [
5782
+ 'application/json'
5783
+ ]
5784
+ )
6437
5785
 
6438
5786
  # set the HTTP header `Content-Type`
6439
5787
  if _content_type:
@@ -6442,7 +5790,8 @@ class SolutionApi:
6442
5790
  _default_content_type = (
6443
5791
  self.api_client.select_header_content_type(
6444
5792
  [
6445
- 'application/octet-stream'
5793
+ 'application/json',
5794
+ 'application/yaml'
6446
5795
  ]
6447
5796
  )
6448
5797
  )
@@ -6455,8 +5804,8 @@ class SolutionApi:
6455
5804
  ]
6456
5805
 
6457
5806
  return self.api_client.param_serialize(
6458
- method='POST',
6459
- resource_path='/organizations/{organization_id}/solutions/{solution_id}/runtemplates/{run_template_id}/handlers/{handler_id}/upload',
5807
+ method='PATCH',
5808
+ resource_path='/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}',
6460
5809
  path_params=_path_params,
6461
5810
  query_params=_query_params,
6462
5811
  header_params=_header_params,