huaweicloudsdkdns 3.0.43rc0__py3-none-any.whl → 3.1.161__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 +4624 -1735
  3. huaweicloudsdkdns/v2/dns_client.py +4637 -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.161.dist-info}/METADATA +9 -9
  268. huaweicloudsdkdns-3.1.161.dist-info/RECORD +273 -0
  269. {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.161.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.161.dist-info}/LICENSE +0 -0
  274. {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.161.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,289 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CreateLineGroupsResp:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'name': 'str',
21
+ 'lines': 'list[str]',
22
+ 'status': 'str',
23
+ 'description': 'str',
24
+ 'line_id': 'str',
25
+ 'created_at': 'str',
26
+ 'updated_at': 'str'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'name': 'name',
31
+ 'lines': 'lines',
32
+ 'status': 'status',
33
+ 'description': 'description',
34
+ 'line_id': 'line_id',
35
+ 'created_at': 'created_at',
36
+ 'updated_at': 'updated_at'
37
+ }
38
+
39
+ def __init__(self, name=None, lines=None, status=None, description=None, line_id=None, created_at=None, updated_at=None):
40
+ r"""CreateLineGroupsResp
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param name: 线路分组名称。
45
+ :type name: str
46
+ :param lines: 线路分组包含的线路列表。 解析线路ID。
47
+ :type lines: list[str]
48
+ :param status: 资源状态。 取值范围:PENDING_CREATE,ACTIVE,PENDING_DELETE,PENDING_UPDATE,ERROR,FREEZE,DISABLE。
49
+ :type status: str
50
+ :param description: 线路分组的描述信息
51
+ :type description: str
52
+ :param line_id: 线路分组的ID。
53
+ :type line_id: str
54
+ :param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
55
+ :type created_at: str
56
+ :param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
57
+ :type updated_at: str
58
+ """
59
+
60
+
61
+
62
+ self._name = None
63
+ self._lines = None
64
+ self._status = None
65
+ self._description = None
66
+ self._line_id = None
67
+ self._created_at = None
68
+ self._updated_at = None
69
+ self.discriminator = None
70
+
71
+ if name is not None:
72
+ self.name = name
73
+ if lines is not None:
74
+ self.lines = lines
75
+ if status is not None:
76
+ self.status = status
77
+ if description is not None:
78
+ self.description = description
79
+ if line_id is not None:
80
+ self.line_id = line_id
81
+ if created_at is not None:
82
+ self.created_at = created_at
83
+ if updated_at is not None:
84
+ self.updated_at = updated_at
85
+
86
+ @property
87
+ def name(self):
88
+ r"""Gets the name of this CreateLineGroupsResp.
89
+
90
+ 线路分组名称。
91
+
92
+ :return: The name of this CreateLineGroupsResp.
93
+ :rtype: str
94
+ """
95
+ return self._name
96
+
97
+ @name.setter
98
+ def name(self, name):
99
+ r"""Sets the name of this CreateLineGroupsResp.
100
+
101
+ 线路分组名称。
102
+
103
+ :param name: The name of this CreateLineGroupsResp.
104
+ :type name: str
105
+ """
106
+ self._name = name
107
+
108
+ @property
109
+ def lines(self):
110
+ r"""Gets the lines of this CreateLineGroupsResp.
111
+
112
+ 线路分组包含的线路列表。 解析线路ID。
113
+
114
+ :return: The lines of this CreateLineGroupsResp.
115
+ :rtype: list[str]
116
+ """
117
+ return self._lines
118
+
119
+ @lines.setter
120
+ def lines(self, lines):
121
+ r"""Sets the lines of this CreateLineGroupsResp.
122
+
123
+ 线路分组包含的线路列表。 解析线路ID。
124
+
125
+ :param lines: The lines of this CreateLineGroupsResp.
126
+ :type lines: list[str]
127
+ """
128
+ self._lines = lines
129
+
130
+ @property
131
+ def status(self):
132
+ r"""Gets the status of this CreateLineGroupsResp.
133
+
134
+ 资源状态。 取值范围:PENDING_CREATE,ACTIVE,PENDING_DELETE,PENDING_UPDATE,ERROR,FREEZE,DISABLE。
135
+
136
+ :return: The status of this CreateLineGroupsResp.
137
+ :rtype: str
138
+ """
139
+ return self._status
140
+
141
+ @status.setter
142
+ def status(self, status):
143
+ r"""Sets the status of this CreateLineGroupsResp.
144
+
145
+ 资源状态。 取值范围:PENDING_CREATE,ACTIVE,PENDING_DELETE,PENDING_UPDATE,ERROR,FREEZE,DISABLE。
146
+
147
+ :param status: The status of this CreateLineGroupsResp.
148
+ :type status: str
149
+ """
150
+ self._status = status
151
+
152
+ @property
153
+ def description(self):
154
+ r"""Gets the description of this CreateLineGroupsResp.
155
+
156
+ 线路分组的描述信息
157
+
158
+ :return: The description of this CreateLineGroupsResp.
159
+ :rtype: str
160
+ """
161
+ return self._description
162
+
163
+ @description.setter
164
+ def description(self, description):
165
+ r"""Sets the description of this CreateLineGroupsResp.
166
+
167
+ 线路分组的描述信息
168
+
169
+ :param description: The description of this CreateLineGroupsResp.
170
+ :type description: str
171
+ """
172
+ self._description = description
173
+
174
+ @property
175
+ def line_id(self):
176
+ r"""Gets the line_id of this CreateLineGroupsResp.
177
+
178
+ 线路分组的ID。
179
+
180
+ :return: The line_id of this CreateLineGroupsResp.
181
+ :rtype: str
182
+ """
183
+ return self._line_id
184
+
185
+ @line_id.setter
186
+ def line_id(self, line_id):
187
+ r"""Sets the line_id of this CreateLineGroupsResp.
188
+
189
+ 线路分组的ID。
190
+
191
+ :param line_id: The line_id of this CreateLineGroupsResp.
192
+ :type line_id: str
193
+ """
194
+ self._line_id = line_id
195
+
196
+ @property
197
+ def created_at(self):
198
+ r"""Gets the created_at of this CreateLineGroupsResp.
199
+
200
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
201
+
202
+ :return: The created_at of this CreateLineGroupsResp.
203
+ :rtype: str
204
+ """
205
+ return self._created_at
206
+
207
+ @created_at.setter
208
+ def created_at(self, created_at):
209
+ r"""Sets the created_at of this CreateLineGroupsResp.
210
+
211
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
212
+
213
+ :param created_at: The created_at of this CreateLineGroupsResp.
214
+ :type created_at: str
215
+ """
216
+ self._created_at = created_at
217
+
218
+ @property
219
+ def updated_at(self):
220
+ r"""Gets the updated_at of this CreateLineGroupsResp.
221
+
222
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
223
+
224
+ :return: The updated_at of this CreateLineGroupsResp.
225
+ :rtype: str
226
+ """
227
+ return self._updated_at
228
+
229
+ @updated_at.setter
230
+ def updated_at(self, updated_at):
231
+ r"""Sets the updated_at of this CreateLineGroupsResp.
232
+
233
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
234
+
235
+ :param updated_at: The updated_at of this CreateLineGroupsResp.
236
+ :type updated_at: str
237
+ """
238
+ self._updated_at = updated_at
239
+
240
+ def to_dict(self):
241
+ """Returns the model properties as a dict"""
242
+ result = {}
243
+
244
+ for attr, _ in six.iteritems(self.openapi_types):
245
+ value = getattr(self, attr)
246
+ if isinstance(value, list):
247
+ result[attr] = list(map(
248
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
249
+ value
250
+ ))
251
+ elif hasattr(value, "to_dict"):
252
+ result[attr] = value.to_dict()
253
+ elif isinstance(value, dict):
254
+ result[attr] = dict(map(
255
+ lambda item: (item[0], item[1].to_dict())
256
+ if hasattr(item[1], "to_dict") else item,
257
+ value.items()
258
+ ))
259
+ else:
260
+ if attr in self.sensitive_list:
261
+ result[attr] = "****"
262
+ else:
263
+ result[attr] = value
264
+
265
+ return result
266
+
267
+ def to_str(self):
268
+ """Returns the string representation of the model"""
269
+ import simplejson as json
270
+ if six.PY2:
271
+ import sys
272
+ reload(sys)
273
+ sys.setdefaultencoding("utf-8")
274
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
275
+
276
+ def __repr__(self):
277
+ """For `print`"""
278
+ return self.to_str()
279
+
280
+ def __eq__(self, other):
281
+ """Returns true if both objects are equal"""
282
+ if not isinstance(other, CreateLineGroupsResp):
283
+ return False
284
+
285
+ return self.__dict__ == other.__dict__
286
+
287
+ def __ne__(self, other):
288
+ """Returns true if both objects are not equal"""
289
+ return not self == other
@@ -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 CreatePrivateZoneReq:
13
9
 
