huaweicloudsdkosm 3.1.174__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 (250) hide show
  1. huaweicloudsdkosm/__init__.py +0 -0
  2. huaweicloudsdkosm/v2/__init__.py +247 -0
  3. huaweicloudsdkosm/v2/model/__init__.py +244 -0
  4. huaweicloudsdkosm/v2/model/accessory_json_format_req.py +192 -0
  5. huaweicloudsdkosm/v2/model/accessory_limit_vo.py +166 -0
  6. huaweicloudsdkosm/v2/model/accessory_url.py +166 -0
  7. huaweicloudsdkosm/v2/model/agency_v2.py +282 -0
  8. huaweicloudsdkosm/v2/model/agree_tenant_authorization_v2_req.py +224 -0
  9. huaweicloudsdkosm/v2/model/agreement_vo.py +253 -0
  10. huaweicloudsdkosm/v2/model/area_code_simple_info_v2.py +166 -0
  11. huaweicloudsdkosm/v2/model/case_label_info.py +166 -0
  12. huaweicloudsdkosm/v2/model/case_query_label.py +166 -0
  13. huaweicloudsdkosm/v2/model/case_realtion_info.py +166 -0
  14. huaweicloudsdkosm/v2/model/check_hosts_request.py +219 -0
  15. huaweicloudsdkosm/v2/model/check_hosts_response.py +141 -0
  16. huaweicloudsdkosm/v2/model/check_need_verify_request.py +251 -0
  17. huaweicloudsdkosm/v2/model/check_need_verify_response.py +141 -0
  18. huaweicloudsdkosm/v2/model/check_verify_codes_request.py +191 -0
  19. huaweicloudsdkosm/v2/model/check_verify_codes_response.py +141 -0
  20. huaweicloudsdkosm/v2/model/common_param_v2.py +195 -0
  21. huaweicloudsdkosm/v2/model/confirm_authorizations_request.py +219 -0
  22. huaweicloudsdkosm/v2/model/confirm_authorizations_response.py +141 -0
  23. huaweicloudsdkosm/v2/model/contact_v2.py +195 -0
  24. huaweicloudsdkosm/v2/model/contact_way_info_v2.py +336 -0
  25. huaweicloudsdkosm/v2/model/create_and_delete_privilege_req.py +136 -0
  26. huaweicloudsdkosm/v2/model/create_case_extends_param_request.py +219 -0
  27. huaweicloudsdkosm/v2/model/create_case_extends_param_response.py +141 -0
  28. huaweicloudsdkosm/v2/model/create_case_labels_request.py +222 -0
  29. huaweicloudsdkosm/v2/model/create_case_labels_response.py +141 -0
  30. huaweicloudsdkosm/v2/model/create_cases_request.py +249 -0
  31. huaweicloudsdkosm/v2/model/create_cases_response.py +112 -0
  32. huaweicloudsdkosm/v2/model/create_diagnose_feedback_request.py +104 -0
  33. huaweicloudsdkosm/v2/model/create_diagnose_feedback_response.py +141 -0
  34. huaweicloudsdkosm/v2/model/create_diagnose_job_request.py +104 -0
  35. huaweicloudsdkosm/v2/model/create_diagnose_job_response.py +170 -0
  36. huaweicloudsdkosm/v2/model/create_feedback_req.py +164 -0
  37. huaweicloudsdkosm/v2/model/create_feedback_request.py +104 -0
  38. huaweicloudsdkosm/v2/model/create_feedback_response.py +141 -0
  39. huaweicloudsdkosm/v2/model/create_feedback_v2_req.py +240 -0
  40. huaweicloudsdkosm/v2/model/create_labels_req.py +135 -0
  41. huaweicloudsdkosm/v2/model/create_labels_request.py +191 -0
  42. huaweicloudsdkosm/v2/model/create_labels_response.py +141 -0
  43. huaweicloudsdkosm/v2/model/create_message_do_v2.py +136 -0
  44. huaweicloudsdkosm/v2/model/create_message_v2_req.py +132 -0
  45. huaweicloudsdkosm/v2/model/create_messages_request.py +219 -0
  46. huaweicloudsdkosm/v2/model/create_messages_response.py +141 -0
  47. huaweicloudsdkosm/v2/model/create_order_incident_v2_req.py +540 -0
  48. huaweicloudsdkosm/v2/model/create_privileges_request.py +191 -0
  49. huaweicloudsdkosm/v2/model/create_privileges_response.py +141 -0
  50. huaweicloudsdkosm/v2/model/create_relations_req.py +136 -0
  51. huaweicloudsdkosm/v2/model/create_relations_request.py +219 -0
  52. huaweicloudsdkosm/v2/model/create_relations_response.py +141 -0
  53. huaweicloudsdkosm/v2/model/create_score_v2_req.py +164 -0
  54. huaweicloudsdkosm/v2/model/create_scores_request.py +219 -0
  55. huaweicloudsdkosm/v2/model/create_scores_response.py +141 -0
  56. huaweicloudsdkosm/v2/model/data_center_v2_do.py +195 -0
  57. huaweicloudsdkosm/v2/model/delete_accessories_request.py +194 -0
  58. huaweicloudsdkosm/v2/model/delete_accessories_response.py +141 -0
  59. huaweicloudsdkosm/v2/model/delete_case_labels_request.py +222 -0
  60. huaweicloudsdkosm/v2/model/delete_case_labels_response.py +141 -0
  61. huaweicloudsdkosm/v2/model/delete_labels_request.py +194 -0
  62. huaweicloudsdkosm/v2/model/delete_labels_response.py +141 -0
  63. huaweicloudsdkosm/v2/model/delete_relation_request.py +219 -0
  64. huaweicloudsdkosm/v2/model/delete_relation_response.py +141 -0
  65. huaweicloudsdkosm/v2/model/delete_relations_req.py +136 -0
  66. huaweicloudsdkosm/v2/model/diagnose_record_vo.py +340 -0
  67. huaweicloudsdkosm/v2/model/diagnose_resource_vo.py +398 -0
  68. huaweicloudsdkosm/v2/model/download_accessories_request.py +223 -0
  69. huaweicloudsdkosm/v2/model/download_accessories_response.py +81 -0
  70. huaweicloudsdkosm/v2/model/download_cases_request.py +541 -0
  71. huaweicloudsdkosm/v2/model/download_cases_response.py +81 -0
  72. huaweicloudsdkosm/v2/model/download_images_request.py +223 -0
  73. huaweicloudsdkosm/v2/model/download_images_response.py +81 -0
  74. huaweicloudsdkosm/v2/model/extends_param_v2.py +485 -0
  75. huaweicloudsdkosm/v2/model/file_operate_log.py +311 -0
  76. huaweicloudsdkosm/v2/model/im_status_v2.py +137 -0
  77. huaweicloudsdkosm/v2/model/im_unread_v2.py +166 -0
  78. huaweicloudsdkosm/v2/model/incident_detail_ext_info_v2.py +282 -0
  79. huaweicloudsdkosm/v2/model/incident_detail_info_v2.py +586 -0
  80. huaweicloudsdkosm/v2/model/incident_info.py +456 -0
  81. huaweicloudsdkosm/v2/model/incident_info_v2.py +535 -0
  82. huaweicloudsdkosm/v2/model/incident_message_v2.py +311 -0
  83. huaweicloudsdkosm/v2/model/incident_operate_log_v2.py +340 -0
  84. huaweicloudsdkosm/v2/model/incident_order_auth_detail_info_v2.py +282 -0
  85. huaweicloudsdkosm/v2/model/incident_order_auth_v2.py +572 -0
  86. huaweicloudsdkosm/v2/model/incident_order_cc_email_info_v2.py +166 -0
  87. huaweicloudsdkosm/v2/model/incident_product_category_v2.py +224 -0
  88. huaweicloudsdkosm/v2/model/incident_satisfaction_v2_do.py +280 -0
  89. huaweicloudsdkosm/v2/model/incident_status_count.py +137 -0
  90. huaweicloudsdkosm/v2/model/incident_sub_type_v2_do.py +166 -0
  91. huaweicloudsdkosm/v2/model/incident_temp_v2.py +166 -0
  92. huaweicloudsdkosm/v2/model/intellectual_property_v2.py +195 -0
  93. huaweicloudsdkosm/v2/model/item_result_detail_vo.py +311 -0
  94. huaweicloudsdkosm/v2/model/item_result_vo.py +282 -0
  95. huaweicloudsdkosm/v2/model/label_info.py +166 -0
  96. huaweicloudsdkosm/v2/model/list_accessory_access_urls_request.py +223 -0
  97. huaweicloudsdkosm/v2/model/list_accessory_access_urls_response.py +112 -0
  98. huaweicloudsdkosm/v2/model/list_agencies_request.py +166 -0
  99. huaweicloudsdkosm/v2/model/list_agencies_response.py +141 -0
  100. huaweicloudsdkosm/v2/model/list_area_codes_request.py +166 -0
  101. huaweicloudsdkosm/v2/model/list_area_codes_response.py +112 -0
  102. huaweicloudsdkosm/v2/model/list_authorizations_request.py +369 -0
  103. huaweicloudsdkosm/v2/model/list_authorizations_response.py +141 -0
  104. huaweicloudsdkosm/v2/model/list_case_categories_request.py +166 -0
  105. huaweicloudsdkosm/v2/model/list_case_categories_response.py +141 -0
  106. huaweicloudsdkosm/v2/model/list_case_cc_emails_request.py +166 -0
  107. huaweicloudsdkosm/v2/model/list_case_cc_emails_response.py +137 -0
  108. huaweicloudsdkosm/v2/model/list_case_counts_request.py +195 -0
  109. huaweicloudsdkosm/v2/model/list_case_counts_response.py +112 -0
  110. huaweicloudsdkosm/v2/model/list_case_labels_request.py +194 -0
  111. huaweicloudsdkosm/v2/model/list_case_labels_response.py +112 -0
  112. huaweicloudsdkosm/v2/model/list_case_limits_request.py +166 -0
  113. huaweicloudsdkosm/v2/model/list_case_limits_response.py +108 -0
  114. huaweicloudsdkosm/v2/model/list_case_operate_logs_request.py +281 -0
  115. huaweicloudsdkosm/v2/model/list_case_operate_logs_response.py +141 -0
  116. huaweicloudsdkosm/v2/model/list_case_quotas_request.py +223 -0
  117. huaweicloudsdkosm/v2/model/list_case_quotas_response.py +141 -0
  118. huaweicloudsdkosm/v2/model/list_case_templates_request.py +194 -0
  119. huaweicloudsdkosm/v2/model/list_case_templates_response.py +141 -0
  120. huaweicloudsdkosm/v2/model/list_cases_request.py +543 -0
  121. huaweicloudsdkosm/v2/model/list_cases_response.py +141 -0
  122. huaweicloudsdkosm/v2/model/list_customers_regions_request.py +166 -0
  123. huaweicloudsdkosm/v2/model/list_customers_regions_response.py +141 -0
  124. huaweicloudsdkosm/v2/model/list_diagnose_items_request.py +104 -0
  125. huaweicloudsdkosm/v2/model/list_diagnose_items_response.py +170 -0
  126. huaweicloudsdkosm/v2/model/list_diagnose_job_request.py +108 -0
  127. huaweicloudsdkosm/v2/model/list_diagnose_job_response.py +286 -0
  128. huaweicloudsdkosm/v2/model/list_diagnose_records_request.py +166 -0
  129. huaweicloudsdkosm/v2/model/list_diagnose_records_response.py +199 -0
  130. huaweicloudsdkosm/v2/model/list_diagnose_resources_request.py +104 -0
  131. huaweicloudsdkosm/v2/model/list_diagnose_resources_response.py +141 -0
  132. huaweicloudsdkosm/v2/model/list_extends_params_request.py +252 -0
  133. huaweicloudsdkosm/v2/model/list_extends_params_response.py +141 -0
  134. huaweicloudsdkosm/v2/model/list_has_verified_contacts_request.py +427 -0
  135. huaweicloudsdkosm/v2/model/list_has_verified_contacts_response.py +141 -0
  136. huaweicloudsdkosm/v2/model/list_history_operate_logs_request.py +366 -0
  137. huaweicloudsdkosm/v2/model/list_history_operate_logs_response.py +141 -0
  138. huaweicloudsdkosm/v2/model/list_history_sessions_request.py +309 -0
  139. huaweicloudsdkosm/v2/model/list_history_sessions_response.py +141 -0
  140. huaweicloudsdkosm/v2/model/list_labels_request.py +282 -0
  141. huaweicloudsdkosm/v2/model/list_labels_response.py +141 -0
  142. huaweicloudsdkosm/v2/model/list_messages_request.py +281 -0
  143. huaweicloudsdkosm/v2/model/list_messages_response.py +141 -0
  144. huaweicloudsdkosm/v2/model/list_more_instant_messages_request.py +307 -0
  145. huaweicloudsdkosm/v2/model/list_more_instant_messages_response.py +141 -0
  146. huaweicloudsdkosm/v2/model/list_new_instant_messages_request.py +252 -0
  147. huaweicloudsdkosm/v2/model/list_new_instant_messages_response.py +170 -0
  148. huaweicloudsdkosm/v2/model/list_order_incident_request.py +543 -0
  149. huaweicloudsdkosm/v2/model/list_order_incident_response.py +141 -0
  150. huaweicloudsdkosm/v2/model/list_privileges_request.py +194 -0
  151. huaweicloudsdkosm/v2/model/list_privileges_response.py +112 -0
  152. huaweicloudsdkosm/v2/model/list_problem_types_request.py +195 -0
  153. huaweicloudsdkosm/v2/model/list_problem_types_response.py +141 -0
  154. huaweicloudsdkosm/v2/model/list_product_categories_request.py +195 -0
  155. huaweicloudsdkosm/v2/model/list_product_categories_response.py +141 -0
  156. huaweicloudsdkosm/v2/model/list_regions_request.py +166 -0
  157. huaweicloudsdkosm/v2/model/list_regions_response.py +141 -0
  158. huaweicloudsdkosm/v2/model/list_relation_request.py +194 -0
  159. huaweicloudsdkosm/v2/model/list_relation_response.py +112 -0
  160. huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_request.py +166 -0
  161. huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_response.py +141 -0
  162. huaweicloudsdkosm/v2/model/list_severities_request.py +222 -0
  163. huaweicloudsdkosm/v2/model/list_severities_response.py +141 -0
  164. huaweicloudsdkosm/v2/model/list_sub_customers_request.py +224 -0
  165. huaweicloudsdkosm/v2/model/list_sub_customers_response.py +112 -0
  166. huaweicloudsdkosm/v2/model/list_transport_histories_request.py +366 -0
  167. huaweicloudsdkosm/v2/model/list_transport_histories_response.py +141 -0
  168. huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_request.py +223 -0
  169. huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_response.py +112 -0
  170. huaweicloudsdkosm/v2/model/operate_authorization_v2_req.py +137 -0
  171. huaweicloudsdkosm/v2/model/operate_history_session.py +195 -0
  172. huaweicloudsdkosm/v2/model/operate_log.py +137 -0
  173. huaweicloudsdkosm/v2/model/partners_service_info.py +224 -0
  174. huaweicloudsdkosm/v2/model/put_case_ext_param_req.py +166 -0
  175. huaweicloudsdkosm/v2/model/query_diagnose_items_req.py +137 -0
  176. huaweicloudsdkosm/v2/model/query_message_info_v2.py +340 -0
  177. huaweicloudsdkosm/v2/model/query_tsc_diagnose_resources_req.py +137 -0
  178. huaweicloudsdkosm/v2/model/region.py +137 -0
  179. huaweicloudsdkosm/v2/model/revoke_message_request.py +222 -0
  180. huaweicloudsdkosm/v2/model/revoke_message_response.py +141 -0
  181. huaweicloudsdkosm/v2/model/satisfaction_dimension_simple_info_v2.py +253 -0
  182. huaweicloudsdkosm/v2/model/send_verify_code_req.py +163 -0
  183. huaweicloudsdkosm/v2/model/send_verify_codes_request.py +191 -0
  184. huaweicloudsdkosm/v2/model/send_verify_codes_response.py +141 -0
  185. huaweicloudsdkosm/v2/model/severity_v2_do.py +166 -0
  186. huaweicloudsdkosm/v2/model/show_accessory_limits_request.py +166 -0
  187. huaweicloudsdkosm/v2/model/show_accessory_limits_response.py +108 -0
  188. huaweicloudsdkosm/v2/model/show_authorization_detail_request.py +223 -0
  189. huaweicloudsdkosm/v2/model/show_authorization_detail_response.py +605 -0
  190. huaweicloudsdkosm/v2/model/show_case_detail_request.py +223 -0
  191. huaweicloudsdkosm/v2/model/show_case_detail_response.py +108 -0
  192. huaweicloudsdkosm/v2/model/show_case_extends_param_request.py +223 -0
  193. huaweicloudsdkosm/v2/model/show_case_extends_param_response.py +141 -0
  194. huaweicloudsdkosm/v2/model/show_case_status_request.py +194 -0
  195. huaweicloudsdkosm/v2/model/show_case_status_response.py +112 -0
  196. huaweicloudsdkosm/v2/model/show_configuration_request.py +107 -0
  197. huaweicloudsdkosm/v2/model/show_configuration_response.py +199 -0
  198. huaweicloudsdkosm/v2/model/show_customer_privilege_policy_request.py +166 -0
  199. huaweicloudsdkosm/v2/model/show_customer_privilege_policy_response.py +112 -0
  200. huaweicloudsdkosm/v2/model/show_download_accessory_url_request.py +193 -0
  201. huaweicloudsdkosm/v2/model/show_download_accessory_url_response.py +170 -0
  202. huaweicloudsdkosm/v2/model/show_latest_published_agreement_request.py +195 -0
  203. huaweicloudsdkosm/v2/model/show_latest_published_agreement_response.py +108 -0
  204. huaweicloudsdkosm/v2/model/show_login_type_request.py +137 -0
  205. huaweicloudsdkosm/v2/model/show_login_type_response.py +112 -0
  206. huaweicloudsdkosm/v2/model/show_partners_cases_privilege_request.py +166 -0
  207. huaweicloudsdkosm/v2/model/show_partners_cases_privilege_response.py +112 -0
  208. huaweicloudsdkosm/v2/model/show_partners_service_info_request.py +224 -0
  209. huaweicloudsdkosm/v2/model/show_partners_service_info_response.py +108 -0
  210. huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_request.py +195 -0
  211. huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_response.py +112 -0
  212. huaweicloudsdkosm/v2/model/sign_agreement_req.py +108 -0
  213. huaweicloudsdkosm/v2/model/sign_published_agreement_request.py +219 -0
  214. huaweicloudsdkosm/v2/model/sign_published_agreement_response.py +112 -0
  215. huaweicloudsdkosm/v2/model/simple_accessory_v2.py +137 -0
  216. huaweicloudsdkosm/v2/model/simple_incident_business_type_v2.py +195 -0
  217. huaweicloudsdkosm/v2/model/sub_cutomer_info_v2.py +253 -0
  218. huaweicloudsdkosm/v2/model/submit_diagnose_job_req.py +165 -0
  219. huaweicloudsdkosm/v2/model/tenant_agree_auth_detail_v2.py +194 -0
  220. huaweicloudsdkosm/v2/model/tenant_config_v2.py +108 -0
  221. huaweicloudsdkosm/v2/model/update_authorizations_request.py +248 -0
  222. huaweicloudsdkosm/v2/model/update_authorizations_response.py +141 -0
  223. huaweicloudsdkosm/v2/model/update_case_contact_info_req.py +253 -0
  224. huaweicloudsdkosm/v2/model/update_case_contact_info_request.py +219 -0
  225. huaweicloudsdkosm/v2/model/update_case_contact_info_response.py +141 -0
  226. huaweicloudsdkosm/v2/model/update_cases_request.py +247 -0
  227. huaweicloudsdkosm/v2/model/update_cases_response.py +141 -0
  228. huaweicloudsdkosm/v2/model/update_labels_req.py +135 -0
  229. huaweicloudsdkosm/v2/model/update_labels_request.py +219 -0
  230. huaweicloudsdkosm/v2/model/update_labels_response.py +141 -0
  231. huaweicloudsdkosm/v2/model/update_new_instant_messages_read_request.py +219 -0
  232. huaweicloudsdkosm/v2/model/update_new_instant_messages_read_response.py +141 -0
  233. huaweicloudsdkosm/v2/model/update_unread_new_instant_msg_v2_req.py +108 -0
  234. huaweicloudsdkosm/v2/model/upload_accessory_request.py +191 -0
  235. huaweicloudsdkosm/v2/model/upload_accessory_request_body.py +135 -0
  236. huaweicloudsdkosm/v2/model/upload_accessory_response.py +112 -0
  237. huaweicloudsdkosm/v2/model/upload_json_accessories_request.py +191 -0
  238. huaweicloudsdkosm/v2/model/upload_json_accessories_response.py +112 -0
  239. huaweicloudsdkosm/v2/model/user_instant_incident_msg_v2.py +137 -0
  240. huaweicloudsdkosm/v2/model/verify_host_v2_req.py +192 -0
  241. huaweicloudsdkosm/v2/model/verify_verify_code_v2_req.py +250 -0
  242. huaweicloudsdkosm/v2/model/work_order_operate_v2_req.py +195 -0
  243. huaweicloudsdkosm/v2/osm_async_client.py +6081 -0
  244. huaweicloudsdkosm/v2/osm_client.py +6078 -0
  245. huaweicloudsdkosm/v2/region/__init__.py +0 -0
  246. huaweicloudsdkosm/v2/region/osm_region.py +31 -0
  247. huaweicloudsdkosm-3.1.174.dist-info/METADATA +25 -0
  248. huaweicloudsdkosm-3.1.174.dist-info/RECORD +250 -0
  249. huaweicloudsdkosm-3.1.174.dist-info/WHEEL +4 -0
  250. huaweicloudsdkosm-3.1.174.dist-info/licenses/LICENSE +13 -0
