huaweicloudsdksa 3.1.38__py2.py3-none-any.whl → 3.1.40__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. huaweicloudsdksa/v1/model/check_product_healthy_request.py +0 -3
  2. huaweicloudsdksa/v1/model/check_product_healthy_response.py +0 -2
  3. huaweicloudsdksa/v1/model/compliance.py +0 -3
  4. huaweicloudsdksa/v1/model/data_source.py +0 -3
  5. huaweicloudsdksa/v1/model/environment.py +0 -3
  6. huaweicloudsdksa/v1/model/event.py +0 -3
  7. huaweicloudsdksa/v1/model/events.py +0 -3
  8. huaweicloudsdksa/v1/model/geo.py +0 -3
  9. huaweicloudsdksa/v1/model/import_events_request.py +0 -3
  10. huaweicloudsdksa/v1/model/import_events_response.py +0 -2
  11. huaweicloudsdksa/v1/model/malware.py +0 -3
  12. huaweicloudsdksa/v1/model/malware_properties.py +0 -3
  13. huaweicloudsdksa/v1/model/network.py +0 -3
  14. huaweicloudsdksa/v1/model/product_info.py +0 -3
  15. huaweicloudsdksa/v1/model/remediation.py +0 -3
  16. huaweicloudsdksa/v1/model/resource.py +0 -3
  17. huaweicloudsdksa/v1/model/severity.py +0 -3
  18. huaweicloudsdksa/v1/model/threat_intel.py +0 -3
  19. huaweicloudsdksa/v1/model/threat_intel_properties.py +0 -3
  20. huaweicloudsdksa/v1/model/type.py +0 -3
  21. huaweicloudsdksa/v1/model/type_properties.py +0 -3
  22. huaweicloudsdksa/v1/model/vulnerability_patch.py +0 -3
  23. huaweicloudsdksa/v1/sa_async_client.py +7 -33
  24. huaweicloudsdksa/v1/sa_client.py +7 -33
  25. huaweicloudsdksa/v2/model/action_info.py +0 -3
  26. huaweicloudsdksa/v2/model/action_instance_info.py +0 -3
  27. huaweicloudsdksa/v2/model/alert.py +0 -3
  28. huaweicloudsdksa/v2/model/alert_detail.py +0 -3
  29. huaweicloudsdksa/v2/model/alert_rule.py +0 -3
  30. huaweicloudsdksa/v2/model/alert_rule_metric.py +0 -3
  31. huaweicloudsdksa/v2/model/alert_rule_template.py +0 -3
  32. huaweicloudsdksa/v2/model/alert_rule_trigger.py +0 -3
  33. huaweicloudsdksa/v2/model/approve_opinion_detail.py +0 -3
  34. huaweicloudsdksa/v2/model/approve_playbook_info.py +0 -3
  35. huaweicloudsdksa/v2/model/audit_log_info.py +0 -3
  36. huaweicloudsdksa/v2/model/batch_order_alert_result.py +0 -3
  37. huaweicloudsdksa/v2/model/change_alert_request.py +0 -3
  38. huaweicloudsdksa/v2/model/change_alert_request_body.py +0 -3
  39. huaweicloudsdksa/v2/model/change_alert_response.py +0 -2
  40. huaweicloudsdksa/v2/model/change_incident_request.py +0 -3
  41. huaweicloudsdksa/v2/model/change_incident_request_body.py +0 -3
  42. huaweicloudsdksa/v2/model/change_incident_response.py +0 -2
  43. huaweicloudsdksa/v2/model/change_playbook_instance_request.py +0 -3
  44. huaweicloudsdksa/v2/model/change_playbook_instance_response.py +0 -2
  45. huaweicloudsdksa/v2/model/condition_info.py +0 -3
  46. huaweicloudsdksa/v2/model/condition_item.py +0 -3
  47. huaweicloudsdksa/v2/model/conditon_info.py +0 -3
  48. huaweicloudsdksa/v2/model/copy_playbook_info.py +0 -3
  49. huaweicloudsdksa/v2/model/copy_playbook_version_request.py +0 -3
  50. huaweicloudsdksa/v2/model/copy_playbook_version_response.py +0 -2
  51. huaweicloudsdksa/v2/model/create_alert.py +0 -3
  52. huaweicloudsdksa/v2/model/create_alert_data_source.py +0 -3
  53. huaweicloudsdksa/v2/model/create_alert_request.py +0 -3
  54. huaweicloudsdksa/v2/model/create_alert_request_body.py +0 -3
  55. huaweicloudsdksa/v2/model/create_alert_response.py +0 -2
  56. huaweicloudsdksa/v2/model/create_alert_rule_request.py +0 -3
  57. huaweicloudsdksa/v2/model/create_alert_rule_request_body.py +0 -3
  58. huaweicloudsdksa/v2/model/create_alert_rule_response.py +0 -2
  59. huaweicloudsdksa/v2/model/create_alert_rule_simulation_request.py +0 -3
  60. huaweicloudsdksa/v2/model/create_alert_rule_simulation_request_body.py +0 -3
  61. huaweicloudsdksa/v2/model/create_alert_rule_simulation_response.py +0 -2
  62. huaweicloudsdksa/v2/model/create_batch_order_alerts_request.py +0 -3
  63. huaweicloudsdksa/v2/model/create_batch_order_alerts_response.py +0 -2
  64. huaweicloudsdksa/v2/model/create_dataobject_relation_request.py +0 -3
  65. huaweicloudsdksa/v2/model/create_dataobject_relation_response.py +0 -2
  66. huaweicloudsdksa/v2/model/create_incident.py +0 -3
  67. huaweicloudsdksa/v2/model/create_incident_incident_type.py +0 -3
  68. huaweicloudsdksa/v2/model/create_incident_malware.py +0 -3
  69. huaweicloudsdksa/v2/model/create_incident_network_list.py +0 -3
  70. huaweicloudsdksa/v2/model/create_incident_process.py +0 -3
  71. huaweicloudsdksa/v2/model/create_incident_request.py +0 -3
  72. huaweicloudsdksa/v2/model/create_incident_request_body.py +0 -3
  73. huaweicloudsdksa/v2/model/create_incident_resource_list.py +0 -3
  74. huaweicloudsdksa/v2/model/create_incident_response.py +0 -2
  75. huaweicloudsdksa/v2/model/create_incident_user_info.py +0 -3
  76. huaweicloudsdksa/v2/model/create_indicator_detail.py +0 -3
  77. huaweicloudsdksa/v2/model/create_indicator_detail_indicator_type.py +0 -3
  78. huaweicloudsdksa/v2/model/create_indicator_request.py +0 -3
  79. huaweicloudsdksa/v2/model/create_indicator_response.py +0 -2
  80. huaweicloudsdksa/v2/model/create_playbook_action_request.py +0 -3
  81. huaweicloudsdksa/v2/model/create_playbook_action_response.py +0 -2
  82. huaweicloudsdksa/v2/model/create_playbook_approve_request.py +0 -3
  83. huaweicloudsdksa/v2/model/create_playbook_approve_response.py +0 -2
  84. huaweicloudsdksa/v2/model/create_playbook_info.py +0 -3
  85. huaweicloudsdksa/v2/model/create_playbook_request.py +0 -3
  86. huaweicloudsdksa/v2/model/create_playbook_response.py +0 -2
  87. huaweicloudsdksa/v2/model/create_playbook_rule_request.py +0 -3
  88. huaweicloudsdksa/v2/model/create_playbook_rule_response.py +0 -2
  89. huaweicloudsdksa/v2/model/create_playbook_version_info.py +0 -3
  90. huaweicloudsdksa/v2/model/create_playbook_version_request.py +0 -3
  91. huaweicloudsdksa/v2/model/create_playbook_version_response.py +0 -2
  92. huaweicloudsdksa/v2/model/create_relation.py +0 -3
  93. huaweicloudsdksa/v2/model/create_rule_info.py +0 -3
  94. huaweicloudsdksa/v2/model/data_class_ref_pojo.py +0 -3
  95. huaweicloudsdksa/v2/model/data_class_type_detail_info.py +0 -3
  96. huaweicloudsdksa/v2/model/data_response.py +0 -3
  97. huaweicloudsdksa/v2/model/dataclass_info_ref.py +0 -3
  98. huaweicloudsdksa/v2/model/dataobject_info.py +0 -3
  99. huaweicloudsdksa/v2/model/dataobject_search.py +0 -3
  100. huaweicloudsdksa/v2/model/dataobject_search_condition.py +0 -3
  101. huaweicloudsdksa/v2/model/delete_alert.py +0 -3
  102. huaweicloudsdksa/v2/model/delete_alert_request.py +0 -3
  103. huaweicloudsdksa/v2/model/delete_alert_response.py +0 -2
  104. huaweicloudsdksa/v2/model/delete_alert_rule_request.py +0 -3
  105. huaweicloudsdksa/v2/model/delete_alert_rule_response.py +0 -2
  106. huaweicloudsdksa/v2/model/delete_dataobject_relation_request.py +0 -3
  107. huaweicloudsdksa/v2/model/delete_dataobject_relation_response.py +0 -2
  108. huaweicloudsdksa/v2/model/delete_incident.py +0 -3
  109. huaweicloudsdksa/v2/model/delete_incident_request.py +0 -3
  110. huaweicloudsdksa/v2/model/delete_incident_response.py +0 -2
  111. huaweicloudsdksa/v2/model/delete_indicator_request.py +0 -3
  112. huaweicloudsdksa/v2/model/delete_indicator_request_body.py +0 -3
  113. huaweicloudsdksa/v2/model/delete_indicator_response.py +0 -2
  114. huaweicloudsdksa/v2/model/delete_playbook_action_request.py +0 -3
  115. huaweicloudsdksa/v2/model/delete_playbook_action_response.py +0 -2
  116. huaweicloudsdksa/v2/model/delete_playbook_request.py +0 -3
  117. huaweicloudsdksa/v2/model/delete_playbook_response.py +0 -2
  118. huaweicloudsdksa/v2/model/delete_playbook_rule_request.py +0 -3
  119. huaweicloudsdksa/v2/model/delete_playbook_rule_response.py +0 -2
  120. huaweicloudsdksa/v2/model/delete_playbook_version_request.py +0 -3
  121. huaweicloudsdksa/v2/model/delete_playbook_version_response.py +0 -2
  122. huaweicloudsdksa/v2/model/disable_alert_rule_request.py +0 -3
  123. huaweicloudsdksa/v2/model/disable_alert_rule_response.py +0 -2
  124. huaweicloudsdksa/v2/model/enable_alert_rule_request.py +0 -3
  125. huaweicloudsdksa/v2/model/enable_alert_rule_response.py +0 -2
  126. huaweicloudsdksa/v2/model/incident.py +0 -3
  127. huaweicloudsdksa/v2/model/incident_datasource.py +0 -3
  128. huaweicloudsdksa/v2/model/incident_detail.py +0 -3
  129. huaweicloudsdksa/v2/model/incident_environment.py +0 -3
  130. huaweicloudsdksa/v2/model/indicator_batch_operate_response.py +0 -3
  131. huaweicloudsdksa/v2/model/indicator_create_request.py +0 -3
  132. huaweicloudsdksa/v2/model/indicator_data_object_detail.py +0 -3
  133. huaweicloudsdksa/v2/model/indicator_detail.py +0 -3
  134. huaweicloudsdksa/v2/model/indicator_list_search_request.py +0 -3
  135. huaweicloudsdksa/v2/model/list_alert_detail.py +0 -3
  136. huaweicloudsdksa/v2/model/list_alert_rsp.py +0 -3
  137. huaweicloudsdksa/v2/model/list_alert_rule_metrics_request.py +0 -3
  138. huaweicloudsdksa/v2/model/list_alert_rule_metrics_response.py +0 -2
  139. huaweicloudsdksa/v2/model/list_alert_rule_templates_request.py +0 -3
  140. huaweicloudsdksa/v2/model/list_alert_rule_templates_response.py +0 -2
  141. huaweicloudsdksa/v2/model/list_alert_rules_request.py +0 -3
  142. huaweicloudsdksa/v2/model/list_alert_rules_response.py +0 -2
  143. huaweicloudsdksa/v2/model/list_alerts_request.py +0 -3
  144. huaweicloudsdksa/v2/model/list_alerts_response.py +0 -2
  145. huaweicloudsdksa/v2/model/list_dataobject_relation_request.py +0 -3
  146. huaweicloudsdksa/v2/model/list_dataobject_relation_response.py +0 -2
  147. huaweicloudsdksa/v2/model/list_incident_detail.py +0 -3
  148. huaweicloudsdksa/v2/model/list_incident_types_request.py +0 -3
  149. huaweicloudsdksa/v2/model/list_incident_types_response.py +0 -2
  150. huaweicloudsdksa/v2/model/list_incidents_request.py +0 -3
  151. huaweicloudsdksa/v2/model/list_incidents_response.py +0 -2
  152. huaweicloudsdksa/v2/model/list_indicators_request.py +0 -3
  153. huaweicloudsdksa/v2/model/list_indicators_response.py +0 -2
  154. huaweicloudsdksa/v2/model/list_playbook_actions_request.py +0 -3
  155. huaweicloudsdksa/v2/model/list_playbook_actions_response.py +0 -2
  156. huaweicloudsdksa/v2/model/list_playbook_approves_request.py +0 -3
  157. huaweicloudsdksa/v2/model/list_playbook_approves_response.py +0 -2
  158. huaweicloudsdksa/v2/model/list_playbook_audit_logs_request.py +0 -3
  159. huaweicloudsdksa/v2/model/list_playbook_audit_logs_response.py +0 -2
  160. huaweicloudsdksa/v2/model/list_playbook_instances_request.py +0 -3
  161. huaweicloudsdksa/v2/model/list_playbook_instances_response.py +0 -2
  162. huaweicloudsdksa/v2/model/list_playbook_versions_request.py +0 -3
  163. huaweicloudsdksa/v2/model/list_playbook_versions_response.py +0 -2
  164. huaweicloudsdksa/v2/model/list_playbooks_request.py +0 -3
  165. huaweicloudsdksa/v2/model/list_playbooks_response.py +0 -2
  166. huaweicloudsdksa/v2/model/modify_action_info.py +0 -3
  167. huaweicloudsdksa/v2/model/modify_playbook_info.py +0 -3
  168. huaweicloudsdksa/v2/model/modify_playbook_version_info.py +0 -3
  169. huaweicloudsdksa/v2/model/modify_rule_info.py +0 -3
  170. huaweicloudsdksa/v2/model/operation_playbook_info.py +0 -3
  171. huaweicloudsdksa/v2/model/order_alert.py +0 -3
  172. huaweicloudsdksa/v2/model/order_alert_event_content.py +0 -3
  173. huaweicloudsdksa/v2/model/order_alert_incident_content.py +0 -3
  174. huaweicloudsdksa/v2/model/order_alert_incident_content_incident_type.py +0 -3
  175. huaweicloudsdksa/v2/model/playbook_info.py +0 -3
  176. huaweicloudsdksa/v2/model/playbook_info_ref.py +0 -3
  177. huaweicloudsdksa/v2/model/playbook_instance_info.py +0 -3
  178. huaweicloudsdksa/v2/model/playbook_instance_monitor_detail.py +0 -3
  179. huaweicloudsdksa/v2/model/playbook_instance_run_statistics.py +0 -3
  180. huaweicloudsdksa/v2/model/playbook_statistic_detail.py +0 -3
  181. huaweicloudsdksa/v2/model/playbook_version_info.py +0 -3
  182. huaweicloudsdksa/v2/model/playbook_version_list_entity.py +0 -3
  183. huaweicloudsdksa/v2/model/rule_info.py +0 -3
  184. huaweicloudsdksa/v2/model/schedule.py +0 -3
  185. huaweicloudsdksa/v2/model/show_alert_detail.py +0 -3
  186. huaweicloudsdksa/v2/model/show_alert_detail_dataclass_ref.py +0 -3
  187. huaweicloudsdksa/v2/model/show_alert_request.py +0 -3
  188. huaweicloudsdksa/v2/model/show_alert_response.py +0 -2
  189. huaweicloudsdksa/v2/model/show_alert_rsp.py +0 -3
  190. huaweicloudsdksa/v2/model/show_alert_rsp_datasource.py +0 -3
  191. huaweicloudsdksa/v2/model/show_alert_rsp_environment.py +0 -3
  192. huaweicloudsdksa/v2/model/show_alert_rsp_file_info.py +0 -3
  193. huaweicloudsdksa/v2/model/show_alert_rsp_malware.py +0 -3
  194. huaweicloudsdksa/v2/model/show_alert_rsp_network_list.py +0 -3
  195. huaweicloudsdksa/v2/model/show_alert_rsp_process.py +0 -3
  196. huaweicloudsdksa/v2/model/show_alert_rsp_remediation.py +0 -3
  197. huaweicloudsdksa/v2/model/show_alert_rsp_resource_list.py +0 -3
  198. huaweicloudsdksa/v2/model/show_alert_rsp_user_info.py +0 -3
  199. huaweicloudsdksa/v2/model/show_alert_rule_request.py +0 -3
  200. huaweicloudsdksa/v2/model/show_alert_rule_response.py +0 -2
  201. huaweicloudsdksa/v2/model/show_alert_rule_template_request.py +0 -3
  202. huaweicloudsdksa/v2/model/show_alert_rule_template_response.py +0 -2
  203. huaweicloudsdksa/v2/model/show_incident.py +0 -3
  204. huaweicloudsdksa/v2/model/show_incident_detail.py +0 -3
  205. huaweicloudsdksa/v2/model/show_incident_request.py +0 -3
  206. huaweicloudsdksa/v2/model/show_incident_response.py +0 -2
  207. huaweicloudsdksa/v2/model/show_indicator_detail_request.py +0 -3
  208. huaweicloudsdksa/v2/model/show_indicator_detail_response.py +0 -2
  209. huaweicloudsdksa/v2/model/show_playbook_instance_request.py +0 -3
  210. huaweicloudsdksa/v2/model/show_playbook_instance_response.py +0 -2
  211. huaweicloudsdksa/v2/model/show_playbook_monitors_request.py +0 -3
  212. huaweicloudsdksa/v2/model/show_playbook_monitors_response.py +0 -2
  213. huaweicloudsdksa/v2/model/show_playbook_request.py +0 -3
  214. huaweicloudsdksa/v2/model/show_playbook_response.py +0 -2
  215. huaweicloudsdksa/v2/model/show_playbook_rule_request.py +0 -3
  216. huaweicloudsdksa/v2/model/show_playbook_rule_response.py +0 -2
  217. huaweicloudsdksa/v2/model/show_playbook_statistics_request.py +0 -3
  218. huaweicloudsdksa/v2/model/show_playbook_statistics_response.py +0 -2
  219. huaweicloudsdksa/v2/model/show_playbook_topology_request.py +0 -3
  220. huaweicloudsdksa/v2/model/show_playbook_topology_response.py +0 -2
  221. huaweicloudsdksa/v2/model/show_playbook_version_request.py +0 -3
  222. huaweicloudsdksa/v2/model/show_playbook_version_response.py +0 -2
  223. huaweicloudsdksa/v2/model/update_alert_rule_request.py +0 -3
  224. huaweicloudsdksa/v2/model/update_alert_rule_request_body.py +0 -3
  225. huaweicloudsdksa/v2/model/update_alert_rule_response.py +0 -2
  226. huaweicloudsdksa/v2/model/update_indicator_request.py +0 -3
  227. huaweicloudsdksa/v2/model/update_indicator_request_body.py +0 -3
  228. huaweicloudsdksa/v2/model/update_indicator_response.py +0 -2
  229. huaweicloudsdksa/v2/model/update_playbook_action_request.py +0 -3
  230. huaweicloudsdksa/v2/model/update_playbook_action_response.py +0 -2
  231. huaweicloudsdksa/v2/model/update_playbook_request.py +0 -3
  232. huaweicloudsdksa/v2/model/update_playbook_response.py +0 -2
  233. huaweicloudsdksa/v2/model/update_playbook_rule_request.py +0 -3
  234. huaweicloudsdksa/v2/model/update_playbook_rule_response.py +0 -2
  235. huaweicloudsdksa/v2/model/update_playbook_version_request.py +0 -3
  236. huaweicloudsdksa/v2/model/update_playbook_version_response.py +0 -2
  237. huaweicloudsdksa/v2/sa_async_client.py +178 -432
  238. huaweicloudsdksa/v2/sa_client.py +178 -432
  239. {huaweicloudsdksa-3.1.38.dist-info → huaweicloudsdksa-3.1.40.dist-info}/METADATA +2 -2
  240. huaweicloudsdksa-3.1.40.dist-info/RECORD +252 -0
  241. huaweicloudsdksa-3.1.38.dist-info/RECORD +0 -252
  242. {huaweicloudsdksa-3.1.38.dist-info → huaweicloudsdksa-3.1.40.dist-info}/LICENSE +0 -0
  243. {huaweicloudsdksa-3.1.38.dist-info → huaweicloudsdksa-3.1.40.dist-info}/WHEEL +0 -0
  244. {huaweicloudsdksa-3.1.38.dist-info → huaweicloudsdksa-3.1.40.dist-info}/top_level.txt +0 -0
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,9 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
5
  from huaweicloudsdkcore.sdk_response import SdkResponse