14
-
15
10
  """
16
11
  Attributes:
17
12
  openapi_types (dict): The key is attribute name
@@ -19,7 +14,6 @@ class CreatePrivateZoneReq:
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 = {
@@ -27,8 +21,9 @@ class CreatePrivateZoneReq:
27
21
  'description': 'str',
28
22
  'zone_type': 'str',
29
23
  'email': 'str',
30
- 'ttl': 'str',
24
+ 'ttl': 'int',
31
25
  'router': 'Router',
26
+ 'proxy_pattern': 'str',
32
27
  'tags': 'list[Tag]',
33
28
  'enterprise_project_id': 'str'
34
29
  }
@@ -40,12 +35,35 @@ class CreatePrivateZoneReq:
40
35
  'email': 'email',
41
36
  'ttl': 'ttl',
42
37
  'router': 'router',
38
+ 'proxy_pattern': 'proxy_pattern',
43
39
  'tags': 'tags',
44
40
  'enterprise_project_id': 'enterprise_project_id'
45
41
  }
46
42
 
47
- def __init__(self, name=None, description=None, zone_type=None, email=None, ttl=None, router=None, tags=None, enterprise_project_id=None):
48
- """CreatePrivateZoneReq - a model defined in huaweicloud sdk"""
43
+ def __init__(self, name=None, description=None, zone_type=None, email=None, ttl=None, router=None, proxy_pattern=None, tags=None, enterprise_project_id=None):
44
+ r"""CreatePrivateZoneReq
45
+
46
+ The model defined in huaweicloud sdk
47
+
48
+ :param name: **参数解释:** 域名。 **约束限制:** 不涉及。 **取值范围:** 由多个以点分隔的字符串组成,可包含字母、数字、汉字、中划线,中划线不能在开头或末尾,单个字符串不超过63个字符,域名总长度不超过254个字符。 **默认取值:** 不涉及。
49
+ :type name: str
50
+ :param description: **参数解释:** 域名的描述信息。 **约束限制:** 不涉及。 **取值范围:** 长度不超过255个字符。 **默认取值:** 不涉及。
51
+ :type description: str
52
+ :param zone_type: **参数解释:** 域名类型。 **约束限制:** 不涉及。 **取值范围:** private:内网域名。 **默认取值:** 不涉及。
53
+ :type zone_type: str
54
+ :param email: **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
55
+ :type email: str
56
+ :param ttl: **参数解释:** 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。 **约束限制:** 不涉及。 **取值范围:** 1~2147483647。 **默认取值:** 300
57
+ :type ttl: int
58
+ :param router:
59
+ :type router: :class:`huaweicloudsdkdns.v2.Router`
60
+ :param proxy_pattern: **参数解释:** 内网域名的子域名递归解析代理模式。 **约束限制:** 不涉及。 **取值范围:** - AUTHORITY:当前域名未开启递归解析代理 - RECURSIVE:当前域名已开启递归解析代理 **默认取值:** AUTHORITY。
61
+ :type proxy_pattern: str
62
+ :param tags: **参数解释:** 资源标签。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
63
+ :type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
64
+ :param enterprise_project_id: **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **约束限制:** 不涉及。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 **默认取值:** 0
65
+ :type enterprise_project_id: str
66
+ """
49
67
 
50
68
 
51
69
 
@@ -55,6 +73,7 @@ class CreatePrivateZoneReq:
55
73
  self._email = None
56
74
  self._ttl = None
57
75
  self._router = None
76
+ self._proxy_pattern = None
58
77
  self._tags = None
59
78
  self._enterprise_project_id = None
60
79
  self.discriminator = None
@@ -68,6 +87,8 @@ class CreatePrivateZoneReq:
68
87
  if ttl is not None:
69
88
  self.ttl = ttl
70
89
  self.router = router
90
+ if proxy_pattern is not None:
91
+ self.proxy_pattern = proxy_pattern
71
92
  if tags is not None:
72
93
  self.tags = tags
73
94
  if enterprise_project_id is not None:
@@ -75,9 +96,9 @@ class CreatePrivateZoneReq:
75
96
 
76
97
  @property
77
98
  def name(self):
78
- """Gets the name of this CreatePrivateZoneReq.
99
+ r"""Gets the name of this CreatePrivateZoneReq.
79
100
 
80
- 待创建的域名。
101
+ **参数解释:** 域名。 **约束限制:** 不涉及。 **取值范围:** 由多个以点分隔的字符串组成,可包含字母、数字、汉字、中划线,中划线不能在开头或末尾,单个字符串不超过63个字符,域名总长度不超过254个字符。 **默认取值:** 不涉及。
81
102
 
82
103
  :return: The name of this CreatePrivateZoneReq.
83
104
  :rtype: str
@@ -86,20 +107,20 @@ class CreatePrivateZoneReq:
86
107
 
87
108
  @name.setter
88
109
  def name(self, name):
89
- """Sets the name of this CreatePrivateZoneReq.
110
+ r"""Sets the name of this CreatePrivateZoneReq.
90
111
 
91
- 待创建的域名。
112
+ **参数解释:** 域名。 **约束限制:** 不涉及。 **取值范围:** 由多个以点分隔的字符串组成,可包含字母、数字、汉字、中划线,中划线不能在开头或末尾,单个字符串不超过63个字符,域名总长度不超过254个字符。 **默认取值:** 不涉及。
92
113
 
93
114
  :param name: The name of this CreatePrivateZoneReq.
94
- :type: str
115
+ :type name: str
95
116
  """
