huaweicloudsdkosm 3.1.160__py3-none-any.whl

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

Potentially problematic release.


This version of huaweicloudsdkosm might be problematic. Click here for more details.

Files changed (311) hide show
  1. huaweicloudsdkosm/__init__.py +0 -0
  2. huaweicloudsdkosm/v2/__init__.py +307 -0
  3. huaweicloudsdkosm/v2/model/__init__.py +304 -0
  4. huaweicloudsdkosm/v2/model/accessory_json_format_req.py +199 -0
  5. huaweicloudsdkosm/v2/model/accessory_limit_vo.py +173 -0
  6. huaweicloudsdkosm/v2/model/accessory_url.py +173 -0
  7. huaweicloudsdkosm/v2/model/agency_v2.py +289 -0
  8. huaweicloudsdkosm/v2/model/agree_tenant_authorization_v2_req.py +231 -0
  9. huaweicloudsdkosm/v2/model/agreement_vo.py +260 -0
  10. huaweicloudsdkosm/v2/model/answer.py +227 -0
  11. huaweicloudsdkosm/v2/model/answer_detail.py +194 -0
  12. huaweicloudsdkosm/v2/model/answer_info.py +231 -0
  13. huaweicloudsdkosm/v2/model/answer_qa_pair.py +318 -0
  14. huaweicloudsdkosm/v2/model/area_code_simple_info_v2.py +173 -0
  15. huaweicloudsdkosm/v2/model/article.py +347 -0
  16. huaweicloudsdkosm/v2/model/ask_question_req.py +316 -0
  17. huaweicloudsdkosm/v2/model/case_label_info.py +173 -0
  18. huaweicloudsdkosm/v2/model/case_query_label.py +173 -0
  19. huaweicloudsdkosm/v2/model/case_realtion_info.py +173 -0
  20. huaweicloudsdkosm/v2/model/cbs_flow_entry.py +144 -0
  21. huaweicloudsdkosm/v2/model/check_hosts_request.py +226 -0
  22. huaweicloudsdkosm/v2/model/check_hosts_response.py +145 -0
  23. huaweicloudsdkosm/v2/model/check_need_verify_request.py +258 -0
  24. huaweicloudsdkosm/v2/model/check_need_verify_response.py +145 -0
  25. huaweicloudsdkosm/v2/model/check_verify_codes_request.py +198 -0
  26. huaweicloudsdkosm/v2/model/check_verify_codes_response.py +145 -0
  27. huaweicloudsdkosm/v2/model/common_param_v2.py +202 -0
  28. huaweicloudsdkosm/v2/model/confirm_authorizations_request.py +226 -0
  29. huaweicloudsdkosm/v2/model/confirm_authorizations_response.py +145 -0
  30. huaweicloudsdkosm/v2/model/contact_v2.py +202 -0
  31. huaweicloudsdkosm/v2/model/contact_way_info_v2.py +343 -0
  32. huaweicloudsdkosm/v2/model/create_and_delete_privilege_req.py +143 -0
  33. huaweicloudsdkosm/v2/model/create_ask_question_request.py +197 -0
  34. huaweicloudsdkosm/v2/model/create_ask_question_response.py +232 -0
  35. huaweicloudsdkosm/v2/model/create_case_extends_param_request.py +226 -0
  36. huaweicloudsdkosm/v2/model/create_case_extends_param_response.py +145 -0
  37. huaweicloudsdkosm/v2/model/create_case_labels_request.py +229 -0
  38. huaweicloudsdkosm/v2/model/create_case_labels_response.py +145 -0
  39. huaweicloudsdkosm/v2/model/create_cases_request.py +256 -0
  40. huaweicloudsdkosm/v2/model/create_cases_response.py +116 -0
  41. huaweicloudsdkosm/v2/model/create_diagnose_feedback_request.py +111 -0
  42. huaweicloudsdkosm/v2/model/create_diagnose_feedback_response.py +145 -0
  43. huaweicloudsdkosm/v2/model/create_diagnose_job_request.py +111 -0
  44. huaweicloudsdkosm/v2/model/create_diagnose_job_response.py +174 -0
  45. huaweicloudsdkosm/v2/model/create_evaluate_request.py +253 -0
  46. huaweicloudsdkosm/v2/model/create_evaluate_response.py +174 -0
  47. huaweicloudsdkosm/v2/model/create_feedback_req.py +171 -0
  48. huaweicloudsdkosm/v2/model/create_feedback_request.py +111 -0
  49. huaweicloudsdkosm/v2/model/create_feedback_response.py +145 -0
  50. huaweicloudsdkosm/v2/model/create_feedback_v2_req.py +247 -0
  51. huaweicloudsdkosm/v2/model/create_labels_req.py +142 -0
  52. huaweicloudsdkosm/v2/model/create_labels_request.py +198 -0
  53. huaweicloudsdkosm/v2/model/create_labels_response.py +145 -0
  54. huaweicloudsdkosm/v2/model/create_message_do_v2.py +143 -0
  55. huaweicloudsdkosm/v2/model/create_message_v2_req.py +139 -0
  56. huaweicloudsdkosm/v2/model/create_messages_request.py +226 -0
  57. huaweicloudsdkosm/v2/model/create_messages_response.py +145 -0
  58. huaweicloudsdkosm/v2/model/create_order_incident_v2_req.py +547 -0
  59. huaweicloudsdkosm/v2/model/create_privileges_request.py +198 -0
  60. huaweicloudsdkosm/v2/model/create_privileges_response.py +145 -0
  61. huaweicloudsdkosm/v2/model/create_qa_ask_request.py +197 -0
  62. huaweicloudsdkosm/v2/model/create_qa_ask_response.py +282 -0
  63. huaweicloudsdkosm/v2/model/create_qa_feedbacks_request.py +226 -0
  64. huaweicloudsdkosm/v2/model/create_qa_feedbacks_response.py +174 -0
  65. huaweicloudsdkosm/v2/model/create_question_in_session_request.py +225 -0
  66. huaweicloudsdkosm/v2/model/create_question_in_session_response.py +232 -0
  67. huaweicloudsdkosm/v2/model/create_relations_req.py +143 -0
  68. huaweicloudsdkosm/v2/model/create_relations_request.py +226 -0
  69. huaweicloudsdkosm/v2/model/create_relations_response.py +145 -0
  70. huaweicloudsdkosm/v2/model/create_score_v2_req.py +171 -0
  71. huaweicloudsdkosm/v2/model/create_scores_request.py +226 -0
  72. huaweicloudsdkosm/v2/model/create_scores_response.py +145 -0
  73. huaweicloudsdkosm/v2/model/create_session_request.py +172 -0
  74. huaweicloudsdkosm/v2/model/create_session_response.py +174 -0
  75. huaweicloudsdkosm/v2/model/data_center_v2_do.py +202 -0
  76. huaweicloudsdkosm/v2/model/delete_accessories_request.py +201 -0
  77. huaweicloudsdkosm/v2/model/delete_accessories_response.py +145 -0
  78. huaweicloudsdkosm/v2/model/delete_case_labels_request.py +229 -0
  79. huaweicloudsdkosm/v2/model/delete_case_labels_response.py +145 -0
  80. huaweicloudsdkosm/v2/model/delete_labels_request.py +201 -0
  81. huaweicloudsdkosm/v2/model/delete_labels_response.py +145 -0
  82. huaweicloudsdkosm/v2/model/delete_relation_request.py +226 -0
  83. huaweicloudsdkosm/v2/model/delete_relation_response.py +145 -0
  84. huaweicloudsdkosm/v2/model/delete_relations_req.py +143 -0
  85. huaweicloudsdkosm/v2/model/diagnose_record_vo.py +347 -0
  86. huaweicloudsdkosm/v2/model/diagnose_resource_vo.py +405 -0
  87. huaweicloudsdkosm/v2/model/download_accessories_request.py +230 -0
  88. huaweicloudsdkosm/v2/model/download_accessories_response.py +85 -0
  89. huaweicloudsdkosm/v2/model/download_cases_request.py +548 -0
  90. huaweicloudsdkosm/v2/model/download_cases_response.py +85 -0
  91. huaweicloudsdkosm/v2/model/download_images_request.py +230 -0
  92. huaweicloudsdkosm/v2/model/download_images_response.py +85 -0
  93. huaweicloudsdkosm/v2/model/evaluate_request_req.py +115 -0
  94. huaweicloudsdkosm/v2/model/extend_question.py +144 -0
  95. huaweicloudsdkosm/v2/model/extends_param_v2.py +492 -0
  96. huaweicloudsdkosm/v2/model/feedback_option.py +144 -0
  97. huaweicloudsdkosm/v2/model/file_operate_log.py +318 -0
  98. huaweicloudsdkosm/v2/model/im_status_v2.py +144 -0
  99. huaweicloudsdkosm/v2/model/im_unread_v2.py +173 -0
  100. huaweicloudsdkosm/v2/model/incident_detail_ext_info_v2.py +289 -0
  101. huaweicloudsdkosm/v2/model/incident_detail_info_v2.py +593 -0
  102. huaweicloudsdkosm/v2/model/incident_info.py +463 -0
  103. huaweicloudsdkosm/v2/model/incident_info_v2.py +542 -0
  104. huaweicloudsdkosm/v2/model/incident_message_v2.py +318 -0
  105. huaweicloudsdkosm/v2/model/incident_operate_log_v2.py +347 -0
  106. huaweicloudsdkosm/v2/model/incident_order_auth_detail_info_v2.py +289 -0
  107. huaweicloudsdkosm/v2/model/incident_order_auth_v2.py +579 -0
  108. huaweicloudsdkosm/v2/model/incident_order_cc_email_info_v2.py +173 -0
  109. huaweicloudsdkosm/v2/model/incident_product_category_v2.py +231 -0
  110. huaweicloudsdkosm/v2/model/incident_satisfaction_v2_do.py +287 -0
  111. huaweicloudsdkosm/v2/model/incident_status_count.py +144 -0
  112. huaweicloudsdkosm/v2/model/incident_sub_type_v2_do.py +173 -0
  113. huaweicloudsdkosm/v2/model/incident_temp_v2.py +173 -0
  114. huaweicloudsdkosm/v2/model/intellectual_property_v2.py +202 -0
  115. huaweicloudsdkosm/v2/model/item_result_detail_vo.py +318 -0
  116. huaweicloudsdkosm/v2/model/item_result_vo.py +289 -0
  117. huaweicloudsdkosm/v2/model/label_info.py +173 -0
  118. huaweicloudsdkosm/v2/model/lang_result.py +144 -0
  119. huaweicloudsdkosm/v2/model/list_accessory_access_urls_request.py +230 -0
  120. huaweicloudsdkosm/v2/model/list_accessory_access_urls_response.py +116 -0
  121. huaweicloudsdkosm/v2/model/list_agencies_request.py +173 -0
  122. huaweicloudsdkosm/v2/model/list_agencies_response.py +145 -0
  123. huaweicloudsdkosm/v2/model/list_area_codes_request.py +173 -0
  124. huaweicloudsdkosm/v2/model/list_area_codes_response.py +116 -0
  125. huaweicloudsdkosm/v2/model/list_articles_request.py +226 -0
  126. huaweicloudsdkosm/v2/model/list_articles_response.py +174 -0
  127. huaweicloudsdkosm/v2/model/list_authorizations_request.py +376 -0
  128. huaweicloudsdkosm/v2/model/list_authorizations_response.py +145 -0
  129. huaweicloudsdkosm/v2/model/list_case_categories_request.py +173 -0
  130. huaweicloudsdkosm/v2/model/list_case_categories_response.py +145 -0
  131. huaweicloudsdkosm/v2/model/list_case_cc_emails_request.py +173 -0
  132. huaweicloudsdkosm/v2/model/list_case_cc_emails_response.py +141 -0
  133. huaweicloudsdkosm/v2/model/list_case_counts_request.py +202 -0
  134. huaweicloudsdkosm/v2/model/list_case_counts_response.py +116 -0
  135. huaweicloudsdkosm/v2/model/list_case_labels_request.py +201 -0
  136. huaweicloudsdkosm/v2/model/list_case_labels_response.py +116 -0
  137. huaweicloudsdkosm/v2/model/list_case_limits_request.py +173 -0
  138. huaweicloudsdkosm/v2/model/list_case_limits_response.py +112 -0
  139. huaweicloudsdkosm/v2/model/list_case_operate_logs_request.py +288 -0
  140. huaweicloudsdkosm/v2/model/list_case_operate_logs_response.py +145 -0
  141. huaweicloudsdkosm/v2/model/list_case_quotas_request.py +230 -0
  142. huaweicloudsdkosm/v2/model/list_case_quotas_response.py +145 -0
  143. huaweicloudsdkosm/v2/model/list_case_templates_request.py +201 -0
  144. huaweicloudsdkosm/v2/model/list_case_templates_response.py +145 -0
  145. huaweicloudsdkosm/v2/model/list_cases_request.py +550 -0
  146. huaweicloudsdkosm/v2/model/list_cases_response.py +145 -0
  147. huaweicloudsdkosm/v2/model/list_customers_regions_request.py +173 -0
  148. huaweicloudsdkosm/v2/model/list_customers_regions_response.py +145 -0
  149. huaweicloudsdkosm/v2/model/list_diagnose_items_request.py +111 -0
  150. huaweicloudsdkosm/v2/model/list_diagnose_items_response.py +174 -0
  151. huaweicloudsdkosm/v2/model/list_diagnose_job_request.py +115 -0
  152. huaweicloudsdkosm/v2/model/list_diagnose_job_response.py +290 -0
  153. huaweicloudsdkosm/v2/model/list_diagnose_records_request.py +173 -0
  154. huaweicloudsdkosm/v2/model/list_diagnose_records_response.py +203 -0
  155. huaweicloudsdkosm/v2/model/list_diagnose_resources_request.py +111 -0
  156. huaweicloudsdkosm/v2/model/list_diagnose_resources_response.py +145 -0
  157. huaweicloudsdkosm/v2/model/list_extends_params_request.py +259 -0
  158. huaweicloudsdkosm/v2/model/list_extends_params_response.py +145 -0
  159. huaweicloudsdkosm/v2/model/list_feedback_option_request.py +230 -0
  160. huaweicloudsdkosm/v2/model/list_feedback_option_response.py +174 -0
  161. huaweicloudsdkosm/v2/model/list_has_verified_contacts_request.py +434 -0
  162. huaweicloudsdkosm/v2/model/list_has_verified_contacts_response.py +145 -0
  163. huaweicloudsdkosm/v2/model/list_history_operate_logs_request.py +373 -0
  164. huaweicloudsdkosm/v2/model/list_history_operate_logs_response.py +145 -0
  165. huaweicloudsdkosm/v2/model/list_history_sessions_request.py +316 -0
  166. huaweicloudsdkosm/v2/model/list_history_sessions_response.py +145 -0
  167. huaweicloudsdkosm/v2/model/list_labels_request.py +289 -0
  168. huaweicloudsdkosm/v2/model/list_labels_response.py +145 -0
  169. huaweicloudsdkosm/v2/model/list_messages_request.py +288 -0
  170. huaweicloudsdkosm/v2/model/list_messages_response.py +145 -0
  171. huaweicloudsdkosm/v2/model/list_more_instant_messages_request.py +314 -0
  172. huaweicloudsdkosm/v2/model/list_more_instant_messages_response.py +145 -0
  173. huaweicloudsdkosm/v2/model/list_new_instant_messages_request.py +259 -0
  174. huaweicloudsdkosm/v2/model/list_new_instant_messages_response.py +174 -0
  175. huaweicloudsdkosm/v2/model/list_notices_request.py +198 -0
  176. huaweicloudsdkosm/v2/model/list_notices_response.py +174 -0
  177. huaweicloudsdkosm/v2/model/list_order_incident_request.py +550 -0
  178. huaweicloudsdkosm/v2/model/list_order_incident_response.py +145 -0
  179. huaweicloudsdkosm/v2/model/list_privileges_request.py +201 -0
  180. huaweicloudsdkosm/v2/model/list_privileges_response.py +116 -0
  181. huaweicloudsdkosm/v2/model/list_problem_types_request.py +202 -0
  182. huaweicloudsdkosm/v2/model/list_problem_types_response.py +145 -0
  183. huaweicloudsdkosm/v2/model/list_product_categories_request.py +202 -0
  184. huaweicloudsdkosm/v2/model/list_product_categories_response.py +145 -0
  185. huaweicloudsdkosm/v2/model/list_recommend_words_request.py +260 -0
  186. huaweicloudsdkosm/v2/model/list_recommend_words_response.py +203 -0
  187. huaweicloudsdkosm/v2/model/list_regions_request.py +173 -0
  188. huaweicloudsdkosm/v2/model/list_regions_response.py +145 -0
  189. huaweicloudsdkosm/v2/model/list_relation_request.py +201 -0
  190. huaweicloudsdkosm/v2/model/list_relation_response.py +116 -0
  191. huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_request.py +173 -0
  192. huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_response.py +145 -0
  193. huaweicloudsdkosm/v2/model/list_severities_request.py +229 -0
  194. huaweicloudsdkosm/v2/model/list_severities_response.py +145 -0
  195. huaweicloudsdkosm/v2/model/list_sub_customers_request.py +231 -0
  196. huaweicloudsdkosm/v2/model/list_sub_customers_response.py +116 -0
  197. huaweicloudsdkosm/v2/model/list_tools_request.py +198 -0
  198. huaweicloudsdkosm/v2/model/list_tools_response.py +174 -0
  199. huaweicloudsdkosm/v2/model/list_transport_histories_request.py +373 -0
  200. huaweicloudsdkosm/v2/model/list_transport_histories_response.py +145 -0
  201. huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_request.py +230 -0
  202. huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_response.py +116 -0
  203. huaweicloudsdkosm/v2/model/notice.py +199 -0
  204. huaweicloudsdkosm/v2/model/operate_authorization_v2_req.py +144 -0
  205. huaweicloudsdkosm/v2/model/operate_history_session.py +202 -0
  206. huaweicloudsdkosm/v2/model/operate_log.py +144 -0
  207. huaweicloudsdkosm/v2/model/partners_service_info.py +231 -0
  208. huaweicloudsdkosm/v2/model/put_case_ext_param_req.py +173 -0
  209. huaweicloudsdkosm/v2/model/qa_ask_req.py +346 -0
  210. huaweicloudsdkosm/v2/model/qa_feedback_req.py +345 -0
  211. huaweicloudsdkosm/v2/model/qa_flow_hit_node_vo.py +202 -0
  212. huaweicloudsdkosm/v2/model/qa_flow_hit_result.py +198 -0
  213. huaweicloudsdkosm/v2/model/qa_graph_answer.py +202 -0
  214. huaweicloudsdkosm/v2/model/qa_pair.py +289 -0
  215. huaweicloudsdkosm/v2/model/qabot_answer.py +347 -0
  216. huaweicloudsdkosm/v2/model/query_associated_question_req.py +172 -0
  217. huaweicloudsdkosm/v2/model/query_diagnose_items_req.py +144 -0
  218. huaweicloudsdkosm/v2/model/query_message_info_v2.py +347 -0
  219. huaweicloudsdkosm/v2/model/query_tsc_diagnose_resources_req.py +144 -0
  220. huaweicloudsdkosm/v2/model/recommend_word.py +285 -0
  221. huaweicloudsdkosm/v2/model/region.py +144 -0
  222. huaweicloudsdkosm/v2/model/relation_theme.py +144 -0
  223. huaweicloudsdkosm/v2/model/relevance_qapair.py +173 -0
  224. huaweicloudsdkosm/v2/model/revoke_message_request.py +229 -0
  225. huaweicloudsdkosm/v2/model/revoke_message_response.py +145 -0
  226. huaweicloudsdkosm/v2/model/satisfaction_dimension_simple_info_v2.py +260 -0
  227. huaweicloudsdkosm/v2/model/search_articles_req.py +201 -0
  228. huaweicloudsdkosm/v2/model/search_notices_req.py +143 -0
  229. huaweicloudsdkosm/v2/model/search_qa_pairs_req.py +144 -0
  230. huaweicloudsdkosm/v2/model/search_tools_req.py +201 -0
  231. huaweicloudsdkosm/v2/model/send_verify_code_req.py +170 -0
  232. huaweicloudsdkosm/v2/model/send_verify_codes_request.py +198 -0
  233. huaweicloudsdkosm/v2/model/send_verify_codes_response.py +145 -0
  234. huaweicloudsdkosm/v2/model/session_ask_question_req.py +288 -0
  235. huaweicloudsdkosm/v2/model/severity_v2_do.py +173 -0
  236. huaweicloudsdkosm/v2/model/show_accessory_limits_request.py +173 -0
  237. huaweicloudsdkosm/v2/model/show_accessory_limits_response.py +112 -0
  238. huaweicloudsdkosm/v2/model/show_associated_questions_request.py +197 -0
  239. huaweicloudsdkosm/v2/model/show_associated_questions_response.py +174 -0
  240. huaweicloudsdkosm/v2/model/show_authorization_detail_request.py +230 -0
  241. huaweicloudsdkosm/v2/model/show_authorization_detail_response.py +609 -0
  242. huaweicloudsdkosm/v2/model/show_case_detail_request.py +230 -0
  243. huaweicloudsdkosm/v2/model/show_case_detail_response.py +112 -0
  244. huaweicloudsdkosm/v2/model/show_case_extends_param_request.py +230 -0
  245. huaweicloudsdkosm/v2/model/show_case_extends_param_response.py +145 -0
  246. huaweicloudsdkosm/v2/model/show_case_status_request.py +201 -0
  247. huaweicloudsdkosm/v2/model/show_case_status_response.py +116 -0
  248. huaweicloudsdkosm/v2/model/show_configuration_request.py +114 -0
  249. huaweicloudsdkosm/v2/model/show_configuration_response.py +203 -0
  250. huaweicloudsdkosm/v2/model/show_customer_privilege_policy_request.py +173 -0
  251. huaweicloudsdkosm/v2/model/show_customer_privilege_policy_response.py +116 -0
  252. huaweicloudsdkosm/v2/model/show_download_accessory_url_request.py +200 -0
  253. huaweicloudsdkosm/v2/model/show_download_accessory_url_response.py +174 -0
  254. huaweicloudsdkosm/v2/model/show_latest_published_agreement_request.py +202 -0
  255. huaweicloudsdkosm/v2/model/show_latest_published_agreement_response.py +112 -0
  256. huaweicloudsdkosm/v2/model/show_login_type_request.py +144 -0
  257. huaweicloudsdkosm/v2/model/show_login_type_response.py +116 -0
  258. huaweicloudsdkosm/v2/model/show_partners_cases_privilege_request.py +173 -0
  259. huaweicloudsdkosm/v2/model/show_partners_cases_privilege_response.py +116 -0
  260. huaweicloudsdkosm/v2/model/show_partners_service_info_request.py +231 -0
  261. huaweicloudsdkosm/v2/model/show_partners_service_info_response.py +112 -0
  262. huaweicloudsdkosm/v2/model/show_qa_pair_detail_request.py +200 -0
  263. huaweicloudsdkosm/v2/model/show_qa_pair_detail_response.py +170 -0
  264. huaweicloudsdkosm/v2/model/show_qa_pairs_request.py +225 -0
  265. huaweicloudsdkosm/v2/model/show_qa_pairs_response.py +174 -0
  266. huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_request.py +202 -0
  267. huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_response.py +116 -0
  268. huaweicloudsdkosm/v2/model/show_theme_request.py +259 -0
  269. huaweicloudsdkosm/v2/model/show_theme_response.py +232 -0
  270. huaweicloudsdkosm/v2/model/sign_agreement_req.py +115 -0
  271. huaweicloudsdkosm/v2/model/sign_published_agreement_request.py +226 -0
  272. huaweicloudsdkosm/v2/model/sign_published_agreement_response.py +116 -0
  273. huaweicloudsdkosm/v2/model/simple_accessory_v2.py +144 -0
  274. huaweicloudsdkosm/v2/model/simple_incident_business_type_v2.py +202 -0
  275. huaweicloudsdkosm/v2/model/simple_qa_pair.py +173 -0
  276. huaweicloudsdkosm/v2/model/sub_cutomer_info_v2.py +260 -0
  277. huaweicloudsdkosm/v2/model/submit_diagnose_job_req.py +172 -0
  278. huaweicloudsdkosm/v2/model/tenant_agree_auth_detail_v2.py +201 -0
  279. huaweicloudsdkosm/v2/model/tenant_config_v2.py +115 -0
  280. huaweicloudsdkosm/v2/model/tool.py +287 -0
  281. huaweicloudsdkosm/v2/model/update_authorizations_request.py +255 -0
  282. huaweicloudsdkosm/v2/model/update_authorizations_response.py +145 -0
  283. huaweicloudsdkosm/v2/model/update_case_contact_info_req.py +260 -0
  284. huaweicloudsdkosm/v2/model/update_case_contact_info_request.py +226 -0
  285. huaweicloudsdkosm/v2/model/update_case_contact_info_response.py +145 -0
  286. huaweicloudsdkosm/v2/model/update_cases_request.py +254 -0
  287. huaweicloudsdkosm/v2/model/update_cases_response.py +145 -0
  288. huaweicloudsdkosm/v2/model/update_labels_req.py +142 -0
  289. huaweicloudsdkosm/v2/model/update_labels_request.py +226 -0
  290. huaweicloudsdkosm/v2/model/update_labels_response.py +145 -0
  291. huaweicloudsdkosm/v2/model/update_new_instant_messages_read_request.py +226 -0
  292. huaweicloudsdkosm/v2/model/update_new_instant_messages_read_response.py +145 -0
  293. huaweicloudsdkosm/v2/model/update_unread_new_instant_msg_v2_req.py +115 -0
  294. huaweicloudsdkosm/v2/model/upload_accessory_request.py +198 -0
  295. huaweicloudsdkosm/v2/model/upload_accessory_request_body.py +142 -0
  296. huaweicloudsdkosm/v2/model/upload_accessory_response.py +116 -0
  297. huaweicloudsdkosm/v2/model/upload_json_accessories_request.py +198 -0
  298. huaweicloudsdkosm/v2/model/upload_json_accessories_response.py +116 -0
  299. huaweicloudsdkosm/v2/model/user_instant_incident_msg_v2.py +144 -0
  300. huaweicloudsdkosm/v2/model/verify_host_v2_req.py +199 -0
  301. huaweicloudsdkosm/v2/model/verify_verify_code_v2_req.py +257 -0
  302. huaweicloudsdkosm/v2/model/work_order_operate_v2_req.py +202 -0
  303. huaweicloudsdkosm/v2/osm_async_client.py +7166 -0
  304. huaweicloudsdkosm/v2/osm_client.py +7163 -0
  305. huaweicloudsdkosm/v2/region/__init__.py +0 -0
  306. huaweicloudsdkosm/v2/region/osm_region.py +31 -0
  307. huaweicloudsdkosm-3.1.160.dist-info/LICENSE +13 -0
  308. huaweicloudsdkosm-3.1.160.dist-info/METADATA +26 -0
  309. huaweicloudsdkosm-3.1.160.dist-info/RECORD +311 -0
  310. huaweicloudsdkosm-3.1.160.dist-info/WHEEL +5 -0
  311. huaweicloudsdkosm-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,255 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class UpdateAuthorizationsRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'authorization_id': 'str',