8
6
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,9 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
5
  from huaweicloudsdkcore.sdk_response import SdkResponse
8
6
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -2,35 +2,17 @@
2
2
 
3
3
  from __future__ import absolute_import
4
4
 
5
- import datetime
6
- import re
7
5
  import importlib
8
6
 
9
- import six
10
-
11
7
  from huaweicloudsdkcore.client import Client, ClientBuilder
12
- from huaweicloudsdkcore.exceptions import exceptions
13
8
  from huaweicloudsdkcore.utils import http_utils
14
9
  from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest
15
10
 
16
11
 
17
12
  class SaAsyncClient(Client):
18
- PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types
19
- NATIVE_TYPES_MAPPING = {
20
- 'int': int,
21
- 'long': int if six.PY3 else long,
22
- 'float': float,
23
- 'str': str,
24
- 'bool': bool,
25
- 'date': datetime.date,
26
- 'datetime': datetime.datetime,
27
- 'object': object,
28
- }
29
-
30
13
  def __init__(self):
31
14
  super(SaAsyncClient, self).__init__()
32
15
  self.model_package = importlib.import_module("huaweicloudsdksa.v1.model")
33
- self.preset_headers = {'User-Agent': 'HuaweiCloud-SDK-Python'}
34
16
 
35
17
  @classmethod