96
117
  self._name = name
97
118
 
98
119
  @property
99
120
  def description(self):
100
- """Gets the description of this CreatePrivateZoneReq.
121
+ r"""Gets the description of this CreatePrivateZoneReq.
101
122
 
102
- 域名的描述信息。
123
+ **参数解释:** 域名的描述信息。 **约束限制:** 不涉及。 **取值范围:** 长度不超过255个字符。 **默认取值:** 不涉及。
103
124
 
104
125
  :return: The description of this CreatePrivateZoneReq.
105
126
  :rtype: str
@@ -108,20 +129,20 @@ class CreatePrivateZoneReq:
108
129
 
109
130
  @description.setter
110
131
  def description(self, description):
111
- """Sets the description of this CreatePrivateZoneReq.
132
+ r"""Sets the description of this CreatePrivateZoneReq.
112
133
 
113
- 域名的描述信息。
134
+ **参数解释:** 域名的描述信息。 **约束限制:** 不涉及。 **取值范围:** 长度不超过255个字符。 **默认取值:** 不涉及。
114
135
 
115
136
  :param description: The description of this CreatePrivateZoneReq.
116
- :type: str
137
+ :type description: str
117
138
  """
118
139
  self._description = description
119
140
 
120
141
  @property
121
142
  def zone_type(self):
122
- """Gets the zone_type of this CreatePrivateZoneReq.
143
+ r"""Gets the zone_type of this CreatePrivateZoneReq.
123
144
 
124
- 域名类型。取值:private
145
+ **参数解释:** 域名类型。 **约束限制:** 不涉及。 **取值范围:** private:内网域名。 **默认取值:** 不涉及。
125
146
 
126
147
  :return: The zone_type of this CreatePrivateZoneReq.
127
148
  :rtype: str
@@ -130,20 +151,20 @@ class CreatePrivateZoneReq:
130
151
 
131
152
  @zone_type.setter
132
153
  def zone_type(self, zone_type):
133
- """Sets the zone_type of this CreatePrivateZoneReq.
154
+ r"""Sets the zone_type of this CreatePrivateZoneReq.
134
155
 
135
- 域名类型。取值:private
156
+ **参数解释:** 域名类型。 **约束限制:** 不涉及。 **取值范围:** private:内网域名。 **默认取值:** 不涉及。
136
157
 
137
158
  :param zone_type: The zone_type of this CreatePrivateZoneReq.
138
- :type: str
159
+ :type zone_type: str
139
160
  """
