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