36
18
  def new_builder(cls, clazz=None):
@@ -54,14 +36,10 @@ class SaAsyncClient(Client):
54
36
  :type request: :class:`huaweicloudsdksa.v1.CheckProductHealthyRequest`
55
37
  :rtype: :class:`huaweicloudsdksa.v1.CheckProductHealthyResponse`
56
38
  """
57
- return self.check_product_healthy_with_http_info(request)
39
+ return self._check_product_healthy_with_http_info(request)
58
40
 
59
- def check_product_healthy_with_http_info(self, request):
60
- all_params = ['project_id', 'check_product_healthy_request_body', 'x_language']
61
- local_var_params = {}
62
- for attr in request.attribute_map:
63
- if hasattr(request, attr):
64
- local_var_params[attr] = getattr(request, attr)
41
+ def _check_product_healthy_with_http_info(self, request):
42
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
65
43
 
66
44
  cname = None
67
45
 
@@ -119,14 +97,10 @@ class SaAsyncClient(Client):
119
97
  :type request: :class:`huaweicloudsdksa.v1.ImportEventsRequest`
120
98
  :rtype: :class:`huaweicloudsdksa.v1.ImportEventsResponse`
121
99
  """
122
- return self.import_events_with_http_info(request)
123
-
124
- def import_events_with_http_info(self, request):
125
- all_params = ['project_id', 'import_events_request_body', 'x_language']
126
- local_var_params = {}
127
- for attr in request.attribute_map:
128
- if hasattr(request, attr):
129
- local_var_params[attr] = getattr(request, attr)
100
+ return self._import_events_with_http_info(request)
101
+
102
+ def _import_events_with_http_info(self, request):
103
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
130
104
 
