huaweicloudsdkdns 3.0.42rc0__py3-none-any.whl → 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.
Files changed (274) hide show
  1. huaweicloudsdkdns/v2/__init__.py +137 -11
  2. huaweicloudsdkdns/v2/dns_async_client.py +4625 -1735
  3. huaweicloudsdkdns/v2/dns_client.py +4638 -1749
  4. huaweicloudsdkdns/v2/model/__init__.py +136 -9
  5. huaweicloudsdkdns/v2/model/alias_target.py +27 -20
  6. huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_request.py +139 -0
  7. huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_response.py +112 -0
  8. huaweicloudsdkdns/v2/model/associate_or_disassociate_router_with_rule_request_body.py +110 -0
  9. huaweicloudsdkdns/v2/model/associate_resolver_rule_router_request.py +139 -0
  10. huaweicloudsdkdns/v2/model/associate_resolver_rule_router_response.py +174 -0
  11. huaweicloudsdkdns/v2/model/associate_router_request.py +27 -20
  12. huaweicloudsdkdns/v2/model/{associate_router_req.py → associate_router_request_body.py} +23 -20
  13. huaweicloudsdkdns/v2/model/associate_router_response.py +35 -25
  14. huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +200 -0
  15. huaweicloudsdkdns/v2/model/batch_create_tag_request.py +33 -22
  16. huaweicloudsdkdns/v2/model/batch_create_tag_response.py +14 -10
  17. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
  18. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
  19. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
  20. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +139 -0
  21. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +114 -0
  22. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +166 -0
  23. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
  24. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
  25. huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
  26. huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
  27. huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
  28. huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
  29. huaweicloudsdkdns/v2/model/batch_hand_tags.py +24 -17
  30. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
  31. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
  32. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
  33. huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
  34. huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
  35. huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
  36. huaweicloudsdkdns/v2/model/batch_update_record_set.py +229 -0
  37. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +139 -0
  38. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +114 -0
  39. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +166 -0
  40. huaweicloudsdkdns/v2/model/create_custom_line_request.py +20 -17
  41. huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +36 -27
  42. huaweicloudsdkdns/v2/model/create_custom_line_response.py +53 -35
  43. huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +33 -22
  44. huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +97 -50
  45. huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
  46. huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
  47. huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
  48. huaweicloudsdkdns/v2/model/create_line_group_request.py +111 -0
  49. huaweicloudsdkdns/v2/model/create_line_group_response.py +290 -0
  50. huaweicloudsdkdns/v2/model/create_line_groups_req.py +171 -0
  51. huaweicloudsdkdns/v2/model/create_line_groups_resp.py +289 -0
  52. huaweicloudsdkdns/v2/model/create_private_zone_req.py +101 -55
  53. huaweicloudsdkdns/v2/model/create_private_zone_request.py +19 -16
  54. huaweicloudsdkdns/v2/model/create_private_zone_response.py +156 -95
  55. huaweicloudsdkdns/v2/model/create_ptr_req.py +47 -34
  56. huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
  57. huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
  58. huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
  59. huaweicloudsdkdns/v2/model/create_public_zone_req.py +63 -46
  60. huaweicloudsdkdns/v2/model/create_public_zone_request.py +19 -16
  61. huaweicloudsdkdns/v2/model/create_public_zone_response.py +125 -91
  62. huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +199 -0
  63. huaweicloudsdkdns/v2/model/create_record_set_request.py +27 -20
  64. huaweicloudsdkdns/v2/model/create_record_set_request_body.py +286 -0
  65. huaweicloudsdkdns/v2/model/create_record_set_response.py +111 -55
  66. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +139 -0
  67. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +166 -0
  68. huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +27 -20
  69. huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +370 -0
  70. huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +138 -102
  71. huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
  72. huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
  73. huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
  74. huaweicloudsdkdns/v2/model/create_tag_req.py +19 -16
  75. huaweicloudsdkdns/v2/model/create_tag_request.py +33 -22
  76. huaweicloudsdkdns/v2/model/create_tag_response.py +14 -10
  77. huaweicloudsdkdns/v2/model/delete_custom_line_request.py +20 -13
  78. huaweicloudsdkdns/v2/model/delete_custom_line_response.py +53 -35
  79. huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
  80. huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
  81. huaweicloudsdkdns/v2/model/delete_line_group_request.py +114 -0
  82. huaweicloudsdkdns/v2/model/delete_line_group_response.py +290 -0
  83. huaweicloudsdkdns/v2/model/delete_private_zone_request.py +20 -13
  84. huaweicloudsdkdns/v2/model/delete_private_zone_response.py +126 -92
  85. huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
  86. huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
  87. huaweicloudsdkdns/v2/model/delete_public_zone_request.py +20 -13
  88. huaweicloudsdkdns/v2/model/delete_public_zone_response.py +121 -91
  89. huaweicloudsdkdns/v2/model/delete_record_set_request.py +27 -16
  90. huaweicloudsdkdns/v2/model/delete_record_set_response.py +111 -81
  91. huaweicloudsdkdns/v2/model/delete_record_sets_request.py +27 -16
  92. huaweicloudsdkdns/v2/model/delete_record_sets_response.py +138 -102
  93. huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
  94. huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
  95. huaweicloudsdkdns/v2/model/delete_tag_request.py +34 -19
  96. huaweicloudsdkdns/v2/model/delete_tag_response.py +14 -10
  97. huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
  98. huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
  99. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
  100. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
  101. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
  102. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
  103. huaweicloudsdkdns/v2/model/disassociate_router_request.py +27 -20
  104. huaweicloudsdkdns/v2/model/disassociate_router_response.py +35 -25
  105. huaweicloudsdkdns/v2/model/{disassociaterouter_req.py → disassociaterouter_request_body.py} +23 -20
  106. huaweicloudsdkdns/v2/model/domain_quota_response_quotas.py +198 -0
  107. huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
  108. huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
  109. huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
  110. huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
  111. huaweicloudsdkdns/v2/model/{update_public_zone_status.py → ip_info.py} +35 -29
  112. huaweicloudsdkdns/v2/model/ip_value.py +115 -0
  113. huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
  114. huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
  115. huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
  116. huaweicloudsdkdns/v2/model/line.py +52 -35
  117. huaweicloudsdkdns/v2/model/link.py +115 -0
  118. huaweicloudsdkdns/v2/model/links_item.py +27 -20
  119. huaweicloudsdkdns/v2/model/list_api_versions_item.py +35 -26
  120. huaweicloudsdkdns/v2/model/list_api_versions_request.py +13 -10
  121. huaweicloudsdkdns/v2/model/list_api_versions_response.py +20 -16
  122. huaweicloudsdkdns/v2/model/list_custom_line_request.py +109 -28
  123. huaweicloudsdkdns/v2/model/list_custom_line_response.py +29 -21
  124. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
  125. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
  126. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
  127. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
  128. huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
  129. huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
  130. huaweicloudsdkdns/v2/model/list_line_groups_request.py +202 -0
  131. huaweicloudsdkdns/v2/model/list_line_groups_response.py +141 -0
  132. huaweicloudsdkdns/v2/model/list_name_servers_request.py +27 -16
  133. huaweicloudsdkdns/v2/model/list_name_servers_response.py +22 -14
  134. huaweicloudsdkdns/v2/model/list_private_zones_request.py +217 -37
  135. huaweicloudsdkdns/v2/model/list_private_zones_response.py +35 -27
  136. huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +99 -51
  137. huaweicloudsdkdns/v2/model/list_ptr_records_request.py +55 -28
  138. huaweicloudsdkdns/v2/model/list_ptr_records_response.py +35 -27
  139. huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
  140. huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
  141. huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
  142. huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
  143. huaweicloudsdkdns/v2/model/list_public_zones_request.py +186 -35
  144. huaweicloudsdkdns/v2/model/list_public_zones_response.py +36 -28
  145. huaweicloudsdkdns/v2/model/list_record_sets.py +110 -81
  146. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +124 -48
  147. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +35 -27
  148. huaweicloudsdkdns/v2/model/list_record_sets_request.py +131 -51
  149. huaweicloudsdkdns/v2/model/list_record_sets_response.py +36 -28
  150. huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +152 -60
  151. huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +36 -28
  152. huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +517 -0
  153. huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
  154. huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
  155. huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
  156. huaweicloudsdkdns/v2/model/list_tag_req.py +64 -45
  157. huaweicloudsdkdns/v2/model/list_tag_request.py +26 -19
  158. huaweicloudsdkdns/v2/model/list_tag_response.py +29 -17
  159. huaweicloudsdkdns/v2/model/list_tags_request.py +20 -13
  160. huaweicloudsdkdns/v2/model/list_tags_response.py +20 -14
  161. huaweicloudsdkdns/v2/model/match.py +143 -0
  162. huaweicloudsdkdns/v2/model/{metedata.py → metadata.py} +24 -19
  163. huaweicloudsdkdns/v2/model/name_servers_resp.py +31 -20
  164. huaweicloudsdkdns/v2/model/nameserver.py +27 -20
  165. huaweicloudsdkdns/v2/model/ns_records.py +28 -19
  166. huaweicloudsdkdns/v2/model/page_info.py +173 -0
  167. huaweicloudsdkdns/v2/model/page_link.py +27 -20
  168. huaweicloudsdkdns/v2/model/private_name_server.py +27 -20
  169. huaweicloudsdkdns/v2/model/private_zone_resp.py +191 -98
  170. huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
  171. huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
  172. huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
  173. huaweicloudsdkdns/v2/model/public_zone_resp.py +575 -0
  174. huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +658 -0
  175. huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +169 -105
  176. huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
  177. huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
  178. huaweicloudsdkdns/v2/model/resource_item.py +36 -25
  179. huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +33 -22
  180. huaweicloudsdkdns/v2/model/restore_ptr_record_response.py +14 -10
  181. huaweicloudsdkdns/v2/model/restore_ptr_req.py +22 -17
  182. huaweicloudsdkdns/v2/model/router.py +59 -23
  183. huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
  184. huaweicloudsdkdns/v2/model/router_with_status.py +34 -25
  185. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
  186. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
  187. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
  188. huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +27 -20
  189. huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +24 -19
  190. huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +170 -105
  191. huaweicloudsdkdns/v2/model/show_api_info_request.py +20 -13
  192. huaweicloudsdkdns/v2/model/show_api_info_response.py +20 -16
  193. huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
  194. huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
  195. huaweicloudsdkdns/v2/model/show_domain_quota_request.py +114 -0
  196. huaweicloudsdkdns/v2/model/show_domain_quota_response.py +116 -0
  197. huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
  198. huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
  199. huaweicloudsdkdns/v2/model/show_line_group_request.py +114 -0
  200. huaweicloudsdkdns/v2/model/show_line_group_response.py +290 -0
  201. huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +20 -13
  202. huaweicloudsdkdns/v2/model/show_private_zone_name_server_response.py +22 -14
  203. huaweicloudsdkdns/v2/model/show_private_zone_request.py +20 -13
  204. huaweicloudsdkdns/v2/model/show_private_zone_response.py +187 -95
  205. huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +27 -16
  206. huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +97 -50
  207. huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
  208. huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
  209. huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +20 -13
  210. huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +22 -16
  211. huaweicloudsdkdns/v2/model/show_public_zone_request.py +20 -13
  212. huaweicloudsdkdns/v2/model/show_public_zone_response.py +127 -93
  213. huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +371 -16
  214. huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +162 -127
  215. huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +35 -27
  216. huaweicloudsdkdns/v2/model/show_record_set_request.py +27 -16
  217. huaweicloudsdkdns/v2/model/show_record_set_response.py +143 -84
  218. huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +27 -16
  219. huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +170 -105
  220. huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
  221. huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
  222. huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
  223. huaweicloudsdkdns/v2/model/show_resource_tag_request.py +27 -16
  224. huaweicloudsdkdns/v2/model/show_resource_tag_response.py +22 -14
  225. huaweicloudsdkdns/v2/model/tag.py +27 -20
  226. huaweicloudsdkdns/v2/model/tag_values.py +27 -20
  227. huaweicloudsdkdns/v2/model/update_custom_line_request.py +27 -20
  228. huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +36 -27
  229. huaweicloudsdkdns/v2/model/update_custom_line_response.py +53 -35
  230. huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
  231. huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
  232. huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
  233. huaweicloudsdkdns/v2/model/update_line_groups_request.py +139 -0
  234. huaweicloudsdkdns/v2/model/update_line_groups_request_body.py +171 -0
  235. huaweicloudsdkdns/v2/model/update_line_groups_response.py +290 -0
  236. huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +34 -25
  237. huaweicloudsdkdns/v2/model/update_private_zone_request.py +26 -19
  238. huaweicloudsdkdns/v2/model/update_private_zone_response.py +126 -92
  239. huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
  240. huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
  241. huaweicloudsdkdns/v2/model/update_ptr_record_request.py +33 -22
  242. huaweicloudsdkdns/v2/model/update_ptr_record_response.py +65 -47
  243. huaweicloudsdkdns/v2/model/update_ptr_req.py +40 -29
  244. huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
  245. huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
  246. huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
  247. huaweicloudsdkdns/v2/model/update_public_zone_info.py +36 -27
  248. huaweicloudsdkdns/v2/model/update_public_zone_request.py +26 -19
  249. huaweicloudsdkdns/v2/model/update_public_zone_response.py +120 -88
  250. huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +27 -20
  251. huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +118 -86
  252. huaweicloudsdkdns/v2/model/update_record_set_req.py +52 -37
  253. huaweicloudsdkdns/v2/model/update_record_set_request.py +33 -22
  254. huaweicloudsdkdns/v2/model/update_record_set_response.py +111 -55
  255. huaweicloudsdkdns/v2/model/update_record_sets_req.py +55 -40
  256. huaweicloudsdkdns/v2/model/update_record_sets_request.py +33 -22
  257. huaweicloudsdkdns/v2/model/update_record_sets_response.py +138 -102
  258. huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
  259. huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
  260. huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
  261. huaweicloudsdkdns/v2/model/update_zone_status_request_body.py +114 -0
  262. huaweicloudsdkdns/v2/model/values_item.py +21 -16
  263. huaweicloudsdkdns/v2/model/version_item.py +56 -41
  264. huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
  265. huaweicloudsdkdns/v2/model/zone_data.py +517 -0
  266. huaweicloudsdkdns/v2/region/dns_region.py +88 -38
  267. {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/METADATA +9 -9
  268. huaweicloudsdkdns-3.1.160.dist-info/RECORD +273 -0
  269. {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/WHEEL +1 -1
  270. huaweicloudsdkdns/v2/model/create_record_set_req.py +0 -263
  271. huaweicloudsdkdns/v2/model/create_record_set_with_line_req.py +0 -348
  272. huaweicloudsdkdns-3.0.42rc0.dist-info/RECORD +0 -146
  273. {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/LICENSE +0 -0
  274. {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,12 @@
1
1
  # coding: utf-8
2
2
 
3
- import pprint
4
- import re
5
-
6
3
  import six
7
4
 
8
-
9
-
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
10
6
 
11
7
 
12
8
  class ListRecordSetsRequest:
13
9
 
14
-
15
10
  """
16
11
  Attributes:
17
12
  openapi_types (dict): The key is attribute name
@@ -19,14 +14,14 @@ class ListRecordSetsRequest:
19
14
  attribute_map (dict): The key is attribute name
20
15
  and the value is json key in definition.
21
16
  """
22
-
23
17
  sensitive_list = []
24
18
 
25
19
  openapi_types = {
26
20
  'zone_type': 'str',
27
21
  'marker': 'str',
28
- 'limit': 'str',
29
- 'offset': 'str',
22
+ 'search_mode': 'str',
23
+ 'limit': 'int',
24
+ 'offset': 'int',
30
25
  'tags': 'str',
31
26
  'status': 'str',
32
27
  'type': 'str',
@@ -40,6 +35,7 @@ class ListRecordSetsRequest:
40
35
  attribute_map = {
41
36
  'zone_type': 'zone_type',
42
37
  'marker': 'marker',
38
+ 'search_mode': 'search_mode',
43
39
  'limit': 'limit',
44
40
  'offset': 'offset',
45
41
  'tags': 'tags',
@@ -52,13 +48,44 @@ class ListRecordSetsRequest:
52
48
  'sort_dir': 'sort_dir'
53
49
  }
54
50
 
55
- def __init__(self, zone_type=None, marker=None, limit=None, offset=None, tags=None, status=None, type=None, name=None, id=None, records=None, sort_key=None, sort_dir=None):
56
- """ListRecordSetsRequest - a model defined in huaweicloud sdk"""
51
+ def __init__(self, zone_type=None, marker=None, search_mode=None, limit=None, offset=None, tags=None, status=None, type=None, name=None, id=None, records=None, sort_key=None, sort_dir=None):
52
+ r"""ListRecordSetsRequest
53
+
54
+ The model defined in huaweicloud sdk
55
+
56
+ :param zone_type: **参数解释:** 记录集所属域名的类型。 **约束限制:** 不涉及。 **取值范围:** - public:表示查询公网域名的记录集。 - private:表示查询内网域名的记录集。 **默认取值:** public。
57
+ :type zone_type: str
58
+ :param marker: **参数解释:** 分页查询的起始资源ID。 - 查询第一页时,设置为空。 - 查询下一页时,设置为上一页最后一条资源的ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
59
+ :type marker: str
60
+ :param search_mode: **参数解释:** 查询条件搜索模式。 **约束限制:** 不涉及。 **取值范围:** - like:模糊搜索 - equal:精确搜索 **默认取值:** 不涉及。
61
+ :type search_mode: str
62
+ :param limit: **参数解释:** 分页查询时配置每页返回的资源个数。 **约束限制:** 不涉及。 **取值范围:** 0~500。 **默认取值:** 500
63
+ :type limit: int
64
+ :param offset: **参数解释:** 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 **约束限制:** 当设置marker不为空时,以marker为分页起始标识,offset不生效。。 **取值范围:** 0~2147483647。 **默认取值:** 0
65
+ :type offset: int
66
+ :param tags: **参数解释:** 记录集的标签,包括标签键和标签值。 取值格式:key1,value1|key2,value2。 **约束限制:** - 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。 - 多个标签之间为“与”的关系。 - 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 **取值范围:** 最多可以查询20个标签。 **默认取值:** 不涉及。
67
+ :type tags: str
68
+ :param status: **参数解释:** 记录集状态。 **约束限制:** 不涉及。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败 **默认取值:** 不涉及。
69
+ :type status: str
70
+ :param type: **参数解释:** 记录集的类型。 **约束限制:** 不涉及。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。 **默认取值:** 不涉及。
71
+ :type type: str
72
+ :param name: **参数解释:** 待查询的记录集的域名中包含此name。 搜索模式默认为模糊搜索。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
73
+ :type name: str
74
+ :param id: **参数解释:** 待查询的记录集ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
75
+ :type id: str
76
+ :param records: **参数解释:** 待查询的记录集的值。 搜索模式默认为模糊搜索。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
77
+ :type records: str
78
+ :param sort_key: **参数解释:** 查询结果中记录集列表的排序字段。 **约束限制:** 不涉及。 **取值范围:** - name:记录集名称 - type:记录集类型 **默认取值:** 默认值为空,表示不排序。
79
+ :type sort_key: str
80
+ :param sort_dir: **参数解释:** 查询结果中记录集列表的排序方式。 **约束限制:** 不涉及。 **取值范围:** - desc:降序排序 - asc:升序排序 **默认取值:** 默认值为空,表示不排序。
81
+ :type sort_dir: str
82
+ """
57
83
 
58
84
 
59
85
 
60
86
  self._zone_type = None
61
87
  self._marker = None
88
+ self._search_mode = None
62
89
  self._limit = None
63
90
  self._offset = None
64
91
  self._tags = None
@@ -75,6 +102,8 @@ class ListRecordSetsRequest:
75
102
  self.zone_type = zone_type
76
103
  if marker is not None:
77
104
  self.marker = marker
105
+ if search_mode is not None:
106
+ self.search_mode = search_mode
78
107
  if limit is not None:
79
108
  self.limit = limit
80
109
  if offset is not None:
@@ -98,8 +127,9 @@ class ListRecordSetsRequest:
98
127
 
99
128
  @property
100
129
  def zone_type(self):
101
- """Gets the zone_type of this ListRecordSetsRequest.
130
+ r"""Gets the zone_type of this ListRecordSetsRequest.
102
131
 
132
+ **参数解释:** 记录集所属域名的类型。 **约束限制:** 不涉及。 **取值范围:** - public:表示查询公网域名的记录集。 - private:表示查询内网域名的记录集。 **默认取值:** public。
103
133
 
104
134
  :return: The zone_type of this ListRecordSetsRequest.
105
135
  :rtype: str
@@ -108,18 +138,20 @@ class ListRecordSetsRequest:
108
138
 
109
139
  @zone_type.setter
110
140
  def zone_type(self, zone_type):
111
- """Sets the zone_type of this ListRecordSetsRequest.
141
+ r"""Sets the zone_type of this ListRecordSetsRequest.
112
142
 
143
+ **参数解释:** 记录集所属域名的类型。 **约束限制:** 不涉及。 **取值范围:** - public:表示查询公网域名的记录集。 - private:表示查询内网域名的记录集。 **默认取值:** public。
113
144
 
114
145
  :param zone_type: The zone_type of this ListRecordSetsRequest.
115
- :type: str
146
+ :type zone_type: str
116
147
  """
117
148
  self._zone_type = zone_type
118
149
 
119
150
  @property
120
151
  def marker(self):
121
- """Gets the marker of this ListRecordSetsRequest.
152
+ r"""Gets the marker of this ListRecordSetsRequest.
122
153
 
154
+ **参数解释:** 分页查询的起始资源ID。 - 查询第一页时,设置为空。 - 查询下一页时,设置为上一页最后一条资源的ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
123
155
 
124
156
  :return: The marker of this ListRecordSetsRequest.
125
157
  :rtype: str
@@ -128,58 +160,86 @@ class ListRecordSetsRequest:
128
160
 
129
161
  @marker.setter
130
162
  def marker(self, marker):
131
- """Sets the marker of this ListRecordSetsRequest.
163
+ r"""Sets the marker of this ListRecordSetsRequest.
132
164
 
165
+ **参数解释:** 分页查询的起始资源ID。 - 查询第一页时,设置为空。 - 查询下一页时,设置为上一页最后一条资源的ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
133
166
 
134
167
  :param marker: The marker of this ListRecordSetsRequest.
135
- :type: str
168
+ :type marker: str
136
169
  """
137
170
  self._marker = marker
138
171
 
172
+ @property
173
+ def search_mode(self):
174
+ r"""Gets the search_mode of this ListRecordSetsRequest.
175
+
176
+ **参数解释:** 查询条件搜索模式。 **约束限制:** 不涉及。 **取值范围:** - like:模糊搜索 - equal:精确搜索 **默认取值:** 不涉及。
177
+
178
+ :return: The search_mode of this ListRecordSetsRequest.
179
+ :rtype: str
180
+ """
181
+ return self._search_mode
182
+
183
+ @search_mode.setter
184
+ def search_mode(self, search_mode):
185
+ r"""Sets the search_mode of this ListRecordSetsRequest.
186
+
187
+ **参数解释:** 查询条件搜索模式。 **约束限制:** 不涉及。 **取值范围:** - like:模糊搜索 - equal:精确搜索 **默认取值:** 不涉及。
188
+
189
+ :param search_mode: The search_mode of this ListRecordSetsRequest.
190
+ :type search_mode: str
191
+ """
192
+ self._search_mode = search_mode
193
+
139
194
  @property
140
195
  def limit(self):
141
- """Gets the limit of this ListRecordSetsRequest.
196
+ r"""Gets the limit of this ListRecordSetsRequest.
142
197
 
198
+ **参数解释:** 分页查询时配置每页返回的资源个数。 **约束限制:** 不涉及。 **取值范围:** 0~500。 **默认取值:** 500
143
199
 
144
200
  :return: The limit of this ListRecordSetsRequest.
145
- :rtype: str
201
+ :rtype: int
146
202
  """
147
203
  return self._limit
148
204
 
149
205
  @limit.setter
150
206
  def limit(self, limit):
151
- """Sets the limit of this ListRecordSetsRequest.
207
+ r"""Sets the limit of this ListRecordSetsRequest.
152
208
 
209
+ **参数解释:** 分页查询时配置每页返回的资源个数。 **约束限制:** 不涉及。 **取值范围:** 0~500。 **默认取值:** 500
153
210
 
154
211
  :param limit: The limit of this ListRecordSetsRequest.
155
- :type: str
212
+ :type limit: int
156
213
  """
157
214
  self._limit = limit
158
215
 
159
216
  @property
160
217
  def offset(self):
161
- """Gets the offset of this ListRecordSetsRequest.
218
+ r"""Gets the offset of this ListRecordSetsRequest.
162
219
 
220
+ **参数解释:** 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 **约束限制:** 当设置marker不为空时,以marker为分页起始标识,offset不生效。。 **取值范围:** 0~2147483647。 **默认取值:** 0
163
221
 
164
222
  :return: The offset of this ListRecordSetsRequest.
165
- :rtype: str
223
+ :rtype: int
166
224
  """
167
225
  return self._offset
168
226
 
169
227
  @offset.setter
170
228
  def offset(self, offset):
171
- """Sets the offset of this ListRecordSetsRequest.
229
+ r"""Sets the offset of this ListRecordSetsRequest.
172
230
 
231
+ **参数解释:** 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 **约束限制:** 当设置marker不为空时,以marker为分页起始标识,offset不生效。。 **取值范围:** 0~2147483647。 **默认取值:** 0
173
232
 
174
233
  :param offset: The offset of this ListRecordSetsRequest.
175
- :type: str
234
+ :type offset: int
176
235
  """
177
236
  self._offset = offset
178
237
 
179
238
  @property
180
239
  def tags(self):
181
- """Gets the tags of this ListRecordSetsRequest.
240
+ r"""Gets the tags of this ListRecordSetsRequest.
182
241
 
242
+ **参数解释:** 记录集的标签,包括标签键和标签值。 取值格式:key1,value1|key2,value2。 **约束限制:** - 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。 - 多个标签之间为“与”的关系。 - 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 **取值范围:** 最多可以查询20个标签。 **默认取值:** 不涉及。
183
243
 
184
244
  :return: The tags of this ListRecordSetsRequest.
185
245
  :rtype: str
@@ -188,18 +248,20 @@ class ListRecordSetsRequest:
188
248
 
189
249
  @tags.setter
190
250
  def tags(self, tags):
191
- """Sets the tags of this ListRecordSetsRequest.
251
+ r"""Sets the tags of this ListRecordSetsRequest.
192
252
 
253
+ **参数解释:** 记录集的标签,包括标签键和标签值。 取值格式:key1,value1|key2,value2。 **约束限制:** - 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。 - 多个标签之间为“与”的关系。 - 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 **取值范围:** 最多可以查询20个标签。 **默认取值:** 不涉及。
193
254
 
194
255
  :param tags: The tags of this ListRecordSetsRequest.
195
- :type: str
256
+ :type tags: str
196
257
  """
197
258
  self._tags = tags
198
259
 
199
260
  @property
200
261
  def status(self):
201
- """Gets the status of this ListRecordSetsRequest.
262
+ r"""Gets the status of this ListRecordSetsRequest.
202
263
 
264
+ **参数解释:** 记录集状态。 **约束限制:** 不涉及。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败 **默认取值:** 不涉及。
203
265
 
204
266
  :return: The status of this ListRecordSetsRequest.
205
267
  :rtype: str
@@ -208,18 +270,20 @@ class ListRecordSetsRequest:
208
270
 
209
271
  @status.setter
210
272
  def status(self, status):
211
- """Sets the status of this ListRecordSetsRequest.
273
+ r"""Sets the status of this ListRecordSetsRequest.
212
274
 
275
+ **参数解释:** 记录集状态。 **约束限制:** 不涉及。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败 **默认取值:** 不涉及。
213
276
 
214
277
  :param status: The status of this ListRecordSetsRequest.
215
- :type: str
278
+ :type status: str
216
279
  """
217
280
  self._status = status
218
281
 
219
282
  @property
220
283
  def type(self):
221
- """Gets the type of this ListRecordSetsRequest.
284
+ r"""Gets the type of this ListRecordSetsRequest.
222
285
 
286
+ **参数解释:** 记录集的类型。 **约束限制:** 不涉及。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。 **默认取值:** 不涉及。
223
287
 
224
288
  :return: The type of this ListRecordSetsRequest.
225
289
  :rtype: str
@@ -228,18 +292,20 @@ class ListRecordSetsRequest:
228
292
 
229
293
  @type.setter
230
294
  def type(self, type):
231
- """Sets the type of this ListRecordSetsRequest.
295
+ r"""Sets the type of this ListRecordSetsRequest.
232
296
 
297
+ **参数解释:** 记录集的类型。 **约束限制:** 不涉及。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。 **默认取值:** 不涉及。
233
298
 
234
299
  :param type: The type of this ListRecordSetsRequest.
235
- :type: str
300
+ :type type: str
236
301
  """
237
302
  self._type = type
238
303
 
239
304
  @property
240
305
  def name(self):
241
- """Gets the name of this ListRecordSetsRequest.
306
+ r"""Gets the name of this ListRecordSetsRequest.
242
307
 
308
+ **参数解释:** 待查询的记录集的域名中包含此name。 搜索模式默认为模糊搜索。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
243
309
 
244
310
  :return: The name of this ListRecordSetsRequest.
245
311
  :rtype: str
@@ -248,18 +314,20 @@ class ListRecordSetsRequest:
248
314
 
249
315
  @name.setter
250
316
  def name(self, name):
251
- """Sets the name of this ListRecordSetsRequest.
317
+ r"""Sets the name of this ListRecordSetsRequest.
252
318
 
319
+ **参数解释:** 待查询的记录集的域名中包含此name。 搜索模式默认为模糊搜索。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
253
320
 
254
321
  :param name: The name of this ListRecordSetsRequest.
255
- :type: str
322
+ :type name: str
256
323
  """
257
324
  self._name = name
258
325
 
259
326
  @property
260
327
  def id(self):
261
- """Gets the id of this ListRecordSetsRequest.
328
+ r"""Gets the id of this ListRecordSetsRequest.
262
329
 
330
+ **参数解释:** 待查询的记录集ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
263
331
 
264
332
  :return: The id of this ListRecordSetsRequest.
265
333
  :rtype: str
@@ -268,18 +336,20 @@ class ListRecordSetsRequest:
268
336
 
269
337
  @id.setter
270
338
  def id(self, id):
271
- """Sets the id of this ListRecordSetsRequest.
339
+ r"""Sets the id of this ListRecordSetsRequest.
272
340
 
341
+ **参数解释:** 待查询的记录集ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
273
342
 
274
343
  :param id: The id of this ListRecordSetsRequest.
275
- :type: str
344
+ :type id: str
276
345
  """
277
346
  self._id = id
278
347
 
279
348
  @property
280
349
  def records(self):
281
- """Gets the records of this ListRecordSetsRequest.
350
+ r"""Gets the records of this ListRecordSetsRequest.
282
351
 
352
+ **参数解释:** 待查询的记录集的值。 搜索模式默认为模糊搜索。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
283
353
 
284
354
  :return: The records of this ListRecordSetsRequest.
285
355
  :rtype: str
@@ -288,18 +358,20 @@ class ListRecordSetsRequest:
288
358
 
289
359
  @records.setter
290
360
  def records(self, records):
291
- """Sets the records of this ListRecordSetsRequest.
361
+ r"""Sets the records of this ListRecordSetsRequest.
292
362
 
363
+ **参数解释:** 待查询的记录集的值。 搜索模式默认为模糊搜索。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
293
364
 
294
365
  :param records: The records of this ListRecordSetsRequest.
295
- :type: str
366
+ :type records: str
296
367
  """
297
368
  self._records = records
298
369
 
299
370
  @property
300
371
  def sort_key(self):
301
- """Gets the sort_key of this ListRecordSetsRequest.
372
+ r"""Gets the sort_key of this ListRecordSetsRequest.
302
373
 
374
+ **参数解释:** 查询结果中记录集列表的排序字段。 **约束限制:** 不涉及。 **取值范围:** - name:记录集名称 - type:记录集类型 **默认取值:** 默认值为空,表示不排序。
303
375
 
304
376
  :return: The sort_key of this ListRecordSetsRequest.
305
377
  :rtype: str
@@ -308,18 +380,20 @@ class ListRecordSetsRequest:
308
380
 
309
381
  @sort_key.setter
310
382
  def sort_key(self, sort_key):
311
- """Sets the sort_key of this ListRecordSetsRequest.
383
+ r"""Sets the sort_key of this ListRecordSetsRequest.
312
384
 
385
+ **参数解释:** 查询结果中记录集列表的排序字段。 **约束限制:** 不涉及。 **取值范围:** - name:记录集名称 - type:记录集类型 **默认取值:** 默认值为空,表示不排序。
313
386
 
314
387
  :param sort_key: The sort_key of this ListRecordSetsRequest.
315
- :type: str
388
+ :type sort_key: str
316
389
  """
317
390
  self._sort_key = sort_key
318
391
 
319
392
  @property
320
393
  def sort_dir(self):
321
- """Gets the sort_dir of this ListRecordSetsRequest.
394
+ r"""Gets the sort_dir of this ListRecordSetsRequest.
322
395
 
396
+ **参数解释:** 查询结果中记录集列表的排序方式。 **约束限制:** 不涉及。 **取值范围:** - desc:降序排序 - asc:升序排序 **默认取值:** 默认值为空,表示不排序。
323
397
 
324
398
  :return: The sort_dir of this ListRecordSetsRequest.
325
399
  :rtype: str
@@ -328,11 +402,12 @@ class ListRecordSetsRequest:
328
402
 
329
403
  @sort_dir.setter
330
404
  def sort_dir(self, sort_dir):
331
- """Sets the sort_dir of this ListRecordSetsRequest.
405
+ r"""Sets the sort_dir of this ListRecordSetsRequest.
332
406
 
407
+ **参数解释:** 查询结果中记录集列表的排序方式。 **约束限制:** 不涉及。 **取值范围:** - desc:降序排序 - asc:升序排序 **默认取值:** 默认值为空,表示不排序。
333
408
 
334
409
  :param sort_dir: The sort_dir of this ListRecordSetsRequest.
335
- :type: str
410
+ :type sort_dir: str
336
411
  """
337
412
  self._sort_dir = sort_dir
338
413
 
@@ -365,10 +440,15 @@ class ListRecordSetsRequest:
365
440
 
366
441
  def to_str(self):
367
442
  """Returns the string representation of the model"""
368
- return pprint.pformat(self.to_dict())
443
+ import simplejson as json
444
+ if six.PY2:
445
+ import sys
446
+ reload(sys)
447
+ sys.setdefaultencoding("utf-8")
448
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
369
449
 
370
450
  def __repr__(self):
371
- """For `print` and `pprint`"""
451
+ """For `print`"""
372
452
  return self.to_str()
373
453
 
374
454
  def __eq__(self, other):
@@ -1,17 +1,13 @@
1
1
  # coding: utf-8
2
2
 
3
- import pprint
4
- import re
5
-
6
3
  import six
7
4
 
8
-
9
5
  from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
10
7
 
11
8
 
12
9
  class ListRecordSetsResponse(SdkResponse):
13
10
 
14
-
15
11
  """
16
12
  Attributes:
17
13
  openapi_types (dict): The key is attribute name
@@ -19,13 +15,12 @@ class ListRecordSetsResponse(SdkResponse):
19
15
  attribute_map (dict): The key is attribute name
20
16
  and the value is json key in definition.
21
17
  """
22
-
23
18
  sensitive_list = []
24
19
 
25
20
  openapi_types = {
26
21
  'links': 'PageLink',
27
- 'recordsets': 'list[ListRecordSets]',
28
- 'metadata': 'Metedata'
22
+ 'recordsets': 'list[ListRecordSetsWithTags]',
23
+ 'metadata': 'Metadata'
29
24
  }
30
25
 
31
26
  attribute_map = {
@@ -35,9 +30,19 @@ class ListRecordSetsResponse(SdkResponse):
35
30
  }
36
31
 
37
32
  def __init__(self, links=None, recordsets=None, metadata=None):
38
- """ListRecordSetsResponse - a model defined in huaweicloud sdk"""
33
+ r"""ListRecordSetsResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param links:
38
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
39
+ :param recordsets: **参数解释:** 记录集列表信息。 **取值范围:** 不涉及。
40
+ :type recordsets: list[:class:`huaweicloudsdkdns.v2.ListRecordSetsWithTags`]
41
+ :param metadata:
42
+ :type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
43
+ """
39
44
 
40
- super().__init__()
45
+ super(ListRecordSetsResponse, self).__init__()
41
46
 
42
47
  self._links = None
43
48
  self._recordsets = None
@@ -53,61 +58,59 @@ class ListRecordSetsResponse(SdkResponse):
53
58
 
54
59
  @property
55
60
  def links(self):
56
- """Gets the links of this ListRecordSetsResponse.
57
-
61
+ r"""Gets the links of this ListRecordSetsResponse.
58
62
 
59
63
  :return: The links of this ListRecordSetsResponse.
60
- :rtype: PageLink
64
+ :rtype: :class:`huaweicloudsdkdns.v2.PageLink`
61
65
  """
62
66
  return self._links
63
67
 
64
68
  @links.setter
65
69
  def links(self, links):
66
- """Sets the links of this ListRecordSetsResponse.
67
-
70
+ r"""Sets the links of this ListRecordSetsResponse.
68
71
 
69
72
  :param links: The links of this ListRecordSetsResponse.
70
- :type: PageLink
73
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
71
74
  """
72
75
  self._links = links
73
76
 
74
77
  @property
75
78
  def recordsets(self):
76
- """Gets the recordsets of this ListRecordSetsResponse.
79
+ r"""Gets the recordsets of this ListRecordSetsResponse.
77
80
 
81
+ **参数解释:** 记录集列表信息。 **取值范围:** 不涉及。
78
82
 
79
83
  :return: The recordsets of this ListRecordSetsResponse.
80
- :rtype: list[ListRecordSets]
84
+ :rtype: list[:class:`huaweicloudsdkdns.v2.ListRecordSetsWithTags`]
81
85
  """
82
86
  return self._recordsets
83
87
 
84
88
  @recordsets.setter
85
89
  def recordsets(self, recordsets):
86
- """Sets the recordsets of this ListRecordSetsResponse.
90
+ r"""Sets the recordsets of this ListRecordSetsResponse.
87
91
 
92
+ **参数解释:** 记录集列表信息。 **取值范围:** 不涉及。
88
93
 
89
94
  :param recordsets: The recordsets of this ListRecordSetsResponse.
90
- :type: list[ListRecordSets]
95
+ :type recordsets: list[:class:`huaweicloudsdkdns.v2.ListRecordSetsWithTags`]
91
96
  """
92
97
  self._recordsets = recordsets
93
98
 
94
99
  @property
95
100
  def metadata(self):
96
- """Gets the metadata of this ListRecordSetsResponse.
97
-
101
+ r"""Gets the metadata of this ListRecordSetsResponse.
98
102
 
99
103
  :return: The metadata of this ListRecordSetsResponse.
100
- :rtype: Metedata
104
+ :rtype: :class:`huaweicloudsdkdns.v2.Metadata`
101
105
  """
102
106
  return self._metadata
103
107
 
104
108
  @metadata.setter
105
109
  def metadata(self, metadata):
106
- """Sets the metadata of this ListRecordSetsResponse.
107
-
110
+ r"""Sets the metadata of this ListRecordSetsResponse.
108
111
 
109
112
  :param metadata: The metadata of this ListRecordSetsResponse.
110
- :type: Metedata
113
+ :type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
111
114
  """
112
115
  self._metadata = metadata
113
116
 
@@ -140,10 +143,15 @@ class ListRecordSetsResponse(SdkResponse):
140
143
 
141
144
  def to_str(self):
142
145
  """Returns the string representation of the model"""
143
- return pprint.pformat(self.to_dict())
146
+ import simplejson as json
147
+ if six.PY2:
148
+ import sys
149
+ reload(sys)
150
+ sys.setdefaultencoding("utf-8")
151
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
144
152
 
145
153
  def __repr__(self):
146
- """For `print` and `pprint`"""
154
+ """For `print`"""
147
155
  return self.to_str()
148
156
 
149
157
  def __eq__(self, other):