140
161
  self._zone_type = zone_type
141
162
 
142
163
  @property
143
164
  def email(self):
144
- """Gets the email of this CreatePrivateZoneReq.
165
+ r"""Gets the email of this CreatePrivateZoneReq.
145
166
 
146
- 管理该zone的管理员邮箱。
167
+ **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
147
168
 
148
169
  :return: The email of this CreatePrivateZoneReq.
149
170
  :rtype: str
@@ -152,84 +173,104 @@ class CreatePrivateZoneReq:
152
173
 
153
174
  @email.setter
154
175
  def email(self, email):
155
- """Sets the email of this CreatePrivateZoneReq.
176
+ r"""Sets the email of this CreatePrivateZoneReq.
156
177
 
157
- 管理该zone的管理员邮箱。
178
+ **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
158
179
 
159
180
  :param email: The email of this CreatePrivateZoneReq.
160
- :type: str
181
+ :type email: str
161
182
  """
162
183
  self._email = email
163
184
 
164
185
  @property
165
186
  def ttl(self):
166
- """Gets the ttl of this CreatePrivateZoneReq.
187
+ r"""Gets the ttl of this CreatePrivateZoneReq.
167
188
 
168
- 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。
189
+ **参数解释:** 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。 **约束限制:** 不涉及。 **取值范围:** 1~2147483647。 **默认取值:** 300
169
190
 
170
191
  :return: The ttl of this CreatePrivateZoneReq.
171
- :rtype: str
192
+ :rtype: int
172
193
  """
