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,311 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class FileOperateLog:
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
+ 'duration': 'str',
19
+ 'operate_time': 'str',
20
+ 'operate_type': 'str',
21
+ 'file_name': 'str',
22
+ 'from_path': 'str',
23
+ 'to_path': 'str',
24
+ 'file_size': 'str',
25
+ 'oper_result': 'str'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'duration': 'duration',
30
+ 'operate_time': 'operate_time',
31
+ 'operate_type': 'operate_type',
32
+ 'file_name': 'file_name',
33
+ 'from_path': 'from_path',
34
+ 'to_path': 'to_path',
35
+ 'file_size': 'file_size',
36
+ 'oper_result': 'oper_result'
37
+ }
38
+
39
+ def __init__(self, duration=None, operate_time=None, operate_type=None, file_name=None, from_path=None, to_path=None, file_size=None, oper_result=None):
40
+ r"""FileOperateLog
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param duration: 传输时间 格式:hh:ii:ss
45
+ :type duration: str
46
+ :param operate_time: 操作时间
47
+ :type operate_time: str
48
+ :param operate_type: 操作类型
49
+ :type operate_type: str
50
+ :param file_name: 文件名
51
+ :type file_name: str
52
+ :param from_path: 来源路径
53
+ :type from_path: str
54
+ :param to_path: 目标路径
55
+ :type to_path: str
56
+ :param file_size: 文件大小,多少k,多少M,多少G。
57
+ :type file_size: str
58
+ :param oper_result: 操作结果
59
+ :type oper_result: str
60
+ """
61
+
62
+
63
+
64
+ self._duration = None
65
+ self._operate_time = None
66
+ self._operate_type = None
67
+ self._file_name = None
68
+ self._from_path = None
69
+ self._to_path = None
70
+ self._file_size = None
71
+ self._oper_result = None
72
+ self.discriminator = None
73
+
74
+ if duration is not None:
75
+ self.duration = duration
76
+ if operate_time is not None:
77
+ self.operate_time = operate_time
78
+ if operate_type is not None:
79
+ self.operate_type = operate_type
80
+ if file_name is not None:
81
+ self.file_name = file_name
82
+ if from_path is not None:
83
+ self.from_path = from_path
84
+ if to_path is not None:
85
+ self.to_path = to_path
86
+ if file_size is not None:
87
+ self.file_size = file_size
88
+ if oper_result is not None:
89
+ self.oper_result = oper_result
90
+
91
+ @property
92
+ def duration(self):
93
+ r"""Gets the duration of this FileOperateLog.
94
+
95
+ 传输时间 格式:hh:ii:ss
96
+
97
+ :return: The duration of this FileOperateLog.
98
+ :rtype: str
99
+ """
100
+ return self._duration
101
+
102
+ @duration.setter
103
+ def duration(self, duration):
104
+ r"""Sets the duration of this FileOperateLog.
105
+
106
+ 传输时间 格式:hh:ii:ss
107
+
108
+ :param duration: The duration of this FileOperateLog.
109
+ :type duration: str
110
+ """
111
+ self._duration = duration
112
+
113
+ @property
114
+ def operate_time(self):
115
+ r"""Gets the operate_time of this FileOperateLog.
116
+
117
+ 操作时间
118
+
119
+ :return: The operate_time of this FileOperateLog.
120
+ :rtype: str
121
+ """
122
+ return self._operate_time
123
+
124
+ @operate_time.setter
125
+ def operate_time(self, operate_time):
126
+ r"""Sets the operate_time of this FileOperateLog.
127
+
128
+ 操作时间
129
+
130
+ :param operate_time: The operate_time of this FileOperateLog.
131
+ :type operate_time: str
132
+ """
133
+ self._operate_time = operate_time
134
+
135
+ @property
136
+ def operate_type(self):
137
+ r"""Gets the operate_type of this FileOperateLog.
138
+
139
+ 操作类型
140
+
141
+ :return: The operate_type of this FileOperateLog.
142
+ :rtype: str
143
+ """
144
+ return self._operate_type
145
+
146
+ @operate_type.setter
147
+ def operate_type(self, operate_type):
148
+ r"""Sets the operate_type of this FileOperateLog.
149
+
150
+ 操作类型
151
+
152
+ :param operate_type: The operate_type of this FileOperateLog.
153
+ :type operate_type: str
154
+ """
155
+ self._operate_type = operate_type
156
+
157
+ @property
158
+ def file_name(self):
159
+ r"""Gets the file_name of this FileOperateLog.
160
+
161
+ 文件名
162
+
163
+ :return: The file_name of this FileOperateLog.
164
+ :rtype: str
165
+ """
166
+ return self._file_name
167
+
168
+ @file_name.setter
169
+ def file_name(self, file_name):
170
+ r"""Sets the file_name of this FileOperateLog.
171
+
172
+ 文件名
173
+
174
+ :param file_name: The file_name of this FileOperateLog.
175
+ :type file_name: str
176
+ """
177
+ self._file_name = file_name
178
+
179
+ @property
180
+ def from_path(self):
181
+ r"""Gets the from_path of this FileOperateLog.
182
+
183
+ 来源路径
184
+
185
+ :return: The from_path of this FileOperateLog.
186
+ :rtype: str
187
+ """
188
+ return self._from_path
189
+
190
+ @from_path.setter
191
+ def from_path(self, from_path):
192
+ r"""Sets the from_path of this FileOperateLog.
193
+
194
+ 来源路径
195
+
196
+ :param from_path: The from_path of this FileOperateLog.
197
+ :type from_path: str
198
+ """
199
+ self._from_path = from_path
200
+
201
+ @property
202
+ def to_path(self):
203
+ r"""Gets the to_path of this FileOperateLog.
204
+
205
+ 目标路径
206
+
207
+ :return: The to_path of this FileOperateLog.
208
+ :rtype: str
209
+ """
210
+ return self._to_path
211
+
212
+ @to_path.setter
213
+ def to_path(self, to_path):
214
+ r"""Sets the to_path of this FileOperateLog.
215
+
216
+ 目标路径
217
+
218
+ :param to_path: The to_path of this FileOperateLog.
219
+ :type to_path: str
220
+ """
221
+ self._to_path = to_path
222
+
223
+ @property
224
+ def file_size(self):
225
+ r"""Gets the file_size of this FileOperateLog.
226
+
227
+ 文件大小,多少k,多少M,多少G。
228
+
229
+ :return: The file_size of this FileOperateLog.
230
+ :rtype: str
231
+ """
232
+ return self._file_size
233
+
234
+ @file_size.setter
235
+ def file_size(self, file_size):
236
+ r"""Sets the file_size of this FileOperateLog.
237
+
238
+ 文件大小,多少k,多少M,多少G。
239
+
240
+ :param file_size: The file_size of this FileOperateLog.
241
+ :type file_size: str
242
+ """
243
+ self._file_size = file_size
244
+
245
+ @property
246
+ def oper_result(self):
247
+ r"""Gets the oper_result of this FileOperateLog.
248
+
249
+ 操作结果
250
+
251
+ :return: The oper_result of this FileOperateLog.
252
+ :rtype: str
253
+ """
254
+ return self._oper_result
255
+
256
+ @oper_result.setter
257
+ def oper_result(self, oper_result):
258
+ r"""Sets the oper_result of this FileOperateLog.
259
+
260
+ 操作结果
261
+
262
+ :param oper_result: The oper_result of this FileOperateLog.
263
+ :type oper_result: str
264
+ """
265
+ self._oper_result = oper_result
266
+
267
+ def to_dict(self):
268
+ result = {}
269
+
270
+ for attr, _ in self.openapi_types.items():
271
+ value = getattr(self, attr)
272
+ if isinstance(value, list):
273
+ result[attr] = list(map(
274
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
275
+ value
276
+ ))
277
+ elif hasattr(value, "to_dict"):
278
+ result[attr] = value.to_dict()
279
+ elif isinstance(value, dict):
280
+ result[attr] = dict(map(
281
+ lambda item: (item[0], item[1].to_dict())
282
+ if hasattr(item[1], "to_dict") else item,
283
+ value.items()
284
+ ))
285
+ else:
286
+ if attr in self.sensitive_list:
287
+ result[attr] = "****"
288
+ else:
289
+ result[attr] = value
290
+
291
+ return result
292
+
293
+ def to_str(self):
294
+ """Returns the string representation of the model"""
295
+ import simplejson as json
296
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
297
+
298
+ def __repr__(self):
299
+ """For `print`"""
300
+ return self.to_str()
301
+
302
+ def __eq__(self, other):
303
+ """Returns true if both objects are equal"""
304
+ if not isinstance(other, FileOperateLog):
305
+ return False
306
+
307
+ return self.__dict__ == other.__dict__
308
+
309
+ def __ne__(self, other):
310
+ """Returns true if both objects are not equal"""
311
+ return not self == other
@@ -0,0 +1,137 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ImStatusV2:
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
+ 'status': 'int',
19
+ 'incident_id': 'str'
20
+ }
21
+
22
+ attribute_map = {
23
+ 'status': 'status',
24
+ 'incident_id': 'incident_id'
25
+ }
26
+
27
+ def __init__(self, status=None, incident_id=None):
28
+ r"""ImStatusV2
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param status: 状态
33
+ :type status: int
34
+ :param incident_id: 工单id
35
+ :type incident_id: str
36
+ """
37
+
38
+
39
+
40
+ self._status = None
41
+ self._incident_id = None
42
+ self.discriminator = None
43
+
44
+ if status is not None:
45
+ self.status = status
46
+ if incident_id is not None:
47
+ self.incident_id = incident_id
48
+
49
+ @property
50
+ def status(self):
51
+ r"""Gets the status of this ImStatusV2.
52
+
53
+ 状态
54
+
55
+ :return: The status of this ImStatusV2.
56
+ :rtype: int
57
+ """
58
+ return self._status
59
+
60
+ @status.setter
61
+ def status(self, status):
62
+ r"""Sets the status of this ImStatusV2.
63
+
64
+ 状态
65
+
66
+ :param status: The status of this ImStatusV2.
67
+ :type status: int
68
+ """
69
+ self._status = status
70
+
71
+ @property
72
+ def incident_id(self):
73
+ r"""Gets the incident_id of this ImStatusV2.
74
+
75
+ 工单id
76
+
77
+ :return: The incident_id of this ImStatusV2.
78
+ :rtype: str
79
+ """
80
+ return self._incident_id
81
+
82
+ @incident_id.setter
83
+ def incident_id(self, incident_id):
84
+ r"""Sets the incident_id of this ImStatusV2.
85
+
86
+ 工单id
87
+
88
+ :param incident_id: The incident_id of this ImStatusV2.
89
+ :type incident_id: str
90
+ """
91
+ self._incident_id = incident_id
92
+
93
+ def to_dict(self):
94
+ result = {}
95
+
96
+ for attr, _ in self.openapi_types.items():
97
+ value = getattr(self, attr)
98
+ if isinstance(value, list):
99
+ result[attr] = list(map(
100
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
101
+ value
102
+ ))
103
+ elif hasattr(value, "to_dict"):
104
+ result[attr] = value.to_dict()
105
+ elif isinstance(value, dict):
106
+ result[attr] = dict(map(
107
+ lambda item: (item[0], item[1].to_dict())
108
+ if hasattr(item[1], "to_dict") else item,
109
+ value.items()
110
+ ))
111
+ else:
112
+ if attr in self.sensitive_list:
113
+ result[attr] = "****"
114
+ else:
115
+ result[attr] = value
116
+
117
+ return result
118
+
119
+ def to_str(self):
120
+ """Returns the string representation of the model"""
121
+ import simplejson as json
122
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
123
+
124
+ def __repr__(self):
125
+ """For `print`"""
126
+ return self.to_str()
127
+
128
+ def __eq__(self, other):
129
+ """Returns true if both objects are equal"""
130
+ if not isinstance(other, ImStatusV2):
131
+ return False
132
+
133
+ return self.__dict__ == other.__dict__
134
+
135
+ def __ne__(self, other):
136
+ """Returns true if both objects are not equal"""
137
+ return not self == other
@@ -0,0 +1,166 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ImUnreadV2:
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
+ 'status': 'int',
19
+ 'incident_id': 'str',
20
+ 'unread_num': 'int'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'status': 'status',
25
+ 'incident_id': 'incident_id',
26
+ 'unread_num': 'unread_num'
27
+ }
28
+
29
+ def __init__(self, status=None, incident_id=None, unread_num=None):
30
+ r"""ImUnreadV2
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param status: 状态
35
+ :type status: int
36
+ :param incident_id: 工单id
37
+ :type incident_id: str
38
+ :param unread_num: 未读数量
39
+ :type unread_num: int
40
+ """
41
+
42
+
43
+
44
+ self._status = None
45
+ self._incident_id = None
46
+ self._unread_num = None
47
+ self.discriminator = None
48
+
49
+ if status is not None:
50
+ self.status = status
51
+ if incident_id is not None:
52
+ self.incident_id = incident_id
53
+ if unread_num is not None:
54
+ self.unread_num = unread_num
55
+
56
+ @property
57
+ def status(self):
58
+ r"""Gets the status of this ImUnreadV2.
59
+
60
+ 状态
61
+
62
+ :return: The status of this ImUnreadV2.
63
+ :rtype: int
64
+ """
65
+ return self._status
66
+
67
+ @status.setter
68
+ def status(self, status):
69
+ r"""Sets the status of this ImUnreadV2.
70
+
71
+ 状态
72
+
73
+ :param status: The status of this ImUnreadV2.
74
+ :type status: int
75
+ """
76
+ self._status = status
77
+
78
+ @property
79
+ def incident_id(self):
80
+ r"""Gets the incident_id of this ImUnreadV2.
81
+
82
+ 工单id
83
+
84
+ :return: The incident_id of this ImUnreadV2.
85
+ :rtype: str
86
+ """
87
+ return self._incident_id
88
+
89
+ @incident_id.setter
90
+ def incident_id(self, incident_id):
91
+ r"""Sets the incident_id of this ImUnreadV2.
92
+
93
+ 工单id
94
+
95
+ :param incident_id: The incident_id of this ImUnreadV2.
96
+ :type incident_id: str
97
+ """
98
+ self._incident_id = incident_id
99
+
100
+ @property
101
+ def unread_num(self):
102
+ r"""Gets the unread_num of this ImUnreadV2.
103
+
104
+ 未读数量
105
+
106
+ :return: The unread_num of this ImUnreadV2.
107
+ :rtype: int
108
+ """
109
+ return self._unread_num
110
+
111
+ @unread_num.setter
112
+ def unread_num(self, unread_num):
113
+ r"""Sets the unread_num of this ImUnreadV2.
114
+
115
+ 未读数量
116
+
117
+ :param unread_num: The unread_num of this ImUnreadV2.
118
+ :type unread_num: int
119
+ """
120
+ self._unread_num = unread_num
121
+
122
+ def to_dict(self):
123
+ result = {}
124
+
125
+ for attr, _ in self.openapi_types.items():
126
+ value = getattr(self, attr)
127
+ if isinstance(value, list):
128
+ result[attr] = list(map(
129
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
130
+ value
131
+ ))
132
+ elif hasattr(value, "to_dict"):
133
+ result[attr] = value.to_dict()
134
+ elif isinstance(value, dict):
135
+ result[attr] = dict(map(
136
+ lambda item: (item[0], item[1].to_dict())
137
+ if hasattr(item[1], "to_dict") else item,
138
+ value.items()
139
+ ))
140
+ else:
141
+ if attr in self.sensitive_list:
142
+ result[attr] = "****"
143
+ else:
144
+ result[attr] = value
145
+
146
+ return result
147
+
148
+ def to_str(self):
149
+ """Returns the string representation of the model"""
150
+ import simplejson as json
151
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
152
+
153
+ def __repr__(self):
154
+ """For `print`"""
155
+ return self.to_str()
156
+
157
+ def __eq__(self, other):
158
+ """Returns true if both objects are equal"""
159
+ if not isinstance(other, ImUnreadV2):
160
+ return False
161
+
162
+ return self.__dict__ == other.__dict__
163
+
164
+ def __ne__(self, other):
165
+ """Returns true if both objects are not equal"""
166
+ return not self == other