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,543 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ListCasesRequest:
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
+ 'search_key': 'list[str]',
19
+ 'label_id_list': 'list[str]',
20
+ 'app_key': 'str',
21
+ 'incident_id': 'str',
22
+ 'query_start_time': 'str',
23
+ 'query_end_time': 'str',
24
+ 'status': 'int',
25
+ 'incident_status': 'str',
26
+ 'x_customer_id': 'str',
27
+ 'x_customer_name': 'str',
28
+ 'group_id': 'str',
29
+ 'offset': 'int',
30
+ 'limit': 'int',
31
+ 'x_site': 'int',
32
+ 'x_language': 'str',
33
+ 'x_time_zone': 'str'
34
+ }
35
+
36
+ attribute_map = {
37
+ 'search_key': 'search_key',
38
+ 'label_id_list': 'label_id_list',
39
+ 'app_key': 'app_key',
40
+ 'incident_id': 'incident_id',
41
+ 'query_start_time': 'query_start_time',
42
+ 'query_end_time': 'query_end_time',
43
+ 'status': 'status',
44
+ 'incident_status': 'incident_status',
45
+ 'x_customer_id': 'x_customer_id',
46
+ 'x_customer_name': 'x_customer_name',
47
+ 'group_id': 'group_id',
48
+ 'offset': 'offset',
49
+ 'limit': 'limit',
50
+ 'x_site': 'X-Site',
51
+ 'x_language': 'X-Language',
52
+ 'x_time_zone': 'X-Time-Zone'
53
+ }
54
+
55
+ def __init__(self, search_key=None, label_id_list=None, app_key=None, incident_id=None, query_start_time=None, query_end_time=None, status=None, incident_status=None, x_customer_id=None, x_customer_name=None, group_id=None, offset=None, limit=None, x_site=None, x_language=None, x_time_zone=None):
56
+ r"""ListCasesRequest
57
+
58
+ The model defined in huaweicloud sdk
59
+
60
+ :param search_key: 关键字查询,支持多个空格隔开
61
+ :type search_key: list[str]
62
+ :param label_id_list: 标签列表,最多支持5个
63
+ :type label_id_list: list[str]
64
+ :param app_key: app关键字查询
65
+ :type app_key: str
66
+ :param incident_id: 工单id
67
+ :type incident_id: str
68
+ :param query_start_time: 查询开始时间
69
+ :type query_start_time: str
70
+ :param query_end_time: 查询结束时间
71
+ :type query_end_time: str
72
+ :param status: 状态 0:待受理 1:处理中 2:待确认结果 3:已完成 4:已撤销 12:无效 17: 待反馈
73
+ :type status: int
74
+ :param incident_status: 状态列表
75
+ :type incident_status: str
76
+ :param x_customer_id: 子用户id
77
+ :type x_customer_id: str
78
+ :param x_customer_name: 子用户名称
79
+ :type x_customer_name: str
80
+ :param group_id: 华为云IAM组id,同组其他工单时,该id必传
81
+ :type group_id: str
82
+ :param offset: 查询偏移量
83
+ :type offset: int
84
+ :param limit: 查询限制数量
85
+ :type limit: int
86
+ :param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
87
+ :type x_site: int
88
+ :param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
89
+ :type x_language: str
90
+ :param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
91
+ :type x_time_zone: str
92
+ """
93
+
94
+
95
+
96
+ self._search_key = None
97
+ self._label_id_list = None
98
+ self._app_key = None
99
+ self._incident_id = None
100
+ self._query_start_time = None
101
+ self._query_end_time = None
102
+ self._status = None
103
+ self._incident_status = None
104
+ self._x_customer_id = None
105
+ self._x_customer_name = None
106
+ self._group_id = None
107
+ self._offset = None
108
+ self._limit = None
109
+ self._x_site = None
110
+ self._x_language = None
111
+ self._x_time_zone = None
112
+ self.discriminator = None
113
+
114
+ if search_key is not None:
115
+ self.search_key = search_key
116
+ if label_id_list is not None:
117
+ self.label_id_list = label_id_list
118
+ if app_key is not None:
119
+ self.app_key = app_key
120
+ if incident_id is not None:
121
+ self.incident_id = incident_id
122
+ if query_start_time is not None:
123
+ self.query_start_time = query_start_time
124
+ if query_end_time is not None:
125
+ self.query_end_time = query_end_time
126
+ if status is not None:
127
+ self.status = status
128
+ if incident_status is not None:
129
+ self.incident_status = incident_status
130
+ if x_customer_id is not None:
131
+ self.x_customer_id = x_customer_id
132
+ if x_customer_name is not None:
133
+ self.x_customer_name = x_customer_name
134
+ if group_id is not None:
135
+ self.group_id = group_id
136
+ if offset is not None:
137
+ self.offset = offset
138
+ if limit is not None:
139
+ self.limit = limit
140
+ if x_site is not None:
141
+ self.x_site = x_site
142
+ if x_language is not None:
143
+ self.x_language = x_language
144
+ if x_time_zone is not None:
145
+ self.x_time_zone = x_time_zone
146
+
147
+ @property
148
+ def search_key(self):
149
+ r"""Gets the search_key of this ListCasesRequest.
150
+
151
+ 关键字查询,支持多个空格隔开
152
+
153
+ :return: The search_key of this ListCasesRequest.
154
+ :rtype: list[str]
155
+ """
156
+ return self._search_key
157
+
158
+ @search_key.setter
159
+ def search_key(self, search_key):
160
+ r"""Sets the search_key of this ListCasesRequest.
161
+
162
+ 关键字查询,支持多个空格隔开
163
+
164
+ :param search_key: The search_key of this ListCasesRequest.
165
+ :type search_key: list[str]
166
+ """
167
+ self._search_key = search_key
168
+
169
+ @property
170
+ def label_id_list(self):
171
+ r"""Gets the label_id_list of this ListCasesRequest.
172
+
173
+ 标签列表,最多支持5个
174
+
175
+ :return: The label_id_list of this ListCasesRequest.
176
+ :rtype: list[str]
177
+ """
178
+ return self._label_id_list
179
+
180
+ @label_id_list.setter
181
+ def label_id_list(self, label_id_list):
182
+ r"""Sets the label_id_list of this ListCasesRequest.
183
+
184
+ 标签列表,最多支持5个
185
+
186
+ :param label_id_list: The label_id_list of this ListCasesRequest.
187
+ :type label_id_list: list[str]
188
+ """
189
+ self._label_id_list = label_id_list
190
+
191
+ @property
192
+ def app_key(self):
193
+ r"""Gets the app_key of this ListCasesRequest.
194
+
195
+ app关键字查询
196
+
197
+ :return: The app_key of this ListCasesRequest.
198
+ :rtype: str
199
+ """
200
+ return self._app_key
201
+
202
+ @app_key.setter
203
+ def app_key(self, app_key):
204
+ r"""Sets the app_key of this ListCasesRequest.
205
+
206
+ app关键字查询
207
+
208
+ :param app_key: The app_key of this ListCasesRequest.
209
+ :type app_key: str
210
+ """
211
+ self._app_key = app_key
212
+
213
+ @property
214
+ def incident_id(self):
215
+ r"""Gets the incident_id of this ListCasesRequest.
216
+
217
+ 工单id
218
+
219
+ :return: The incident_id of this ListCasesRequest.
220
+ :rtype: str
221
+ """
222
+ return self._incident_id
223
+
224
+ @incident_id.setter
225
+ def incident_id(self, incident_id):
226
+ r"""Sets the incident_id of this ListCasesRequest.
227
+
228
+ 工单id
229
+
230
+ :param incident_id: The incident_id of this ListCasesRequest.
231
+ :type incident_id: str
232
+ """
233
+ self._incident_id = incident_id
234
+
235
+ @property
236
+ def query_start_time(self):
237
+ r"""Gets the query_start_time of this ListCasesRequest.
238
+
239
+ 查询开始时间
240
+
241
+ :return: The query_start_time of this ListCasesRequest.
242
+ :rtype: str
243
+ """
244
+ return self._query_start_time
245
+
246
+ @query_start_time.setter
247
+ def query_start_time(self, query_start_time):
248
+ r"""Sets the query_start_time of this ListCasesRequest.
249
+
250
+ 查询开始时间
251
+
252
+ :param query_start_time: The query_start_time of this ListCasesRequest.
253
+ :type query_start_time: str
254
+ """
255
+ self._query_start_time = query_start_time
256
+
257
+ @property
258
+ def query_end_time(self):
259
+ r"""Gets the query_end_time of this ListCasesRequest.
260
+
261
+ 查询结束时间
262
+
263
+ :return: The query_end_time of this ListCasesRequest.
264
+ :rtype: str
265
+ """
266
+ return self._query_end_time
267
+
268
+ @query_end_time.setter
269
+ def query_end_time(self, query_end_time):
270
+ r"""Sets the query_end_time of this ListCasesRequest.
271
+
272
+ 查询结束时间
273
+
274
+ :param query_end_time: The query_end_time of this ListCasesRequest.
275
+ :type query_end_time: str
276
+ """
277
+ self._query_end_time = query_end_time
278
+
279
+ @property
280
+ def status(self):
281
+ r"""Gets the status of this ListCasesRequest.
282
+
283
+ 状态 0:待受理 1:处理中 2:待确认结果 3:已完成 4:已撤销 12:无效 17: 待反馈
284
+
285
+ :return: The status of this ListCasesRequest.
286
+ :rtype: int
287
+ """
288
+ return self._status
289
+
290
+ @status.setter
291
+ def status(self, status):
292
+ r"""Sets the status of this ListCasesRequest.
293
+
294
+ 状态 0:待受理 1:处理中 2:待确认结果 3:已完成 4:已撤销 12:无效 17: 待反馈
295
+
296
+ :param status: The status of this ListCasesRequest.
297
+ :type status: int
298
+ """
299
+ self._status = status
300
+
301
+ @property
302
+ def incident_status(self):
303
+ r"""Gets the incident_status of this ListCasesRequest.
304
+
305
+ 状态列表
306
+
307
+ :return: The incident_status of this ListCasesRequest.
308
+ :rtype: str
309
+ """
310
+ return self._incident_status
311
+
312
+ @incident_status.setter
313
+ def incident_status(self, incident_status):
314
+ r"""Sets the incident_status of this ListCasesRequest.
315
+
316
+ 状态列表
317
+
318
+ :param incident_status: The incident_status of this ListCasesRequest.
319
+ :type incident_status: str
320
+ """
321
+ self._incident_status = incident_status
322
+
323
+ @property
324
+ def x_customer_id(self):
325
+ r"""Gets the x_customer_id of this ListCasesRequest.
326
+
327
+ 子用户id
328
+
329
+ :return: The x_customer_id of this ListCasesRequest.
330
+ :rtype: str
331
+ """
332
+ return self._x_customer_id
333
+
334
+ @x_customer_id.setter
335
+ def x_customer_id(self, x_customer_id):
336
+ r"""Sets the x_customer_id of this ListCasesRequest.
337
+
338
+ 子用户id
339
+
340
+ :param x_customer_id: The x_customer_id of this ListCasesRequest.
341
+ :type x_customer_id: str
342
+ """
343
+ self._x_customer_id = x_customer_id
344
+
345
+ @property
346
+ def x_customer_name(self):
347
+ r"""Gets the x_customer_name of this ListCasesRequest.
348
+
349
+ 子用户名称
350
+
351
+ :return: The x_customer_name of this ListCasesRequest.
352
+ :rtype: str
353
+ """
354
+ return self._x_customer_name
355
+
356
+ @x_customer_name.setter
357
+ def x_customer_name(self, x_customer_name):
358
+ r"""Sets the x_customer_name of this ListCasesRequest.
359
+
360
+ 子用户名称
361
+
362
+ :param x_customer_name: The x_customer_name of this ListCasesRequest.
363
+ :type x_customer_name: str
364
+ """
365
+ self._x_customer_name = x_customer_name
366
+
367
+ @property
368
+ def group_id(self):
369
+ r"""Gets the group_id of this ListCasesRequest.
370
+
371
+ 华为云IAM组id,同组其他工单时,该id必传
372
+
373
+ :return: The group_id of this ListCasesRequest.
374
+ :rtype: str
375
+ """
376
+ return self._group_id
377
+
378
+ @group_id.setter
379
+ def group_id(self, group_id):
380
+ r"""Sets the group_id of this ListCasesRequest.
381
+
382
+ 华为云IAM组id,同组其他工单时,该id必传
383
+
384
+ :param group_id: The group_id of this ListCasesRequest.
385
+ :type group_id: str
386
+ """
387
+ self._group_id = group_id
388
+
389
+ @property
390
+ def offset(self):
391
+ r"""Gets the offset of this ListCasesRequest.
392
+
393
+ 查询偏移量
394
+
395
+ :return: The offset of this ListCasesRequest.
396
+ :rtype: int
397
+ """
398
+ return self._offset
399
+
400
+ @offset.setter
401
+ def offset(self, offset):
402
+ r"""Sets the offset of this ListCasesRequest.
403
+
404
+ 查询偏移量
405
+
406
+ :param offset: The offset of this ListCasesRequest.
407
+ :type offset: int
408
+ """
409
+ self._offset = offset
410
+
411
+ @property
412
+ def limit(self):
413
+ r"""Gets the limit of this ListCasesRequest.
414
+
415
+ 查询限制数量
416
+
417
+ :return: The limit of this ListCasesRequest.
418
+ :rtype: int
419
+ """
420
+ return self._limit
421
+
422
+ @limit.setter
423
+ def limit(self, limit):
424
+ r"""Sets the limit of this ListCasesRequest.
425
+
426
+ 查询限制数量
427
+
428
+ :param limit: The limit of this ListCasesRequest.
429
+ :type limit: int
430
+ """
431
+ self._limit = limit
432
+
433
+ @property
434
+ def x_site(self):
435
+ r"""Gets the x_site of this ListCasesRequest.
436
+
437
+ 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
438
+
439
+ :return: The x_site of this ListCasesRequest.
440
+ :rtype: int
441
+ """
442
+ return self._x_site
443
+
444
+ @x_site.setter
445
+ def x_site(self, x_site):
446
+ r"""Sets the x_site of this ListCasesRequest.
447
+
448
+ 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
449
+
450
+ :param x_site: The x_site of this ListCasesRequest.
451
+ :type x_site: int
452
+ """
453
+ self._x_site = x_site
454
+
455
+ @property
456
+ def x_language(self):
457
+ r"""Gets the x_language of this ListCasesRequest.
458
+
459
+ 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
460
+
461
+ :return: The x_language of this ListCasesRequest.
462
+ :rtype: str
463
+ """
464
+ return self._x_language
465
+
466
+ @x_language.setter
467
+ def x_language(self, x_language):
468
+ r"""Sets the x_language of this ListCasesRequest.
469
+
470
+ 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
471
+
472
+ :param x_language: The x_language of this ListCasesRequest.
473
+ :type x_language: str
474
+ """
475
+ self._x_language = x_language
476
+
477
+ @property
478
+ def x_time_zone(self):
479
+ r"""Gets the x_time_zone of this ListCasesRequest.
480
+
481
+ 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
482
+
483
+ :return: The x_time_zone of this ListCasesRequest.
484
+ :rtype: str
485
+ """
486
+ return self._x_time_zone
487
+
488
+ @x_time_zone.setter
489
+ def x_time_zone(self, x_time_zone):
490
+ r"""Sets the x_time_zone of this ListCasesRequest.
491
+
492
+ 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
493
+
494
+ :param x_time_zone: The x_time_zone of this ListCasesRequest.
495
+ :type x_time_zone: str
496
+ """
497
+ self._x_time_zone = x_time_zone
498
+
499
+ def to_dict(self):
500
+ result = {}
501
+
502
+ for attr, _ in self.openapi_types.items():
503
+ value = getattr(self, attr)
504
+ if isinstance(value, list):
505
+ result[attr] = list(map(
506
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
507
+ value
508
+ ))
509
+ elif hasattr(value, "to_dict"):
510
+ result[attr] = value.to_dict()
511
+ elif isinstance(value, dict):
512
+ result[attr] = dict(map(
513
+ lambda item: (item[0], item[1].to_dict())
514
+ if hasattr(item[1], "to_dict") else item,
515
+ value.items()
516
+ ))
517
+ else:
518
+ if attr in self.sensitive_list:
519
+ result[attr] = "****"
520
+ else:
521
+ result[attr] = value
522
+
523
+ return result
524
+
525
+ def to_str(self):
526
+ """Returns the string representation of the model"""
527
+ import simplejson as json
528
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
529
+
530
+ def __repr__(self):
531
+ """For `print`"""
532
+ return self.to_str()
533
+
534
+ def __eq__(self, other):
535
+ """Returns true if both objects are equal"""
536
+ if not isinstance(other, ListCasesRequest):
537
+ return False
538
+
539
+ return self.__dict__ == other.__dict__
540
+
541
+ def __ne__(self, other):
542
+ """Returns true if both objects are not equal"""
543
+ return not self == other
@@ -0,0 +1,141 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.sdk_response import SdkResponse
4
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
5
+
6
+
7
+ class ListCasesResponse(SdkResponse):
8
+
9
+ """
10
+ Attributes:
11
+ openapi_types (dict): The key is attribute name
12
+ and the value is attribute type.
13
+ attribute_map (dict): The key is attribute name
14
+ and the value is json key in definition.
15
+ """
16
+ sensitive_list = []
17
+
18
+ openapi_types = {
19
+ 'total_count': 'int',
20
+ 'incident_info_list': 'list[IncidentInfoV2]'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'total_count': 'total_count',
25
+ 'incident_info_list': 'incident_info_list'
26
+ }
27
+
28
+ def __init__(self, total_count=None, incident_info_list=None):
29
+ r"""ListCasesResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param total_count: 总数
34
+ :type total_count: int
35
+ :param incident_info_list: 工单列表
36
+ :type incident_info_list: list[:class:`huaweicloudsdkosm.v2.IncidentInfoV2`]
37
+ """
38
+
39
+ super().__init__()
40
+
41
+ self._total_count = None
42
+ self._incident_info_list = None
43
+ self.discriminator = None
44
+
45
+ if total_count is not None:
46
+ self.total_count = total_count
47
+ if incident_info_list is not None:
48
+ self.incident_info_list = incident_info_list
49
+
50
+ @property
51
+ def total_count(self):
52
+ r"""Gets the total_count of this ListCasesResponse.
53
+
54
+ 总数
55
+
56
+ :return: The total_count of this ListCasesResponse.
57
+ :rtype: int
58
+ """
59
+ return self._total_count
60
+
61
+ @total_count.setter
62
+ def total_count(self, total_count):
63
+ r"""Sets the total_count of this ListCasesResponse.
64
+
65
+ 总数
66
+
67
+ :param total_count: The total_count of this ListCasesResponse.
68
+ :type total_count: int
69
+ """
70
+ self._total_count = total_count
71
+
72
+ @property
73
+ def incident_info_list(self):
74
+ r"""Gets the incident_info_list of this ListCasesResponse.
75
+
76
+ 工单列表
77
+
78
+ :return: The incident_info_list of this ListCasesResponse.
79
+ :rtype: list[:class:`huaweicloudsdkosm.v2.IncidentInfoV2`]
80
+ """
81
+ return self._incident_info_list
82
+
83
+ @incident_info_list.setter
84
+ def incident_info_list(self, incident_info_list):
85
+ r"""Sets the incident_info_list of this ListCasesResponse.
86
+
87
+ 工单列表
88
+
89
+ :param incident_info_list: The incident_info_list of this ListCasesResponse.
90
+ :type incident_info_list: list[:class:`huaweicloudsdkosm.v2.IncidentInfoV2`]
91
+ """
92
+ self._incident_info_list = incident_info_list
93
+
94
+ def to_dict(self):
95
+ import warnings
96
+ warnings.warn("ListCasesResponse.to_dict() is deprecated and no longer maintained, "
97
+ "use to_json_object() to get the response content.", DeprecationWarning)
98
+ result = {}
99
+
100
+ for attr, _ in self.openapi_types.items():
101
+ value = getattr(self, attr)
102
+ if isinstance(value, list):
103
+ result[attr] = list(map(
104
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
105
+ value
106
+ ))
107
+ elif hasattr(value, "to_dict"):
108
+ result[attr] = value.to_dict()
109
+ elif isinstance(value, dict):
110
+ result[attr] = dict(map(
111
+ lambda item: (item[0], item[1].to_dict())
112
+ if hasattr(item[1], "to_dict") else item,
113
+ value.items()
114
+ ))
115
+ else:
116
+ if attr in self.sensitive_list:
117
+ result[attr] = "****"
118
+ else:
119
+ result[attr] = value
120
+
121
+ return result
122
+
123
+ def to_str(self):
124
+ """Returns the string representation of the model"""
125
+ import simplejson as json
126
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
127
+
128
+ def __repr__(self):
129
+ """For `print`"""
130
+ return self.to_str()
131
+
132
+ def __eq__(self, other):
133
+ """Returns true if both objects are equal"""
134
+ if not isinstance(other, ListCasesResponse):
135
+ return False
136
+
137
+ return self.__dict__ == other.__dict__
138
+
139
+ def __ne__(self, other):
140
+ """Returns true if both objects are not equal"""
141
+ return not self == other