ctm-python-client 2.1.2__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.
Files changed (745) hide show
  1. aapi/__init__.py +79 -0
  2. aapi/action.py +47 -0
  3. aapi/addevents.py +16 -0
  4. aapi/ai.py +63 -0
  5. aapi/basefolder.py +288 -0
  6. aapi/bases.py +60 -0
  7. aapi/businessfield.py +14 -0
  8. aapi/businessparameter.py +70 -0
  9. aapi/calendar.py +207 -0
  10. aapi/calendarfields.py +38 -0
  11. aapi/calendarkey.py +38 -0
  12. aapi/captureoutput.py +55 -0
  13. aapi/condition.py +53 -0
  14. aapi/config.py +26 -0
  15. aapi/connectionprofile.py +973 -0
  16. aapi/ctbruledata.py +17 -0
  17. aapi/date.py +14 -0
  18. aapi/definitionitemdetails.py +14 -0
  19. aapi/deleteevents.py +16 -0
  20. aapi/disallowedoptions.py +14 -0
  21. aapi/do.py +14 -0
  22. aapi/donotify.py +31 -0
  23. aapi/driver.py +27 -0
  24. aapi/endpoint.py +202 -0
  25. aapi/event.py +42 -0
  26. aapi/extractrule.py +21 -0
  27. aapi/filetransfer.py +139 -0
  28. aapi/filetransfergroup.py +14 -0
  29. aapi/flow_.py +16 -0
  30. aapi/folderclientdata.py +14 -0
  31. aapi/folderjobbase.py +229 -0
  32. aapi/hostfiletransfer.py +14 -0
  33. aapi/hostmapping.py +24 -0
  34. aapi/if_.py +106 -0
  35. aapi/ifbase.py +144 -0
  36. aapi/ifcollection.py +26 -0
  37. aapi/ifrerun.py +24 -0
  38. aapi/integration_factory/__init__.py +0 -0
  39. aapi/integration_factory/connection_profiles.py +859 -0
  40. aapi/integration_factory/jobs.py +1185 -0
  41. aapi/internalrule.py +68 -0
  42. aapi/iteminfo.py +14 -0
  43. aapi/job.py +2603 -0
  44. aapi/jobsfilter.py +14 -0
  45. aapi/jobtag.py +20 -0
  46. aapi/mail.py +32 -0
  47. aapi/notify.py +98 -0
  48. aapi/on.py +14 -0
  49. aapi/output.py +25 -0
  50. aapi/package.py +23 -0
  51. aapi/packageparams.py +15 -0
  52. aapi/period.py +56 -0
  53. aapi/possibleoptions.py +14 -0
  54. aapi/propertycondition.py +65 -0
  55. aapi/rbcdetails.py +14 -0
  56. aapi/remedy.py +27 -0
  57. aapi/resource.py +60 -0
  58. aapi/resourcepools.py +118 -0
  59. aapi/run.py +29 -0
  60. aapi/runningjobs.py +120 -0
  61. aapi/set_.py +18 -0
  62. aapi/sitestandard.py +24 -0
  63. aapi/sitestandarddata.py +14 -0
  64. aapi/sitestandardoperatorvalueoptions.py +27 -0
  65. aapi/sitestandardpolicy.py +45 -0
  66. aapi/sitestandardpolicydata.py +14 -0
  67. aapi/sitestandardpossiblevalue.py +18 -0
  68. aapi/sitestandardrestriction.py +48 -0
  69. aapi/steprange.py +22 -0
  70. aapi/tag.py +46 -0
  71. aapi/time.py +14 -0
  72. aapi/variable.py +14 -0
  73. aapi/waitforevents.py +16 -0
  74. aapi/workloadflat.py +14 -0
  75. aapi/workloadpolicy.py +42 -0
  76. aapi/wpperiod.py +14 -0
  77. aapi/year.py +42 -0
  78. clients/__init__.py +0 -0
  79. clients/ctm_api_client/__init__.py +612 -0
  80. clients/ctm_api_client/api/__init__.py +13 -0
  81. clients/ctm_api_client/api/archive_api.py +496 -0
  82. clients/ctm_api_client/api/build_api.py +154 -0
  83. clients/ctm_api_client/api/config_api.py +11804 -0
  84. clients/ctm_api_client/api/deploy_api.py +2467 -0
  85. clients/ctm_api_client/api/provision_api.py +1215 -0
  86. clients/ctm_api_client/api/reporting_api.py +450 -0
  87. clients/ctm_api_client/api/run_api.py +4056 -0
  88. clients/ctm_api_client/api/session_api.py +332 -0
  89. clients/ctm_api_client/api_client.py +715 -0
  90. clients/ctm_api_client/configuration.py +260 -0
  91. clients/ctm_api_client/models/__init__.py +597 -0
  92. clients/ctm_api_client/models/actions_auth_record.py +663 -0
  93. clients/ctm_api_client/models/active_services.py +153 -0
  94. clients/ctm_api_client/models/add_agent_params.py +311 -0
  95. clients/ctm_api_client/models/add_remote_host_params.py +276 -0
  96. clients/ctm_api_client/models/add_remove_success_data.py +151 -0
  97. clients/ctm_api_client/models/add_server_params.py +210 -0
  98. clients/ctm_api_client/models/agent_certificate_expiration_data.py +123 -0
  99. clients/ctm_api_client/models/agent_data.py +622 -0
  100. clients/ctm_api_client/models/agent_debug_information.py +160 -0
  101. clients/ctm_api_client/models/agent_details.py +247 -0
  102. clients/ctm_api_client/models/agent_details_list.py +121 -0
  103. clients/ctm_api_client/models/agent_in_group_params.py +160 -0
  104. clients/ctm_api_client/models/agent_in_group_params_list.py +121 -0
  105. clients/ctm_api_client/models/agent_in_hostgroup.py +192 -0
  106. clients/ctm_api_client/models/agent_info.py +155 -0
  107. clients/ctm_api_client/models/agent_info_result.py +183 -0
  108. clients/ctm_api_client/models/agent_mng_auth.py +181 -0
  109. clients/ctm_api_client/models/agent_sys_param_set_data.py +247 -0
  110. clients/ctm_api_client/models/agent_sys_param_set_success_data.py +151 -0
  111. clients/ctm_api_client/models/agent_tables_name.py +121 -0
  112. clients/ctm_api_client/models/agent_thing_properties.py +177 -0
  113. clients/ctm_api_client/models/agents_data_list.py +95 -0
  114. clients/ctm_api_client/models/agents_in_group_list_result.py +95 -0
  115. clients/ctm_api_client/models/agents_in_group_success_data.py +149 -0
  116. clients/ctm_api_client/models/agents_sys_param_set_data.py +123 -0
  117. clients/ctm_api_client/models/ai_deploy_response.py +123 -0
  118. clients/ctm_api_client/models/ai_error.py +149 -0
  119. clients/ctm_api_client/models/ai_jobtype.py +218 -0
  120. clients/ctm_api_client/models/ai_jobtype_list.py +121 -0
  121. clients/ctm_api_client/models/alert_param.py +191 -0
  122. clients/ctm_api_client/models/alert_status_param.py +159 -0
  123. clients/ctm_api_client/models/all_mft_data_settings.py +150 -0
  124. clients/ctm_api_client/models/allowed_job_actions.py +682 -0
  125. clients/ctm_api_client/models/allowed_jobs.py +149 -0
  126. clients/ctm_api_client/models/annotation_details.py +145 -0
  127. clients/ctm_api_client/models/api_gtw_session.py +121 -0
  128. clients/ctm_api_client/models/api_throwable.py +147 -0
  129. clients/ctm_api_client/models/app.py +305 -0
  130. clients/ctm_api_client/models/app_deploy_response.py +181 -0
  131. clients/ctm_api_client/models/app_deployed.py +363 -0
  132. clients/ctm_api_client/models/app_details.py +218 -0
  133. clients/ctm_api_client/models/app_list.py +147 -0
  134. clients/ctm_api_client/models/app_predeploy_response.py +151 -0
  135. clients/ctm_api_client/models/archive_jobs_list.py +189 -0
  136. clients/ctm_api_client/models/archive_rule.py +392 -0
  137. clients/ctm_api_client/models/archive_rules_list.py +121 -0
  138. clients/ctm_api_client/models/as2_key_data.py +185 -0
  139. clients/ctm_api_client/models/associate_data.py +149 -0
  140. clients/ctm_api_client/models/authenticate_credentials.py +237 -0
  141. clients/ctm_api_client/models/authentication_data.py +150 -0
  142. clients/ctm_api_client/models/availability.py +247 -0
  143. clients/ctm_api_client/models/certificate_signing_request_data.py +276 -0
  144. clients/ctm_api_client/models/client_access_privilege_category.py +305 -0
  145. clients/ctm_api_client/models/cluster.py +179 -0
  146. clients/ctm_api_client/models/cluster_authorization_data.py +123 -0
  147. clients/ctm_api_client/models/communication_analysis_response_type.py +189 -0
  148. clients/ctm_api_client/models/component_key_with_status_type.py +151 -0
  149. clients/ctm_api_client/models/component_meta_data_properties.py +210 -0
  150. clients/ctm_api_client/models/component_mft_key_type.py +305 -0
  151. clients/ctm_api_client/models/condition_properties.py +171 -0
  152. clients/ctm_api_client/models/configuration_manager_privilege_category.py +276 -0
  153. clients/ctm_api_client/models/connection_profile_deployment_info.py +247 -0
  154. clients/ctm_api_client/models/connection_profile_status.py +334 -0
  155. clients/ctm_api_client/models/connection_profiles_deployment_status_result.py +157 -0
  156. clients/ctm_api_client/models/connection_profiles_status_result.py +181 -0
  157. clients/ctm_api_client/models/control_m_authentication_data.py +247 -0
  158. clients/ctm_api_client/models/cp_mng_auth.py +247 -0
  159. clients/ctm_api_client/models/ctm_details.py +247 -0
  160. clients/ctm_api_client/models/ctm_details_list.py +95 -0
  161. clients/ctm_api_client/models/ctm_name_value_sw.py +147 -0
  162. clients/ctm_api_client/models/ctmag_set_extract_service_status.py +123 -0
  163. clients/ctm_api_client/models/ctmagent_basic_info_type.py +303 -0
  164. clients/ctm_api_client/models/ctmagent_ctm_test_type.py +334 -0
  165. clients/ctm_api_client/models/ctmagent_state_changed_type.py +218 -0
  166. clients/ctm_api_client/models/ctmvar_del_result_item.py +123 -0
  167. clients/ctm_api_client/models/ctmvar_del_results.py +237 -0
  168. clients/ctm_api_client/models/ctmvar_error_info.py +261 -0
  169. clients/ctm_api_client/models/ctmvar_get_result_item.py +156 -0
  170. clients/ctm_api_client/models/ctmvar_get_results.py +237 -0
  171. clients/ctm_api_client/models/ctmvar_result_item.py +210 -0
  172. clients/ctm_api_client/models/ctmvar_results.py +237 -0
  173. clients/ctm_api_client/models/ctmvar_set_result_item.py +123 -0
  174. clients/ctm_api_client/models/ctmvar_set_results.py +237 -0
  175. clients/ctm_api_client/models/deploy_jobtype_response.py +155 -0
  176. clients/ctm_api_client/models/deployment_file_error.py +121 -0
  177. clients/ctm_api_client/models/deployment_file_results.py +558 -0
  178. clients/ctm_api_client/models/diagnostics_data_collection_information.py +247 -0
  179. clients/ctm_api_client/models/diagnostics_data_collection_result.py +151 -0
  180. clients/ctm_api_client/models/em_basic_active_request_parameters.py +210 -0
  181. clients/ctm_api_client/models/em_default_request_parameters.py +210 -0
  182. clients/ctm_api_client/models/em_jobs_id.py +147 -0
  183. clients/ctm_api_client/models/em_order_folder.py +237 -0
  184. clients/ctm_api_client/models/em_order_folder_parameters.py +183 -0
  185. clients/ctm_api_client/models/em_system_parameter.py +123 -0
  186. clients/ctm_api_client/models/encryption_metadata.py +154 -0
  187. clients/ctm_api_client/models/error_data.py +276 -0
  188. clients/ctm_api_client/models/error_list.py +121 -0
  189. clients/ctm_api_client/models/event.py +177 -0
  190. clients/ctm_api_client/models/event_param.py +151 -0
  191. clients/ctm_api_client/models/event_set.py +95 -0
  192. clients/ctm_api_client/models/external_provider_authentication_data.py +123 -0
  193. clients/ctm_api_client/models/external_user_data.py +450 -0
  194. clients/ctm_api_client/models/extract_service_prop_params.py +305 -0
  195. clients/ctm_api_client/models/field_metadata_properties.py +750 -0
  196. clients/ctm_api_client/models/field_value.py +148 -0
  197. clients/ctm_api_client/models/field_values.py +126 -0
  198. clients/ctm_api_client/models/folder_auth.py +305 -0
  199. clients/ctm_api_client/models/folder_properties.py +421 -0
  200. clients/ctm_api_client/models/folder_properties_data.py +398 -0
  201. clients/ctm_api_client/models/folders_users_settings_and_metadata_properties.py +237 -0
  202. clients/ctm_api_client/models/folders_users_settings_and_metadata_properties_from_b2_b.py +237 -0
  203. clients/ctm_api_client/models/fts_authentication_details.py +156 -0
  204. clients/ctm_api_client/models/fts_ftp_settings.py +363 -0
  205. clients/ctm_api_client/models/fts_general_settings.py +363 -0
  206. clients/ctm_api_client/models/fts_ldap_authentication_details.py +305 -0
  207. clients/ctm_api_client/models/fts_pam_authentication_details.py +123 -0
  208. clients/ctm_api_client/models/fts_settings_data.py +218 -0
  209. clients/ctm_api_client/models/fts_sftp_settings.py +334 -0
  210. clients/ctm_api_client/models/fts_user_home_directory_data.py +151 -0
  211. clients/ctm_api_client/models/gateway_data.py +208 -0
  212. clients/ctm_api_client/models/get_alert_info.py +200 -0
  213. clients/ctm_api_client/models/get_manifest_params.py +535 -0
  214. clients/ctm_api_client/models/get_manifest_params_result.py +95 -0
  215. clients/ctm_api_client/models/groups_allowed_folders_properties.py +214 -0
  216. clients/ctm_api_client/models/host_group_data.py +181 -0
  217. clients/ctm_api_client/models/host_groups_data_list.py +95 -0
  218. clients/ctm_api_client/models/host_properties.py +595 -0
  219. clients/ctm_api_client/models/hostgroup_agent_participation.py +152 -0
  220. clients/ctm_api_client/models/hostgroup_properties.py +149 -0
  221. clients/ctm_api_client/models/hostname_port_pair.py +151 -0
  222. clients/ctm_api_client/models/hub_data.py +276 -0
  223. clients/ctm_api_client/models/hub_status.py +123 -0
  224. clients/ctm_api_client/models/job.py +175 -0
  225. clients/ctm_api_client/models/job_level_auth.py +185 -0
  226. clients/ctm_api_client/models/job_run_status.py +772 -0
  227. clients/ctm_api_client/models/job_status_result.py +363 -0
  228. clients/ctm_api_client/models/jobtype_agent.py +149 -0
  229. clients/ctm_api_client/models/key_value.py +427 -0
  230. clients/ctm_api_client/models/key_value_list_result.py +95 -0
  231. clients/ctm_api_client/models/key_value_type.py +219 -0
  232. clients/ctm_api_client/models/key_value_type_list_result.py +95 -0
  233. clients/ctm_api_client/models/known_hosts.py +145 -0
  234. clients/ctm_api_client/models/ldap_domain_settings.py +291 -0
  235. clients/ctm_api_client/models/log.py +121 -0
  236. clients/ctm_api_client/models/log_data_arguments.py +121 -0
  237. clients/ctm_api_client/models/log_job_parameters.py +183 -0
  238. clients/ctm_api_client/models/log_job_result_item.py +264 -0
  239. clients/ctm_api_client/models/log_job_results.py +237 -0
  240. clients/ctm_api_client/models/log_params.py +218 -0
  241. clients/ctm_api_client/models/login_credentials.py +151 -0
  242. clients/ctm_api_client/models/login_result.py +171 -0
  243. clients/ctm_api_client/models/manifest_group_item_object.py +145 -0
  244. clients/ctm_api_client/models/manifest_group_object.py +121 -0
  245. clients/ctm_api_client/models/matching.py +95 -0
  246. clients/ctm_api_client/models/mft_configuration_data.py +607 -0
  247. clients/ctm_api_client/models/mft_entities_list_names.py +210 -0
  248. clients/ctm_api_client/models/mft_external_user_projection_data.py +247 -0
  249. clients/ctm_api_client/models/mft_folder_projection_data.py +224 -0
  250. clients/ctm_api_client/models/mft_folder_projection_properties.py +247 -0
  251. clients/ctm_api_client/models/mft_user_group_projection_data.py +218 -0
  252. clients/ctm_api_client/models/monitoring_privilege_category.py +151 -0
  253. clients/ctm_api_client/models/msg_data_arguments.py +121 -0
  254. clients/ctm_api_client/models/name_value_attribute.py +145 -0
  255. clients/ctm_api_client/models/new_sample.py +148 -0
  256. clients/ctm_api_client/models/node.py +272 -0
  257. clients/ctm_api_client/models/optional_value.py +123 -0
  258. clients/ctm_api_client/models/order_folder_parameters.py +450 -0
  259. clients/ctm_api_client/models/order_folder_result_item.py +279 -0
  260. clients/ctm_api_client/models/order_folder_results.py +237 -0
  261. clients/ctm_api_client/models/order_parameters.py +361 -0
  262. clients/ctm_api_client/models/ordered_item_item.py +333 -0
  263. clients/ctm_api_client/models/output.py +121 -0
  264. clients/ctm_api_client/models/output_params.py +218 -0
  265. clients/ctm_api_client/models/passwords_object.py +181 -0
  266. clients/ctm_api_client/models/performance.py +241 -0
  267. clients/ctm_api_client/models/pgp_template_data.py +305 -0
  268. clients/ctm_api_client/models/ping_agent_params.py +155 -0
  269. clients/ctm_api_client/models/planning_privilege_category.py +224 -0
  270. clients/ctm_api_client/models/plugin_data.py +363 -0
  271. clients/ctm_api_client/models/plugin_mng_auth.py +218 -0
  272. clients/ctm_api_client/models/pool_variables_error_info.py +147 -0
  273. clients/ctm_api_client/models/pool_variables_name.py +147 -0
  274. clients/ctm_api_client/models/pool_variables_name_value.py +153 -0
  275. clients/ctm_api_client/models/possible_value_properties.py +171 -0
  276. clients/ctm_api_client/models/privilege_name.py +149 -0
  277. clients/ctm_api_client/models/privilege_name_controlm.py +181 -0
  278. clients/ctm_api_client/models/privileges.py +264 -0
  279. clients/ctm_api_client/models/product_description.py +247 -0
  280. clients/ctm_api_client/models/product_sections.py +155 -0
  281. clients/ctm_api_client/models/provision_advance_parameters.py +218 -0
  282. clients/ctm_api_client/models/query.py +171 -0
  283. clients/ctm_api_client/models/raw_cms_xml_request.py +155 -0
  284. clients/ctm_api_client/models/read_only_status.py +123 -0
  285. clients/ctm_api_client/models/report_date_time_settings.py +183 -0
  286. clients/ctm_api_client/models/report_filter.py +151 -0
  287. clients/ctm_api_client/models/report_filters.py +95 -0
  288. clients/ctm_api_client/models/report_result.py +126 -0
  289. clients/ctm_api_client/models/request_parameters_wrapper_em_default_request_parameters_log_job_parameters.py +159 -0
  290. clients/ctm_api_client/models/request_parameters_wrapper_em_default_request_parameters_why_job_parameter.py +159 -0
  291. clients/ctm_api_client/models/rerun_parameters.py +123 -0
  292. clients/ctm_api_client/models/rerun_zos_parameters.py +305 -0
  293. clients/ctm_api_client/models/resource_max.py +124 -0
  294. clients/ctm_api_client/models/resource_obj.py +247 -0
  295. clients/ctm_api_client/models/resource_param.py +151 -0
  296. clients/ctm_api_client/models/resource_set.py +95 -0
  297. clients/ctm_api_client/models/restart_step.py +149 -0
  298. clients/ctm_api_client/models/results_status.py +210 -0
  299. clients/ctm_api_client/models/role_data.py +785 -0
  300. clients/ctm_api_client/models/role_data_full.py +189 -0
  301. clients/ctm_api_client/models/role_header.py +149 -0
  302. clients/ctm_api_client/models/role_header_list.py +95 -0
  303. clients/ctm_api_client/models/role_properties.py +123 -0
  304. clients/ctm_api_client/models/rule_criteria.py +177 -0
  305. clients/ctm_api_client/models/rule_projection.py +264 -0
  306. clients/ctm_api_client/models/rule_statistics.py +301 -0
  307. clients/ctm_api_client/models/rules_statistic_list.py +121 -0
  308. clients/ctm_api_client/models/rules_statistic_list_summary.py +147 -0
  309. clients/ctm_api_client/models/run_as_user_data.py +213 -0
  310. clients/ctm_api_client/models/run_as_user_details_data.py +149 -0
  311. clients/ctm_api_client/models/run_as_user_key_data.py +151 -0
  312. clients/ctm_api_client/models/run_as_users_list.py +95 -0
  313. clients/ctm_api_client/models/run_report.py +217 -0
  314. clients/ctm_api_client/models/run_report_info.py +264 -0
  315. clients/ctm_api_client/models/run_result.py +184 -0
  316. clients/ctm_api_client/models/runas_definition_auth.py +151 -0
  317. clients/ctm_api_client/models/runas_user_auth.py +181 -0
  318. clients/ctm_api_client/models/saml2_identity_provider.py +216 -0
  319. clients/ctm_api_client/models/saml_status.py +123 -0
  320. clients/ctm_api_client/models/sample.py +175 -0
  321. clients/ctm_api_client/models/search_params.py +689 -0
  322. clients/ctm_api_client/models/search_tag_tuple.py +145 -0
  323. clients/ctm_api_client/models/secret_key_value.py +152 -0
  324. clients/ctm_api_client/models/secret_value.py +123 -0
  325. clients/ctm_api_client/models/section_metadata_properties.py +237 -0
  326. clients/ctm_api_client/models/service_auth.py +185 -0
  327. clients/ctm_api_client/models/service_auth_action.py +247 -0
  328. clients/ctm_api_client/models/service_provider_information.py +210 -0
  329. clients/ctm_api_client/models/set_agent_params.py +177 -0
  330. clients/ctm_api_client/models/set_agent_params_list.py +121 -0
  331. clients/ctm_api_client/models/setting_key_properties.py +150 -0
  332. clients/ctm_api_client/models/setting_properties.py +177 -0
  333. clients/ctm_api_client/models/setting_properties_object.py +121 -0
  334. clients/ctm_api_client/models/settings_metadata_properties.py +218 -0
  335. clients/ctm_api_client/models/settings_update_object.py +154 -0
  336. clients/ctm_api_client/models/sla_service.py +682 -0
  337. clients/ctm_api_client/models/sla_service_status_by_jobs.py +363 -0
  338. clients/ctm_api_client/models/ssh_key_properties.py +181 -0
  339. clients/ctm_api_client/models/statistics.py +216 -0
  340. clients/ctm_api_client/models/statistics_average_info.py +181 -0
  341. clients/ctm_api_client/models/statistics_period.py +151 -0
  342. clients/ctm_api_client/models/statistics_run_info.py +150 -0
  343. clients/ctm_api_client/models/statistics_single_run.py +276 -0
  344. clients/ctm_api_client/models/string_list_result.py +95 -0
  345. clients/ctm_api_client/models/success_data.py +123 -0
  346. clients/ctm_api_client/models/summary.py +210 -0
  347. clients/ctm_api_client/models/system_parameter.py +177 -0
  348. clients/ctm_api_client/models/system_setting.py +426 -0
  349. clients/ctm_api_client/models/system_setting_annotation_property.py +95 -0
  350. clients/ctm_api_client/models/system_setting_key_value.py +155 -0
  351. clients/ctm_api_client/models/system_setting_key_value_component.py +183 -0
  352. clients/ctm_api_client/models/system_setting_ldap.py +182 -0
  353. clients/ctm_api_client/models/system_setting_property.py +126 -0
  354. clients/ctm_api_client/models/term_group.py +95 -0
  355. clients/ctm_api_client/models/token_data_request.py +221 -0
  356. clients/ctm_api_client/models/token_data_response.py +343 -0
  357. clients/ctm_api_client/models/token_list.py +126 -0
  358. clients/ctm_api_client/models/token_list_array.py +95 -0
  359. clients/ctm_api_client/models/tools_privilege_category.py +189 -0
  360. clients/ctm_api_client/models/topology.py +121 -0
  361. clients/ctm_api_client/models/upgrade_agent_info.py +276 -0
  362. clients/ctm_api_client/models/upgrade_agent_info_list.py +95 -0
  363. clients/ctm_api_client/models/upgrade_info.py +149 -0
  364. clients/ctm_api_client/models/upgrade_notification.py +121 -0
  365. clients/ctm_api_client/models/upgrade_record.py +624 -0
  366. clients/ctm_api_client/models/upgrade_record_list.py +121 -0
  367. clients/ctm_api_client/models/upgrade_request.py +334 -0
  368. clients/ctm_api_client/models/upgrade_response.py +123 -0
  369. clients/ctm_api_client/models/user_additional_properties.py +187 -0
  370. clients/ctm_api_client/models/user_allowed_folders_properties.py +615 -0
  371. clients/ctm_api_client/models/user_data.py +272 -0
  372. clients/ctm_api_client/models/user_group_details_data.py +151 -0
  373. clients/ctm_api_client/models/user_group_properties_data.py +185 -0
  374. clients/ctm_api_client/models/user_header.py +305 -0
  375. clients/ctm_api_client/models/user_password.py +123 -0
  376. clients/ctm_api_client/models/user_preferences.py +121 -0
  377. clients/ctm_api_client/models/validation_properties.py +345 -0
  378. clients/ctm_api_client/models/value.py +126 -0
  379. clients/ctm_api_client/models/values.py +95 -0
  380. clients/ctm_api_client/models/variable_name_value.py +150 -0
  381. clients/ctm_api_client/models/variable_names.py +123 -0
  382. clients/ctm_api_client/models/variables.py +123 -0
  383. clients/ctm_api_client/models/viewpoint_manager_privilege_category.py +218 -0
  384. clients/ctm_api_client/models/warning_data.py +276 -0
  385. clients/ctm_api_client/models/warning_list.py +121 -0
  386. clients/ctm_api_client/models/warnings_collection.py +121 -0
  387. clients/ctm_api_client/models/why_job_parameters.py +121 -0
  388. clients/ctm_api_client/models/why_job_result_item.py +121 -0
  389. clients/ctm_api_client/models/why_job_results.py +237 -0
  390. clients/ctm_api_client/models/workflow_insights_status.py +150 -0
  391. clients/ctm_api_client/models/workload_policies_file_results.py +243 -0
  392. clients/ctm_api_client/models/workload_policy.py +276 -0
  393. clients/ctm_api_client/models/workload_policy_list.py +121 -0
  394. clients/ctm_api_client/models/workload_policy_state.py +149 -0
  395. clients/ctm_api_client/models/workload_policy_state_list.py +121 -0
  396. clients/ctm_api_client/models/workspace_folder.py +158 -0
  397. clients/ctm_api_client/models/workspace_folders.py +121 -0
  398. clients/ctm_api_client/models/zoo_keeper.py +276 -0
  399. clients/ctm_api_client/models/zos_template_data.py +595 -0
  400. clients/ctm_api_client/rest.py +415 -0
  401. clients/ctm_saas_client/__init__.py +347 -0
  402. clients/ctm_saas_client/api/__init__.py +13 -0
  403. clients/ctm_saas_client/api/authentication_api.py +513 -0
  404. clients/ctm_saas_client/api/build_api.py +137 -0
  405. clients/ctm_saas_client/api/config_api.py +6456 -0
  406. clients/ctm_saas_client/api/deploy_api.py +2023 -0
  407. clients/ctm_saas_client/api/provision_api.py +133 -0
  408. clients/ctm_saas_client/api/reporting_api.py +319 -0
  409. clients/ctm_saas_client/api/run_api.py +3223 -0
  410. clients/ctm_saas_client/api/usage_api.py +129 -0
  411. clients/ctm_saas_client/api_client.py +640 -0
  412. clients/ctm_saas_client/configuration.py +255 -0
  413. clients/ctm_saas_client/models/__init__.py +333 -0
  414. clients/ctm_saas_client/models/actions_auth_record.py +368 -0
  415. clients/ctm_saas_client/models/active_services.py +149 -0
  416. clients/ctm_saas_client/models/add_agent_params.py +295 -0
  417. clients/ctm_saas_client/models/add_ons.py +125 -0
  418. clients/ctm_saas_client/models/add_remote_host_params.py +265 -0
  419. clients/ctm_saas_client/models/add_remove_success_data.py +153 -0
  420. clients/ctm_saas_client/models/add_server_params.py +212 -0
  421. clients/ctm_saas_client/models/agent_certificate_expiration_data.py +125 -0
  422. clients/ctm_saas_client/models/agent_data.py +599 -0
  423. clients/ctm_saas_client/models/agent_debug_information.py +155 -0
  424. clients/ctm_saas_client/models/agent_details.py +237 -0
  425. clients/ctm_saas_client/models/agent_details_list.py +123 -0
  426. clients/ctm_saas_client/models/agent_in_group_params.py +154 -0
  427. clients/ctm_saas_client/models/agent_in_group_params_list.py +123 -0
  428. clients/ctm_saas_client/models/agent_in_hostgroup.py +182 -0
  429. clients/ctm_saas_client/models/agent_info.py +155 -0
  430. clients/ctm_saas_client/models/agent_info_result.py +183 -0
  431. clients/ctm_saas_client/models/agent_mng_auth.py +181 -0
  432. clients/ctm_saas_client/models/agent_sys_param_set_data.py +237 -0
  433. clients/ctm_saas_client/models/agent_sys_param_set_success_data.py +153 -0
  434. clients/ctm_saas_client/models/agent_tables_name.py +123 -0
  435. clients/ctm_saas_client/models/agent_thing_properties.py +181 -0
  436. clients/ctm_saas_client/models/agents_data_list.py +95 -0
  437. clients/ctm_saas_client/models/agents_in_group_list_result.py +95 -0
  438. clients/ctm_saas_client/models/agents_in_group_success_data.py +153 -0
  439. clients/ctm_saas_client/models/agents_sys_param_set_data.py +125 -0
  440. clients/ctm_saas_client/models/ai_deploy_response.py +125 -0
  441. clients/ctm_saas_client/models/ai_error.py +153 -0
  442. clients/ctm_saas_client/models/ai_jobtype.py +209 -0
  443. clients/ctm_saas_client/models/ai_jobtype_list.py +123 -0
  444. clients/ctm_saas_client/models/alert_param.py +189 -0
  445. clients/ctm_saas_client/models/alert_status_param.py +161 -0
  446. clients/ctm_saas_client/models/all_mft_data_settings.py +149 -0
  447. clients/ctm_saas_client/models/allowed_job_actions.py +657 -0
  448. clients/ctm_saas_client/models/allowed_jobs.py +153 -0
  449. clients/ctm_saas_client/models/annotation_details.py +149 -0
  450. clients/ctm_saas_client/models/api_gtw_session.py +123 -0
  451. clients/ctm_saas_client/models/api_throwable.py +149 -0
  452. clients/ctm_saas_client/models/app.py +293 -0
  453. clients/ctm_saas_client/models/app_deploy_response.py +181 -0
  454. clients/ctm_saas_client/models/app_deployed.py +349 -0
  455. clients/ctm_saas_client/models/app_details.py +209 -0
  456. clients/ctm_saas_client/models/app_list.py +149 -0
  457. clients/ctm_saas_client/models/app_predeploy_response.py +153 -0
  458. clients/ctm_saas_client/models/archive_jobs_list.py +175 -0
  459. clients/ctm_saas_client/models/archive_rule.py +377 -0
  460. clients/ctm_saas_client/models/archive_rules_list.py +123 -0
  461. clients/ctm_saas_client/models/as2_key_data.py +181 -0
  462. clients/ctm_saas_client/models/associate_data.py +153 -0
  463. clients/ctm_saas_client/models/authenticate_credentials.py +227 -0
  464. clients/ctm_saas_client/models/authentication_data.py +149 -0
  465. clients/ctm_saas_client/models/availability.py +237 -0
  466. clients/ctm_saas_client/models/aysnc_poll_deployment_file_results.py +149 -0
  467. clients/ctm_saas_client/models/certificate_signing_request_data.py +265 -0
  468. clients/ctm_saas_client/models/client_access_privilege_category.py +293 -0
  469. clients/ctm_saas_client/models/cluster.py +175 -0
  470. clients/ctm_saas_client/models/cluster_authorization_data.py +125 -0
  471. clients/ctm_saas_client/models/communication_analysis_response_type.py +181 -0
  472. clients/ctm_saas_client/models/component_key_with_status_type.py +153 -0
  473. clients/ctm_saas_client/models/component_meta_data_properties.py +201 -0
  474. clients/ctm_saas_client/models/component_mft_key_type.py +293 -0
  475. clients/ctm_saas_client/models/condition_properties.py +175 -0
  476. clients/ctm_saas_client/models/configuration_manager_privilege_category.py +265 -0
  477. clients/ctm_saas_client/models/connection_profile_deployment_info.py +237 -0
  478. clients/ctm_saas_client/models/connection_profile_status.py +321 -0
  479. clients/ctm_saas_client/models/connection_profiles_deployment_status_result.py +153 -0
  480. clients/ctm_saas_client/models/connection_profiles_status_result.py +181 -0
  481. clients/ctm_saas_client/models/control_m_authentication_data.py +237 -0
  482. clients/ctm_saas_client/models/cp_mng_auth.py +237 -0
  483. clients/ctm_saas_client/models/ctm_details.py +237 -0
  484. clients/ctm_saas_client/models/ctm_details_list.py +95 -0
  485. clients/ctm_saas_client/models/ctm_name_value_sw.py +149 -0
  486. clients/ctm_saas_client/models/ctmag_set_extract_service_status.py +125 -0
  487. clients/ctm_saas_client/models/ctmagent_basic_info_type.py +291 -0
  488. clients/ctm_saas_client/models/ctmagent_ctm_test_type.py +321 -0
  489. clients/ctm_saas_client/models/ctmagent_state_changed_type.py +209 -0
  490. clients/ctm_saas_client/models/ctmvar_del_result_item.py +123 -0
  491. clients/ctm_saas_client/models/ctmvar_del_results.py +227 -0
  492. clients/ctm_saas_client/models/ctmvar_error_info.py +222 -0
  493. clients/ctm_saas_client/models/ctmvar_get_result_item.py +149 -0
  494. clients/ctm_saas_client/models/ctmvar_get_results.py +227 -0
  495. clients/ctm_saas_client/models/ctmvar_result_item.py +201 -0
  496. clients/ctm_saas_client/models/ctmvar_results.py +227 -0
  497. clients/ctm_saas_client/models/ctmvar_set_result_item.py +123 -0
  498. clients/ctm_saas_client/models/ctmvar_set_results.py +227 -0
  499. clients/ctm_saas_client/models/deploy_async_results.py +125 -0
  500. clients/ctm_saas_client/models/deploy_jobtype_response.py +151 -0
  501. clients/ctm_saas_client/models/deployment_file_error.py +123 -0
  502. clients/ctm_saas_client/models/deployment_file_results.py +615 -0
  503. clients/ctm_saas_client/models/diagnostics_data_collection_information.py +237 -0
  504. clients/ctm_saas_client/models/diagnostics_data_collection_result.py +153 -0
  505. clients/ctm_saas_client/models/em_basic_active_request_parameters.py +201 -0
  506. clients/ctm_saas_client/models/em_default_request_parameters.py +201 -0
  507. clients/ctm_saas_client/models/em_jobs_id.py +149 -0
  508. clients/ctm_saas_client/models/em_order_folder.py +227 -0
  509. clients/ctm_saas_client/models/em_order_folder_parameters.py +175 -0
  510. clients/ctm_saas_client/models/em_system_parameter.py +125 -0
  511. clients/ctm_saas_client/models/encryption_metadata.py +153 -0
  512. clients/ctm_saas_client/models/error_data.py +265 -0
  513. clients/ctm_saas_client/models/error_list.py +123 -0
  514. clients/ctm_saas_client/models/event.py +181 -0
  515. clients/ctm_saas_client/models/event_param.py +151 -0
  516. clients/ctm_saas_client/models/event_set.py +95 -0
  517. clients/ctm_saas_client/models/external_provider_authentication_data.py +125 -0
  518. clients/ctm_saas_client/models/external_user_data.py +433 -0
  519. clients/ctm_saas_client/models/extract_service_prop_params.py +293 -0
  520. clients/ctm_saas_client/models/field_metadata_properties.py +721 -0
  521. clients/ctm_saas_client/models/field_value.py +150 -0
  522. clients/ctm_saas_client/models/field_values.py +126 -0
  523. clients/ctm_saas_client/models/folder_auth.py +293 -0
  524. clients/ctm_saas_client/models/folder_properties.py +405 -0
  525. clients/ctm_saas_client/models/folder_properties_data.py +377 -0
  526. clients/ctm_saas_client/models/folders_users_settings_and_metadata_properties.py +227 -0
  527. clients/ctm_saas_client/models/folders_users_settings_and_metadata_properties_from_b2_b.py +227 -0
  528. clients/ctm_saas_client/models/fts_authentication_details.py +149 -0
  529. clients/ctm_saas_client/models/fts_ftp_settings.py +349 -0
  530. clients/ctm_saas_client/models/fts_general_settings.py +349 -0
  531. clients/ctm_saas_client/models/fts_ldap_authentication_details.py +293 -0
  532. clients/ctm_saas_client/models/fts_pam_authentication_details.py +125 -0
  533. clients/ctm_saas_client/models/fts_settings_data.py +209 -0
  534. clients/ctm_saas_client/models/fts_sftp_settings.py +321 -0
  535. clients/ctm_saas_client/models/fts_user_home_directory_data.py +153 -0
  536. clients/ctm_saas_client/models/gateway_data.py +209 -0
  537. clients/ctm_saas_client/models/get_alert_info.py +201 -0
  538. clients/ctm_saas_client/models/get_manifest_params.py +515 -0
  539. clients/ctm_saas_client/models/get_manifest_params_result.py +95 -0
  540. clients/ctm_saas_client/models/groups_allowed_folders_properties.py +205 -0
  541. clients/ctm_saas_client/models/host_group_data.py +181 -0
  542. clients/ctm_saas_client/models/host_groups_data_list.py +95 -0
  543. clients/ctm_saas_client/models/host_properties.py +573 -0
  544. clients/ctm_saas_client/models/hostgroup_agent_participation.py +154 -0
  545. clients/ctm_saas_client/models/hostgroup_properties.py +153 -0
  546. clients/ctm_saas_client/models/hostname_port_pair.py +153 -0
  547. clients/ctm_saas_client/models/hub_data.py +293 -0
  548. clients/ctm_saas_client/models/hub_status.py +125 -0
  549. clients/ctm_saas_client/models/job.py +175 -0
  550. clients/ctm_saas_client/models/job_level_auth.py +181 -0
  551. clients/ctm_saas_client/models/job_run_status.py +742 -0
  552. clients/ctm_saas_client/models/job_status_result.py +349 -0
  553. clients/ctm_saas_client/models/jobtype_agent.py +153 -0
  554. clients/ctm_saas_client/models/key_value.py +407 -0
  555. clients/ctm_saas_client/models/key_value_list_result.py +95 -0
  556. clients/ctm_saas_client/models/key_value_type.py +211 -0
  557. clients/ctm_saas_client/models/key_value_type_list_result.py +95 -0
  558. clients/ctm_saas_client/models/known_hosts.py +149 -0
  559. clients/ctm_saas_client/models/ldap_domain_settings.py +279 -0
  560. clients/ctm_saas_client/models/log.py +123 -0
  561. clients/ctm_saas_client/models/log_data_arguments.py +123 -0
  562. clients/ctm_saas_client/models/log_job_parameters.py +175 -0
  563. clients/ctm_saas_client/models/log_job_result_item.py +253 -0
  564. clients/ctm_saas_client/models/log_job_results.py +227 -0
  565. clients/ctm_saas_client/models/log_params.py +209 -0
  566. clients/ctm_saas_client/models/login_credentials.py +151 -0
  567. clients/ctm_saas_client/models/login_result.py +175 -0
  568. clients/ctm_saas_client/models/manifest_group_item_object.py +149 -0
  569. clients/ctm_saas_client/models/manifest_group_object.py +123 -0
  570. clients/ctm_saas_client/models/matching.py +95 -0
  571. clients/ctm_saas_client/models/mft_configuration_data.py +573 -0
  572. clients/ctm_saas_client/models/mft_entities_list_names.py +201 -0
  573. clients/ctm_saas_client/models/mft_external_user_projection_data.py +237 -0
  574. clients/ctm_saas_client/models/mft_folder_projection_data.py +209 -0
  575. clients/ctm_saas_client/models/mft_folder_projection_properties.py +237 -0
  576. clients/ctm_saas_client/models/mft_user_group_projection_data.py +209 -0
  577. clients/ctm_saas_client/models/monitoring_privilege_category.py +153 -0
  578. clients/ctm_saas_client/models/msg_data_arguments.py +123 -0
  579. clients/ctm_saas_client/models/name_status.py +149 -0
  580. clients/ctm_saas_client/models/name_value_attribute.py +149 -0
  581. clients/ctm_saas_client/models/new_sample.py +150 -0
  582. clients/ctm_saas_client/models/node.py +261 -0
  583. clients/ctm_saas_client/models/optional_value.py +125 -0
  584. clients/ctm_saas_client/models/order_folder_parameters.py +433 -0
  585. clients/ctm_saas_client/models/order_folder_result_item.py +260 -0
  586. clients/ctm_saas_client/models/order_folder_results.py +227 -0
  587. clients/ctm_saas_client/models/order_parameters.py +338 -0
  588. clients/ctm_saas_client/models/ordered_item_item.py +312 -0
  589. clients/ctm_saas_client/models/organization_group_export_data.py +125 -0
  590. clients/ctm_saas_client/models/organization_group_info.py +181 -0
  591. clients/ctm_saas_client/models/organization_group_name.py +153 -0
  592. clients/ctm_saas_client/models/organization_group_user_authorization_simulation_data.py +151 -0
  593. clients/ctm_saas_client/models/output.py +123 -0
  594. clients/ctm_saas_client/models/output_params.py +209 -0
  595. clients/ctm_saas_client/models/passwords_object.py +181 -0
  596. clients/ctm_saas_client/models/performance.py +237 -0
  597. clients/ctm_saas_client/models/pgp_template_data.py +293 -0
  598. clients/ctm_saas_client/models/ping_agent_params.py +155 -0
  599. clients/ctm_saas_client/models/planning_privilege_category.py +209 -0
  600. clients/ctm_saas_client/models/plugin_data.py +349 -0
  601. clients/ctm_saas_client/models/plugin_mng_auth.py +209 -0
  602. clients/ctm_saas_client/models/pool_variables_error_info.py +149 -0
  603. clients/ctm_saas_client/models/pool_variables_name.py +149 -0
  604. clients/ctm_saas_client/models/pool_variables_name_value.py +149 -0
  605. clients/ctm_saas_client/models/possible_value_properties.py +175 -0
  606. clients/ctm_saas_client/models/privilege_name.py +153 -0
  607. clients/ctm_saas_client/models/privilege_name_controlm.py +181 -0
  608. clients/ctm_saas_client/models/privileges.py +253 -0
  609. clients/ctm_saas_client/models/product_description.py +237 -0
  610. clients/ctm_saas_client/models/product_sections.py +151 -0
  611. clients/ctm_saas_client/models/provision_advance_parameters.py +209 -0
  612. clients/ctm_saas_client/models/query.py +175 -0
  613. clients/ctm_saas_client/models/raw_cms_xml_request.py +151 -0
  614. clients/ctm_saas_client/models/read_only_status.py +125 -0
  615. clients/ctm_saas_client/models/report_date_time_settings.py +175 -0
  616. clients/ctm_saas_client/models/report_filter.py +151 -0
  617. clients/ctm_saas_client/models/report_filters.py +95 -0
  618. clients/ctm_saas_client/models/report_result.py +126 -0
  619. clients/ctm_saas_client/models/request_parameters_wrapper_em_default_request_parameters_log_job_parameters.py +149 -0
  620. clients/ctm_saas_client/models/request_parameters_wrapper_em_default_request_parameters_why_job_parameter.py +149 -0
  621. clients/ctm_saas_client/models/rerun_parameters.py +125 -0
  622. clients/ctm_saas_client/models/rerun_zos_parameters.py +293 -0
  623. clients/ctm_saas_client/models/resource_max.py +124 -0
  624. clients/ctm_saas_client/models/resource_obj.py +237 -0
  625. clients/ctm_saas_client/models/resource_param.py +151 -0
  626. clients/ctm_saas_client/models/resource_set.py +95 -0
  627. clients/ctm_saas_client/models/restart_step.py +153 -0
  628. clients/ctm_saas_client/models/results_status.py +201 -0
  629. clients/ctm_saas_client/models/role_data.py +755 -0
  630. clients/ctm_saas_client/models/role_data_full.py +181 -0
  631. clients/ctm_saas_client/models/role_header.py +153 -0
  632. clients/ctm_saas_client/models/role_header_list.py +95 -0
  633. clients/ctm_saas_client/models/role_properties.py +125 -0
  634. clients/ctm_saas_client/models/rule_criteria.py +177 -0
  635. clients/ctm_saas_client/models/rule_projection.py +253 -0
  636. clients/ctm_saas_client/models/rule_statistics.py +286 -0
  637. clients/ctm_saas_client/models/rules_statistic_list.py +123 -0
  638. clients/ctm_saas_client/models/rules_statistic_list_summary.py +149 -0
  639. clients/ctm_saas_client/models/run_as_user_data.py +209 -0
  640. clients/ctm_saas_client/models/run_as_user_details_data.py +153 -0
  641. clients/ctm_saas_client/models/run_as_user_key_data.py +153 -0
  642. clients/ctm_saas_client/models/run_as_users_list.py +95 -0
  643. clients/ctm_saas_client/models/run_report.py +206 -0
  644. clients/ctm_saas_client/models/run_report_info.py +253 -0
  645. clients/ctm_saas_client/models/run_result.py +182 -0
  646. clients/ctm_saas_client/models/runas_definition_auth.py +153 -0
  647. clients/ctm_saas_client/models/runas_user_auth.py +181 -0
  648. clients/ctm_saas_client/models/saml2_identity_provider.py +203 -0
  649. clients/ctm_saas_client/models/saml_status.py +125 -0
  650. clients/ctm_saas_client/models/sample.py +177 -0
  651. clients/ctm_saas_client/models/search_params.py +664 -0
  652. clients/ctm_saas_client/models/search_tag_tuple.py +149 -0
  653. clients/ctm_saas_client/models/secret_key_value.py +154 -0
  654. clients/ctm_saas_client/models/secret_value.py +125 -0
  655. clients/ctm_saas_client/models/section_metadata_properties.py +227 -0
  656. clients/ctm_saas_client/models/service_auth.py +181 -0
  657. clients/ctm_saas_client/models/service_auth_action.py +237 -0
  658. clients/ctm_saas_client/models/service_provider_information.py +201 -0
  659. clients/ctm_saas_client/models/set_agent_params.py +181 -0
  660. clients/ctm_saas_client/models/set_agent_params_list.py +123 -0
  661. clients/ctm_saas_client/models/setting_key_properties.py +149 -0
  662. clients/ctm_saas_client/models/setting_properties.py +181 -0
  663. clients/ctm_saas_client/models/setting_properties_object.py +123 -0
  664. clients/ctm_saas_client/models/settings_metadata_properties.py +201 -0
  665. clients/ctm_saas_client/models/settings_update_object.py +153 -0
  666. clients/ctm_saas_client/models/sla_service.py +657 -0
  667. clients/ctm_saas_client/models/sla_service_status_by_jobs.py +349 -0
  668. clients/ctm_saas_client/models/ssh_key_properties.py +181 -0
  669. clients/ctm_saas_client/models/statistics.py +207 -0
  670. clients/ctm_saas_client/models/statistics_average_info.py +181 -0
  671. clients/ctm_saas_client/models/statistics_period.py +153 -0
  672. clients/ctm_saas_client/models/statistics_run_info.py +151 -0
  673. clients/ctm_saas_client/models/statistics_single_run.py +265 -0
  674. clients/ctm_saas_client/models/string_list_result.py +95 -0
  675. clients/ctm_saas_client/models/success_data.py +125 -0
  676. clients/ctm_saas_client/models/summary.py +201 -0
  677. clients/ctm_saas_client/models/system_parameter.py +181 -0
  678. clients/ctm_saas_client/models/system_setting.py +435 -0
  679. clients/ctm_saas_client/models/system_setting_annotation_property.py +95 -0
  680. clients/ctm_saas_client/models/system_setting_key_value.py +155 -0
  681. clients/ctm_saas_client/models/system_setting_key_value_component.py +183 -0
  682. clients/ctm_saas_client/models/system_setting_ldap.py +176 -0
  683. clients/ctm_saas_client/models/system_setting_property.py +126 -0
  684. clients/ctm_saas_client/models/term_group.py +95 -0
  685. clients/ctm_saas_client/models/token_data_request.py +210 -0
  686. clients/ctm_saas_client/models/token_data_response.py +324 -0
  687. clients/ctm_saas_client/models/token_list.py +126 -0
  688. clients/ctm_saas_client/models/token_list_array.py +95 -0
  689. clients/ctm_saas_client/models/tools_privilege_category.py +181 -0
  690. clients/ctm_saas_client/models/topology.py +123 -0
  691. clients/ctm_saas_client/models/upgrade_agent_info.py +265 -0
  692. clients/ctm_saas_client/models/upgrade_agent_info_list.py +95 -0
  693. clients/ctm_saas_client/models/upgrade_info.py +153 -0
  694. clients/ctm_saas_client/models/upgrade_notification.py +123 -0
  695. clients/ctm_saas_client/models/upgrade_record.py +601 -0
  696. clients/ctm_saas_client/models/upgrade_record_list.py +123 -0
  697. clients/ctm_saas_client/models/upgrade_request.py +321 -0
  698. clients/ctm_saas_client/models/upgrade_response.py +125 -0
  699. clients/ctm_saas_client/models/user_additional_properties.py +179 -0
  700. clients/ctm_saas_client/models/user_allowed_folders_properties.py +591 -0
  701. clients/ctm_saas_client/models/user_data.py +261 -0
  702. clients/ctm_saas_client/models/user_group_details_data.py +153 -0
  703. clients/ctm_saas_client/models/user_group_properties_data.py +181 -0
  704. clients/ctm_saas_client/models/user_header.py +293 -0
  705. clients/ctm_saas_client/models/user_password.py +125 -0
  706. clients/ctm_saas_client/models/user_preferences.py +125 -0
  707. clients/ctm_saas_client/models/validation_properties.py +331 -0
  708. clients/ctm_saas_client/models/value.py +126 -0
  709. clients/ctm_saas_client/models/values.py +95 -0
  710. clients/ctm_saas_client/models/variable_name_value.py +149 -0
  711. clients/ctm_saas_client/models/variable_names.py +125 -0
  712. clients/ctm_saas_client/models/variables.py +125 -0
  713. clients/ctm_saas_client/models/viewpoint_manager_privilege_category.py +209 -0
  714. clients/ctm_saas_client/models/warning_data.py +265 -0
  715. clients/ctm_saas_client/models/warning_list.py +123 -0
  716. clients/ctm_saas_client/models/warnings_collection.py +123 -0
  717. clients/ctm_saas_client/models/why_job_parameters.py +123 -0
  718. clients/ctm_saas_client/models/why_job_result_item.py +123 -0
  719. clients/ctm_saas_client/models/why_job_results.py +227 -0
  720. clients/ctm_saas_client/models/workflow_insights_status.py +149 -0
  721. clients/ctm_saas_client/models/workload_policies_file_results.py +233 -0
  722. clients/ctm_saas_client/models/workload_policy.py +265 -0
  723. clients/ctm_saas_client/models/workload_policy_list.py +123 -0
  724. clients/ctm_saas_client/models/workload_policy_state.py +153 -0
  725. clients/ctm_saas_client/models/workload_policy_state_list.py +123 -0
  726. clients/ctm_saas_client/models/workspace_folder.py +152 -0
  727. clients/ctm_saas_client/models/workspace_folders.py +123 -0
  728. clients/ctm_saas_client/models/zoo_keeper.py +265 -0
  729. clients/ctm_saas_client/models/zos_template_data.py +573 -0
  730. clients/ctm_saas_client/rest.py +323 -0
  731. ctm_python_client/__init__.py +2 -0
  732. ctm_python_client/core/__init__.py +0 -0
  733. ctm_python_client/core/comm.py +181 -0
  734. ctm_python_client/core/credential.py +44 -0
  735. ctm_python_client/core/monitoring.py +382 -0
  736. ctm_python_client/core/workflow.py +413 -0
  737. ctm_python_client/ext/__init__.py +0 -0
  738. ctm_python_client/ext/autogen.py +243 -0
  739. ctm_python_client/ext/credential.py +18 -0
  740. ctm_python_client/ext/viz.py +55 -0
  741. ctm_python_client-2.1.2.dist-info/LICENSE +29 -0
  742. ctm_python_client-2.1.2.dist-info/METADATA +19 -0
  743. ctm_python_client-2.1.2.dist-info/RECORD +745 -0
  744. ctm_python_client-2.1.2.dist-info/WHEEL +5 -0
  745. ctm_python_client-2.1.2.dist-info/top_level.txt +3 -0