131
105
  cname = None
132
106
 
@@ -2,35 +2,17 @@
2
2
 
3
3
  from __future__ import absolute_import
4
4
 
5
- import datetime
6
- import re
7
5
  import importlib
8
6
 
9
- import six
10
-
11
7
  from huaweicloudsdkcore.client import Client, ClientBuilder
12
- from huaweicloudsdkcore.exceptions import exceptions
13
8
  from huaweicloudsdkcore.utils import http_utils
14
9
  from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest
15
10
 
16
11
 
17
12
  class SaClient(Client):
18
- PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types
19
- NATIVE_TYPES_MAPPING = {
20
- 'int': int,
21
- 'long': int if six.PY3 else long,
22
- 'float': float,
23
- 'str': str,
24
- 'bool': bool,
25
- 'date': datetime.date,
26
- 'datetime': datetime.datetime,
27
- 'object': object,
28
- }
29
-
30
13
  def __init__(self):
31
14
  super(SaClient, self).__init__()
32
15
  self.model_package = importlib.import_module("huaweicloudsdksa.v1.model")
33
- self.preset_headers = {'User-Agent': 'HuaweiCloud-SDK-Python'}
34
16
 
35
17
  @classmethod
36
18
  def new_builder(cls, clazz=None):
@@ -53,14 +35,10 @@ class SaClient(Client):
53
35
  :type request: :class:`huaweicloudsdksa.v1.CheckProductHealthyRequest`
