huaweicloudsdkdns 3.0.43rc0__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.43rc0.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.43rc0.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.43rc0.dist-info/RECORD +0 -146
  273. {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/LICENSE +0 -0
  274. {huaweicloudsdkdns-3.0.43rc0.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 PrivateZoneResp:
13
9
 
14
-
15
10
  """
16
11
  Attributes:
17
12
  openapi_types (dict): The key is attribute name
@@ -19,7 +14,6 @@ class PrivateZoneResp:
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 = {
@@ -32,11 +26,13 @@ class PrivateZoneResp:
32
26
  'serial': 'int',
33
27
  'status': 'str',
34
28
  'record_num': 'int',
29
+ 'proxy_pattern': 'str',
35
30
  'pool_id': 'str',
36
31
  'project_id': 'str',
37
32
  'created_at': 'str',
38
33
  'updated_at': 'str',
39
34
  'links': 'PageLink',
35
+ 'tags': 'list[Tag]',
40
36
  'masters': 'list[str]',
41
37
  'routers': 'list[RouterWithStatus]',
42
38
  'enterprise_project_id': 'str'
@@ -52,18 +48,62 @@ class PrivateZoneResp:
52
48
  'serial': 'serial',
53
49
  'status': 'status',
54
50
  'record_num': 'record_num',
51
+ 'proxy_pattern': 'proxy_pattern',
55
52
  'pool_id': 'pool_id',
56
53
  'project_id': 'project_id',
57
54
  'created_at': 'created_at',
58
55
  'updated_at': 'updated_at',
59
56
  'links': 'links',
57
+ 'tags': 'tags',
60
58
  'masters': 'masters',
61
59
  'routers': 'routers',
62
60
  'enterprise_project_id': 'enterprise_project_id'
63
61
  }
64
62
 
65
- def __init__(self, id=None, name=None, description=None, email=None, zone_type=None, ttl=None, serial=None, status=None, record_num=None, pool_id=None, project_id=None, created_at=None, updated_at=None, links=None, masters=None, routers=None, enterprise_project_id=None):
66
- """PrivateZoneResp - a model defined in huaweicloud sdk"""
63
+ def __init__(self, id=None, name=None, description=None, email=None, zone_type=None, ttl=None, serial=None, status=None, record_num=None, proxy_pattern=None, pool_id=None, project_id=None, created_at=None, updated_at=None, links=None, tags=None, masters=None, routers=None, enterprise_project_id=None):
64
+ r"""PrivateZoneResp
65
+
66
+ The model defined in huaweicloud sdk
67
+
68
+ :param id: **参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
69
+ :type id: str
70
+ :param name: **参数解释:** 域名。 **取值范围:** 由多个以点分隔的字符串组成,可包含字母、数字、汉字、中划线,中划线不能在开头或末尾,单个字符串不超过63个字符,域名总长度不超过254个字符。
71
+ :type name: str
72
+ :param description: **参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
73
+ :type description: str
74
+ :param email: **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
75
+ :type email: str
76
+ :param zone_type: **参数解释:** 域名类型。 **取值范围:** private:内网域名。
77
+ :type zone_type: str
78
+ :param ttl: **参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 1~2147483647。
79
+ :type ttl: int
80
+ :param serial: **参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 **取值范围:** 不涉及。
81
+ :type serial: int
82
+ :param status: **参数解释:** 内网域名状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败
83
+ :type status: str
84
+ :param record_num: **参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
85
+ :type record_num: int
86
+ :param proxy_pattern: **参数解释:** 内网域名的子域名递归解析代理模式。 **取值范围:** - AUTHORITY:当前域名未开启递归解析代理 - RECURSIVE:当前域名已开启递归解析代理
87
+ :type proxy_pattern: str
88
+ :param pool_id: **参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
89
+ :type pool_id: str
90
+ :param project_id: **参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
91
+ :type project_id: str
92
+ :param created_at: **参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
93
+ :type created_at: str
94
+ :param updated_at: **参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
95
+ :type updated_at: str
96
+ :param links:
97
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
98
+ :param tags: **参数解释:** 资源标签。 **取值范围:** 不涉及。
99
+ :type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
100
+ :param masters: **参数解释:** 主从模式中,从DNS服务器获取DNS信息。 **取值范围:** 不涉及。
101
+ :type masters: list[str]
102
+ :param routers: **参数解释:** 与该域名关联的Router(VPC)列表。 **取值范围:** 不涉及。
103
+ :type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
104
+ :param enterprise_project_id: **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。
105
+ :type enterprise_project_id: str
106
+ """
67
107
 
68
108
 
69
109
 
@@ -76,11 +116,13 @@ class PrivateZoneResp:
76
116
  self._serial = None
77
117
  self._status = None
78
118
  self._record_num = None
119
+ self._proxy_pattern = None
79
120
  self._pool_id = None
80
121
  self._project_id = None
81
122
  self._created_at = None
82
123
  self._updated_at = None
83
124
  self._links = None
125
+ self._tags = None
84
126
  self._masters = None
85
127
  self._routers = None
86
128
  self._enterprise_project_id = None
@@ -104,6 +146,8 @@ class PrivateZoneResp:
104
146
  self.status = status
105
147
  if record_num is not None:
106
148
  self.record_num = record_num
149
+ if proxy_pattern is not None:
150
+ self.proxy_pattern = proxy_pattern
107
151
  if pool_id is not None:
108
152
  self.pool_id = pool_id
109
153
  if project_id is not None:
@@ -114,6 +158,8 @@ class PrivateZoneResp:
114
158
  self.updated_at = updated_at
115
159
  if links is not None:
116
160
  self.links = links
161
+ if tags is not None:
162
+ self.tags = tags
117
163
  if masters is not None:
118
164
  self.masters = masters
119
165
  if routers is not None:
@@ -123,9 +169,9 @@ class PrivateZoneResp:
123
169
 
124
170
  @property
125
171
  def id(self):
126
- """Gets the id of this PrivateZoneResp.
172
+ r"""Gets the id of this PrivateZoneResp.
127
173
 
128
- zone的ID,uuid形式的一个资源标识。
174
+ **参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
129
175
 
130
176
  :return: The id of this PrivateZoneResp.
131
177
  :rtype: str
@@ -134,20 +180,20 @@ class PrivateZoneResp:
134
180
 
135
181
  @id.setter
136
182
  def id(self, id):
137
- """Sets the id of this PrivateZoneResp.
183
+ r"""Sets the id of this PrivateZoneResp.
138
184
 
139
- zone的ID,uuid形式的一个资源标识。
185
+ **参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
140
186
 
141
187
  :param id: The id of this PrivateZoneResp.
142
- :type: str
188
+ :type id: str
143
189
  """
144
190
  self._id = id
145
191
 
146
192
  @property
147
193
  def name(self):
148
- """Gets the name of this PrivateZoneResp.
194
+ r"""Gets the name of this PrivateZoneResp.
149
195
 
150
- zone名称。
196
+ **参数解释:** 域名。 **取值范围:** 由多个以点分隔的字符串组成,可包含字母、数字、汉字、中划线,中划线不能在开头或末尾,单个字符串不超过63个字符,域名总长度不超过254个字符。
151
197
 
152
198
  :return: The name of this PrivateZoneResp.
153
199
  :rtype: str
@@ -156,20 +202,20 @@ class PrivateZoneResp:
156
202
 
157
203
  @name.setter
158
204
  def name(self, name):
159
- """Sets the name of this PrivateZoneResp.
205
+ r"""Sets the name of this PrivateZoneResp.
160
206
 
161
- zone名称。
207
+ **参数解释:** 域名。 **取值范围:** 由多个以点分隔的字符串组成,可包含字母、数字、汉字、中划线,中划线不能在开头或末尾,单个字符串不超过63个字符,域名总长度不超过254个字符。
162
208
 
163
209
  :param name: The name of this PrivateZoneResp.
164
- :type: str
210
+ :type name: str
165
211
  """
166
212
  self._name = name
167
213
 
168
214
  @property
169
215
  def description(self):
170
- """Gets the description of this PrivateZoneResp.
216
+ r"""Gets the description of this PrivateZoneResp.
171
217
 
172
- 对zone的描述信息。
218
+ **参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
173
219
 
174
220
  :return: The description of this PrivateZoneResp.
175
221
  :rtype: str
@@ -178,20 +224,20 @@ class PrivateZoneResp:
178
224
 
179
225
  @description.setter
180
226
  def description(self, description):
181
- """Sets the description of this PrivateZoneResp.
227
+ r"""Sets the description of this PrivateZoneResp.
182
228
 
183
- 对zone的描述信息。
229
+ **参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
184
230
 
185
231
  :param description: The description of this PrivateZoneResp.
186
- :type: str
232
+ :type description: str
187
233
  """
188
234
  self._description = description
189
235
 
190
236
  @property
191
237
  def email(self):
192
- """Gets the email of this PrivateZoneResp.
238
+ r"""Gets the email of this PrivateZoneResp.
193
239
 
194
- 管理该zone的管理员邮箱。
240
+ **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
195
241
 
196
242
  :return: The email of this PrivateZoneResp.
197
243
  :rtype: str
@@ -200,20 +246,20 @@ class PrivateZoneResp:
200
246
 
201
247
  @email.setter
202
248
  def email(self, email):
203
- """Sets the email of this PrivateZoneResp.
249
+ r"""Sets the email of this PrivateZoneResp.
204
250
 
205
- 管理该zone的管理员邮箱。
251
+ **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
206
252
 
207
253
  :param email: The email of this PrivateZoneResp.
208
- :type: str
254
+ :type email: str
209
255
  """
210
256
  self._email = email
211
257
 
212
258
  @property
213
259
  def zone_type(self):
214
- """Gets the zone_type of this PrivateZoneResp.
260
+ r"""Gets the zone_type of this PrivateZoneResp.
215
261
 
216
- zone类型,公网(public)或者内网(private)。
262
+ **参数解释:** 域名类型。 **取值范围:** private:内网域名。
217
263
 
218
264
  :return: The zone_type of this PrivateZoneResp.
219
265
  :rtype: str
@@ -222,20 +268,20 @@ class PrivateZoneResp:
222
268
 
223
269
  @zone_type.setter
224
270
  def zone_type(self, zone_type):
225
- """Sets the zone_type of this PrivateZoneResp.
271
+ r"""Sets the zone_type of this PrivateZoneResp.
226
272
 
227
- zone类型,公网(public)或者内网(private)。
273
+ **参数解释:** 域名类型。 **取值范围:** private:内网域名。
228
274
 
229
275
  :param zone_type: The zone_type of this PrivateZoneResp.
230
- :type: str
276
+ :type zone_type: str
231
277
  """
232
278
  self._zone_type = zone_type
233
279
 
234
280
  @property
235
281
  def ttl(self):
236
- """Gets the ttl of this PrivateZoneResp.
282
+ r"""Gets the ttl of this PrivateZoneResp.
237
283
 
238
- 该zone下SOA记录中的ttl值。
284
+ **参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 1~2147483647。
239
285
 
240
286
  :return: The ttl of this PrivateZoneResp.
241
287
  :rtype: int
@@ -244,20 +290,20 @@ class PrivateZoneResp:
244
290
 
245
291
  @ttl.setter
246
292
  def ttl(self, ttl):
247
- """Sets the ttl of this PrivateZoneResp.
293
+ r"""Sets the ttl of this PrivateZoneResp.
248
294
 
249
- 该zone下SOA记录中的ttl值。
295
+ **参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 1~2147483647。
250
296
 
251
297
  :param ttl: The ttl of this PrivateZoneResp.
252
- :type: int
298
+ :type ttl: int
253
299
  """
254
300
  self._ttl = ttl
255
301
 
256
302
  @property
257
303
  def serial(self):
258
- """Gets the serial of this PrivateZoneResp.
304
+ r"""Gets the serial of this PrivateZoneResp.
259
305
 
260
- 该zone下SOA记录中用于标识zone文件变更的序列值,用于主从节点同步。
306
+ **参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 **取值范围:** 不涉及。
261
307
 
262
308
  :return: The serial of this PrivateZoneResp.
263
309
  :rtype: int
@@ -266,20 +312,20 @@ class PrivateZoneResp:
266
312
 
267
313
  @serial.setter
268
314
  def serial(self, serial):
269
- """Sets the serial of this PrivateZoneResp.
315
+ r"""Sets the serial of this PrivateZoneResp.
270
316
 
271
- 该zone下SOA记录中用于标识zone文件变更的序列值,用于主从节点同步。
317
+ **参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 **取值范围:** 不涉及。
272
318
 
273
319
  :param serial: The serial of this PrivateZoneResp.
274
- :type: int
320
+ :type serial: int
275
321
  """
276
322
  self._serial = serial
277
323
 
278
324
  @property
279
325
  def status(self):
280
- """Gets the status of this PrivateZoneResp.
326
+ r"""Gets the status of this PrivateZoneResp.
281
327
 
282
- 资源状态。
328
+ **参数解释:** 内网域名状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败
283
329
 
284
330
  :return: The status of this PrivateZoneResp.
285
331
  :rtype: str
@@ -288,20 +334,20 @@ class PrivateZoneResp:
288
334
 
289
335
  @status.setter
290
336
  def status(self, status):
291
- """Sets the status of this PrivateZoneResp.
337
+ r"""Sets the status of this PrivateZoneResp.
292
338
 
293
- 资源状态。
339
+ **参数解释:** 内网域名状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败
294
340
 
295
341
  :param status: The status of this PrivateZoneResp.
296
- :type: str
342
+ :type status: str
297
343
  """
298
344
  self._status = status
299
345
 
300
346
  @property
301
347
  def record_num(self):
302
- """Gets the record_num of this PrivateZoneResp.
348
+ r"""Gets the record_num of this PrivateZoneResp.
303
349
 
304
- 该zone下的recordset个数。
350
+ **参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
305
351
 
306
352
  :return: The record_num of this PrivateZoneResp.
307
353
  :rtype: int
@@ -310,20 +356,42 @@ class PrivateZoneResp:
310
356
 
311
357
  @record_num.setter
312
358
  def record_num(self, record_num):
313
- """Sets the record_num of this PrivateZoneResp.
359
+ r"""Sets the record_num of this PrivateZoneResp.
314
360
 
315
- 该zone下的recordset个数。
361
+ **参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
316
362
 
317
363
  :param record_num: The record_num of this PrivateZoneResp.
318
- :type: int
364
+ :type record_num: int
319
365
  """
320
366
  self._record_num = record_num
321
367
 
368
+ @property
369
+ def proxy_pattern(self):
370
+ r"""Gets the proxy_pattern of this PrivateZoneResp.
371
+
372
+ **参数解释:** 内网域名的子域名递归解析代理模式。 **取值范围:** - AUTHORITY:当前域名未开启递归解析代理 - RECURSIVE:当前域名已开启递归解析代理
373
+
374
+ :return: The proxy_pattern of this PrivateZoneResp.
375
+ :rtype: str
376
+ """
377
+ return self._proxy_pattern
378
+
379
+ @proxy_pattern.setter
380
+ def proxy_pattern(self, proxy_pattern):
381
+ r"""Sets the proxy_pattern of this PrivateZoneResp.
382
+
383
+ **参数解释:** 内网域名的子域名递归解析代理模式。 **取值范围:** - AUTHORITY:当前域名未开启递归解析代理 - RECURSIVE:当前域名已开启递归解析代理
384
+
385
+ :param proxy_pattern: The proxy_pattern of this PrivateZoneResp.
386
+ :type proxy_pattern: str
387
+ """
388
+ self._proxy_pattern = proxy_pattern
389
+
322
390
  @property
323
391
  def pool_id(self):
324
- """Gets the pool_id of this PrivateZoneResp.
392
+ r"""Gets the pool_id of this PrivateZoneResp.
325
393
 
326
- 托管该zone的pool,由系统分配。
394
+ **参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
327
395
 
328
396
  :return: The pool_id of this PrivateZoneResp.
329
397
  :rtype: str
@@ -332,20 +400,20 @@ class PrivateZoneResp:
332
400
 
333
401
  @pool_id.setter
334
402
  def pool_id(self, pool_id):
335
- """Sets the pool_id of this PrivateZoneResp.
403
+ r"""Sets the pool_id of this PrivateZoneResp.
336
404
 
337
- 托管该zone的pool,由系统分配。
405
+ **参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
338
406
 
339
407
  :param pool_id: The pool_id of this PrivateZoneResp.
340
- :type: str
408
+ :type pool_id: str
341
409
  """
342
410
  self._pool_id = pool_id
343
411
 
344
412
  @property
345
413
  def project_id(self):
346
- """Gets the project_id of this PrivateZoneResp.
414
+ r"""Gets the project_id of this PrivateZoneResp.
347
415
 
348
- zone所属的项目ID。
416
+ **参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
349
417
 
350
418
  :return: The project_id of this PrivateZoneResp.
351
419
  :rtype: str
@@ -354,20 +422,20 @@ class PrivateZoneResp:
354
422
 
355
423
  @project_id.setter
356
424
  def project_id(self, project_id):
357
- """Sets the project_id of this PrivateZoneResp.
425
+ r"""Sets the project_id of this PrivateZoneResp.
358
426
 
359
- zone所属的项目ID。
427
+ **参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
360
428
 
361
429
  :param project_id: The project_id of this PrivateZoneResp.
362
- :type: str
430
+ :type project_id: str
363
431
  """
364
432
  self._project_id = project_id
365
433
 
366
434
  @property
367
435
  def created_at(self):
368
- """Gets the created_at of this PrivateZoneResp.
436
+ r"""Gets the created_at of this PrivateZoneResp.
369
437
 
370
- 创建时间。
438
+ **参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
371
439
 
372
440
  :return: The created_at of this PrivateZoneResp.
373
441
  :rtype: str
@@ -376,20 +444,20 @@ class PrivateZoneResp:
376
444
 
377
445
  @created_at.setter
378
446
  def created_at(self, created_at):
379
- """Sets the created_at of this PrivateZoneResp.
447
+ r"""Sets the created_at of this PrivateZoneResp.
380
448
 
381
- 创建时间。
449
+ **参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
382
450
 
383
451
  :param created_at: The created_at of this PrivateZoneResp.
384
- :type: str
452
+ :type created_at: str
385
453
  """
386
454
  self._created_at = created_at
387
455
 
388
456
  @property
389
457
  def updated_at(self):
390
- """Gets the updated_at of this PrivateZoneResp.
458
+ r"""Gets the updated_at of this PrivateZoneResp.
391
459
 
392
- 更新时间。
460
+ **参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
393
461
 
394
462
  :return: The updated_at of this PrivateZoneResp.
395
463
  :rtype: str
@@ -398,40 +466,60 @@ class PrivateZoneResp:
398
466
 
399
467
  @updated_at.setter
400
468
  def updated_at(self, updated_at):
401
- """Sets the updated_at of this PrivateZoneResp.
469
+ r"""Sets the updated_at of this PrivateZoneResp.
402
470
 
403
- 更新时间。
471
+ **参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
404
472
 
405
473
  :param updated_at: The updated_at of this PrivateZoneResp.
406
- :type: str
474
+ :type updated_at: str
407
475
  """
408
476
  self._updated_at = updated_at
409
477
 
410
478
  @property
411
479
  def links(self):
412
- """Gets the links of this PrivateZoneResp.
413
-
480
+ r"""Gets the links of this PrivateZoneResp.
414
481
 
415
482
  :return: The links of this PrivateZoneResp.
416
- :rtype: PageLink
483
+ :rtype: :class:`huaweicloudsdkdns.v2.PageLink`
417
484
  """
418
485
  return self._links
419
486
 
420
487
  @links.setter
421
488
  def links(self, links):
422
- """Sets the links of this PrivateZoneResp.
423
-
489
+ r"""Sets the links of this PrivateZoneResp.
424
490
 
425
491
  :param links: The links of this PrivateZoneResp.
426
- :type: PageLink
492
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
427
493
  """
428
494
  self._links = links
429
495
 
496
+ @property
497
+ def tags(self):
498
+ r"""Gets the tags of this PrivateZoneResp.
499
+
500
+ **参数解释:** 资源标签。 **取值范围:** 不涉及。
501
+
502
+ :return: The tags of this PrivateZoneResp.
503
+ :rtype: list[:class:`huaweicloudsdkdns.v2.Tag`]
504
+ """
505
+ return self._tags
506
+
507
+ @tags.setter
508
+ def tags(self, tags):
509
+ r"""Sets the tags of this PrivateZoneResp.
510
+
511
+ **参数解释:** 资源标签。 **取值范围:** 不涉及。
512
+
513
+ :param tags: The tags of this PrivateZoneResp.
514
+ :type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
515
+ """
516
+ self._tags = tags
517
+
430
518
  @property
431
519
  def masters(self):
432
- """Gets the masters of this PrivateZoneResp.
520
+ r"""Gets the masters of this PrivateZoneResp.
433
521
 
434
- 主从模式中,从DNS服务器用以获取DNS信息。
522
+ **参数解释:** 主从模式中,从DNS服务器获取DNS信息。 **取值范围:** 不涉及。
435
523
 
436
524
  :return: The masters of this PrivateZoneResp.
437
525
  :rtype: list[str]
@@ -440,42 +528,42 @@ class PrivateZoneResp:
440
528
 
441
529
  @masters.setter
442
530
  def masters(self, masters):
443
- """Sets the masters of this PrivateZoneResp.
531
+ r"""Sets the masters of this PrivateZoneResp.
444
532
 
445
- 主从模式中,从DNS服务器用以获取DNS信息。
533
+ **参数解释:** 主从模式中,从DNS服务器获取DNS信息。 **取值范围:** 不涉及。
446
534
 
447
535
  :param masters: The masters of this PrivateZoneResp.
448
- :type: list[str]
536
+ :type masters: list[str]
449
537
  """
450
538
  self._masters = masters
451
539
 
452
540
  @property
453
541
  def routers(self):
454
- """Gets the routers of this PrivateZoneResp.
542
+ r"""Gets the routers of this PrivateZoneResp.
455
543
 
456
- 与该zone关联的Router(VPC)列表。
544
+ **参数解释:** 与该域名关联的Router(VPC)列表。 **取值范围:** 不涉及。
457
545
 
458
546
  :return: The routers of this PrivateZoneResp.
459
- :rtype: list[RouterWithStatus]
547
+ :rtype: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
460
548
  """
461
549
  return self._routers
462
550
 
463
551
  @routers.setter
464
552
  def routers(self, routers):
465
- """Sets the routers of this PrivateZoneResp.
553
+ r"""Sets the routers of this PrivateZoneResp.
466
554
 
467
- 与该zone关联的Router(VPC)列表。
555
+ **参数解释:** 与该域名关联的Router(VPC)列表。 **取值范围:** 不涉及。
468
556
 
469
557
  :param routers: The routers of this PrivateZoneResp.
470
- :type: list[RouterWithStatus]
558
+ :type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
471
559
  """
472
560
  self._routers = routers
473
561
 
474
562
  @property
475
563
  def enterprise_project_id(self):
476
- """Gets the enterprise_project_id of this PrivateZoneResp.
564
+ r"""Gets the enterprise_project_id of this PrivateZoneResp.
477
565
 
478
- 域名关联的企业项目ID,长度不超过36个字符。
566
+ **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。
479
567
 
480
568
  :return: The enterprise_project_id of this PrivateZoneResp.
481
569
  :rtype: str
@@ -484,12 +572,12 @@ class PrivateZoneResp:
484
572
 
485
573
  @enterprise_project_id.setter
486
574
  def enterprise_project_id(self, enterprise_project_id):
487
- """Sets the enterprise_project_id of this PrivateZoneResp.
575
+ r"""Sets the enterprise_project_id of this PrivateZoneResp.
488
576
 
489
- 域名关联的企业项目ID,长度不超过36个字符。
577
+ **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。
490
578
 
491
579
  :param enterprise_project_id: The enterprise_project_id of this PrivateZoneResp.
492
- :type: str
580
+ :type enterprise_project_id: str
493
581
  """
494
582
  self._enterprise_project_id = enterprise_project_id
495
583
 
@@ -522,10 +610,15 @@ class PrivateZoneResp:
522
610
 
523
611
  def to_str(self):
524
612
  """Returns the string representation of the model"""
525
- return pprint.pformat(self.to_dict())
613
+ import simplejson as json
614
+ if six.PY2:
615
+ import sys
616
+ reload(sys)
617
+ sys.setdefaultencoding("utf-8")
618
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
526
619
 
527
620
  def __repr__(self):
528
- """For `print` and `pprint`"""
621
+ """For `print`"""
529
622
  return self.to_str()
530
623
 
531
624
  def __eq__(self, other):