173
194
  return self._ttl
174
195
 
175
196
  @ttl.setter
176
197
  def ttl(self, ttl):
177
- """Sets the ttl of this CreatePrivateZoneReq.
198
+ r"""Sets the ttl of this CreatePrivateZoneReq.
178
199
 
179
- 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。
200
+ **参数解释:** 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。 **约束限制:** 不涉及。 **取值范围:** 1~2147483647。 **默认取值:** 300
180
201
 
181
202
  :param ttl: The ttl of this CreatePrivateZoneReq.
182
- :type: str
203
+ :type ttl: int
183
204
  """
184
205
  self._ttl = ttl
185
206
 
186
207
  @property
187
208
  def router(self):
188
- """Gets the router of this CreatePrivateZoneReq.
189
-
209
+ r"""Gets the router of this CreatePrivateZoneReq.
190
210
 
191
211
  :return: The router of this CreatePrivateZoneReq.
192
- :rtype: Router
212
+ :rtype: :class:`huaweicloudsdkdns.v2.Router`
193
213
  """
194
214
  return self._router
195
215
 
196
216
  @router.setter
197
217
  def router(self, router):
198
- """Sets the router of this CreatePrivateZoneReq.
199
-
218
+ r"""Sets the router of this CreatePrivateZoneReq.
200
219
 
201
220
  :param router: The router of this CreatePrivateZoneReq.