54
36
  :rtype: :class:`huaweicloudsdksa.v1.CheckProductHealthyResponse`
55
37
  """
56
- return self.check_product_healthy_with_http_info(request)
38
+ return self._check_product_healthy_with_http_info(request)
57
39
 
58
- def check_product_healthy_with_http_info(self, request):
59
- all_params = ['project_id', 'check_product_healthy_request_body', 'x_language']
60
- local_var_params = {}
61
- for attr in request.attribute_map:
62
- if hasattr(request, attr):
63
- local_var_params[attr] = getattr(request, attr)
40
+ def _check_product_healthy_with_http_info(self, request):
41
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
64
42
 
65
43
  cname = None
66
44
 
@@ -117,14 +95,10 @@ class SaClient(Client):
117
95
  :type request: :class:`huaweicloudsdksa.v1.ImportEventsRequest`
118
96
  :rtype: :class:`huaweicloudsdksa.v1.ImportEventsResponse`
119
97
  """
120
- return self.import_events_with_http_info(request)
121
-
122
- def import_events_with_http_info(self, request):
123
- all_params = ['project_id', 'import_events_request_body', 'x_language']
124
- local_var_params = {}
125
- for attr in request.attribute_map:
126
- if hasattr(request, attr):
127
- local_var_params[attr] = getattr(request, attr)
98
+ return self._import_events_with_http_info(request)
99
+
100
+ def _import_events_with_http_info(self, request):
101
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
128
102
 
129
103
  cname = None
130
104
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,9 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
5
  from huaweicloudsdkcore.sdk_response import SdkResponse
8
6
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,9 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
5
  from huaweicloudsdkcore.sdk_response import SdkResponse
8
6
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,9 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
5
  from huaweicloudsdkcore.sdk_response import SdkResponse
8
6
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7
 
@@ -1,10 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
- import re
4
3
  import six
5
4
 
6
-
7
-
8
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
9
6
 
10
7