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,496 @@
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 ArchiveApi(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 get_archive_job_log(self, job_id, run_no, **kwargs): # noqa: E501
37
+ """Get job log # noqa: E501
38
+
39
+ Get job log by unique job key # 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.get_archive_job_log(job_id, run_no, async_req=True)
43
+ >>> result = thread.get()
44
+
45
+ :param async_req bool
46
+ :param str job_id: The job ID (required)
47
+ :param int run_no: The execution number in case of multiple executions (required)
48
+ :return: str
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.get_archive_job_log_with_http_info(
55
+ job_id, run_no, **kwargs
56
+ ) # noqa: E501
57
+ else:
58
+ (data) = self.get_archive_job_log_with_http_info(
59
+ job_id, run_no, **kwargs
60
+ ) # noqa: E501
61
+ return data
62
+
63
+ def get_archive_job_log_with_http_info(
64
+ self, job_id, run_no, **kwargs
65
+ ): # noqa: E501
66
+ """Get job log # noqa: E501
67
+
68
+ Get job log by unique job key # noqa: E501
69
+ This method makes a synchronous HTTP request by default. To make an
70
+ asynchronous HTTP request, please pass async_req=True
71
+ >>> thread = api.get_archive_job_log_with_http_info(job_id, run_no, async_req=True)
72
+ >>> result = thread.get()
73
+
74
+ :param async_req bool
75
+ :param str job_id: The job ID (required)
76
+ :param int run_no: The execution number in case of multiple executions (required)
77
+ :return: str
78
+ If the method is called asynchronously,
79
+ returns the request thread.
80
+ """
81
+
82
+ all_params = ["job_id", "run_no"] # noqa: E501
83
+ all_params.append("async_req")
84
+ all_params.append("_return_http_data_only")
85
+ all_params.append("_preload_content")
86
+ all_params.append("_request_timeout")
87
+
88
+ params = locals()
89
+ for key, val in six.iteritems(params["kwargs"]):
90
+ if key not in all_params:
91
+ raise TypeError(
92
+ "Got an unexpected keyword argument '%s'"
93
+ " to method get_archive_job_log" % key
94
+ )
95
+ params[key] = val
96
+ del params["kwargs"]
97
+ # verify the required parameter 'job_id' is set
98
+ if self.api_client.client_side_validation and (
99
+ "job_id" not in params or params["job_id"] is None
100
+ ): # noqa: E501
101
+ raise ValueError(
102
+ "Missing the required parameter `job_id` when calling `get_archive_job_log`"
103
+ ) # noqa: E501
104
+ # verify the required parameter 'run_no' is set
105
+ if self.api_client.client_side_validation and (
106
+ "run_no" not in params or params["run_no"] is None
107
+ ): # noqa: E501
108
+ raise ValueError(
109
+ "Missing the required parameter `run_no` when calling `get_archive_job_log`"
110
+ ) # noqa: E501
111
+
112
+ collection_formats = {}
113
+
114
+ path_params = {}
115
+ if "job_id" in params:
116
+ path_params["jobId"] = params["job_id"] # noqa: E501
117
+
118
+ query_params = []
119
+ if "run_no" in params:
120
+ query_params.append(("runNo", params["run_no"])) # noqa: E501
121
+
122
+ header_params = {}
123
+
124
+ form_params = []
125
+ local_var_files = {}
126
+
127
+ body_params = None
128
+ # HTTP header `Accept`
129
+ header_params["Accept"] = self.api_client.select_header_accept(
130
+ ["application/json", "text/plain"]
131
+ ) # noqa: E501
132
+
133
+ # Authentication setting
134
+ auth_settings = ["Bearer"] # noqa: E501
135
+
136
+ return self.api_client.call_api(
137
+ "/archive/{jobId}/log",
138
+ "GET",
139
+ path_params,
140
+ query_params,
141
+ header_params,
142
+ body=body_params,
143
+ post_params=form_params,
144
+ files=local_var_files,
145
+ response_type="str", # noqa: E501
146
+ auth_settings=auth_settings,
147
+ async_req=params.get("async_req"),
148
+ _return_http_data_only=params.get("_return_http_data_only"),
149
+ _preload_content=params.get("_preload_content", True),
150
+ _request_timeout=params.get("_request_timeout"),
151
+ collection_formats=collection_formats,
152
+ )
153
+
154
+ def get_archive_job_output(self, job_id, run_no, **kwargs): # noqa: E501
155
+ """Get job output # noqa: E501
156
+
157
+ Get job output by unique job key # noqa: E501
158
+ This method makes a synchronous HTTP request by default. To make an
159
+ asynchronous HTTP request, please pass async_req=True
160
+ >>> thread = api.get_archive_job_output(job_id, run_no, async_req=True)
161
+ >>> result = thread.get()
162
+
163
+ :param async_req bool
164
+ :param str job_id: The job ID (required)
165
+ :param int run_no: The execution number in case of multiple executions (required)
166
+ :return: str
167
+ If the method is called asynchronously,
168
+ returns the request thread.
169
+ """
170
+ kwargs["_return_http_data_only"] = True
171
+ if kwargs.get("async_req"):
172
+ return self.get_archive_job_output_with_http_info(
173
+ job_id, run_no, **kwargs
174
+ ) # noqa: E501
175
+ else:
176
+ (data) = self.get_archive_job_output_with_http_info(
177
+ job_id, run_no, **kwargs
178
+ ) # noqa: E501
179
+ return data
180
+
181
+ def get_archive_job_output_with_http_info(
182
+ self, job_id, run_no, **kwargs
183
+ ): # noqa: E501
184
+ """Get job output # noqa: E501
185
+
186
+ Get job output by unique job key # noqa: E501
187
+ This method makes a synchronous HTTP request by default. To make an
188
+ asynchronous HTTP request, please pass async_req=True
189
+ >>> thread = api.get_archive_job_output_with_http_info(job_id, run_no, async_req=True)
190
+ >>> result = thread.get()
191
+
192
+ :param async_req bool
193
+ :param str job_id: The job ID (required)
194
+ :param int run_no: The execution number in case of multiple executions (required)
195
+ :return: str
196
+ If the method is called asynchronously,
197
+ returns the request thread.
198
+ """
199
+
200
+ all_params = ["job_id", "run_no"] # noqa: E501
201
+ all_params.append("async_req")
202
+ all_params.append("_return_http_data_only")
203
+ all_params.append("_preload_content")
204
+ all_params.append("_request_timeout")
205
+
206
+ params = locals()
207
+ for key, val in six.iteritems(params["kwargs"]):
208
+ if key not in all_params:
209
+ raise TypeError(
210
+ "Got an unexpected keyword argument '%s'"
211
+ " to method get_archive_job_output" % key
212
+ )
213
+ params[key] = val
214
+ del params["kwargs"]
215
+ # verify the required parameter 'job_id' is set
216
+ if self.api_client.client_side_validation and (
217
+ "job_id" not in params or params["job_id"] is None
218
+ ): # noqa: E501
219
+ raise ValueError(
220
+ "Missing the required parameter `job_id` when calling `get_archive_job_output`"
221
+ ) # noqa: E501
222
+ # verify the required parameter 'run_no' is set
223
+ if self.api_client.client_side_validation and (
224
+ "run_no" not in params or params["run_no"] is None
225
+ ): # noqa: E501
226
+ raise ValueError(
227
+ "Missing the required parameter `run_no` when calling `get_archive_job_output`"
228
+ ) # noqa: E501
229
+
230
+ collection_formats = {}
231
+
232
+ path_params = {}
233
+ if "job_id" in params:
234
+ path_params["jobId"] = params["job_id"] # noqa: E501
235
+
236
+ query_params = []
237
+ if "run_no" in params:
238
+ query_params.append(("runNo", params["run_no"])) # noqa: E501
239
+
240
+ header_params = {}
241
+
242
+ form_params = []
243
+ local_var_files = {}
244
+
245
+ body_params = None
246
+ # HTTP header `Accept`
247
+ header_params["Accept"] = self.api_client.select_header_accept(
248
+ ["application/json", "text/plain"]
249
+ ) # noqa: E501
250
+
251
+ # Authentication setting
252
+ auth_settings = ["Bearer"] # noqa: E501
253
+
254
+ return self.api_client.call_api(
255
+ "/archive/{jobId}/output",
256
+ "GET",
257
+ path_params,
258
+ query_params,
259
+ header_params,
260
+ body=body_params,
261
+ post_params=form_params,
262
+ files=local_var_files,
263
+ response_type="str", # noqa: E501
264
+ auth_settings=auth_settings,
265
+ async_req=params.get("async_req"),
266
+ _return_http_data_only=params.get("_return_http_data_only"),
267
+ _preload_content=params.get("_preload_content", True),
268
+ _request_timeout=params.get("_request_timeout"),
269
+ collection_formats=collection_formats,
270
+ )
271
+
272
+ def search_jobs(self, **kwargs): # noqa: E501
273
+ """Search jobs in Archive # noqa: E501
274
+
275
+ Get all the Control-M Archiving jobs that match the search criterias # noqa: E501
276
+ This method makes a synchronous HTTP request by default. To make an
277
+ asynchronous HTTP request, please pass async_req=True
278
+ >>> thread = api.search_jobs(async_req=True)
279
+ >>> result = thread.get()
280
+
281
+ :param async_req bool
282
+ :param int limit: maximum jobs to fetch (default 500).
283
+ :param str jobname: The name of the job.
284
+ :param str jobid:
285
+ :param str ctm: The name of the Control-M server in which the job was ordered from.
286
+ :param str server: The name of the Control-M server in which the job was ordered from.
287
+ :param str folder: The name of the parent folder.
288
+ :param str from_time: Job execution start date. Date format - YYYY-MM-DD.
289
+ :param str to_time: Job execution end date. Date format - YYYY-MM-DD.
290
+ :param str log_contains: Job log must contain the given phrase.
291
+ :param str output_contains: Job output must contain the given phrase.
292
+ :param str application: The name of the application the jobs belong to.
293
+ :param str sub_application: The name of the sub-application the jobs belong to.
294
+ :param str library: The job's library name.
295
+ :param str mem_name: Member name.
296
+ :param str mem_library: Member's library.
297
+ :param str host:
298
+ :param str host_group: Job's host group.
299
+ :param str run_as: Runs as (username on agent machine).
300
+ :param str order_id: Job's order id.
301
+ :param str status: The job's end status.
302
+ :param str order_date_from: Indicating a date by which will look for jobs that their order date started afterwards. Date format - YYYY-MM-DD.
303
+ :param str order_date_to: Indicating a date by which will look for jobs that their order date ended before. Date format - YYYY-MM-DD.
304
+ :param int number_of_runs:
305
+ :return: ArchiveJobsList
306
+ If the method is called asynchronously,
307
+ returns the request thread.
308
+ """
309
+ kwargs["_return_http_data_only"] = True
310
+ if kwargs.get("async_req"):
311
+ return self.search_jobs_with_http_info(**kwargs) # noqa: E501
312
+ else:
313
+ (data) = self.search_jobs_with_http_info(**kwargs) # noqa: E501
314
+ return data
315
+
316
+ def search_jobs_with_http_info(self, **kwargs): # noqa: E501
317
+ """Search jobs in Archive # noqa: E501
318
+
319
+ Get all the Control-M Archiving jobs that match the search criterias # 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.search_jobs_with_http_info(async_req=True)
323
+ >>> result = thread.get()
324
+
325
+ :param async_req bool
326
+ :param int limit: maximum jobs to fetch (default 500).
327
+ :param str jobname: The name of the job.
328
+ :param str jobid:
329
+ :param str ctm: The name of the Control-M server in which the job was ordered from.
330
+ :param str server: The name of the Control-M server in which the job was ordered from.
331
+ :param str folder: The name of the parent folder.
332
+ :param str from_time: Job execution start date. Date format - YYYY-MM-DD.
333
+ :param str to_time: Job execution end date. Date format - YYYY-MM-DD.
334
+ :param str log_contains: Job log must contain the given phrase.
335
+ :param str output_contains: Job output must contain the given phrase.
336
+ :param str application: The name of the application the jobs belong to.
337
+ :param str sub_application: The name of the sub-application the jobs belong to.
338
+ :param str library: The job's library name.
339
+ :param str mem_name: Member name.
340
+ :param str mem_library: Member's library.
341
+ :param str host:
342
+ :param str host_group: Job's host group.
343
+ :param str run_as: Runs as (username on agent machine).
344
+ :param str order_id: Job's order id.
345
+ :param str status: The job's end status.
346
+ :param str order_date_from: Indicating a date by which will look for jobs that their order date started afterwards. Date format - YYYY-MM-DD.
347
+ :param str order_date_to: Indicating a date by which will look for jobs that their order date ended before. Date format - YYYY-MM-DD.
348
+ :param int number_of_runs:
349
+ :return: ArchiveJobsList
350
+ If the method is called asynchronously,
351
+ returns the request thread.
352
+ """
353
+
354
+ all_params = [
355
+ "limit",
356
+ "jobname",
357
+ "jobid",
358
+ "ctm",
359
+ "server",
360
+ "folder",
361
+ "from_time",
362
+ "to_time",
363
+ "log_contains",
364
+ "output_contains",
365
+ "application",
366
+ "sub_application",
367
+ "library",
368
+ "mem_name",
369
+ "mem_library",
370
+ "host",
371
+ "host_group",
372
+ "run_as",
373
+ "order_id",
374
+ "status",
375
+ "order_date_from",
376
+ "order_date_to",
377
+ "number_of_runs",
378
+ ] # noqa: E501
379
+ all_params.append("async_req")
380
+ all_params.append("_return_http_data_only")
381
+ all_params.append("_preload_content")
382
+ all_params.append("_request_timeout")
383
+
384
+ params = locals()
385
+ for key, val in six.iteritems(params["kwargs"]):
386
+ if key not in all_params:
387
+ raise TypeError(
388
+ "Got an unexpected keyword argument '%s'"
389
+ " to method search_jobs" % key
390
+ )
391
+ params[key] = val
392
+ del params["kwargs"]
393
+
394
+ if self.api_client.client_side_validation and (
395
+ "limit" in params and params["limit"] > 1000
396
+ ): # noqa: E501
397
+ raise ValueError(
398
+ "Invalid value for parameter `limit` when calling `search_jobs`, must be a value less than or equal to `1000`"
399
+ ) # noqa: E501
400
+ if self.api_client.client_side_validation and (
401
+ "limit" in params and params["limit"] < 1
402
+ ): # noqa: E501
403
+ raise ValueError(
404
+ "Invalid value for parameter `limit` when calling `search_jobs`, must be a value greater than or equal to `1`"
405
+ ) # noqa: E501
406
+ collection_formats = {}
407
+
408
+ path_params = {}
409
+
410
+ query_params = []
411
+ if "limit" in params:
412
+ query_params.append(("limit", params["limit"])) # noqa: E501
413
+ if "jobname" in params:
414
+ query_params.append(("jobname", params["jobname"])) # noqa: E501
415
+ if "jobid" in params:
416
+ query_params.append(("jobid", params["jobid"])) # noqa: E501
417
+ if "ctm" in params:
418
+ query_params.append(("ctm", params["ctm"])) # noqa: E501
419
+ if "server" in params:
420
+ query_params.append(("server", params["server"])) # noqa: E501
421
+ if "folder" in params:
422
+ query_params.append(("folder", params["folder"])) # noqa: E501
423
+ if "from_time" in params:
424
+ query_params.append(("fromTime", params["from_time"])) # noqa: E501
425
+ if "to_time" in params:
426
+ query_params.append(("toTime", params["to_time"])) # noqa: E501
427
+ if "log_contains" in params:
428
+ query_params.append(("logContains", params["log_contains"])) # noqa: E501
429
+ if "output_contains" in params:
430
+ query_params.append(
431
+ ("outputContains", params["output_contains"])
432
+ ) # noqa: E501
433
+ if "application" in params:
434
+ query_params.append(("application", params["application"])) # noqa: E501
435
+ if "sub_application" in params:
436
+ query_params.append(
437
+ ("subApplication", params["sub_application"])
438
+ ) # noqa: E501
439
+ if "library" in params:
440
+ query_params.append(("library", params["library"])) # noqa: E501
441
+ if "mem_name" in params:
442
+ query_params.append(("memName", params["mem_name"])) # noqa: E501
443
+ if "mem_library" in params:
444
+ query_params.append(("memLibrary", params["mem_library"])) # noqa: E501
445
+ if "host" in params:
446
+ query_params.append(("host", params["host"])) # noqa: E501
447
+ if "host_group" in params:
448
+ query_params.append(("hostGroup", params["host_group"])) # noqa: E501
449
+ if "run_as" in params:
450
+ query_params.append(("runAs", params["run_as"])) # noqa: E501
451
+ if "order_id" in params:
452
+ query_params.append(("orderId", params["order_id"])) # noqa: E501
453
+ if "status" in params:
454
+ query_params.append(("status", params["status"])) # noqa: E501
455
+ if "order_date_from" in params:
456
+ query_params.append(
457
+ ("orderDateFrom", params["order_date_from"])
458
+ ) # noqa: E501
459
+ if "order_date_to" in params:
460
+ query_params.append(("orderDateTo", params["order_date_to"])) # noqa: E501
461
+ if "number_of_runs" in params:
462
+ query_params.append(
463
+ ("numberOfRuns", params["number_of_runs"])
464
+ ) # noqa: E501
465
+
466
+ header_params = {}
467
+
468
+ form_params = []
469
+ local_var_files = {}
470
+
471
+ body_params = None
472
+ # HTTP header `Accept`
473
+ header_params["Accept"] = self.api_client.select_header_accept(
474
+ ["application/json"]
475
+ ) # noqa: E501
476
+
477
+ # Authentication setting
478
+ auth_settings = ["Bearer"] # noqa: E501
479
+
480
+ return self.api_client.call_api(
481
+ "/archive/search",
482
+ "GET",
483
+ path_params,
484
+ query_params,
485
+ header_params,
486
+ body=body_params,
487
+ post_params=form_params,
488
+ files=local_var_files,
489
+ response_type="ArchiveJobsList", # noqa: E501
490
+ auth_settings=auth_settings,
491
+ async_req=params.get("async_req"),
492
+ _return_http_data_only=params.get("_return_http_data_only"),
493
+ _preload_content=params.get("_preload_content", True),
494
+ _request_timeout=params.get("_request_timeout"),
495
+ collection_formats=collection_formats,
496
+ )
@@ -0,0 +1,154 @@
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 BuildApi(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 build_file(self, definitions_file, **kwargs): # noqa: E501
37
+ """Compile definitions file to check its validity # noqa: E501
38
+
39
+ Compile the provided definition file (JSON or zip) to verify it is valid for Control-M. # 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.build_file(definitions_file, async_req=True)
43
+ >>> result = thread.get()
44
+
45
+ :param async_req bool
46
+ :param file definitions_file: A file that contains definitions to be compiled. Can be either a JSON definition file, or a zip file that contains multiple JSON definition files. (required)
47
+ :param file deploy_descriptor_file: Deploy Descriptor JSON file.
48
+ :return: list[DeploymentFileResults]
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.build_file_with_http_info(
55
+ definitions_file, **kwargs
56
+ ) # noqa: E501
57
+ else:
58
+ (data) = self.build_file_with_http_info(
59
+ definitions_file, **kwargs
60
+ ) # noqa: E501
61
+ return data
62
+
63
+ def build_file_with_http_info(self, definitions_file, **kwargs): # noqa: E501
64
+ """Compile definitions file to check its validity # noqa: E501
65
+
66
+ Compile the provided definition file (JSON or zip) to verify it is valid for Control-M. # 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.build_file_with_http_info(definitions_file, async_req=True)
70
+ >>> result = thread.get()
71
+
72
+ :param async_req bool
73
+ :param file definitions_file: A file that contains definitions to be compiled. Can be either a JSON definition file, or a zip file that contains multiple JSON definition files. (required)
74
+ :param file deploy_descriptor_file: Deploy Descriptor JSON file.
75
+ :return: list[DeploymentFileResults]
76
+ If the method is called asynchronously,
77
+ returns the request thread.
78
+ """
79
+
80
+ all_params = ["definitions_file", "deploy_descriptor_file"] # 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 build_file" % key
92
+ )
93
+ params[key] = val
94
+ del params["kwargs"]
95
+ # verify the required parameter 'definitions_file' is set
96
+ if self.api_client.client_side_validation and (
97
+ "definitions_file" not in params or params["definitions_file"] is None
98
+ ): # noqa: E501
99
+ raise ValueError(
100
+ "Missing the required parameter `definitions_file` when calling `build_file`"
101
+ ) # noqa: E501
102
+
103
+ collection_formats = {}
104
+
105
+ path_params = {}
106
+
107
+ query_params = []
108
+
109
+ header_params = {}
110
+
111
+ form_params = []
112
+ local_var_files = {}
113
+ if "definitions_file" in params:
114
+ local_var_files["definitionsFile"] = params[
115
+ "definitions_file"
116
+ ] # noqa: E501
117
+ if "deploy_descriptor_file" in params:
118
+ local_var_files["deployDescriptorFile"] = params[
119
+ "deploy_descriptor_file"
120
+ ] # noqa: E501
121
+
122
+ body_params = None
123
+ # HTTP header `Accept`
124
+ header_params["Accept"] = self.api_client.select_header_accept(
125
+ ["application/json"]
126
+ ) # noqa: E501
127
+
128
+ # HTTP header `Content-Type`
129
+ header_params[
130
+ "Content-Type"
131
+ ] = self.api_client.select_header_content_type( # noqa: E501
132
+ ["multipart/form-data"]
133
+ ) # noqa: E501
134
+
135
+ # Authentication setting
136
+ auth_settings = ["Bearer"] # noqa: E501
137
+
138
+ return self.api_client.call_api(
139
+ "/build",
140
+ "POST",
141
+ path_params,
142
+ query_params,
143
+ header_params,
144
+ body=body_params,
145
+ post_params=form_params,
146
+ files=local_var_files,
147
+ response_type="list[DeploymentFileResults]", # noqa: E501
148
+ auth_settings=auth_settings,
149
+ async_req=params.get("async_req"),
150
+ _return_http_data_only=params.get("_return_http_data_only"),
151
+ _preload_content=params.get("_preload_content", True),
152
+ _request_timeout=params.get("_request_timeout"),
153
+ collection_formats=collection_formats,
154
+ )