@@ -0,0 +1,192 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class VerifyHostV2Req:
7
+
8
+ """
9
+ Attributes:
10
+ openapi_types (dict): The key is attribute name
11
+ and the value is attribute type.
12
+ attribute_map (dict): The key is attribute name
13
+ and the value is json key in definition.
14
+ """
15
+ sensitive_list = []
16
+
17
+ openapi_types = {
18
+ 'port': 'int',
19
+ 'account': 'str',
20
+ 'password': 'str',
21
+ 'group_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'port': 'port',
26
+ 'account': 'account',
27
+ 'password': 'password',
28
+ 'group_id': 'group_id'
29
+ }
30
+
31
+ def __init__(self, port=None, account=None, password=None, group_id=None):
32
+ r"""VerifyHostV2Req
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param port: 主机端口
37
+ :type port: int
38
+ :param account: 主机账号
39
+ :type account: str
40
+ :param password: 主机密码
41
+ :type password: str
42
+ :param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
43
+ :type group_id: str
44
+ """
45
+
46
+
47
+
48
+ self._port = None
49
+ self._account = None
50
+ self._password = None
51
+ self._group_id = None
52
+ self.discriminator = None
53
+
54
+ self.port = port
55
+ self.account = account
56
+ self.password = password
57
+ if group_id is not None:
58
+ self.group_id = group_id
59
+
60
+ @property
61
+ def port(self):
62
+ r"""Gets the port of this VerifyHostV2Req.
63
+
64
+ 主机端口
65
+
66
+ :return: The port of this VerifyHostV2Req.
67
+ :rtype: int
68
+ """
69
+ return self._port
70
+
71
+ @port.setter
72
+ def port(self, port):
73
+ r"""Sets the port of this VerifyHostV2Req.
74
+
75
+ 主机端口
76
+
77
+ :param port: The port of this VerifyHostV2Req.
78
+ :type port: int
79
+ """
80
+ self._port = port
81
+
82
+ @property
83
+ def account(self):
84
+ r"""Gets the account of this VerifyHostV2Req.
85
+
86
+ 主机账号
87
+
88
+ :return: The account of this VerifyHostV2Req.
89
+ :rtype: str
90
+ """
91
+ return self._account
92
+
93
+ @account.setter
94
+ def account(self, account):
95
+ r"""Sets the account of this VerifyHostV2Req.
96
+
97
+ 主机账号
98
+
99
+ :param account: The account of this VerifyHostV2Req.
100
+ :type account: str
101
+ """
102
+ self._account = account
103
+
104
+ @property
105
+ def password(self):
106
+ r"""Gets the password of this VerifyHostV2Req.
107
+
108
+ 主机密码
109
+
110
+ :return: The password of this VerifyHostV2Req.
111
+ :rtype: str
112
+ """
113
+ return self._password
114
+
115
+ @password.setter
116
+ def password(self, password):
117
+ r"""Sets the password of this VerifyHostV2Req.
118
+
119
+ 主机密码
120
+
121
+ :param password: The password of this VerifyHostV2Req.
122
+ :type password: str
123
+ """
124
+ self._password = password
125
+
126
+ @property
127
+ def group_id(self):
128
+ r"""Gets the group_id of this VerifyHostV2Req.
129
+
130
+ 华为云IAM组id,操作查询同组其他工单时,该id必传
131
+
132
+ :return: The group_id of this VerifyHostV2Req.
133
+ :rtype: str
134
+ """
135
+ return self._group_id
136
+
137
+ @group_id.setter
138
+ def group_id(self, group_id):
139
+ r"""Sets the group_id of this VerifyHostV2Req.
140
+
141
+ 华为云IAM组id,操作查询同组其他工单时,该id必传
142
+
143
+ :param group_id: The group_id of this VerifyHostV2Req.
144
+ :type group_id: str
145
+ """
146
+ self._group_id = group_id
147
+
148
+ def to_dict(self):
149
+ result = {}
150
+
151
+ for attr, _ in self.openapi_types.items():
152
+ value = getattr(self, attr)
153
+ if isinstance(value, list):
154
+ result[attr] = list(map(
155
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
156
+ value
157
+ ))
158
+ elif hasattr(value, "to_dict"):
159
+ result[attr] = value.to_dict()
160
+ elif isinstance(value, dict):
161
+ result[attr] = dict(map(
162
+ lambda item: (item[0], item[1].to_dict())
163
+ if hasattr(item[1], "to_dict") else item,
164
+ value.items()
165
+ ))
166
+ else:
167
+ if attr in self.sensitive_list:
168
+ result[attr] = "****"
169
+ else:
170
+ result[attr] = value
171
+
172
+ return result
173
+
174
+ def to_str(self):
175
+ """Returns the string representation of the model"""
176
+ import simplejson as json
177
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
178
+
179
+ def __repr__(self):
180
+ """For `print`"""
181
+ return self.to_str()
182
+
183
+ def __eq__(self, other):
184
+ """Returns true if both objects are equal"""
185
+ if not isinstance(other, VerifyHostV2Req):
186
+ return False
187
+
188
+ return self.__dict__ == other.__dict__
189
+
190
+ def __ne__(self, other):
191
+ """Returns true if both objects are not equal"""
192
+ return not self == other
@@ -0,0 +1,250 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class VerifyVerifyCodeV2Req:
7
+
8
+ """
9
+ Attributes:
10
+ openapi_types (dict): The key is attribute name
11
+ and the value is attribute type.
12
+ attribute_map (dict): The key is attribute name
13
+ and the value is json key in definition.
14
+ """
15
+ sensitive_list = []
16
+
17
+ openapi_types = {
18
+ 'verify_code': 'str',
19
+ 'contact_value': 'str',
20
+ 'contact_way': 'int',
21
+ 'area_code': 'str',
22
+ 'x_customer_id': 'str',
23
+ 'customer_id': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'verify_code': 'verify_code',
28
+ 'contact_value': 'contact_value',
29
+ 'contact_way': 'contact_way',
30
+ 'area_code': 'area_code',
31
+ 'x_customer_id': 'x_customer_id',
32
+ 'customer_id': 'customer_id'
33
+ }
34
+
35
+ def __init__(self, verify_code=None, contact_value=None, contact_way=None, area_code=None, x_customer_id=None, customer_id=None):
36
+ r"""VerifyVerifyCodeV2Req
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param verify_code: 验证码
41
+ :type verify_code: str
42
+ :param contact_value: 联系方式的值
43
+ :type contact_value: str
44
+ :param contact_way: 联系方式的类型,0:短信;1:邮件
45
+ :type contact_way: int
46
+ :param area_code: 国家码
47
+ :type area_code: str
48
+ :param x_customer_id: 子用户id
49
+ :type x_customer_id: str
50
+ :param customer_id: 客户id
51
+ :type customer_id: str
52
+ """
53
+
54
+
55
+
56
+ self._verify_code = None
57
+ self._contact_value = None
58
+ self._contact_way = None
59
+ self._area_code = None
60
+ self._x_customer_id = None
61
+ self._customer_id = None
62
+ self.discriminator = None
63
+
64
+ self.verify_code = verify_code
65
+ self.contact_value = contact_value
66
+ self.contact_way = contact_way
67
+ if area_code is not None:
68
+ self.area_code = area_code
69
+ if x_customer_id is not None:
70
+ self.x_customer_id = x_customer_id
71
+ if customer_id is not None:
72
+ self.customer_id = customer_id
73
+
74
+ @property
75
+ def verify_code(self):
76
+ r"""Gets the verify_code of this VerifyVerifyCodeV2Req.
77
+
78
+ 验证码
79
+
80
+ :return: The verify_code of this VerifyVerifyCodeV2Req.
81
+ :rtype: str
82
+ """
83
+ return self._verify_code
84
+
85
+ @verify_code.setter
86
+ def verify_code(self, verify_code):
87
+ r"""Sets the verify_code of this VerifyVerifyCodeV2Req.
88
+
89
+ 验证码
90
+
91
+ :param verify_code: The verify_code of this VerifyVerifyCodeV2Req.
92
+ :type verify_code: str
93
+ """
94
+ self._verify_code = verify_code
95
+
96
+ @property
97
+ def contact_value(self):
98
+ r"""Gets the contact_value of this VerifyVerifyCodeV2Req.
99
+
100
+ 联系方式的值
101
+
102
+ :return: The contact_value of this VerifyVerifyCodeV2Req.
103
+ :rtype: str
104
+ """
105
+ return self._contact_value
106
+
107
+ @contact_value.setter
108
+ def contact_value(self, contact_value):
109
+ r"""Sets the contact_value of this VerifyVerifyCodeV2Req.
110
+
111
+ 联系方式的值
112
+
113
+ :param contact_value: The contact_value of this VerifyVerifyCodeV2Req.
114
+ :type contact_value: str
115
+ """
116
+ self._contact_value = contact_value
117
+
118
+ @property
119
+ def contact_way(self):
120
+ r"""Gets the contact_way of this VerifyVerifyCodeV2Req.
121
+
122
+ 联系方式的类型,0:短信;1:邮件
123
+
124
+ :return: The contact_way of this VerifyVerifyCodeV2Req.
125
+ :rtype: int
126
+ """
127
+ return self._contact_way
128
+
129
+ @contact_way.setter
130
+ def contact_way(self, contact_way):
131
+ r"""Sets the contact_way of this VerifyVerifyCodeV2Req.
132
+
133
+ 联系方式的类型,0:短信;1:邮件
134
+
135
+ :param contact_way: The contact_way of this VerifyVerifyCodeV2Req.
136
+ :type contact_way: int
137
+ """
138
+ self._contact_way = contact_way
139
+
140
+ @property
141
+ def area_code(self):
142
+ r"""Gets the area_code of this VerifyVerifyCodeV2Req.
143
+
144
+ 国家码
145
+
146
+ :return: The area_code of this VerifyVerifyCodeV2Req.
147
+ :rtype: str
148
+ """
149
+ return self._area_code
150
+
151
+ @area_code.setter
152
+ def area_code(self, area_code):
153
+ r"""Sets the area_code of this VerifyVerifyCodeV2Req.
154
+
155
+ 国家码
156
+
157
+ :param area_code: The area_code of this VerifyVerifyCodeV2Req.
158
+ :type area_code: str
159
+ """
160
+ self._area_code = area_code
161
+
162
+ @property
163
+ def x_customer_id(self):
164
+ r"""Gets the x_customer_id of this VerifyVerifyCodeV2Req.
165
+
166
+ 子用户id
167
+
168
+ :return: The x_customer_id of this VerifyVerifyCodeV2Req.
169
+ :rtype: str
170
+ """
171
+ return self._x_customer_id
172
+
173
+ @x_customer_id.setter
174
+ def x_customer_id(self, x_customer_id):
175
+ r"""Sets the x_customer_id of this VerifyVerifyCodeV2Req.
176
+
177
+ 子用户id
178
+
179
+ :param x_customer_id: The x_customer_id of this VerifyVerifyCodeV2Req.
180
+ :type x_customer_id: str
181
+ """
182
+ self._x_customer_id = x_customer_id
183
+
184
+ @property
185
+ def customer_id(self):
186
+ r"""Gets the customer_id of this VerifyVerifyCodeV2Req.
187
+
188
+ 客户id
189
+
190
+ :return: The customer_id of this VerifyVerifyCodeV2Req.
191
+ :rtype: str
192
+ """
193
+ return self._customer_id
194
+
195
+ @customer_id.setter
196
+ def customer_id(self, customer_id):
197
+ r"""Sets the customer_id of this VerifyVerifyCodeV2Req.
198
+
199
+ 客户id
200
+
201
+ :param customer_id: The customer_id of this VerifyVerifyCodeV2Req.
202
+ :type customer_id: str
203
+ """
204
+ self._customer_id = customer_id
205
+
206
+ def to_dict(self):
207
+ result = {}
208
+
209
+ for attr, _ in self.openapi_types.items():
210
+ value = getattr(self, attr)
211
+ if isinstance(value, list):
212
+ result[attr] = list(map(
213
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
214
+ value
215
+ ))
216
+ elif hasattr(value, "to_dict"):
217
+ result[attr] = value.to_dict()
218
+ elif isinstance(value, dict):
219
+ result[attr] = dict(map(
220
+ lambda item: (item[0], item[1].to_dict())
221
+ if hasattr(item[1], "to_dict") else item,
222
+ value.items()
223
+ ))
224
+ else:
225
+ if attr in self.sensitive_list:
226
+ result[attr] = "****"
227
+ else:
228
+ result[attr] = value
229
+
230
+ return result
231
+
232
+ def to_str(self):
233
+ """Returns the string representation of the model"""
234
+ import simplejson as json
235
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
236
+
237
+ def __repr__(self):
238
+ """For `print`"""
239
+ return self.to_str()
240
+
241
+ def __eq__(self, other):
242
+ """Returns true if both objects are equal"""
243
+ if not isinstance(other, VerifyVerifyCodeV2Req):
244
+ return False
245
+
246
+ return self.__dict__ == other.__dict__
247
+
248
+ def __ne__(self, other):
249
+ """Returns true if both objects are not equal"""
250
+ return not self == other
@@ -0,0 +1,195 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class WorkOrderOperateV2Req:
7
+
8
+ """
9
+ Attributes:
10
+ openapi_types (dict): The key is attribute name
11
+ and the value is attribute type.
12
+ attribute_map (dict): The key is attribute name
13
+ and the value is json key in definition.
14
+ """
15
+ sensitive_list = []
16
+
17
+ openapi_types = {
18
+ 'judgement': 'str',
19
+ 'operate_desc': 'str',
20
+ 'group_id': 'str',
21
+ 'incident_satisfaction_list': 'list[IncidentSatisfactionV2Do]'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'judgement': 'judgement',
26
+ 'operate_desc': 'operate_desc',
27
+ 'group_id': 'group_id',
28
+ 'incident_satisfaction_list': 'incident_satisfaction_list'
29
+ }
30
+
31
+ def __init__(self, judgement=None, operate_desc=None, group_id=None, incident_satisfaction_list=None):
32
+ r"""WorkOrderOperateV2Req
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param judgement: 评价内容
37
+ :type judgement: str
38
+ :param operate_desc: 操作描述
39
+ :type operate_desc: str
40
+ :param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
41
+ :type group_id: str
42
+ :param incident_satisfaction_list: 工单满意度列表
43
+ :type incident_satisfaction_list: list[:class:`huaweicloudsdkosm.v2.IncidentSatisfactionV2Do`]
44
+ """
45
+
46
+
47
+
48
+ self._judgement = None
49
+ self._operate_desc = None
50
+ self._group_id = None
51
+ self._incident_satisfaction_list = None
52
+ self.discriminator = None
53
+
54
+ if judgement is not None:
55
+ self.judgement = judgement
56
+ if operate_desc is not None:
57
+ self.operate_desc = operate_desc
58
+ if group_id is not None:
59
+ self.group_id = group_id
60
+ if incident_satisfaction_list is not None:
61
+ self.incident_satisfaction_list = incident_satisfaction_list
62
+
63
+ @property
64
+ def judgement(self):
65
+ r"""Gets the judgement of this WorkOrderOperateV2Req.
66
+
67
+ 评价内容
68
+
69
+ :return: The judgement of this WorkOrderOperateV2Req.
70
+ :rtype: str
71
+ """
72
+ return self._judgement
73
+
74
+ @judgement.setter
75
+ def judgement(self, judgement):
76
+ r"""Sets the judgement of this WorkOrderOperateV2Req.
77
+
78
+ 评价内容
79
+
80
+ :param judgement: The judgement of this WorkOrderOperateV2Req.
81
+ :type judgement: str
82
+ """
83
+ self._judgement = judgement
84
+
85
+ @property
86
+ def operate_desc(self):
87
+ r"""Gets the operate_desc of this WorkOrderOperateV2Req.
88
+
89
+ 操作描述
90
+
91
+ :return: The operate_desc of this WorkOrderOperateV2Req.
92
+ :rtype: str
93
+ """
94
+ return self._operate_desc
95
+
96
+ @operate_desc.setter
97
+ def operate_desc(self, operate_desc):
98
+ r"""Sets the operate_desc of this WorkOrderOperateV2Req.
99
+
100
+ 操作描述
101
+
102
+ :param operate_desc: The operate_desc of this WorkOrderOperateV2Req.
103
+ :type operate_desc: str
104
+ """
105
+ self._operate_desc = operate_desc
106
+
107
+ @property
108
+ def group_id(self):
109
+ r"""Gets the group_id of this WorkOrderOperateV2Req.
110
+
111
+ 华为云IAM组id,操作查询同组其他工单时,该id必传
112
+
113
+ :return: The group_id of this WorkOrderOperateV2Req.
114
+ :rtype: str
115
+ """
116
+ return self._group_id
117
+
118
+ @group_id.setter
119
+ def group_id(self, group_id):
120
+ r"""Sets the group_id of this WorkOrderOperateV2Req.
121
+
122
+ 华为云IAM组id,操作查询同组其他工单时,该id必传
123
+
124
+ :param group_id: The group_id of this WorkOrderOperateV2Req.
125
+ :type group_id: str
126
+ """
127
+ self._group_id = group_id
128
+
129
+ @property
130
+ def incident_satisfaction_list(self):
131
+ r"""Gets the incident_satisfaction_list of this WorkOrderOperateV2Req.
132
+
133
+ 工单满意度列表
134
+
135
+ :return: The incident_satisfaction_list of this WorkOrderOperateV2Req.
136
+ :rtype: list[:class:`huaweicloudsdkosm.v2.IncidentSatisfactionV2Do`]
137
+ """
138
+ return self._incident_satisfaction_list
139
+
140
+ @incident_satisfaction_list.setter
141
+ def incident_satisfaction_list(self, incident_satisfaction_list):
142
+ r"""Sets the incident_satisfaction_list of this WorkOrderOperateV2Req.
143
+
144
+ 工单满意度列表
145
+
146
+ :param incident_satisfaction_list: The incident_satisfaction_list of this WorkOrderOperateV2Req.
147
+ :type incident_satisfaction_list: list[:class:`huaweicloudsdkosm.v2.IncidentSatisfactionV2Do`]
148
+ """
149
+ self._incident_satisfaction_list = incident_satisfaction_list
150
+
151
+ def to_dict(self):
152
+ result = {}
153
+
154
+ for attr, _ in self.openapi_types.items():
155
+ value = getattr(self, attr)
156
+ if isinstance(value, list):
157
+ result[attr] = list(map(
158
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
159
+ value
160
+ ))
161
+ elif hasattr(value, "to_dict"):
162
+ result[attr] = value.to_dict()
163
+ elif isinstance(value, dict):
164
+ result[attr] = dict(map(
165
+ lambda item: (item[0], item[1].to_dict())
166
+ if hasattr(item[1], "to_dict") else item,
167
+ value.items()
168
+ ))
169
+ else:
170
+ if attr in self.sensitive_list:
171
+ result[attr] = "****"
172
+ else:
173
+ result[attr] = value
174
+
175
+ return result
176
+
177
+ def to_str(self):
178
+ """Returns the string representation of the model"""
179
+ import simplejson as json
180
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
181
+
182
+ def __repr__(self):
183
+ """For `print`"""
184
+ return self.to_str()
185
+
186
+ def __eq__(self, other):
187
+ """Returns true if both objects are equal"""
188
+ if not isinstance(other, WorkOrderOperateV2Req):
189
+ return False
190
+
191
+ return self.__dict__ == other.__dict__
192
+
193
+ def __ne__(self, other):
194
+ """Returns true if both objects are not equal"""
195
+ return not self == other