21
+ 'action_id': 'str',
22
+ 'x_site': 'int',
23
+ 'x_language': 'str',
24
+ 'x_time_zone': 'str',
25
+ 'body': 'OperateAuthorizationV2Req'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'authorization_id': 'authorization_id',
30
+ 'action_id': 'action_id',
31
+ 'x_site': 'X-Site',
32
+ 'x_language': 'X-Language',
33
+ 'x_time_zone': 'X-Time-Zone',
34
+ 'body': 'body'
35
+ }
36
+
37
+ def __init__(self, authorization_id=None, action_id=None, x_site=None, x_language=None, x_time_zone=None, body=None):
38
+ r"""UpdateAuthorizationsRequest
39
+
40
+ The model defined in huaweicloud sdk
41
+
42
+ :param authorization_id: 授权id
43
+ :type authorization_id: str
44
+ :param action_id: 操作id,reject,cancel
45
+ :type action_id: str
46
+ :param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
47
+ :type x_site: int
48
+ :param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
49
+ :type x_language: str
50
+ :param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
51
+ :type x_time_zone: str
52
+ :param body: Body of the UpdateAuthorizationsRequest
53
+ :type body: :class:`huaweicloudsdkosm.v2.OperateAuthorizationV2Req`
54
+ """
55
+
56
+
57
+
58
+ self._authorization_id = None
59
+ self._action_id = None
60
+ self._x_site = None
61
+ self._x_language = None
62
+ self._x_time_zone = None
63
+ self._body = None
64
+ self.discriminator = None
65
+
66
+ self.authorization_id = authorization_id
67
+ if action_id is not None:
68
+ self.action_id = action_id
69
+ if x_site is not None:
70
+ self.x_site = x_site
71
+ if x_language is not None:
72
+ self.x_language = x_language
73
+ if x_time_zone is not None:
74
+ self.x_time_zone = x_time_zone
75
+ if body is not None:
76
+ self.body = body
77
+
78
+ @property
79
+ def authorization_id(self):
80
+ r"""Gets the authorization_id of this UpdateAuthorizationsRequest.
81
+
82
+ 授权id
83
+
84
+ :return: The authorization_id of this UpdateAuthorizationsRequest.
85
+ :rtype: str
86
+ """
87
+ return self._authorization_id
88
+
89
+ @authorization_id.setter
90
+ def authorization_id(self, authorization_id):
91
+ r"""Sets the authorization_id of this UpdateAuthorizationsRequest.
92
+
93
+ 授权id
94
+
95
+ :param authorization_id: The authorization_id of this UpdateAuthorizationsRequest.
96
+ :type authorization_id: str
97
+ """
98
+ self._authorization_id = authorization_id
99
+
100
+ @property
101
+ def action_id(self):
102
+ r"""Gets the action_id of this UpdateAuthorizationsRequest.
103
+
104
+ 操作id,reject,cancel
105
+
106
+ :return: The action_id of this UpdateAuthorizationsRequest.
107
+ :rtype: str
108
+ """
109
+ return self._action_id
110
+
111
+ @action_id.setter
112
+ def action_id(self, action_id):
113
+ r"""Sets the action_id of this UpdateAuthorizationsRequest.
114
+
115
+ 操作id,reject,cancel
116
+
117
+ :param action_id: The action_id of this UpdateAuthorizationsRequest.
118
+ :type action_id: str
119
+ """
120
+ self._action_id = action_id
121
+
122
+ @property
123
+ def x_site(self):
124
+ r"""Gets the x_site of this UpdateAuthorizationsRequest.
125
+
126
+ 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
127
+
128
+ :return: The x_site of this UpdateAuthorizationsRequest.
129
+ :rtype: int
130
+ """
131
+ return self._x_site
132
+
133
+ @x_site.setter
134
+ def x_site(self, x_site):
135
+ r"""Sets the x_site of this UpdateAuthorizationsRequest.
136
+
137
+ 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
138
+
139
+ :param x_site: The x_site of this UpdateAuthorizationsRequest.
140
+ :type x_site: int
141
+ """
142
+ self._x_site = x_site
143
+
144
+ @property
145
+ def x_language(self):
146
+ r"""Gets the x_language of this UpdateAuthorizationsRequest.
147
+
148
+ 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
149
+
150
+ :return: The x_language of this UpdateAuthorizationsRequest.
151
+ :rtype: str
152
+ """
153
+ return self._x_language
154
+
155
+ @x_language.setter
156
+ def x_language(self, x_language):
157
+ r"""Sets the x_language of this UpdateAuthorizationsRequest.
158
+
159
+ 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
160
+
161
+ :param x_language: The x_language of this UpdateAuthorizationsRequest.
162
+ :type x_language: str
163
+ """
164
+ self._x_language = x_language
165
+
166
+ @property
167
+ def x_time_zone(self):
168
+ r"""Gets the x_time_zone of this UpdateAuthorizationsRequest.
169
+
170
+ 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
171
+
172
+ :return: The x_time_zone of this UpdateAuthorizationsRequest.
173
+ :rtype: str
174
+ """
175
+ return self._x_time_zone
176
+
177
+ @x_time_zone.setter
178
+ def x_time_zone(self, x_time_zone):
179
+ r"""Sets the x_time_zone of this UpdateAuthorizationsRequest.
180
+
181
+ 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
182
+
183
+ :param x_time_zone: The x_time_zone of this UpdateAuthorizationsRequest.
184
+ :type x_time_zone: str
185
+ """
186
+ self._x_time_zone = x_time_zone
187
+
188
+ @property
189
+ def body(self):
190
+ r"""Gets the body of this UpdateAuthorizationsRequest.
191
+
192
+ :return: The body of this UpdateAuthorizationsRequest.
193
+ :rtype: :class:`huaweicloudsdkosm.v2.OperateAuthorizationV2Req`
194
+ """
195
+ return self._body
196
+
197
+ @body.setter
198
+ def body(self, body):
199
+ r"""Sets the body of this UpdateAuthorizationsRequest.
200
+
201
+ :param body: The body of this UpdateAuthorizationsRequest.
202
+ :type body: :class:`huaweicloudsdkosm.v2.OperateAuthorizationV2Req`
203
+ """
204
+ self._body = body
205
+
206
+ def to_dict(self):
207
+ """Returns the model properties as a dict"""
208
+ result = {}
209
+
210
+ for attr, _ in six.iteritems(self.openapi_types):
211
+ value = getattr(self, attr)
212
+ if isinstance(value, list):
213
+ result[attr] = list(map(
214
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
215
+ value
216
+ ))
217
+ elif hasattr(value, "to_dict"):
218
+ result[attr] = value.to_dict()
219
+ elif isinstance(value, dict):
220
+ result[attr] = dict(map(
221
+ lambda item: (item[0], item[1].to_dict())
222
+ if hasattr(item[1], "to_dict") else item,
223
+ value.items()
224
+ ))
225
+ else:
226
+ if attr in self.sensitive_list:
227
+ result[attr] = "****"
228
+ else:
229
+ result[attr] = value
230
+
231
+ return result
232
+
233
+ def to_str(self):
234
+ """Returns the string representation of the model"""
235
+ import simplejson as json
236
+ if six.PY2:
237
+ import sys
238
+ reload(sys)
239
+ sys.setdefaultencoding("utf-8")
240
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
241
+
242
+ def __repr__(self):
243
+ """For `print`"""
244
+ return self.to_str()
245
+
246
+ def __eq__(self, other):
247
+ """Returns true if both objects are equal"""
248
+ if not isinstance(other, UpdateAuthorizationsRequest):
249
+ return False
250
+
251
+ return self.__dict__ == other.__dict__
252
+
253
+ def __ne__(self, other):
254
+ """Returns true if both objects are not equal"""
255
+ return not self == other
@@ -0,0 +1,145 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class UpdateAuthorizationsResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'error_code': 'str',
22
+ 'error_msg': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'error_code': 'error_code',
27
+ 'error_msg': 'error_msg'
28
+ }
29
+
30
+ def __init__(self, error_code=None, error_msg=None):
31
+ r"""UpdateAuthorizationsResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param error_code: 错误码
36
+ :type error_code: str
37
+ :param error_msg: 错误描述
38
+ :type error_msg: str
39
+ """
40
+
41
+ super(UpdateAuthorizationsResponse, self).__init__()
42
+
43
+ self._error_code = None
44
+ self._error_msg = None
45
+ self.discriminator = None
46
+
47
+ if error_code is not None:
48
+ self.error_code = error_code
49
+ if error_msg is not None:
50
+ self.error_msg = error_msg
51
+
52
+ @property
53
+ def error_code(self):
54
+ r"""Gets the error_code of this UpdateAuthorizationsResponse.
55
+
56
+ 错误码
57
+
58
+ :return: The error_code of this UpdateAuthorizationsResponse.
59
+ :rtype: str
60
+ """
61
+ return self._error_code
62
+
63
+ @error_code.setter
64
+ def error_code(self, error_code):
65
+ r"""Sets the error_code of this UpdateAuthorizationsResponse.
66
+
67
+ 错误码
68
+
69
+ :param error_code: The error_code of this UpdateAuthorizationsResponse.
70
+ :type error_code: str
71
+ """
72
+ self._error_code = error_code
73
+
74
+ @property
75
+ def error_msg(self):
76
+ r"""Gets the error_msg of this UpdateAuthorizationsResponse.
77
+
78
+ 错误描述
79
+
80
+ :return: The error_msg of this UpdateAuthorizationsResponse.
81
+ :rtype: str
82
+ """
83
+ return self._error_msg
84
+
85
+ @error_msg.setter
86
+ def error_msg(self, error_msg):
87
+ r"""Sets the error_msg of this UpdateAuthorizationsResponse.
88
+
89
+ 错误描述
90
+
91
+ :param error_msg: The error_msg of this UpdateAuthorizationsResponse.
92
+ :type error_msg: str
93
+ """
94
+ self._error_msg = error_msg
95
+
96
+ def to_dict(self):
97
+ """Returns the model properties as a dict"""
98
+ result = {}
99
+
100
+ for attr, _ in six.iteritems(self.openapi_types):
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
+ if six.PY2:
127
+ import sys
128
+ reload(sys)
129
+ sys.setdefaultencoding("utf-8")
130
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
131
+
132
+ def __repr__(self):
133
+ """For `print`"""
134
+ return self.to_str()
135
+
136
+ def __eq__(self, other):
137
+ """Returns true if both objects are equal"""
138
+ if not isinstance(other, UpdateAuthorizationsResponse):
139
+ return False
140
+
141
+ return self.__dict__ == other.__dict__
142
+
143
+ def __ne__(self, other):
144
+ """Returns true if both objects are not equal"""
145
+ return not self == other
@@ -0,0 +1,260 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class UpdateCaseContactInfoReq:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'area_code': 'str',
21
+ 'remind_mobile': 'str',
22
+ 'remind_mail': 'str',
23
+ 'remind_time': 'str',
24
+ 'group_id': 'str',
25
+ 'extension_map': 'dict(str, object)'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'area_code': 'area_code',
30
+ 'remind_mobile': 'remind_mobile',
31
+ 'remind_mail': 'remind_mail',
32
+ 'remind_time': 'remind_time',
33
+ 'group_id': 'group_id',
34
+ 'extension_map': 'extension_map'
35
+ }
36
+
37
+ def __init__(self, area_code=None, remind_mobile=None, remind_mail=None, remind_time=None, group_id=None, extension_map=None):
38
+ r"""UpdateCaseContactInfoReq
39
+
40
+ The model defined in huaweicloud sdk
41
+
42
+ :param area_code: 国家码
43
+ :type area_code: str
44
+ :param remind_mobile: 联系手机号
45
+ :type remind_mobile: str
46
+ :param remind_mail: 联系邮箱
47
+ :type remind_mail: str
48
+ :param remind_time: 联系时间
49
+ :type remind_time: str
50
+ :param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
51
+ :type group_id: str
52
+ :param extension_map: 扩展参数
53
+ :type extension_map: dict(str, object)
54
+ """
55
+
56
+
57
+
58
+ self._area_code = None
59
+ self._remind_mobile = None
60
+ self._remind_mail = None
61
+ self._remind_time = None
62
+ self._group_id = None
63
+ self._extension_map = None
64
+ self.discriminator = None
65
+
66
+ if area_code is not None:
67
+ self.area_code = area_code
68
+ if remind_mobile is not None:
69
+ self.remind_mobile = remind_mobile
70
+ if remind_mail is not None:
71
+ self.remind_mail = remind_mail
72
+ if remind_time is not None:
73
+ self.remind_time = remind_time
74
+ if group_id is not None:
75
+ self.group_id = group_id
76
+ if extension_map is not None:
77
+ self.extension_map = extension_map
78
+
79
+ @property
80
+ def area_code(self):
81
+ r"""Gets the area_code of this UpdateCaseContactInfoReq.
82
+
83
+ 国家码
84
+
85
+ :return: The area_code of this UpdateCaseContactInfoReq.
86
+ :rtype: str
87
+ """
88
+ return self._area_code
89
+
90
+ @area_code.setter
91
+ def area_code(self, area_code):
92
+ r"""Sets the area_code of this UpdateCaseContactInfoReq.
93
+
94
+ 国家码
95
+
96
+ :param area_code: The area_code of this UpdateCaseContactInfoReq.
97
+ :type area_code: str
98
+ """
99
+ self._area_code = area_code
100
+
101
+ @property
102
+ def remind_mobile(self):
103
+ r"""Gets the remind_mobile of this UpdateCaseContactInfoReq.
104
+
105
+ 联系手机号
106
+
107
+ :return: The remind_mobile of this UpdateCaseContactInfoReq.
108
+ :rtype: str
109
+ """
110
+ return self._remind_mobile
111
+
112
+ @remind_mobile.setter
113
+ def remind_mobile(self, remind_mobile):
114
+ r"""Sets the remind_mobile of this UpdateCaseContactInfoReq.
115
+
116
+ 联系手机号
117
+
118
+ :param remind_mobile: The remind_mobile of this UpdateCaseContactInfoReq.
119
+ :type remind_mobile: str
120
+ """
121
+ self._remind_mobile = remind_mobile
122
+
123
+ @property
124
+ def remind_mail(self):
125
+ r"""Gets the remind_mail of this UpdateCaseContactInfoReq.
126
+
127
+ 联系邮箱
128
+
129
+ :return: The remind_mail of this UpdateCaseContactInfoReq.
130
+ :rtype: str
131
+ """
132
+ return self._remind_mail
133
+
134
+ @remind_mail.setter
135
+ def remind_mail(self, remind_mail):
136
+ r"""Sets the remind_mail of this UpdateCaseContactInfoReq.
137
+
138
+ 联系邮箱
139
+
140
+ :param remind_mail: The remind_mail of this UpdateCaseContactInfoReq.
141
+ :type remind_mail: str
142
+ """
143
+ self._remind_mail = remind_mail
144
+
145
+ @property
146
+ def remind_time(self):
147
+ r"""Gets the remind_time of this UpdateCaseContactInfoReq.
148
+
149
+ 联系时间
150
+
151
+ :return: The remind_time of this UpdateCaseContactInfoReq.
152
+ :rtype: str
153
+ """
154
+ return self._remind_time
155
+
156
+ @remind_time.setter
157
+ def remind_time(self, remind_time):
158
+ r"""Sets the remind_time of this UpdateCaseContactInfoReq.
159
+
160
+ 联系时间
161
+
162
+ :param remind_time: The remind_time of this UpdateCaseContactInfoReq.
163
+ :type remind_time: str
164
+ """
165
+ self._remind_time = remind_time
166
+
167
+ @property
168
+ def group_id(self):
169
+ r"""Gets the group_id of this UpdateCaseContactInfoReq.
170
+
171
+ 华为云IAM组id,操作查询同组其他工单时,该id必传
172
+
173
+ :return: The group_id of this UpdateCaseContactInfoReq.
174
+ :rtype: str
175
+ """
176
+ return self._group_id
177
+
178
+ @group_id.setter
179
+ def group_id(self, group_id):
180
+ r"""Sets the group_id of this UpdateCaseContactInfoReq.
181
+
182
+ 华为云IAM组id,操作查询同组其他工单时,该id必传
183
+
184
+ :param group_id: The group_id of this UpdateCaseContactInfoReq.
185
+ :type group_id: str
186
+ """
187
+ self._group_id = group_id
188
+
189
+ @property
190
+ def extension_map(self):
191
+ r"""Gets the extension_map of this UpdateCaseContactInfoReq.
192
+
193
+ 扩展参数
194
+
195
+ :return: The extension_map of this UpdateCaseContactInfoReq.
196
+ :rtype: dict(str, object)
197
+ """
198
+ return self._extension_map
199
+
200
+ @extension_map.setter
201
+ def extension_map(self, extension_map):
202
+ r"""Sets the extension_map of this UpdateCaseContactInfoReq.
203
+
204
+ 扩展参数
205
+
206
+ :param extension_map: The extension_map of this UpdateCaseContactInfoReq.
207
+ :type extension_map: dict(str, object)
208
+ """
209
+ self._extension_map = extension_map
210
+
211
+ def to_dict(self):
212
+ """Returns the model properties as a dict"""
213
+ result = {}
214
+
215
+ for attr, _ in six.iteritems(self.openapi_types):
216
+ value = getattr(self, attr)
217
+ if isinstance(value, list):
218
+ result[attr] = list(map(
219
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
220
+ value
221
+ ))
222
+ elif hasattr(value, "to_dict"):
223
+ result[attr] = value.to_dict()
224
+ elif isinstance(value, dict):
225
+ result[attr] = dict(map(
226
+ lambda item: (item[0], item[1].to_dict())
227
+ if hasattr(item[1], "to_dict") else item,
228
+ value.items()
229
+ ))
230
+ else:
231
+ if attr in self.sensitive_list:
232
+ result[attr] = "****"
233
+ else:
234
+ result[attr] = value
235
+
236
+ return result
237
+
238
+ def to_str(self):
239
+ """Returns the string representation of the model"""
240
+ import simplejson as json
241
+ if six.PY2:
242
+ import sys
243
+ reload(sys)
244
+ sys.setdefaultencoding("utf-8")
245
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
246
+
247
+ def __repr__(self):
248
+ """For `print`"""
249
+ return self.to_str()
250
+
251
+ def __eq__(self, other):
252
+ """Returns true if both objects are equal"""
253
+ if not isinstance(other, UpdateCaseContactInfoReq):
254
+ return False
255
+
256
+ return self.__dict__ == other.__dict__
257
+
258
+ def __ne__(self, other):
259
+ """Returns true if both objects are not equal"""
260
+ return not self == other