@@ -0,0 +1,2467 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Control-M Services
5
+
6
+ Provides access to BMC Control-M Services # noqa: E501
7
+
8
+ OpenAPI spec version: 9.20.215
9
+ Contact: customer_support@bmc.com
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ from __future__ import absolute_import
15
+
16
+ import re # noqa: F401
17
+
18
+ # python 2 and python 3 compatibility library
19
+ import six
20
+
21
+ from clients.ctm_api_client.api_client import ApiClient
22
+
23
+
24
+ class DeployApi(object):
25
+ """NOTE: This class is auto generated by the swagger code generator program.
26
+
27
+ Do not edit the class manually.
28
+ Ref: https://github.com/swagger-api/swagger-codegen
29
+ """
30
+
31
+ def __init__(self, api_client=None):
32
+ if api_client is None:
33
+ api_client = ApiClient()
34
+ self.api_client = api_client
35
+
36
+ def delete_calendar(self, calendar_name, **kwargs): # noqa: E501
37
+ """delete a calendar # noqa: E501
38
+
39
+ Delete a calendar # noqa: E501
40
+ This method makes a synchronous HTTP request by default. To make an
41
+ asynchronous HTTP request, please pass async_req=True
42
+ >>> thread = api.delete_calendar(calendar_name, async_req=True)
43
+ >>> result = thread.get()
44
+
45
+ :param async_req bool
46
+ :param str calendar_name: The name of the calendar to be deleted. (required)
47
+ :param str server: The name of the server in which the calendar deploy.
48
+ :return: SuccessData
49
+ If the method is called asynchronously,
50
+ returns the request thread.
51
+ """
52
+ kwargs["_return_http_data_only"] = True
53
+ if kwargs.get("async_req"):
54
+ return self.delete_calendar_with_http_info(
55
+ calendar_name, **kwargs
56
+ ) # noqa: E501
57
+ else:
58
+ (data) = self.delete_calendar_with_http_info(
59
+ calendar_name, **kwargs
60
+ ) # noqa: E501
61
+ return data
62
+
63
+ def delete_calendar_with_http_info(self, calendar_name, **kwargs): # noqa: E501
64
+ """delete a calendar # noqa: E501
65
+
66
+ Delete a calendar # noqa: E501
67
+ This method makes a synchronous HTTP request by default. To make an
68
+ asynchronous HTTP request, please pass async_req=True
69
+ >>> thread = api.delete_calendar_with_http_info(calendar_name, async_req=True)
70
+ >>> result = thread.get()
71
+
72
+ :param async_req bool
73
+ :param str calendar_name: The name of the calendar to be deleted. (required)
74
+ :param str server: The name of the server in which the calendar deploy.
75
+ :return: SuccessData
76
+ If the method is called asynchronously,
77
+ returns the request thread.
78
+ """
79
+
80
+ all_params = ["calendar_name", "server"] # noqa: E501
81
+ all_params.append("async_req")
82
+ all_params.append("_return_http_data_only")
83
+ all_params.append("_preload_content")
84
+ all_params.append("_request_timeout")
85
+
86
+ params = locals()
87
+ for key, val in six.iteritems(params["kwargs"]):
88
+ if key not in all_params:
89
+ raise TypeError(
90
+ "Got an unexpected keyword argument '%s'"
91
+ " to method delete_calendar" % key
92
+ )
93
+ params[key] = val
94
+ del params["kwargs"]
95
+ # verify the required parameter 'calendar_name' is set
96
+ if self.api_client.client_side_validation and (
97
+ "calendar_name" not in params or params["calendar_name"] is None
98
+ ): # noqa: E501
99
+ raise ValueError(
100
+ "Missing the required parameter `calendar_name` when calling `delete_calendar`"
101
+ ) # noqa: E501
102
+
103
+ collection_formats = {}
104
+
105
+ path_params = {}
106
+ if "calendar_name" in params:
107
+ path_params["calendarName"] = params["calendar_name"] # noqa: E501
108
+
109
+ query_params = []
110
+ if "server" in params:
111
+ query_params.append(("server", params["server"])) # noqa: E501
112
+
113
+ header_params = {}
114
+
115
+ form_params = []
116
+ local_var_files = {}
117
+
118
+ body_params = None
119
+ # HTTP header `Accept`
120
+ header_params["Accept"] = self.api_client.select_header_accept(
121
+ ["application/json"]
122
+ ) # noqa: E501
123
+
124
+ # Authentication setting
125
+ auth_settings = ["Bearer"] # noqa: E501
126
+
127
+ return self.api_client.call_api(
128
+ "/deploy/calendar/{calendarName}",
129
+ "DELETE",
130
+ path_params,
131
+ query_params,
132
+ header_params,
133
+ body=body_params,
134
+ post_params=form_params,
135
+ files=local_var_files,
136
+ response_type="SuccessData", # noqa: E501
137
+ auth_settings=auth_settings,
138
+ async_req=params.get("async_req"),
139
+ _return_http_data_only=params.get("_return_http_data_only"),
140
+ _preload_content=params.get("_preload_content", True),
141
+ _request_timeout=params.get("_request_timeout"),
142
+ collection_formats=collection_formats,
143
+ )
144
+
145
+ def delete_connection_profile(
146
+ self, server, agent, type, name, **kwargs
147
+ ): # noqa: E501
148
+ """Delete Local Connection Profile # noqa: E501
149
+
150
+ Delete Local Connection Profile. # noqa: E501
151
+ This method makes a synchronous HTTP request by default. To make an
152
+ asynchronous HTTP request, please pass async_req=True
153
+ >>> thread = api.delete_connection_profile(server, agent, type, name, async_req=True)
154
+ >>> result = thread.get()
155
+
156
+ :param async_req bool
157
+ :param str server: The name of the Control-M in which the connection profile is deployed. (required)
158
+ :param str agent: The name of the agent the connection profile is deployed on. (required)
159
+ :param str type: The type of connection profile to delete. (required)
160
+ :param str name: Name of the Connection Profile (required)
161
+ :return: SuccessData
162
+ If the method is called asynchronously,
163
+ returns the request thread.
164
+ """
165
+ kwargs["_return_http_data_only"] = True
166
+ if kwargs.get("async_req"):
167
+ return self.delete_connection_profile_with_http_info(
168
+ server, agent, type, name, **kwargs
169
+ ) # noqa: E501
170
+ else:
171
+ (data) = self.delete_connection_profile_with_http_info(
172
+ server, agent, type, name, **kwargs
173
+ ) # noqa: E501
174
+ return data
175
+
176
+ def delete_connection_profile_with_http_info(
177
+ self, server, agent, type, name, **kwargs
178
+ ): # noqa: E501
179
+ """Delete Local Connection Profile # noqa: E501
180
+
181
+ Delete Local Connection Profile. # noqa: E501
182
+ This method makes a synchronous HTTP request by default. To make an
183
+ asynchronous HTTP request, please pass async_req=True
184
+ >>> thread = api.delete_connection_profile_with_http_info(server, agent, type, name, async_req=True)
185
+ >>> result = thread.get()
186
+
187
+ :param async_req bool
188
+ :param str server: The name of the Control-M in which the connection profile is deployed. (required)
189
+ :param str agent: The name of the agent the connection profile is deployed on. (required)
190
+ :param str type: The type of connection profile to delete. (required)
191
+ :param str name: Name of the Connection Profile (required)
192
+ :return: SuccessData
193
+ If the method is called asynchronously,
194
+ returns the request thread.
195
+ """
196
+
197
+ all_params = ["server", "agent", "type", "name"] # noqa: E501
198
+ all_params.append("async_req")
199
+ all_params.append("_return_http_data_only")
200
+ all_params.append("_preload_content")
201
+ all_params.append("_request_timeout")
202
+
203
+ params = locals()
204
+ for key, val in six.iteritems(params["kwargs"]):
205
+ if key not in all_params:
206
+ raise TypeError(
207
+ "Got an unexpected keyword argument '%s'"
208
+ " to method delete_connection_profile" % key
209
+ )
210
+ params[key] = val
211
+ del params["kwargs"]
212
+ # verify the required parameter 'server' is set
213
+ if self.api_client.client_side_validation and (
214
+ "server" not in params or params["server"] is None
215
+ ): # noqa: E501
216
+ raise ValueError(
217
+ "Missing the required parameter `server` when calling `delete_connection_profile`"
218
+ ) # noqa: E501
219
+ # verify the required parameter 'agent' is set
220
+ if self.api_client.client_side_validation and (
221
+ "agent" not in params or params["agent"] is None
222
+ ): # noqa: E501
223
+ raise ValueError(
224
+ "Missing the required parameter `agent` when calling `delete_connection_profile`"
225
+ ) # noqa: E501
226
+ # verify the required parameter 'type' is set
227
+ if self.api_client.client_side_validation and (
228
+ "type" not in params or params["type"] is None
229
+ ): # noqa: E501
230
+ raise ValueError(
231
+ "Missing the required parameter `type` when calling `delete_connection_profile`"
232
+ ) # noqa: E501
233
+ # verify the required parameter 'name' is set
234
+ if self.api_client.client_side_validation and (
235
+ "name" not in params or params["name"] is None
236
+ ): # noqa: E501
237
+ raise ValueError(
238
+ "Missing the required parameter `name` when calling `delete_connection_profile`"
239
+ ) # noqa: E501
240
+
241
+ collection_formats = {}
242
+
243
+ path_params = {}
244
+ if "server" in params:
245
+ path_params["server"] = params["server"] # noqa: E501
246
+ if "agent" in params:
247
+ path_params["agent"] = params["agent"] # noqa: E501
248
+ if "type" in params:
249
+ path_params["type"] = params["type"] # noqa: E501
250
+ if "name" in params:
251
+ path_params["name"] = params["name"] # noqa: E501
252
+
253
+ query_params = []
254
+
255
+ header_params = {}
256
+
257
+ form_params = []
258
+ local_var_files = {}
259
+
260
+ body_params = None
261
+ # HTTP header `Accept`
262
+ header_params["Accept"] = self.api_client.select_header_accept(
263
+ ["application/json"]
264
+ ) # noqa: E501
265
+
266
+ # Authentication setting
267
+ auth_settings = ["Bearer"] # noqa: E501
268
+
269
+ return self.api_client.call_api(
270
+ "/deploy/connectionprofile/{server}/{agent}/{type}/{name}",
271
+ "DELETE",
272
+ path_params,
273
+ query_params,
274
+ header_params,
275
+ body=body_params,
276
+ post_params=form_params,
277
+ files=local_var_files,
278
+ response_type="SuccessData", # noqa: E501
279
+ auth_settings=auth_settings,
280
+ async_req=params.get("async_req"),
281
+ _return_http_data_only=params.get("_return_http_data_only"),
282
+ _preload_content=params.get("_preload_content", True),
283
+ _request_timeout=params.get("_request_timeout"),
284
+ collection_formats=collection_formats,
285
+ )
286
+
287
+ def delete_folder(self, control_m, folder_name, **kwargs): # noqa: E501
288
+ """delete a folder # noqa: E501
289
+
290
+ Delete a folder # noqa: E501
291
+ This method makes a synchronous HTTP request by default. To make an
292
+ asynchronous HTTP request, please pass async_req=True
293
+ >>> thread = api.delete_folder(control_m, folder_name, async_req=True)
294
+ >>> result = thread.get()
295
+
296
+ :param async_req bool
297
+ :param str control_m: The name of the Control-M in which the folder(s) are deployed. (required)
298
+ :param str folder_name: The name of the required folder(s). (required)
299
+ :return: SuccessData
300
+ If the method is called asynchronously,
301
+ returns the request thread.
302
+ """
303
+ kwargs["_return_http_data_only"] = True
304
+ if kwargs.get("async_req"):
305
+ return self.delete_folder_with_http_info(
306
+ control_m, folder_name, **kwargs
307
+ ) # noqa: E501
308
+ else:
309
+ (data) = self.delete_folder_with_http_info(
310
+ control_m, folder_name, **kwargs
311
+ ) # noqa: E501
312
+ return data
313
+
314
+ def delete_folder_with_http_info(
315
+ self, control_m, folder_name, **kwargs
316
+ ): # noqa: E501
317
+ """delete a folder # noqa: E501
318
+
319
+ Delete a folder # noqa: E501
320
+ This method makes a synchronous HTTP request by default. To make an
321
+ asynchronous HTTP request, please pass async_req=True
322
+ >>> thread = api.delete_folder_with_http_info(control_m, folder_name, async_req=True)
323
+ >>> result = thread.get()
324
+
325
+ :param async_req bool
326
+ :param str control_m: The name of the Control-M in which the folder(s) are deployed. (required)
327
+ :param str folder_name: The name of the required folder(s). (required)
328
+ :return: SuccessData
329
+ If the method is called asynchronously,
330
+ returns the request thread.
331
+ """
332
+
333
+ all_params = ["control_m", "folder_name"] # noqa: E501
334
+ all_params.append("async_req")
335
+ all_params.append("_return_http_data_only")
336
+ all_params.append("_preload_content")
337
+ all_params.append("_request_timeout")
338
+
339
+ params = locals()
340
+ for key, val in six.iteritems(params["kwargs"]):
341
+ if key not in all_params:
342
+ raise TypeError(
343
+ "Got an unexpected keyword argument '%s'"
344
+ " to method delete_folder" % key
345
+ )
346
+ params[key] = val
347
+ del params["kwargs"]
348
+ # verify the required parameter 'control_m' is set
349
+ if self.api_client.client_side_validation and (
350
+ "control_m" not in params or params["control_m"] is None
351
+ ): # noqa: E501
352
+ raise ValueError(
353
+ "Missing the required parameter `control_m` when calling `delete_folder`"
354
+ ) # noqa: E501
355
+ # verify the required parameter 'folder_name' is set
356
+ if self.api_client.client_side_validation and (
357
+ "folder_name" not in params or params["folder_name"] is None
358
+ ): # noqa: E501
359
+ raise ValueError(
360
+ "Missing the required parameter `folder_name` when calling `delete_folder`"
361
+ ) # noqa: E501
362
+
363
+ collection_formats = {}
364
+
365
+ path_params = {}
366
+ if "control_m" in params:
367
+ path_params["controlM"] = params["control_m"] # noqa: E501
368
+ if "folder_name" in params:
369
+ path_params["folderName"] = params["folder_name"] # noqa: E501
370
+
371
+ query_params = []
372
+
373
+ header_params = {}
374
+
375
+ form_params = []
376
+ local_var_files = {}
377
+
378
+ body_params = None
379
+ # HTTP header `Accept`
380
+ header_params["Accept"] = self.api_client.select_header_accept(
381
+ ["application/json"]
382
+ ) # noqa: E501
383
+
384
+ # Authentication setting
385
+ auth_settings = ["Bearer"] # noqa: E501
386
+
387
+ return self.api_client.call_api(
388
+ "/deploy/folder/{controlM}/{folderName}",
389
+ "DELETE",
390
+ path_params,
391
+ query_params,
392
+ header_params,
393
+ body=body_params,
394
+ post_params=form_params,
395
+ files=local_var_files,
396
+ response_type="SuccessData", # noqa: E501
397
+ auth_settings=auth_settings,
398
+ async_req=params.get("async_req"),
399
+ _return_http_data_only=params.get("_return_http_data_only"),
400
+ _preload_content=params.get("_preload_content", True),
401
+ _request_timeout=params.get("_request_timeout"),
402
+ collection_formats=collection_formats,
403
+ )
404
+
405
+ def delete_local_connection_profile(
406
+ self, server, agent, type, name, **kwargs
407
+ ): # noqa: E501
408
+ """Delete Local Connection Profile # noqa: E501
409
+
410
+ Delete Local Connection Profile # noqa: E501
411
+ This method makes a synchronous HTTP request by default. To make an
412
+ asynchronous HTTP request, please pass async_req=True
413
+ >>> thread = api.delete_local_connection_profile(server, agent, type, name, async_req=True)
414
+ >>> result = thread.get()
415
+
416
+ :param async_req bool
417
+ :param str server: The name of the Control-M in which the connection profile is deployed. (required)
418
+ :param str agent: The name of the agent the connection profile is deployed on. (required)
419
+ :param str type: The type of connection profile to delete. (required)
420
+ :param str name: Name of the Connection Profile (required)
421
+ :return: SuccessData
422
+ If the method is called asynchronously,
423
+ returns the request thread.
424
+ """
425
+ kwargs["_return_http_data_only"] = True
426
+ if kwargs.get("async_req"):
427
+ return self.delete_local_connection_profile_with_http_info(
428
+ server, agent, type, name, **kwargs
429
+ ) # noqa: E501
430
+ else:
431
+ (data) = self.delete_local_connection_profile_with_http_info(
432
+ server, agent, type, name, **kwargs
433
+ ) # noqa: E501
434
+ return data
435
+
436
+ def delete_local_connection_profile_with_http_info(
437
+ self, server, agent, type, name, **kwargs
438
+ ): # noqa: E501
439
+ """Delete Local Connection Profile # noqa: E501
440
+
441
+ Delete Local Connection Profile # noqa: E501
442
+ This method makes a synchronous HTTP request by default. To make an
443
+ asynchronous HTTP request, please pass async_req=True
444
+ >>> thread = api.delete_local_connection_profile_with_http_info(server, agent, type, name, async_req=True)
445
+ >>> result = thread.get()
446
+
447
+ :param async_req bool
448
+ :param str server: The name of the Control-M in which the connection profile is deployed. (required)
449
+ :param str agent: The name of the agent the connection profile is deployed on. (required)
450
+ :param str type: The type of connection profile to delete. (required)
451
+ :param str name: Name of the Connection Profile (required)
452
+ :return: SuccessData
453
+ If the method is called asynchronously,
454
+ returns the request thread.
455
+ """
456
+
457
+ all_params = ["server", "agent", "type", "name"] # noqa: E501
458
+ all_params.append("async_req")
459
+ all_params.append("_return_http_data_only")
460
+ all_params.append("_preload_content")
461
+ all_params.append("_request_timeout")
462
+
463
+ params = locals()
464
+ for key, val in six.iteritems(params["kwargs"]):
465
+ if key not in all_params:
466
+ raise TypeError(
467
+ "Got an unexpected keyword argument '%s'"
468
+ " to method delete_local_connection_profile" % key
469
+ )
470
+ params[key] = val
471
+ del params["kwargs"]
472
+ # verify the required parameter 'server' is set
473
+ if self.api_client.client_side_validation and (
474
+ "server" not in params or params["server"] is None
475
+ ): # noqa: E501
476
+ raise ValueError(
477
+ "Missing the required parameter `server` when calling `delete_local_connection_profile`"
478
+ ) # noqa: E501
479
+ # verify the required parameter 'agent' is set
480
+ if self.api_client.client_side_validation and (
481
+ "agent" not in params or params["agent"] is None
482
+ ): # noqa: E501
483
+ raise ValueError(
484
+ "Missing the required parameter `agent` when calling `delete_local_connection_profile`"
485
+ ) # noqa: E501
486
+ # verify the required parameter 'type' is set
487
+ if self.api_client.client_side_validation and (
488
+ "type" not in params or params["type"] is None
489
+ ): # noqa: E501
490
+ raise ValueError(
491
+ "Missing the required parameter `type` when calling `delete_local_connection_profile`"
492
+ ) # noqa: E501
493
+ # verify the required parameter 'name' is set
494
+ if self.api_client.client_side_validation and (
495
+ "name" not in params or params["name"] is None
496
+ ): # noqa: E501
497
+ raise ValueError(
498
+ "Missing the required parameter `name` when calling `delete_local_connection_profile`"
499
+ ) # noqa: E501
500
+
501
+ collection_formats = {}
502
+
503
+ path_params = {}
504
+ if "server" in params:
505
+ path_params["server"] = params["server"] # noqa: E501
506
+ if "agent" in params:
507
+ path_params["agent"] = params["agent"] # noqa: E501
508
+ if "type" in params:
509
+ path_params["type"] = params["type"] # noqa: E501
510
+ if "name" in params:
511
+ path_params["name"] = params["name"] # noqa: E501
512
+
513
+ query_params = []
514
+
515
+ header_params = {}
516
+
517
+ form_params = []
518
+ local_var_files = {}
519
+
520
+ body_params = None
521
+ # HTTP header `Accept`
522
+ header_params["Accept"] = self.api_client.select_header_accept(
523
+ ["application/json"]
524
+ ) # noqa: E501
525
+
526
+ # Authentication setting
527
+ auth_settings = ["Bearer"] # noqa: E501
528
+
529
+ return self.api_client.call_api(
530
+ "/deploy/connectionprofile/local/{server}/{agent}/{type}/{name}",
531
+ "DELETE",
532
+ path_params,
533
+ query_params,
534
+ header_params,
535
+ body=body_params,
536
+ post_params=form_params,
537
+ files=local_var_files,
538
+ response_type="SuccessData", # noqa: E501
539
+ auth_settings=auth_settings,
540
+ async_req=params.get("async_req"),
541
+ _return_http_data_only=params.get("_return_http_data_only"),
542
+ _preload_content=params.get("_preload_content", True),
543
+ _request_timeout=params.get("_request_timeout"),
544
+ collection_formats=collection_formats,
545
+ )
546
+
547
+ def delete_shared_connection_profile(self, type, name, **kwargs): # noqa: E501
548
+ """Delete centralized Connection Profile # noqa: E501
549
+
550
+ Delete centralized Connection Profile # noqa: E501
551
+ This method makes a synchronous HTTP request by default. To make an
552
+ asynchronous HTTP request, please pass async_req=True
553
+ >>> thread = api.delete_shared_connection_profile(type, name, async_req=True)
554
+ >>> result = thread.get()
555
+
556
+ :param async_req bool
557
+ :param str type: The type of connection profile to delete. (required)
558
+ :param str name: Name of the Connection Profile (required)
559
+ :return: SuccessData
560
+ If the method is called asynchronously,
561
+ returns the request thread.
562
+ """
563
+ kwargs["_return_http_data_only"] = True
564
+ if kwargs.get("async_req"):
565
+ return self.delete_shared_connection_profile_with_http_info(
566
+ type, name, **kwargs
567
+ ) # noqa: E501
568
+ else:
569
+ (data) = self.delete_shared_connection_profile_with_http_info(
570
+ type, name, **kwargs
571
+ ) # noqa: E501
572
+ return data
573
+
574
+ def delete_shared_connection_profile_with_http_info(
575
+ self, type, name, **kwargs
576
+ ): # noqa: E501
577
+ """Delete centralized Connection Profile # noqa: E501
578
+
579
+ Delete centralized Connection Profile # noqa: E501
580
+ This method makes a synchronous HTTP request by default. To make an
581
+ asynchronous HTTP request, please pass async_req=True
582
+ >>> thread = api.delete_shared_connection_profile_with_http_info(type, name, async_req=True)
583
+ >>> result = thread.get()
584
+
585
+ :param async_req bool
586
+ :param str type: The type of connection profile to delete. (required)
587
+ :param str name: Name of the Connection Profile (required)
588
+ :return: SuccessData
589
+ If the method is called asynchronously,
590
+ returns the request thread.
591
+ """
592
+
593
+ all_params = ["type", "name"] # noqa: E501
594
+ all_params.append("async_req")
595
+ all_params.append("_return_http_data_only")
596
+ all_params.append("_preload_content")
597
+ all_params.append("_request_timeout")
598
+
599
+ params = locals()
600
+ for key, val in six.iteritems(params["kwargs"]):
601
+ if key not in all_params:
602
+ raise TypeError(
603
+ "Got an unexpected keyword argument '%s'"
604
+ " to method delete_shared_connection_profile" % key
605
+ )
606
+ params[key] = val
607
+ del params["kwargs"]
608
+ # verify the required parameter 'type' is set
609
+ if self.api_client.client_side_validation and (
610
+ "type" not in params or params["type"] is None
611
+ ): # noqa: E501
612
+ raise ValueError(
613
+ "Missing the required parameter `type` when calling `delete_shared_connection_profile`"
614
+ ) # noqa: E501
615
+ # verify the required parameter 'name' is set
616
+ if self.api_client.client_side_validation and (
617
+ "name" not in params or params["name"] is None
618
+ ): # noqa: E501
619
+ raise ValueError(
620
+ "Missing the required parameter `name` when calling `delete_shared_connection_profile`"
621
+ ) # noqa: E501
622
+
623
+ collection_formats = {}
624
+
625
+ path_params = {}
626
+ if "type" in params:
627
+ path_params["type"] = params["type"] # noqa: E501
628
+ if "name" in params:
629
+ path_params["name"] = params["name"] # noqa: E501
630
+
631
+ query_params = []
632
+
633
+ header_params = {}
634
+
635
+ form_params = []
636
+ local_var_files = {}
637
+
638
+ body_params = None
639
+ # HTTP header `Accept`
640
+ header_params["Accept"] = self.api_client.select_header_accept(
641
+ ["application/json"]
642
+ ) # noqa: E501
643
+
644
+ # Authentication setting
645
+ auth_settings = ["Bearer"] # noqa: E501
646
+
647
+ return self.api_client.call_api(
648
+ "/deploy/connectionprofile/centralized/{type}/{name}",
649
+ "DELETE",
650
+ path_params,
651
+ query_params,
652
+ header_params,
653
+ body=body_params,
654
+ post_params=form_params,
655
+ files=local_var_files,
656
+ response_type="SuccessData", # noqa: E501
657
+ auth_settings=auth_settings,
658
+ async_req=params.get("async_req"),
659
+ _return_http_data_only=params.get("_return_http_data_only"),
660
+ _preload_content=params.get("_preload_content", True),
661
+ _request_timeout=params.get("_request_timeout"),
662
+ collection_formats=collection_formats,
663
+ )
664
+
665
+ def deploy_ai_jobtype(self, ctm, agent, job_type_id, **kwargs): # noqa: E501
666
+ """Deploy of Application Integrator job type. # noqa: E501
667
+
668
+ Deploy an exsiting Application Integrator job type to agent in order to allow it to run # noqa: E501
669
+ This method makes a synchronous HTTP request by default. To make an
670
+ asynchronous HTTP request, please pass async_req=True
671
+ >>> thread = api.deploy_ai_jobtype(ctm, agent, job_type_id, async_req=True)
672
+ >>> result = thread.get()
673
+
674
+ :param async_req bool
675
+ :param str ctm: (required)
676
+ :param str agent: (required)
677
+ :param str job_type_id: (required)
678
+ :return: AiDeployResponse
679
+ If the method is called asynchronously,
680
+ returns the request thread.
681
+ """
682
+ kwargs["_return_http_data_only"] = True
683
+ if kwargs.get("async_req"):
684
+ return self.deploy_ai_jobtype_with_http_info(
685
+ ctm, agent, job_type_id, **kwargs
686
+ ) # noqa: E501
687
+ else:
688
+ (data) = self.deploy_ai_jobtype_with_http_info(
689
+ ctm, agent, job_type_id, **kwargs
690
+ ) # noqa: E501
691
+ return data
692
+
693
+ def deploy_ai_jobtype_with_http_info(
694
+ self, ctm, agent, job_type_id, **kwargs
695
+ ): # noqa: E501
696
+ """Deploy of Application Integrator job type. # noqa: E501
697
+
698
+ Deploy an exsiting Application Integrator job type to agent in order to allow it to run # noqa: E501
699
+ This method makes a synchronous HTTP request by default. To make an
700
+ asynchronous HTTP request, please pass async_req=True
701
+ >>> thread = api.deploy_ai_jobtype_with_http_info(ctm, agent, job_type_id, async_req=True)
702
+ >>> result = thread.get()
703
+
704
+ :param async_req bool
705
+ :param str ctm: (required)
706
+ :param str agent: (required)
707
+ :param str job_type_id: (required)
708
+ :return: AiDeployResponse
709
+ If the method is called asynchronously,
710
+ returns the request thread.
711
+ """
712
+
713
+ all_params = ["ctm", "agent", "job_type_id"] # noqa: E501
714
+ all_params.append("async_req")
715
+ all_params.append("_return_http_data_only")
716
+ all_params.append("_preload_content")
717
+ all_params.append("_request_timeout")
718
+
719
+ params = locals()
720
+ for key, val in six.iteritems(params["kwargs"]):
721
+ if key not in all_params:
722
+ raise TypeError(
723
+ "Got an unexpected keyword argument '%s'"
724
+ " to method deploy_ai_jobtype" % key
725
+ )
726
+ params[key] = val
727
+ del params["kwargs"]
728
+ # verify the required parameter 'ctm' is set
729
+ if self.api_client.client_side_validation and (
730
+ "ctm" not in params or params["ctm"] is None
731
+ ): # noqa: E501
732
+ raise ValueError(
733
+ "Missing the required parameter `ctm` when calling `deploy_ai_jobtype`"
734
+ ) # noqa: E501
735
+ # verify the required parameter 'agent' is set
736
+ if self.api_client.client_side_validation and (
737
+ "agent" not in params or params["agent"] is None
738
+ ): # noqa: E501
739
+ raise ValueError(
740
+ "Missing the required parameter `agent` when calling `deploy_ai_jobtype`"
741
+ ) # noqa: E501
742
+ # verify the required parameter 'job_type_id' is set
743
+ if self.api_client.client_side_validation and (
744
+ "job_type_id" not in params or params["job_type_id"] is None
745
+ ): # noqa: E501
746
+ raise ValueError(
747
+ "Missing the required parameter `job_type_id` when calling `deploy_ai_jobtype`"
748
+ ) # noqa: E501
749
+
750
+ collection_formats = {}
751
+
752
+ path_params = {}
753
+
754
+ query_params = []
755
+ if "ctm" in params:
756
+ query_params.append(("ctm", params["ctm"])) # noqa: E501
757
+ if "agent" in params:
758
+ query_params.append(("agent", params["agent"])) # noqa: E501
759
+ if "job_type_id" in params:
760
+ query_params.append(("jobTypeId", params["job_type_id"])) # noqa: E501
761
+
762
+ header_params = {}
763
+
764
+ form_params = []
765
+ local_var_files = {}
766
+
767
+ body_params = None
768
+ # HTTP header `Accept`
769
+ header_params["Accept"] = self.api_client.select_header_accept(
770
+ ["application/json"]
771
+ ) # noqa: E501
772
+
773
+ # Authentication setting
774
+ auth_settings = ["Bearer"] # noqa: E501
775
+
776
+ return self.api_client.call_api(
777
+ "/deploy/ai/jobtype",
778
+ "POST",
779
+ path_params,
780
+ query_params,
781
+ header_params,
782
+ body=body_params,
783
+ post_params=form_params,
784
+ files=local_var_files,
785
+ response_type="AiDeployResponse", # noqa: E501
786
+ auth_settings=auth_settings,
787
+ async_req=params.get("async_req"),
788
+ _return_http_data_only=params.get("_return_http_data_only"),
789
+ _preload_content=params.get("_preload_content", True),
790
+ _request_timeout=params.get("_request_timeout"),
791
+ collection_formats=collection_formats,
792
+ )
793
+
794
+ def deploy_file(self, definitions_file, **kwargs): # noqa: E501
795
+ """Deploy definitions file # noqa: E501
796
+
797
+ Deploy the provided definition file (JSON, XML or zip) to Control-M # noqa: E501
798
+ This method makes a synchronous HTTP request by default. To make an
799
+ asynchronous HTTP request, please pass async_req=True
800
+ >>> thread = api.deploy_file(definitions_file, async_req=True)
801
+ >>> result = thread.get()
802
+
803
+ :param async_req bool
804
+ :param file definitions_file: A file that contains definitions to be deployed to the server. Can be either a JSON definition file, an XML definition file, or a zip file that contains multiple JSON or XML definition files. (required)
805
+ :param file deploy_descriptor_file: Deploy Descriptor JSON file.
806
+ :param file additional_configuration: additionalConfiguration to enable skip testing for local connection profile
807
+ :return: list[DeploymentFileResults]
808
+ If the method is called asynchronously,
809
+ returns the request thread.
810
+ """
811
+ kwargs["_return_http_data_only"] = True
812
+ if kwargs.get("async_req"):
813
+ return self.deploy_file_with_http_info(
814
+ definitions_file, **kwargs
815
+ ) # noqa: E501
816
+ else:
817
+ (data) = self.deploy_file_with_http_info(
818
+ definitions_file, **kwargs
819
+ ) # noqa: E501
820
+ return data
821
+
822
+ def deploy_file_with_http_info(self, definitions_file, **kwargs): # noqa: E501
823
+ """Deploy definitions file # noqa: E501
824
+
825
+ Deploy the provided definition file (JSON, XML or zip) to Control-M # noqa: E501
826
+ This method makes a synchronous HTTP request by default. To make an
827
+ asynchronous HTTP request, please pass async_req=True
828
+ >>> thread = api.deploy_file_with_http_info(definitions_file, async_req=True)
829
+ >>> result = thread.get()
830
+
831
+ :param async_req bool
832
+ :param file definitions_file: A file that contains definitions to be deployed to the server. Can be either a JSON definition file, an XML definition file, or a zip file that contains multiple JSON or XML definition files. (required)
833
+ :param file deploy_descriptor_file: Deploy Descriptor JSON file.
834
+ :param file additional_configuration: additionalConfiguration to enable skip testing for local connection profile
835
+ :return: list[DeploymentFileResults]
836
+ If the method is called asynchronously,
837
+ returns the request thread.
838
+ """
839
+
840
+ all_params = [
841
+ "definitions_file",
842
+ "deploy_descriptor_file",
843
+ "additional_configuration",
844
+ ] # noqa: E501
845
+ all_params.append("async_req")
846
+ all_params.append("_return_http_data_only")
847
+ all_params.append("_preload_content")
848
+ all_params.append("_request_timeout")
849
+
850
+ params = locals()
851
+ for key, val in six.iteritems(params["kwargs"]):
852
+ if key not in all_params:
853
+ raise TypeError(
854
+ "Got an unexpected keyword argument '%s'"
855
+ " to method deploy_file" % key
856
+ )
857
+ params[key] = val
858
+ del params["kwargs"]
859
+ # verify the required parameter 'definitions_file' is set
860
+ if self.api_client.client_side_validation and (
861
+ "definitions_file" not in params or params["definitions_file"] is None
862
+ ): # noqa: E501
863
+ raise ValueError(
864
+ "Missing the required parameter `definitions_file` when calling `deploy_file`"
865
+ ) # noqa: E501
866
+
867
+ collection_formats = {}
868
+
869
+ path_params = {}
870
+
871
+ query_params = []
872
+
873
+ header_params = {}
874
+
875
+ form_params = []
876
+ local_var_files = {}
877
+ if "definitions_file" in params:
878
+ local_var_files["definitionsFile"] = params[
879
+ "definitions_file"
880
+ ] # noqa: E501
881
+ if "deploy_descriptor_file" in params:
882
+ local_var_files["deployDescriptorFile"] = params[
883
+ "deploy_descriptor_file"
884
+ ] # noqa: E501
885
+ if "additional_configuration" in params:
886
+ local_var_files["additionalConfiguration"] = params[
887
+ "additional_configuration"
888
+ ] # noqa: E501
889
+
890
+ body_params = None
891
+ # HTTP header `Accept`
892
+ header_params["Accept"] = self.api_client.select_header_accept(
893
+ ["application/json"]
894
+ ) # noqa: E501
895
+
896
+ # HTTP header `Content-Type`
897
+ header_params[
898
+ "Content-Type"
899
+ ] = self.api_client.select_header_content_type( # noqa: E501
900
+ ["multipart/form-data"]
901
+ ) # noqa: E501
902
+
903
+ # Authentication setting
904
+ auth_settings = ["Bearer"] # noqa: E501
905
+
906
+ return self.api_client.call_api(
907
+ "/deploy",
908
+ "POST",
909
+ path_params,
910
+ query_params,
911
+ header_params,
912
+ body=body_params,
913
+ post_params=form_params,
914
+ files=local_var_files,
915
+ response_type="list[DeploymentFileResults]", # noqa: E501
916
+ auth_settings=auth_settings,
917
+ async_req=params.get("async_req"),
918
+ _return_http_data_only=params.get("_return_http_data_only"),
919
+ _preload_content=params.get("_preload_content", True),
920
+ _request_timeout=params.get("_request_timeout"),
921
+ collection_formats=collection_formats,
922
+ )
923
+
924
+ def deploy_jobtype_file(self, definitions_file, **kwargs): # noqa: E501
925
+ """Deploy jobtype # noqa: E501
926
+
927
+ Deploy the provided jobtype to AI server, EM server, and Agent. # noqa: E501
928
+ This method makes a synchronous HTTP request by default. To make an
929
+ asynchronous HTTP request, please pass async_req=True
930
+ >>> thread = api.deploy_jobtype_file(definitions_file, async_req=True)
931
+ >>> result = thread.get()
932
+
933
+ :param async_req bool
934
+ :param file definitions_file: A .ctmai file that contains definitions of jobtype to be deployed to the server. (required)
935
+ :param file payload_file: A JSON file that contains specifications of an agent.
936
+ :param str agent:
937
+ :param str server:
938
+ :return: DeployJobtypeResponse
939
+ If the method is called asynchronously,
940
+ returns the request thread.
941
+ """
942
+ kwargs["_return_http_data_only"] = True
943
+ if kwargs.get("async_req"):
944
+ return self.deploy_jobtype_file_with_http_info(
945
+ definitions_file, **kwargs
946
+ ) # noqa: E501
947
+ else:
948
+ (data) = self.deploy_jobtype_file_with_http_info(
949
+ definitions_file, **kwargs
950
+ ) # noqa: E501
951
+ return data
952
+
953
+ def deploy_jobtype_file_with_http_info(
954
+ self, definitions_file, **kwargs
955
+ ): # noqa: E501
956
+ """Deploy jobtype # noqa: E501
957
+
958
+ Deploy the provided jobtype to AI server, EM server, and Agent. # noqa: E501
959
+ This method makes a synchronous HTTP request by default. To make an
960
+ asynchronous HTTP request, please pass async_req=True
961
+ >>> thread = api.deploy_jobtype_file_with_http_info(definitions_file, async_req=True)
962
+ >>> result = thread.get()
963
+
964
+ :param async_req bool
965
+ :param file definitions_file: A .ctmai file that contains definitions of jobtype to be deployed to the server. (required)
966
+ :param file payload_file: A JSON file that contains specifications of an agent.
967
+ :param str agent:
968
+ :param str server:
969
+ :return: DeployJobtypeResponse
970
+ If the method is called asynchronously,
971
+ returns the request thread.
972
+ """
973
+
974
+ all_params = [
975
+ "definitions_file",
976
+ "payload_file",
977
+ "agent",
978
+ "server",
979
+ ] # noqa: E501
980
+ all_params.append("async_req")
981
+ all_params.append("_return_http_data_only")
982
+ all_params.append("_preload_content")
983
+ all_params.append("_request_timeout")
984
+
985
+ params = locals()
986
+ for key, val in six.iteritems(params["kwargs"]):
987
+ if key not in all_params:
988
+ raise TypeError(
989
+ "Got an unexpected keyword argument '%s'"
990
+ " to method deploy_jobtype_file" % key
991
+ )
992
+ params[key] = val
993
+ del params["kwargs"]
994
+ # verify the required parameter 'definitions_file' is set
995
+ if self.api_client.client_side_validation and (
996
+ "definitions_file" not in params or params["definitions_file"] is None
997
+ ): # noqa: E501
998
+ raise ValueError(
999
+ "Missing the required parameter `definitions_file` when calling `deploy_jobtype_file`"
1000
+ ) # noqa: E501
1001
+
1002
+ collection_formats = {}
1003
+
1004
+ path_params = {}
1005
+
1006
+ query_params = []
1007
+ if "agent" in params:
1008
+ query_params.append(("agent", params["agent"])) # noqa: E501
1009
+ if "server" in params:
1010
+ query_params.append(("server", params["server"])) # noqa: E501
1011
+
1012
+ header_params = {}
1013
+
1014
+ form_params = []
1015
+ local_var_files = {}
1016
+ if "definitions_file" in params:
1017
+ local_var_files["definitionsFile"] = params[
1018
+ "definitions_file"
1019
+ ] # noqa: E501
1020
+ if "payload_file" in params:
1021
+ local_var_files["payloadFile"] = params["payload_file"] # noqa: E501
1022
+
1023
+ body_params = None
1024
+ # HTTP header `Accept`
1025
+ header_params["Accept"] = self.api_client.select_header_accept(
1026
+ ["application/json"]
1027
+ ) # noqa: E501
1028
+
1029
+ # HTTP header `Content-Type`
1030
+ header_params[
1031
+ "Content-Type"
1032
+ ] = self.api_client.select_header_content_type( # noqa: E501
1033
+ ["multipart/form-data"]
1034
+ ) # noqa: E501
1035
+
1036
+ # Authentication setting
1037
+ auth_settings = ["Bearer"] # noqa: E501
1038
+
1039
+ return self.api_client.call_api(
1040
+ "/deploy/jobtype",
1041
+ "POST",
1042
+ path_params,
1043
+ query_params,
1044
+ header_params,
1045
+ body=body_params,
1046
+ post_params=form_params,
1047
+ files=local_var_files,
1048
+ response_type="DeployJobtypeResponse", # noqa: E501
1049
+ auth_settings=auth_settings,
1050
+ async_req=params.get("async_req"),
1051
+ _return_http_data_only=params.get("_return_http_data_only"),
1052
+ _preload_content=params.get("_preload_content", True),
1053
+ _request_timeout=params.get("_request_timeout"),
1054
+ collection_formats=collection_formats,
1055
+ )
1056
+
1057
+ def get_connection_profiles_deployment_status(
1058
+ self, type, name, **kwargs
1059
+ ): # noqa: E501
1060
+ """Get deployed connection profiles deployment status # noqa: E501
1061
+
1062
+ Get currently deployed connection profiles deployment status according to the search query as JSON. # noqa: E501
1063
+ This method makes a synchronous HTTP request by default. To make an
1064
+ asynchronous HTTP request, please pass async_req=True
1065
+ >>> thread = api.get_connection_profiles_deployment_status(type, name, async_req=True)
1066
+ >>> result = thread.get()
1067
+
1068
+ :param async_req bool
1069
+ :param str type: The type of connection profile such as Database, FileTransfer, Hadoop, Informatica, SAP. (required)
1070
+ :param str name: Name of the Connection Profile (required)
1071
+ :return: ConnectionProfilesDeploymentStatusResult
1072
+ If the method is called asynchronously,
1073
+ returns the request thread.
1074
+ """
1075
+ kwargs["_return_http_data_only"] = True
1076
+ if kwargs.get("async_req"):
1077
+ return self.get_connection_profiles_deployment_status_with_http_info(
1078
+ type, name, **kwargs
1079
+ ) # noqa: E501
1080
+ else:
1081
+ (data) = self.get_connection_profiles_deployment_status_with_http_info(
1082
+ type, name, **kwargs
1083
+ ) # noqa: E501
1084
+ return data
1085
+
1086
+ def get_connection_profiles_deployment_status_with_http_info(
1087
+ self, type, name, **kwargs
1088
+ ): # noqa: E501
1089
+ """Get deployed connection profiles deployment status # noqa: E501
1090
+
1091
+ Get currently deployed connection profiles deployment status according to the search query as JSON. # noqa: E501
1092
+ This method makes a synchronous HTTP request by default. To make an
1093
+ asynchronous HTTP request, please pass async_req=True
1094
+ >>> thread = api.get_connection_profiles_deployment_status_with_http_info(type, name, async_req=True)
1095
+ >>> result = thread.get()
1096
+
1097
+ :param async_req bool
1098
+ :param str type: The type of connection profile such as Database, FileTransfer, Hadoop, Informatica, SAP. (required)
1099
+ :param str name: Name of the Connection Profile (required)
1100
+ :return: ConnectionProfilesDeploymentStatusResult
1101
+ If the method is called asynchronously,
1102
+ returns the request thread.
1103
+ """
1104
+
1105
+ all_params = ["type", "name"] # noqa: E501
1106
+ all_params.append("async_req")
1107
+ all_params.append("_return_http_data_only")
1108
+ all_params.append("_preload_content")
1109
+ all_params.append("_request_timeout")
1110
+
1111
+ params = locals()
1112
+ for key, val in six.iteritems(params["kwargs"]):
1113
+ if key not in all_params:
1114
+ raise TypeError(
1115
+ "Got an unexpected keyword argument '%s'"
1116
+ " to method get_connection_profiles_deployment_status" % key
1117
+ )
1118
+ params[key] = val
1119
+ del params["kwargs"]
1120
+ # verify the required parameter 'type' is set
1121
+ if self.api_client.client_side_validation and (
1122
+ "type" not in params or params["type"] is None
1123
+ ): # noqa: E501
1124
+ raise ValueError(
1125
+ "Missing the required parameter `type` when calling `get_connection_profiles_deployment_status`"
1126
+ ) # noqa: E501
1127
+ # verify the required parameter 'name' is set
1128
+ if self.api_client.client_side_validation and (
1129
+ "name" not in params or params["name"] is None
1130
+ ): # noqa: E501
1131
+ raise ValueError(
1132
+ "Missing the required parameter `name` when calling `get_connection_profiles_deployment_status`"
1133
+ ) # noqa: E501
1134
+
1135
+ collection_formats = {}
1136
+
1137
+ path_params = {}
1138
+ if "type" in params:
1139
+ path_params["type"] = params["type"] # noqa: E501
1140
+ if "name" in params:
1141
+ path_params["name"] = params["name"] # noqa: E501
1142
+
1143
+ query_params = []
1144
+
1145
+ header_params = {}
1146
+
1147
+ form_params = []
1148
+ local_var_files = {}
1149
+
1150
+ body_params = None
1151
+ # HTTP header `Accept`
1152
+ header_params["Accept"] = self.api_client.select_header_accept(
1153
+ ["application/json"]
1154
+ ) # noqa: E501
1155
+
1156
+ # Authentication setting
1157
+ auth_settings = ["Bearer"] # noqa: E501
1158
+
1159
+ return self.api_client.call_api(
1160
+ "/deploy/connectionprofile/centralized/deploymentstatus/{type}/{name}",
1161
+ "GET",
1162
+ path_params,
1163
+ query_params,
1164
+ header_params,
1165
+ body=body_params,
1166
+ post_params=form_params,
1167
+ files=local_var_files,
1168
+ response_type="ConnectionProfilesDeploymentStatusResult", # noqa: E501
1169
+ auth_settings=auth_settings,
1170
+ async_req=params.get("async_req"),
1171
+ _return_http_data_only=params.get("_return_http_data_only"),
1172
+ _preload_content=params.get("_preload_content", True),
1173
+ _request_timeout=params.get("_request_timeout"),
1174
+ collection_formats=collection_formats,
1175
+ )
1176
+
1177
+ def get_deployed_ai_jobtypes(self, **kwargs): # noqa: E501
1178
+ """Get Application Integrator job types # noqa: E501
1179
+
1180
+ Get deployed Application Integrator job types that match the requested search criteria. # noqa: E501
1181
+ This method makes a synchronous HTTP request by default. To make an
1182
+ asynchronous HTTP request, please pass async_req=True
1183
+ >>> thread = api.get_deployed_ai_jobtypes(async_req=True)
1184
+ >>> result = thread.get()
1185
+
1186
+ :param async_req bool
1187
+ :param str job_type_name: Job type display name ( or partial name ) for query. It accepts * as wildcard.
1188
+ :param str job_type_id: Job type id ( or partial name ) for query. It accepts * as wildcard.
1189
+ :return: AiJobtypeList
1190
+ If the method is called asynchronously,
1191
+ returns the request thread.
1192
+ """
1193
+ kwargs["_return_http_data_only"] = True
1194
+ if kwargs.get("async_req"):
1195
+ return self.get_deployed_ai_jobtypes_with_http_info(**kwargs) # noqa: E501
1196
+ else:
1197
+ (data) = self.get_deployed_ai_jobtypes_with_http_info(
1198
+ **kwargs
1199
+ ) # noqa: E501
1200
+ return data
1201
+
1202
+ def get_deployed_ai_jobtypes_with_http_info(self, **kwargs): # noqa: E501
1203
+ """Get Application Integrator job types # noqa: E501
1204
+
1205
+ Get deployed Application Integrator job types that match the requested search criteria. # noqa: E501
1206
+ This method makes a synchronous HTTP request by default. To make an
1207
+ asynchronous HTTP request, please pass async_req=True
1208
+ >>> thread = api.get_deployed_ai_jobtypes_with_http_info(async_req=True)
1209
+ >>> result = thread.get()
1210
+
1211
+ :param async_req bool
1212
+ :param str job_type_name: Job type display name ( or partial name ) for query. It accepts * as wildcard.
1213
+ :param str job_type_id: Job type id ( or partial name ) for query. It accepts * as wildcard.
1214
+ :return: AiJobtypeList
1215
+ If the method is called asynchronously,
1216
+ returns the request thread.
1217
+ """
1218
+
1219
+ all_params = ["job_type_name", "job_type_id"] # noqa: E501
1220
+ all_params.append("async_req")
1221
+ all_params.append("_return_http_data_only")
1222
+ all_params.append("_preload_content")
1223
+ all_params.append("_request_timeout")
1224
+
1225
+ params = locals()
1226
+ for key, val in six.iteritems(params["kwargs"]):
1227
+ if key not in all_params:
1228
+ raise TypeError(
1229
+ "Got an unexpected keyword argument '%s'"
1230
+ " to method get_deployed_ai_jobtypes" % key
1231
+ )
1232
+ params[key] = val
1233
+ del params["kwargs"]
1234
+
1235
+ collection_formats = {}
1236
+
1237
+ path_params = {}
1238
+
1239
+ query_params = []
1240
+ if "job_type_name" in params:
1241
+ query_params.append(("jobTypeName", params["job_type_name"])) # noqa: E501
1242
+ if "job_type_id" in params:
1243
+ query_params.append(("jobTypeId", params["job_type_id"])) # noqa: E501
1244
+
1245
+ header_params = {}
1246
+
1247
+ form_params = []
1248
+ local_var_files = {}
1249
+
1250
+ body_params = None
1251
+ # HTTP header `Accept`
1252
+ header_params["Accept"] = self.api_client.select_header_accept(
1253
+ ["application/json"]
1254
+ ) # noqa: E501
1255
+
1256
+ # Authentication setting
1257
+ auth_settings = ["Bearer"] # noqa: E501
1258
+
1259
+ return self.api_client.call_api(
1260
+ "/deploy/ai/jobtypes",
1261
+ "GET",
1262
+ path_params,
1263
+ query_params,
1264
+ header_params,
1265
+ body=body_params,
1266
+ post_params=form_params,
1267
+ files=local_var_files,
1268
+ response_type="AiJobtypeList", # noqa: E501
1269
+ auth_settings=auth_settings,
1270
+ async_req=params.get("async_req"),
1271
+ _return_http_data_only=params.get("_return_http_data_only"),
1272
+ _preload_content=params.get("_preload_content", True),
1273
+ _request_timeout=params.get("_request_timeout"),
1274
+ collection_formats=collection_formats,
1275
+ )
1276
+
1277
+ def get_deployed_calendars(self, **kwargs): # noqa: E501
1278
+ """Get deployed calendars that match the search criteria. # noqa: E501
1279
+
1280
+ Get definition of calendars as json code that match the requested search criteria. # noqa: E501
1281
+ This method makes a synchronous HTTP request by default. To make an
1282
+ asynchronous HTTP request, please pass async_req=True
1283
+ >>> thread = api.get_deployed_calendars(async_req=True)
1284
+ >>> result = thread.get()
1285
+
1286
+ :param async_req bool
1287
+ :param str name:
1288
+ :param str server:
1289
+ :param str type: Calendar type.
1290
+ :param str alias: Calendar alias name for z/OS servers.
1291
+ :return: str
1292
+ If the method is called asynchronously,
1293
+ returns the request thread.
1294
+ """
1295
+ kwargs["_return_http_data_only"] = True
1296
+ if kwargs.get("async_req"):
1297
+ return self.get_deployed_calendars_with_http_info(**kwargs) # noqa: E501
1298
+ else:
1299
+ (data) = self.get_deployed_calendars_with_http_info(**kwargs) # noqa: E501
1300
+ return data
1301
+
1302
+ def get_deployed_calendars_with_http_info(self, **kwargs): # noqa: E501
1303
+ """Get deployed calendars that match the search criteria. # noqa: E501
1304
+
1305
+ Get definition of calendars as json code that match the requested search criteria. # noqa: E501
1306
+ This method makes a synchronous HTTP request by default. To make an
1307
+ asynchronous HTTP request, please pass async_req=True
1308
+ >>> thread = api.get_deployed_calendars_with_http_info(async_req=True)
1309
+ >>> result = thread.get()
1310
+
1311
+ :param async_req bool
1312
+ :param str name:
1313
+ :param str server:
1314
+ :param str type: Calendar type.
1315
+ :param str alias: Calendar alias name for z/OS servers.
1316
+ :return: str
1317
+ If the method is called asynchronously,
1318
+ returns the request thread.
1319
+ """
1320
+
1321
+ all_params = ["name", "server", "type", "alias"] # noqa: E501
1322
+ all_params.append("async_req")
1323
+ all_params.append("_return_http_data_only")
1324
+ all_params.append("_preload_content")
1325
+ all_params.append("_request_timeout")
1326
+
1327
+ params = locals()
1328
+ for key, val in six.iteritems(params["kwargs"]):
1329
+ if key not in all_params:
1330
+ raise TypeError(
1331
+ "Got an unexpected keyword argument '%s'"
1332
+ " to method get_deployed_calendars" % key
1333
+ )
1334
+ params[key] = val
1335
+ del params["kwargs"]
1336
+
1337
+ collection_formats = {}
1338
+
1339
+ path_params = {}
1340
+
1341
+ query_params = []
1342
+ if "name" in params:
1343
+ query_params.append(("name", params["name"])) # noqa: E501
1344
+ if "server" in params:
1345
+ query_params.append(("server", params["server"])) # noqa: E501
1346
+ if "type" in params:
1347
+ query_params.append(("type", params["type"])) # noqa: E501
1348
+ if "alias" in params:
1349
+ query_params.append(("alias", params["alias"])) # noqa: E501
1350
+
1351
+ header_params = {}
1352
+
1353
+ form_params = []
1354
+ local_var_files = {}
1355
+
1356
+ body_params = None
1357
+ # HTTP header `Accept`
1358
+ header_params["Accept"] = self.api_client.select_header_accept(
1359
+ ["application/json"]
1360
+ ) # noqa: E501
1361
+
1362
+ # Authentication setting
1363
+ auth_settings = ["Bearer"] # noqa: E501
1364
+
1365
+ return self.api_client.call_api(
1366
+ "/deploy/calendars",
1367
+ "GET",
1368
+ path_params,
1369
+ query_params,
1370
+ header_params,
1371
+ body=body_params,
1372
+ post_params=form_params,
1373
+ files=local_var_files,
1374
+ response_type="str", # noqa: E501
1375
+ auth_settings=auth_settings,
1376
+ async_req=params.get("async_req"),
1377
+ _return_http_data_only=params.get("_return_http_data_only"),
1378
+ _preload_content=params.get("_preload_content", True),
1379
+ _request_timeout=params.get("_request_timeout"),
1380
+ collection_formats=collection_formats,
1381
+ )
1382
+
1383
+ def get_deployed_connection_profiles(self, agent, type, **kwargs): # noqa: E501
1384
+ """Get local deployed connection profiles # noqa: E501
1385
+
1386
+ Get currently local deployed connection profiles according to the search query as JSON. # noqa: E501
1387
+ This method makes a synchronous HTTP request by default. To make an
1388
+ asynchronous HTTP request, please pass async_req=True
1389
+ >>> thread = api.get_deployed_connection_profiles(agent, type, async_req=True)
1390
+ >>> result = thread.get()
1391
+
1392
+ :param async_req bool
1393
+ :param str agent: The name of the agent the connection profile is deployed on (required)
1394
+ :param str type: The type of connection profile such as Database, FileTransfer, Hadoop, Informatica, SAP. (required)
1395
+ :param str ctm: The name of the Control-M in which the connection profile is deployed on
1396
+ :param str server: The name of the Control-M in which the connection profile is deployed on
1397
+ :return: str
1398
+ If the method is called asynchronously,
1399
+ returns the request thread.
1400
+ """
1401
+ kwargs["_return_http_data_only"] = True
1402
+ if kwargs.get("async_req"):
1403
+ return self.get_deployed_connection_profiles_with_http_info(
1404
+ agent, type, **kwargs
1405
+ ) # noqa: E501
1406
+ else:
1407
+ (data) = self.get_deployed_connection_profiles_with_http_info(
1408
+ agent, type, **kwargs
1409
+ ) # noqa: E501
1410
+ return data
1411
+
1412
+ def get_deployed_connection_profiles_with_http_info(
1413
+ self, agent, type, **kwargs
1414
+ ): # noqa: E501
1415
+ """Get local deployed connection profiles # noqa: E501
1416
+
1417
+ Get currently local deployed connection profiles according to the search query as JSON. # noqa: E501
1418
+ This method makes a synchronous HTTP request by default. To make an
1419
+ asynchronous HTTP request, please pass async_req=True
1420
+ >>> thread = api.get_deployed_connection_profiles_with_http_info(agent, type, async_req=True)
1421
+ >>> result = thread.get()
1422
+
1423
+ :param async_req bool
1424
+ :param str agent: The name of the agent the connection profile is deployed on (required)
1425
+ :param str type: The type of connection profile such as Database, FileTransfer, Hadoop, Informatica, SAP. (required)
1426
+ :param str ctm: The name of the Control-M in which the connection profile is deployed on
1427
+ :param str server: The name of the Control-M in which the connection profile is deployed on
1428
+ :return: str
1429
+ If the method is called asynchronously,
1430
+ returns the request thread.
1431
+ """
1432
+
1433
+ all_params = ["agent", "type", "ctm", "server"] # noqa: E501
1434
+ all_params.append("async_req")
1435
+ all_params.append("_return_http_data_only")
1436
+ all_params.append("_preload_content")
1437
+ all_params.append("_request_timeout")
1438
+
1439
+ params = locals()
1440
+ for key, val in six.iteritems(params["kwargs"]):
1441
+ if key not in all_params:
1442
+ raise TypeError(
1443
+ "Got an unexpected keyword argument '%s'"
1444
+ " to method get_deployed_connection_profiles" % key
1445
+ )
1446
+ params[key] = val
1447
+ del params["kwargs"]
1448
+ # verify the required parameter 'agent' is set
1449
+ if self.api_client.client_side_validation and (
1450
+ "agent" not in params or params["agent"] is None
1451
+ ): # noqa: E501
1452
+ raise ValueError(
1453
+ "Missing the required parameter `agent` when calling `get_deployed_connection_profiles`"
1454
+ ) # noqa: E501
1455
+ # verify the required parameter 'type' is set
1456
+ if self.api_client.client_side_validation and (
1457
+ "type" not in params or params["type"] is None
1458
+ ): # noqa: E501
1459
+ raise ValueError(
1460
+ "Missing the required parameter `type` when calling `get_deployed_connection_profiles`"
1461
+ ) # noqa: E501
1462
+
1463
+ collection_formats = {}
1464
+
1465
+ path_params = {}
1466
+
1467
+ query_params = []
1468
+ if "ctm" in params:
1469
+ query_params.append(("ctm", params["ctm"])) # noqa: E501
1470
+ if "server" in params:
1471
+ query_params.append(("server", params["server"])) # noqa: E501
1472
+ if "agent" in params:
1473
+ query_params.append(("agent", params["agent"])) # noqa: E501
1474
+ if "type" in params:
1475
+ query_params.append(("type", params["type"])) # noqa: E501
1476
+
1477
+ header_params = {}
1478
+
1479
+ form_params = []
1480
+ local_var_files = {}
1481
+
1482
+ body_params = None
1483
+ # HTTP header `Accept`
1484
+ header_params["Accept"] = self.api_client.select_header_accept(
1485
+ ["application/json"]
1486
+ ) # noqa: E501
1487
+
1488
+ # Authentication setting
1489
+ auth_settings = ["Bearer"] # noqa: E501
1490
+
1491
+ return self.api_client.call_api(
1492
+ "/deploy/connectionprofiles",
1493
+ "GET",
1494
+ path_params,
1495
+ query_params,
1496
+ header_params,
1497
+ body=body_params,
1498
+ post_params=form_params,
1499
+ files=local_var_files,
1500
+ response_type="str", # noqa: E501
1501
+ auth_settings=auth_settings,
1502
+ async_req=params.get("async_req"),
1503
+ _return_http_data_only=params.get("_return_http_data_only"),
1504
+ _preload_content=params.get("_preload_content", True),
1505
+ _request_timeout=params.get("_request_timeout"),
1506
+ collection_formats=collection_formats,
1507
+ )
1508
+
1509
+ def get_deployed_connection_profiles_status(self, **kwargs): # noqa: E501
1510
+ """Get deployed connection profiles status # noqa: E501
1511
+
1512
+ Get currently deployed connection profiles status according to the search query as JSON. # noqa: E501
1513
+ This method makes a synchronous HTTP request by default. To make an
1514
+ asynchronous HTTP request, please pass async_req=True
1515
+ >>> thread = api.get_deployed_connection_profiles_status(async_req=True)
1516
+ >>> result = thread.get()
1517
+
1518
+ :param async_req bool
1519
+ :param int limit: number to limit the returned connection profiles. If missed - get all
1520
+ :param str name: conn profile name (support *, ?, and comma, default is * for all).
1521
+ :param str type: conn profile type (default is * for accounts from all CMs).
1522
+ :return: ConnectionProfilesStatusResult
1523
+ If the method is called asynchronously,
1524
+ returns the request thread.
1525
+ """
1526
+ kwargs["_return_http_data_only"] = True
1527
+ if kwargs.get("async_req"):
1528
+ return self.get_deployed_connection_profiles_status_with_http_info(
1529
+ **kwargs
1530
+ ) # noqa: E501
1531
+ else:
1532
+ (data) = self.get_deployed_connection_profiles_status_with_http_info(
1533
+ **kwargs
1534
+ ) # noqa: E501
1535
+ return data
1536
+
1537
+ def get_deployed_connection_profiles_status_with_http_info(
1538
+ self, **kwargs
1539
+ ): # noqa: E501
1540
+ """Get deployed connection profiles status # noqa: E501
1541
+
1542
+ Get currently deployed connection profiles status according to the search query as JSON. # noqa: E501
1543
+ This method makes a synchronous HTTP request by default. To make an
1544
+ asynchronous HTTP request, please pass async_req=True
1545
+ >>> thread = api.get_deployed_connection_profiles_status_with_http_info(async_req=True)
1546
+ >>> result = thread.get()
1547
+
1548
+ :param async_req bool
1549
+ :param int limit: number to limit the returned connection profiles. If missed - get all
1550
+ :param str name: conn profile name (support *, ?, and comma, default is * for all).
1551
+ :param str type: conn profile type (default is * for accounts from all CMs).
1552
+ :return: ConnectionProfilesStatusResult
1553
+ If the method is called asynchronously,
1554
+ returns the request thread.
1555
+ """
1556
+
1557
+ all_params = ["limit", "name", "type"] # noqa: E501
1558
+ all_params.append("async_req")
1559
+ all_params.append("_return_http_data_only")
1560
+ all_params.append("_preload_content")
1561
+ all_params.append("_request_timeout")
1562
+
1563
+ params = locals()
1564
+ for key, val in six.iteritems(params["kwargs"]):
1565
+ if key not in all_params:
1566
+ raise TypeError(
1567
+ "Got an unexpected keyword argument '%s'"
1568
+ " to method get_deployed_connection_profiles_status" % key
1569
+ )
1570
+ params[key] = val
1571
+ del params["kwargs"]
1572
+
1573
+ collection_formats = {}
1574
+
1575
+ path_params = {}
1576
+
1577
+ query_params = []
1578
+ if "limit" in params:
1579
+ query_params.append(("limit", params["limit"])) # noqa: E501
1580
+ if "name" in params:
1581
+ query_params.append(("name", params["name"])) # noqa: E501
1582
+ if "type" in params:
1583
+ query_params.append(("type", params["type"])) # noqa: E501
1584
+
1585
+ header_params = {}
1586
+
1587
+ form_params = []
1588
+ local_var_files = {}
1589
+
1590
+ body_params = None
1591
+ # HTTP header `Accept`
1592
+ header_params["Accept"] = self.api_client.select_header_accept(
1593
+ ["application/json"]
1594
+ ) # noqa: E501
1595
+
1596
+ # Authentication setting
1597
+ auth_settings = ["Bearer"] # noqa: E501
1598
+
1599
+ return self.api_client.call_api(
1600
+ "/deploy/connectionprofiles/centralized/status",
1601
+ "GET",
1602
+ path_params,
1603
+ query_params,
1604
+ header_params,
1605
+ body=body_params,
1606
+ post_params=form_params,
1607
+ files=local_var_files,
1608
+ response_type="ConnectionProfilesStatusResult", # noqa: E501
1609
+ auth_settings=auth_settings,
1610
+ async_req=params.get("async_req"),
1611
+ _return_http_data_only=params.get("_return_http_data_only"),
1612
+ _preload_content=params.get("_preload_content", True),
1613
+ _request_timeout=params.get("_request_timeout"),
1614
+ collection_formats=collection_formats,
1615
+ )
1616
+
1617
+ def get_deployed_folders_new(self, **kwargs): # noqa: E501
1618
+ """Get deployed jobs that match the search criteria. # noqa: E501
1619
+
1620
+ Get definition of jobs and folders (in the desired format - JSON or XML) that match the requested search criteria. # noqa: E501
1621
+ This method makes a synchronous HTTP request by default. To make an
1622
+ asynchronous HTTP request, please pass async_req=True
1623
+ >>> thread = api.get_deployed_folders_new(async_req=True)
1624
+ >>> result = thread.get()
1625
+
1626
+ :param async_req bool
1627
+ :param str format: Output format (json or xml)
1628
+ :param str folder:
1629
+ :param str ctm:
1630
+ :param str server:
1631
+ :return: str
1632
+ If the method is called asynchronously,
1633
+ returns the request thread.
1634
+ """
1635
+ kwargs["_return_http_data_only"] = True
1636
+ if kwargs.get("async_req"):
1637
+ return self.get_deployed_folders_new_with_http_info(**kwargs) # noqa: E501
1638
+ else:
1639
+ (data) = self.get_deployed_folders_new_with_http_info(
1640
+ **kwargs
1641
+ ) # noqa: E501
1642
+ return data
1643
+
1644
+ def get_deployed_folders_new_with_http_info(self, **kwargs): # noqa: E501
1645
+ """Get deployed jobs that match the search criteria. # noqa: E501
1646
+
1647
+ Get definition of jobs and folders (in the desired format - JSON or XML) that match the requested search criteria. # noqa: E501
1648
+ This method makes a synchronous HTTP request by default. To make an
1649
+ asynchronous HTTP request, please pass async_req=True
1650
+ >>> thread = api.get_deployed_folders_new_with_http_info(async_req=True)
1651
+ >>> result = thread.get()
1652
+
1653
+ :param async_req bool
1654
+ :param str format: Output format (json or xml)
1655
+ :param str folder:
1656
+ :param str ctm:
1657
+ :param str server:
1658
+ :return: str
1659
+ If the method is called asynchronously,
1660
+ returns the request thread.
1661
+ """
1662
+
1663
+ all_params = ["format", "folder", "ctm", "server"] # noqa: E501
1664
+ all_params.append("async_req")
1665
+ all_params.append("_return_http_data_only")
1666
+ all_params.append("_preload_content")
1667
+ all_params.append("_request_timeout")
1668
+
1669
+ params = locals()
1670
+ for key, val in six.iteritems(params["kwargs"]):
1671
+ if key not in all_params:
1672
+ raise TypeError(
1673
+ "Got an unexpected keyword argument '%s'"
1674
+ " to method get_deployed_folders_new" % key
1675
+ )
1676
+ params[key] = val
1677
+ del params["kwargs"]
1678
+
1679
+ collection_formats = {}
1680
+
1681
+ path_params = {}
1682
+
1683
+ query_params = []
1684
+ if "format" in params:
1685
+ query_params.append(("format", params["format"])) # noqa: E501
1686
+ if "folder" in params:
1687
+ query_params.append(("folder", params["folder"])) # noqa: E501
1688
+ if "ctm" in params:
1689
+ query_params.append(("ctm", params["ctm"])) # noqa: E501
1690
+ if "server" in params:
1691
+ query_params.append(("server", params["server"])) # noqa: E501
1692
+
1693
+ header_params = {}
1694
+
1695
+ form_params = []
1696
+ local_var_files = {}
1697
+
1698
+ body_params = None
1699
+ # HTTP header `Accept`
1700
+ header_params["Accept"] = self.api_client.select_header_accept(
1701
+ ["application/json"]
1702
+ ) # noqa: E501
1703
+
1704
+ # Authentication setting
1705
+ auth_settings = ["Bearer"] # noqa: E501
1706
+
1707
+ return self.api_client.call_api(
1708
+ "/deploy/jobs",
1709
+ "GET",
1710
+ path_params,
1711
+ query_params,
1712
+ header_params,
1713
+ body=body_params,
1714
+ post_params=form_params,
1715
+ files=local_var_files,
1716
+ response_type="str", # noqa: E501
1717
+ auth_settings=auth_settings,
1718
+ async_req=params.get("async_req"),
1719
+ _return_http_data_only=params.get("_return_http_data_only"),
1720
+ _preload_content=params.get("_preload_content", True),
1721
+ _request_timeout=params.get("_request_timeout"),
1722
+ collection_formats=collection_formats,
1723
+ )
1724
+
1725
+ def get_local_connection_profiles(self, agent, type, **kwargs): # noqa: E501
1726
+ """Get local deployed connection profiles # noqa: E501
1727
+
1728
+ Get currently local deployed connection profiles according to the search query as JSON. # noqa: E501
1729
+ This method makes a synchronous HTTP request by default. To make an
1730
+ asynchronous HTTP request, please pass async_req=True
1731
+ >>> thread = api.get_local_connection_profiles(agent, type, async_req=True)
1732
+ >>> result = thread.get()
1733
+
1734
+ :param async_req bool
1735
+ :param str agent: The name of the agent the connection profile is deployed on (required)
1736
+ :param str type: The type of connection profile such as Database, FileTransfer, Hadoop, Informatica, SAP. (required)
1737
+ :param str ctm: The name of the Control-M in which the connection profile is deployed on
1738
+ :param str server: The name of the Control-M in which the connection profile is deployed on
1739
+ :return: str
1740
+ If the method is called asynchronously,
1741
+ returns the request thread.
1742
+ """
1743
+ kwargs["_return_http_data_only"] = True
1744
+ if kwargs.get("async_req"):
1745
+ return self.get_local_connection_profiles_with_http_info(
1746
+ agent, type, **kwargs
1747
+ ) # noqa: E501
1748
+ else:
1749
+ (data) = self.get_local_connection_profiles_with_http_info(
1750
+ agent, type, **kwargs
1751
+ ) # noqa: E501
1752
+ return data
1753
+
1754
+ def get_local_connection_profiles_with_http_info(
1755
+ self, agent, type, **kwargs
1756
+ ): # noqa: E501
1757
+ """Get local deployed connection profiles # noqa: E501
1758
+
1759
+ Get currently local deployed connection profiles according to the search query as JSON. # noqa: E501
1760
+ This method makes a synchronous HTTP request by default. To make an
1761
+ asynchronous HTTP request, please pass async_req=True
1762
+ >>> thread = api.get_local_connection_profiles_with_http_info(agent, type, async_req=True)
1763
+ >>> result = thread.get()
1764
+
1765
+ :param async_req bool
1766
+ :param str agent: The name of the agent the connection profile is deployed on (required)
1767
+ :param str type: The type of connection profile such as Database, FileTransfer, Hadoop, Informatica, SAP. (required)
1768
+ :param str ctm: The name of the Control-M in which the connection profile is deployed on
1769
+ :param str server: The name of the Control-M in which the connection profile is deployed on
1770
+ :return: str
1771
+ If the method is called asynchronously,
1772
+ returns the request thread.
1773
+ """
1774
+
1775
+ all_params = ["agent", "type", "ctm", "server"] # noqa: E501
1776
+ all_params.append("async_req")
1777
+ all_params.append("_return_http_data_only")
1778
+ all_params.append("_preload_content")
1779
+ all_params.append("_request_timeout")
1780
+
1781
+ params = locals()
1782
+ for key, val in six.iteritems(params["kwargs"]):
1783
+ if key not in all_params:
1784
+ raise TypeError(
1785
+ "Got an unexpected keyword argument '%s'"
1786
+ " to method get_local_connection_profiles" % key
1787
+ )
1788
+ params[key] = val
1789
+ del params["kwargs"]
1790
+ # verify the required parameter 'agent' is set
1791
+ if self.api_client.client_side_validation and (
1792
+ "agent" not in params or params["agent"] is None
1793
+ ): # noqa: E501
1794
+ raise ValueError(
1795
+ "Missing the required parameter `agent` when calling `get_local_connection_profiles`"
1796
+ ) # noqa: E501
1797
+ # verify the required parameter 'type' is set
1798
+ if self.api_client.client_side_validation and (
1799
+ "type" not in params or params["type"] is None
1800
+ ): # noqa: E501
1801
+ raise ValueError(
1802
+ "Missing the required parameter `type` when calling `get_local_connection_profiles`"
1803
+ ) # noqa: E501
1804
+
1805
+ collection_formats = {}
1806
+
1807
+ path_params = {}
1808
+
1809
+ query_params = []
1810
+ if "ctm" in params:
1811
+ query_params.append(("ctm", params["ctm"])) # noqa: E501
1812
+ if "server" in params:
1813
+ query_params.append(("server", params["server"])) # noqa: E501
1814
+ if "agent" in params:
1815
+ query_params.append(("agent", params["agent"])) # noqa: E501
1816
+ if "type" in params:
1817
+ query_params.append(("type", params["type"])) # noqa: E501
1818
+
1819
+ header_params = {}
1820
+
1821
+ form_params = []
1822
+ local_var_files = {}
1823
+
1824
+ body_params = None
1825
+ # HTTP header `Accept`
1826
+ header_params["Accept"] = self.api_client.select_header_accept(
1827
+ ["application/json"]
1828
+ ) # noqa: E501
1829
+
1830
+ # Authentication setting
1831
+ auth_settings = ["Bearer"] # noqa: E501
1832
+
1833
+ return self.api_client.call_api(
1834
+ "/deploy/connectionprofiles/local",
1835
+ "GET",
1836
+ path_params,
1837
+ query_params,
1838
+ header_params,
1839
+ body=body_params,
1840
+ post_params=form_params,
1841
+ files=local_var_files,
1842
+ response_type="str", # noqa: E501
1843
+ auth_settings=auth_settings,
1844
+ async_req=params.get("async_req"),
1845
+ _return_http_data_only=params.get("_return_http_data_only"),
1846
+ _preload_content=params.get("_preload_content", True),
1847
+ _request_timeout=params.get("_request_timeout"),
1848
+ collection_formats=collection_formats,
1849
+ )
1850
+
1851
+ def get_shared_connection_profiles(self, type, **kwargs): # noqa: E501
1852
+ """Get centralized deployed connection profile # noqa: E501
1853
+
1854
+ Get currently centralized deployed connection profiles according to the search query as JSON. # noqa: E501
1855
+ This method makes a synchronous HTTP request by default. To make an
1856
+ asynchronous HTTP request, please pass async_req=True
1857
+ >>> thread = api.get_shared_connection_profiles(type, async_req=True)
1858
+ >>> result = thread.get()
1859
+
1860
+ :param async_req bool
1861
+ :param str type: The type of connection profile such as Database, FileTransfer, Hadoop, Informatica, SAP. Use * to get all types (required)
1862
+ :param str name: The name of centralized connection profile. Supports for *, ?, and comma. By default is *
1863
+ :return: str
1864
+ If the method is called asynchronously,
1865
+ returns the request thread.
1866
+ """
1867
+ kwargs["_return_http_data_only"] = True
1868
+ if kwargs.get("async_req"):
1869
+ return self.get_shared_connection_profiles_with_http_info(
1870
+ type, **kwargs
1871
+ ) # noqa: E501
1872
+ else:
1873
+ (data) = self.get_shared_connection_profiles_with_http_info(
1874
+ type, **kwargs
1875
+ ) # noqa: E501
1876
+ return data
1877
+
1878
+ def get_shared_connection_profiles_with_http_info(
1879
+ self, type, **kwargs
1880
+ ): # noqa: E501
1881
+ """Get centralized deployed connection profile # noqa: E501
1882
+
1883
+ Get currently centralized deployed connection profiles according to the search query as JSON. # noqa: E501
1884
+ This method makes a synchronous HTTP request by default. To make an
1885
+ asynchronous HTTP request, please pass async_req=True
1886
+ >>> thread = api.get_shared_connection_profiles_with_http_info(type, async_req=True)
1887
+ >>> result = thread.get()
1888
+
1889
+ :param async_req bool
1890
+ :param str type: The type of connection profile such as Database, FileTransfer, Hadoop, Informatica, SAP. Use * to get all types (required)
1891
+ :param str name: The name of centralized connection profile. Supports for *, ?, and comma. By default is *
1892
+ :return: str
1893
+ If the method is called asynchronously,
1894
+ returns the request thread.
1895
+ """
1896
+
1897
+ all_params = ["type", "name"] # noqa: E501
1898
+ all_params.append("async_req")
1899
+ all_params.append("_return_http_data_only")
1900
+ all_params.append("_preload_content")
1901
+ all_params.append("_request_timeout")
1902
+
1903
+ params = locals()
1904
+ for key, val in six.iteritems(params["kwargs"]):
1905
+ if key not in all_params:
1906
+ raise TypeError(
1907
+ "Got an unexpected keyword argument '%s'"
1908
+ " to method get_shared_connection_profiles" % key
1909
+ )
1910
+ params[key] = val
1911
+ del params["kwargs"]
1912
+ # verify the required parameter 'type' is set
1913
+ if self.api_client.client_side_validation and (
1914
+ "type" not in params or params["type"] is None
1915
+ ): # noqa: E501
1916
+ raise ValueError(
1917
+ "Missing the required parameter `type` when calling `get_shared_connection_profiles`"
1918
+ ) # noqa: E501
1919
+
1920
+ collection_formats = {}
1921
+
1922
+ path_params = {}
1923
+
1924
+ query_params = []
1925
+ if "type" in params:
1926
+ query_params.append(("type", params["type"])) # noqa: E501
1927
+ if "name" in params:
1928
+ query_params.append(("name", params["name"])) # noqa: E501
1929
+
1930
+ header_params = {}
1931
+
1932
+ form_params = []
1933
+ local_var_files = {}
1934
+
1935
+ body_params = None
1936
+ # HTTP header `Accept`
1937
+ header_params["Accept"] = self.api_client.select_header_accept(
1938
+ ["application/json"]
1939
+ ) # noqa: E501
1940
+
1941
+ # Authentication setting
1942
+ auth_settings = ["Bearer"] # noqa: E501
1943
+
1944
+ return self.api_client.call_api(
1945
+ "/deploy/connectionprofiles/centralized",
1946
+ "GET",
1947
+ path_params,
1948
+ query_params,
1949
+ header_params,
1950
+ body=body_params,
1951
+ post_params=form_params,
1952
+ files=local_var_files,
1953
+ response_type="str", # noqa: E501
1954
+ auth_settings=auth_settings,
1955
+ async_req=params.get("async_req"),
1956
+ _return_http_data_only=params.get("_return_http_data_only"),
1957
+ _preload_content=params.get("_preload_content", True),
1958
+ _request_timeout=params.get("_request_timeout"),
1959
+ collection_formats=collection_formats,
1960
+ )
1961
+
1962
+ def get_site_standard_field_restrictions(
1963
+ self, standard_name, field_name, **kwargs
1964
+ ): # noqa: E501
1965
+ """Get the allowed values for the specified field in the specified site standard. # noqa: E501
1966
+
1967
+ Get the allowed values for the specified field in the specified site standard. # noqa: E501
1968
+ This method makes a synchronous HTTP request by default. To make an
1969
+ asynchronous HTTP request, please pass async_req=True
1970
+ >>> thread = api.get_site_standard_field_restrictions(standard_name, field_name, async_req=True)
1971
+ >>> result = thread.get()
1972
+
1973
+ :param async_req bool
1974
+ :param str standard_name: (required)
1975
+ :param str field_name: (required)
1976
+ :return: str
1977
+ If the method is called asynchronously,
1978
+ returns the request thread.
1979
+ """
1980
+ kwargs["_return_http_data_only"] = True
1981
+ if kwargs.get("async_req"):
1982
+ return self.get_site_standard_field_restrictions_with_http_info(
1983
+ standard_name, field_name, **kwargs
1984
+ ) # noqa: E501
1985
+ else:
1986
+ (data) = self.get_site_standard_field_restrictions_with_http_info(
1987
+ standard_name, field_name, **kwargs
1988
+ ) # noqa: E501
1989
+ return data
1990
+
1991
+ def get_site_standard_field_restrictions_with_http_info(
1992
+ self, standard_name, field_name, **kwargs
1993
+ ): # noqa: E501
1994
+ """Get the allowed values for the specified field in the specified site standard. # noqa: E501
1995
+
1996
+ Get the allowed values for the specified field in the specified site standard. # noqa: E501
1997
+ This method makes a synchronous HTTP request by default. To make an
1998
+ asynchronous HTTP request, please pass async_req=True
1999
+ >>> thread = api.get_site_standard_field_restrictions_with_http_info(standard_name, field_name, async_req=True)
2000
+ >>> result = thread.get()
2001
+
2002
+ :param async_req bool
2003
+ :param str standard_name: (required)
2004
+ :param str field_name: (required)
2005
+ :return: str
2006
+ If the method is called asynchronously,
2007
+ returns the request thread.
2008
+ """
2009
+
2010
+ all_params = ["standard_name", "field_name"] # noqa: E501
2011
+ all_params.append("async_req")
2012
+ all_params.append("_return_http_data_only")
2013
+ all_params.append("_preload_content")
2014
+ all_params.append("_request_timeout")
2015
+
2016
+ params = locals()
2017
+ for key, val in six.iteritems(params["kwargs"]):
2018
+ if key not in all_params:
2019
+ raise TypeError(
2020
+ "Got an unexpected keyword argument '%s'"
2021
+ " to method get_site_standard_field_restrictions" % key
2022
+ )
2023
+ params[key] = val
2024
+ del params["kwargs"]
2025
+ # verify the required parameter 'standard_name' is set
2026
+ if self.api_client.client_side_validation and (
2027
+ "standard_name" not in params or params["standard_name"] is None
2028
+ ): # noqa: E501
2029
+ raise ValueError(
2030
+ "Missing the required parameter `standard_name` when calling `get_site_standard_field_restrictions`"
2031
+ ) # noqa: E501
2032
+ # verify the required parameter 'field_name' is set
2033
+ if self.api_client.client_side_validation and (
2034
+ "field_name" not in params or params["field_name"] is None
2035
+ ): # noqa: E501
2036
+ raise ValueError(
2037
+ "Missing the required parameter `field_name` when calling `get_site_standard_field_restrictions`"
2038
+ ) # noqa: E501
2039
+
2040
+ collection_formats = {}
2041
+
2042
+ path_params = {}
2043
+ if "standard_name" in params:
2044
+ path_params["standardName"] = params["standard_name"] # noqa: E501
2045
+ if "field_name" in params:
2046
+ path_params["fieldName"] = params["field_name"] # noqa: E501
2047
+
2048
+ query_params = []
2049
+
2050
+ header_params = {}
2051
+
2052
+ form_params = []
2053
+ local_var_files = {}
2054
+
2055
+ body_params = None
2056
+ # HTTP header `Accept`
2057
+ header_params["Accept"] = self.api_client.select_header_accept(
2058
+ ["application/json"]
2059
+ ) # noqa: E501
2060
+
2061
+ # Authentication setting
2062
+ auth_settings = ["Bearer"] # noqa: E501
2063
+
2064
+ return self.api_client.call_api(
2065
+ "/deploy/sitestandard/{standardName}/fieldRestriction/{fieldName}",
2066
+ "GET",
2067
+ path_params,
2068
+ query_params,
2069
+ header_params,
2070
+ body=body_params,
2071
+ post_params=form_params,
2072
+ files=local_var_files,
2073
+ response_type="str", # noqa: E501
2074
+ auth_settings=auth_settings,
2075
+ async_req=params.get("async_req"),
2076
+ _return_http_data_only=params.get("_return_http_data_only"),
2077
+ _preload_content=params.get("_preload_content", True),
2078
+ _request_timeout=params.get("_request_timeout"),
2079
+ collection_formats=collection_formats,
2080
+ )
2081
+
2082
+ def set_site_standard_field_restrictions(
2083
+ self, standard_name, field_name, values_file, **kwargs
2084
+ ): # noqa: E501
2085
+ """Replace the allowed values for the specified field in the specified site standard. # noqa: E501
2086
+
2087
+ Replace the allowed values for the specified field in the specified site standard. # noqa: E501
2088
+ This method makes a synchronous HTTP request by default. To make an
2089
+ asynchronous HTTP request, please pass async_req=True
2090
+ >>> thread = api.set_site_standard_field_restrictions(standard_name, field_name, values_file, async_req=True)
2091
+ >>> result = thread.get()
2092
+
2093
+ :param async_req bool
2094
+ :param str standard_name: (required)
2095
+ :param str field_name: (required)
2096
+ :param FieldValues values_file: The JSON file with the allowed values (required)
2097
+ :return: SuccessData
2098
+ If the method is called asynchronously,
2099
+ returns the request thread.
2100
+ """
2101
+ kwargs["_return_http_data_only"] = True
2102
+ if kwargs.get("async_req"):
2103
+ return self.set_site_standard_field_restrictions_with_http_info(
2104
+ standard_name, field_name, values_file, **kwargs
2105
+ ) # noqa: E501
2106
+ else:
2107
+ (data) = self.set_site_standard_field_restrictions_with_http_info(
2108
+ standard_name, field_name, values_file, **kwargs
2109
+ ) # noqa: E501
2110
+ return data
2111
+
2112
+ def set_site_standard_field_restrictions_with_http_info(
2113
+ self, standard_name, field_name, values_file, **kwargs
2114
+ ): # noqa: E501
2115
+ """Replace the allowed values for the specified field in the specified site standard. # noqa: E501
2116
+
2117
+ Replace the allowed values for the specified field in the specified site standard. # noqa: E501
2118
+ This method makes a synchronous HTTP request by default. To make an
2119
+ asynchronous HTTP request, please pass async_req=True
2120
+ >>> thread = api.set_site_standard_field_restrictions_with_http_info(standard_name, field_name, values_file, async_req=True)
2121
+ >>> result = thread.get()
2122
+
2123
+ :param async_req bool
2124
+ :param str standard_name: (required)
2125
+ :param str field_name: (required)
2126
+ :param FieldValues values_file: The JSON file with the allowed values (required)
2127
+ :return: SuccessData
2128
+ If the method is called asynchronously,
2129
+ returns the request thread.
2130
+ """
2131
+
2132
+ all_params = ["standard_name", "field_name", "values_file"] # noqa: E501
2133
+ all_params.append("async_req")
2134
+ all_params.append("_return_http_data_only")
2135
+ all_params.append("_preload_content")
2136
+ all_params.append("_request_timeout")
2137
+
2138
+ params = locals()
2139
+ for key, val in six.iteritems(params["kwargs"]):
2140
+ if key not in all_params:
2141
+ raise TypeError(
2142
+ "Got an unexpected keyword argument '%s'"
2143
+ " to method set_site_standard_field_restrictions" % key
2144
+ )
2145
+ params[key] = val
2146
+ del params["kwargs"]
2147
+ # verify the required parameter 'standard_name' is set
2148
+ if self.api_client.client_side_validation and (
2149
+ "standard_name" not in params or params["standard_name"] is None
2150
+ ): # noqa: E501
2151
+ raise ValueError(
2152
+ "Missing the required parameter `standard_name` when calling `set_site_standard_field_restrictions`"
2153
+ ) # noqa: E501
2154
+ # verify the required parameter 'field_name' is set
2155
+ if self.api_client.client_side_validation and (
2156
+ "field_name" not in params or params["field_name"] is None
2157
+ ): # noqa: E501
2158
+ raise ValueError(
2159
+ "Missing the required parameter `field_name` when calling `set_site_standard_field_restrictions`"
2160
+ ) # noqa: E501
2161
+ # verify the required parameter 'values_file' is set
2162
+ if self.api_client.client_side_validation and (
2163
+ "values_file" not in params or params["values_file"] is None
2164
+ ): # noqa: E501
2165
+ raise ValueError(
2166
+ "Missing the required parameter `values_file` when calling `set_site_standard_field_restrictions`"
2167
+ ) # noqa: E501
2168
+
2169
+ collection_formats = {}
2170
+
2171
+ path_params = {}
2172
+ if "standard_name" in params:
2173
+ path_params["standardName"] = params["standard_name"] # noqa: E501
2174
+ if "field_name" in params:
2175
+ path_params["fieldName"] = params["field_name"] # noqa: E501
2176
+
2177
+ query_params = []
2178
+
2179
+ header_params = {}
2180
+
2181
+ form_params = []
2182
+ local_var_files = {}
2183
+
2184
+ body_params = None
2185
+ if "values_file" in params:
2186
+ body_params = params["values_file"]
2187
+ # HTTP header `Accept`
2188
+ header_params["Accept"] = self.api_client.select_header_accept(
2189
+ ["application/json"]
2190
+ ) # noqa: E501
2191
+
2192
+ # Authentication setting
2193
+ auth_settings = ["Bearer"] # noqa: E501
2194
+
2195
+ return self.api_client.call_api(
2196
+ "/deploy/sitestandard/{standardName}/fieldRestriction/{fieldName}",
2197
+ "POST",
2198
+ path_params,
2199
+ query_params,
2200
+ header_params,
2201
+ body=body_params,
2202
+ post_params=form_params,
2203
+ files=local_var_files,
2204
+ response_type="SuccessData", # noqa: E501
2205
+ auth_settings=auth_settings,
2206
+ async_req=params.get("async_req"),
2207
+ _return_http_data_only=params.get("_return_http_data_only"),
2208
+ _preload_content=params.get("_preload_content", True),
2209
+ _request_timeout=params.get("_request_timeout"),
2210
+ collection_formats=collection_formats,
2211
+ )
2212
+
2213
+ def test_connection_profile(self, definitions_file, **kwargs): # noqa: E501
2214
+ """Test connection profile on agent # noqa: E501
2215
+
2216
+ Test connection profile on agent # noqa: E501
2217
+ This method makes a synchronous HTTP request by default. To make an
2218
+ asynchronous HTTP request, please pass async_req=True
2219
+ >>> thread = api.test_connection_profile(definitions_file, async_req=True)
2220
+ >>> result = thread.get()
2221
+
2222
+ :param async_req bool
2223
+ :param file definitions_file: A file that contains definitions of the connection profile to be tested (required)
2224
+ :param str ctm:
2225
+ :param str agent:
2226
+ :return: SuccessData
2227
+ If the method is called asynchronously,
2228
+ returns the request thread.
2229
+ """
2230
+ kwargs["_return_http_data_only"] = True
2231
+ if kwargs.get("async_req"):
2232
+ return self.test_connection_profile_with_http_info(
2233
+ definitions_file, **kwargs
2234
+ ) # noqa: E501
2235
+ else:
2236
+ (data) = self.test_connection_profile_with_http_info(
2237
+ definitions_file, **kwargs
2238
+ ) # noqa: E501
2239
+ return data
2240
+
2241
+ def test_connection_profile_with_http_info(
2242
+ self, definitions_file, **kwargs
2243
+ ): # noqa: E501
2244
+ """Test connection profile on agent # noqa: E501
2245
+
2246
+ Test connection profile on agent # noqa: E501
2247
+ This method makes a synchronous HTTP request by default. To make an
2248
+ asynchronous HTTP request, please pass async_req=True
2249
+ >>> thread = api.test_connection_profile_with_http_info(definitions_file, async_req=True)
2250
+ >>> result = thread.get()
2251
+
2252
+ :param async_req bool
2253
+ :param file definitions_file: A file that contains definitions of the connection profile to be tested (required)
2254
+ :param str ctm:
2255
+ :param str agent:
2256
+ :return: SuccessData
2257
+ If the method is called asynchronously,
2258
+ returns the request thread.
2259
+ """
2260
+
2261
+ all_params = ["definitions_file", "ctm", "agent"] # noqa: E501
2262
+ all_params.append("async_req")
2263
+ all_params.append("_return_http_data_only")
2264
+ all_params.append("_preload_content")
2265
+ all_params.append("_request_timeout")
2266
+
2267
+ params = locals()
2268
+ for key, val in six.iteritems(params["kwargs"]):
2269
+ if key not in all_params:
2270
+ raise TypeError(
2271
+ "Got an unexpected keyword argument '%s'"
2272
+ " to method test_connection_profile" % key
2273
+ )
2274
+ params[key] = val
2275
+ del params["kwargs"]
2276
+ # verify the required parameter 'definitions_file' is set
2277
+ if self.api_client.client_side_validation and (
2278
+ "definitions_file" not in params or params["definitions_file"] is None
2279
+ ): # noqa: E501
2280
+ raise ValueError(
2281
+ "Missing the required parameter `definitions_file` when calling `test_connection_profile`"
2282
+ ) # noqa: E501
2283
+
2284
+ collection_formats = {}
2285
+
2286
+ path_params = {}
2287
+
2288
+ query_params = []
2289
+ if "ctm" in params:
2290
+ query_params.append(("ctm", params["ctm"])) # noqa: E501
2291
+ if "agent" in params:
2292
+ query_params.append(("agent", params["agent"])) # noqa: E501
2293
+
2294
+ header_params = {}
2295
+
2296
+ form_params = []
2297
+ local_var_files = {}
2298
+ if "definitions_file" in params:
2299
+ local_var_files["definitionsFile"] = params[
2300
+ "definitions_file"
2301
+ ] # noqa: E501
2302
+
2303
+ body_params = None
2304
+ # HTTP header `Accept`
2305
+ header_params["Accept"] = self.api_client.select_header_accept(
2306
+ ["application/json"]
2307
+ ) # noqa: E501
2308
+
2309
+ # HTTP header `Content-Type`
2310
+ header_params[
2311
+ "Content-Type"
2312
+ ] = self.api_client.select_header_content_type( # noqa: E501
2313
+ ["multipart/form-data"]
2314
+ ) # noqa: E501
2315
+
2316
+ # Authentication setting
2317
+ auth_settings = ["Bearer"] # noqa: E501
2318
+
2319
+ return self.api_client.call_api(
2320
+ "/deploy/connectionprofile/test",
2321
+ "POST",
2322
+ path_params,
2323
+ query_params,
2324
+ header_params,
2325
+ body=body_params,
2326
+ post_params=form_params,
2327
+ files=local_var_files,
2328
+ response_type="SuccessData", # noqa: E501
2329
+ auth_settings=auth_settings,
2330
+ async_req=params.get("async_req"),
2331
+ _return_http_data_only=params.get("_return_http_data_only"),
2332
+ _preload_content=params.get("_preload_content", True),
2333
+ _request_timeout=params.get("_request_timeout"),
2334
+ collection_formats=collection_formats,
2335
+ )
2336
+
2337
+ def transform_file(
2338
+ self, definitions_file, deploy_descriptor_file, **kwargs
2339
+ ): # noqa: E501
2340
+ """Transform a definitions file # noqa: E501
2341
+
2342
+ Transform the provided definitions file (JSON) according to the provided Deploy Descriptor file (JSON). # noqa: E501
2343
+ This method makes a synchronous HTTP request by default. To make an
2344
+ asynchronous HTTP request, please pass async_req=True
2345
+ >>> thread = api.transform_file(definitions_file, deploy_descriptor_file, async_req=True)
2346
+ >>> result = thread.get()
2347
+
2348
+ :param async_req bool
2349
+ :param file definitions_file: A file that contains definitions to be deployed to the server. Can be either a JSON definition file, an XML definition file, or a zip file that contains multiple JSON or XML definition files. (required)
2350
+ :param file deploy_descriptor_file: Deploy Descriptor JSON file. (required)
2351
+ :return: str
2352
+ If the method is called asynchronously,
2353
+ returns the request thread.
2354
+ """
2355
+ kwargs["_return_http_data_only"] = True
2356
+ if kwargs.get("async_req"):
2357
+ return self.transform_file_with_http_info(
2358
+ definitions_file, deploy_descriptor_file, **kwargs
2359
+ ) # noqa: E501
2360
+ else:
2361
+ (data) = self.transform_file_with_http_info(
2362
+ definitions_file, deploy_descriptor_file, **kwargs
2363
+ ) # noqa: E501
2364
+ return data
2365
+
2366
+ def transform_file_with_http_info(
2367
+ self, definitions_file, deploy_descriptor_file, **kwargs
2368
+ ): # noqa: E501
2369
+ """Transform a definitions file # noqa: E501
2370
+
2371
+ Transform the provided definitions file (JSON) according to the provided Deploy Descriptor file (JSON). # noqa: E501
2372
+ This method makes a synchronous HTTP request by default. To make an
2373
+ asynchronous HTTP request, please pass async_req=True
2374
+ >>> thread = api.transform_file_with_http_info(definitions_file, deploy_descriptor_file, async_req=True)
2375
+ >>> result = thread.get()
2376
+
2377
+ :param async_req bool
2378
+ :param file definitions_file: A file that contains definitions to be deployed to the server. Can be either a JSON definition file, an XML definition file, or a zip file that contains multiple JSON or XML definition files. (required)
2379
+ :param file deploy_descriptor_file: Deploy Descriptor JSON file. (required)
2380
+ :return: str
2381
+ If the method is called asynchronously,
2382
+ returns the request thread.
2383
+ """
2384
+
2385
+ all_params = ["definitions_file", "deploy_descriptor_file"] # noqa: E501
2386
+ all_params.append("async_req")
2387
+ all_params.append("_return_http_data_only")
2388
+ all_params.append("_preload_content")
2389
+ all_params.append("_request_timeout")
2390
+
2391
+ params = locals()
2392
+ for key, val in six.iteritems(params["kwargs"]):
2393
+ if key not in all_params:
2394
+ raise TypeError(
2395
+ "Got an unexpected keyword argument '%s'"
2396
+ " to method transform_file" % key
2397
+ )
2398
+ params[key] = val
2399
+ del params["kwargs"]
2400
+ # verify the required parameter 'definitions_file' is set
2401
+ if self.api_client.client_side_validation and (
2402
+ "definitions_file" not in params or params["definitions_file"] is None
2403
+ ): # noqa: E501
2404
+ raise ValueError(
2405
+ "Missing the required parameter `definitions_file` when calling `transform_file`"
2406
+ ) # noqa: E501
2407
+ # verify the required parameter 'deploy_descriptor_file' is set
2408
+ if self.api_client.client_side_validation and (
2409
+ "deploy_descriptor_file" not in params
2410
+ or params["deploy_descriptor_file"] is None
2411
+ ): # noqa: E501
2412
+ raise ValueError(
2413
+ "Missing the required parameter `deploy_descriptor_file` when calling `transform_file`"
2414
+ ) # noqa: E501
2415
+
2416
+ collection_formats = {}
2417
+
2418
+ path_params = {}
2419
+
2420
+ query_params = []
2421
+
2422
+ header_params = {}
2423
+
2424
+ form_params = []
2425
+ local_var_files = {}
2426
+ if "definitions_file" in params:
2427
+ local_var_files["definitionsFile"] = params[
2428
+ "definitions_file"
2429
+ ] # noqa: E501
2430
+ if "deploy_descriptor_file" in params:
2431
+ local_var_files["deployDescriptorFile"] = params[
2432
+ "deploy_descriptor_file"
2433
+ ] # noqa: E501
2434
+
2435
+ body_params = None
2436
+ # HTTP header `Accept`
2437
+ header_params["Accept"] = self.api_client.select_header_accept(
2438
+ ["application/json"]
2439
+ ) # noqa: E501
2440
+
2441
+ # HTTP header `Content-Type`
2442
+ header_params[
2443
+ "Content-Type"
2444
+ ] = self.api_client.select_header_content_type( # noqa: E501
2445
+ ["multipart/form-data"]
2446
+ ) # noqa: E501
2447
+
2448
+ # Authentication setting
2449
+ auth_settings = ["Bearer"] # noqa: E501
2450
+
2451
+ return self.api_client.call_api(
2452
+ "/deploy/transform",
2453
+ "POST",
2454
+ path_params,
2455
+ query_params,
2456
+ header_params,
2457
+ body=body_params,
2458
+ post_params=form_params,
2459
+ files=local_var_files,
2460
+ response_type="str", # noqa: E501
2461
+ auth_settings=auth_settings,
2462
+ async_req=params.get("async_req"),
2463
+ _return_http_data_only=params.get("_return_http_data_only"),
2464
+ _preload_content=params.get("_preload_content", True),
2465
+ _request_timeout=params.get("_request_timeout"),
2466
+ collection_formats=collection_formats,
2467
+ )