202
- :type: Router
221
+ :type router: :class:`huaweicloudsdkdns.v2.Router`
203
222
  """
204
223
  self._router = router
205
224
 
225
+ @property
226
+ def proxy_pattern(self):
227
+ r"""Gets the proxy_pattern of this CreatePrivateZoneReq.
228
+
229
+ **参数解释:** 内网域名的子域名递归解析代理模式。 **约束限制:** 不涉及。 **取值范围:** - AUTHORITY:当前域名未开启递归解析代理 - RECURSIVE:当前域名已开启递归解析代理 **默认取值:** AUTHORITY。
230
+
231
+ :return: The proxy_pattern of this CreatePrivateZoneReq.
232
+ :rtype: str
233
+ """
234
+ return self._proxy_pattern
235
+
236
+ @proxy_pattern.setter
237
+ def proxy_pattern(self, proxy_pattern):
238
+ r"""Sets the proxy_pattern of this CreatePrivateZoneReq.
239
+
240
+ **参数解释:** 内网域名的子域名递归解析代理模式。 **约束限制:** 不涉及。 **取值范围:** - AUTHORITY:当前域名未开启递归解析代理 - RECURSIVE:当前域名已开启递归解析代理 **默认取值:** AUTHORITY。
241
+
242
+ :param proxy_pattern: The proxy_pattern of this CreatePrivateZoneReq.
243
+ :type proxy_pattern: str
244
+ """
245
+ self._proxy_pattern = proxy_pattern
246
+
206
247
  @property
207
248
  def tags(self):
208
- """Gets the tags of this CreatePrivateZoneReq.
249
+ r"""Gets the tags of this CreatePrivateZoneReq.
209
250
 
210
- 资源标签。
251
+ **参数解释:** 资源标签。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
211
252
 
212
253
  :return: The tags of this CreatePrivateZoneReq.
213
- :rtype: list[Tag]
254
+ :rtype: list[:class:`huaweicloudsdkdns.v2.Tag`]
214
255
  """
215
256
  return self._tags
216
257
 
217
258
  @tags.setter
218
259
  def tags(self, tags):
219
- """Sets the tags of this CreatePrivateZoneReq.
260
+ r"""Sets the tags of this CreatePrivateZoneReq.
220
261
 
221
- 资源标签。
262
+ **参数解释:** 资源标签。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
222
263
 
223
264
  :param tags: The tags of this CreatePrivateZoneReq.
224
- :type: list[Tag]
265
+ :type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
225
266
  """
226
267
  self._tags = tags
227
268
 
228
269
  @property
229
270
  def enterprise_project_id(self):
230
- """Gets the enterprise_project_id of this CreatePrivateZoneReq.
271
+ r"""Gets the enterprise_project_id of this CreatePrivateZoneReq.
231
272
 
232
- 域名关联的企业项目ID,长度不超过36个字符。 默认值为0
273
+ **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **约束限制:** 不涉及。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 **默认取值:** 0
233
274
 
234
275
  :return: The enterprise_project_id of this CreatePrivateZoneReq.
235
276
  :rtype: str
@@ -238,12 +279,12 @@ class CreatePrivateZoneReq:
238
279
 
239
280
  @enterprise_project_id.setter
240
281
  def enterprise_project_id(self, enterprise_project_id):
241
- """Sets the enterprise_project_id of this CreatePrivateZoneReq.
282
+ r"""Sets the enterprise_project_id of this CreatePrivateZoneReq.
242
283
 
243
- 域名关联的企业项目ID,长度不超过36个字符。 默认值为0
284
+ **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **约束限制:** 不涉及。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 **默认取值:** 0
244
285
 
245
286
  :param enterprise_project_id: The enterprise_project_id of this CreatePrivateZoneReq.
246
- :type: str
287
+ :type enterprise_project_id: str
247
288
  """
248
289
  self._enterprise_project_id = enterprise_project_id
249
290
 
@@ -276,10 +317,15 @@ class CreatePrivateZoneReq:
276
317
 
277
318
  def to_str(self):
278
319
  """Returns the string representation of the model"""
279
- return pprint.pformat(self.to_dict())
320
+ import simplejson as json
321
+ if six.PY2:
322
+ import sys
323
+ reload(sys)
324
+ sys.setdefaultencoding("utf-8")
325
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
280
326
 
281
327
  def __repr__(self):
282
- """For `print` and `pprint`"""
328
+ """For `print`"""
283
329
  return self.to_str()
284
330
 
285
331
  def __eq__(self, other):