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,13 @@
1
1
  # coding: utf-8
2
2
 
3
- import pprint
4
- import re
5
-
6
3
  import six
7
4
 
8
-
9
5
  from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
10
7
 
11
8
 
12
9
  class CreateRecordSetWithLineResponse(SdkResponse):
13
10
 
14
-
15
11
  """
16
12
  Attributes:
17
13
  openapi_types (dict): The key is attribute name
@@ -19,7 +15,6 @@ class CreateRecordSetWithLineResponse(SdkResponse):
19
15
  attribute_map (dict): The key is attribute name
20
16
  and the value is json key in definition.
21
17
  """
22
-
23
18
  sensitive_list = []
24
19
 
25
20
  openapi_types = {
@@ -65,9 +60,49 @@ class CreateRecordSetWithLineResponse(SdkResponse):
65
60
  }
66
61
 
67
62
  def __init__(self, id=None, name=None, description=None, zone_id=None, zone_name=None, type=None, ttl=None, records=None, created_at=None, updated_at=None, status=None, default=None, project_id=None, links=None, line=None, weight=None, health_check_id=None, alias_target=None):
68
- """CreateRecordSetWithLineResponse - a model defined in huaweicloud sdk"""
63
+ r"""CreateRecordSetWithLineResponse
64
+
65
+ The model defined in huaweicloud sdk
66
+
67
+ :param id: **参数解释:** 记录集的ID。 **取值范围:** 不涉及。
68
+ :type id: str
69
+ :param name: **参数解释:** 记录集的名称。 **取值范围:** 不涉及。
70
+ :type name: str
71
+ :param description: **参数解释:** 记录集的描述信息。 **取值范围:** 长度不超过255个字符。
72
+ :type description: str
73
+ :param zone_id: **参数解释:** 托管该记录的域名ID。 **取值范围:** 不涉及。
74
+ :type zone_id: str
75
+ :param zone_name: **参数解释:** 托管该记录的域名。 **取值范围:** 不涉及。
76
+ :type zone_name: str
77
+ :param type: **参数解释:** 记录类型。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。
78
+ :type type: str
79
+ :param ttl: **参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 **取值范围:** 1~2147483647。
80
+ :type ttl: int
81
+ :param records: **参数解释:** 域名解析后的值。 **取值范围:** 不涉及。
82
+ :type records: list[str]
83
+ :param created_at: **参数解释:** 记录集的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
84
+ :type created_at: str
85
+ :param updated_at: **参数解释:** 记录集的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
86
+ :type updated_at: str
87
+ :param status: **参数解释:** 记录集状态。 **取值范围:** - PENDING_CREATE:创建中 - DISABLE:暂停
88
+ :type status: str
89
+ :param default: **参数解释:** 标识是否由系统默认生成,系统默认生成的记录集不能删除。 **取值范围:** 不涉及。
90
+ :type default: bool
91
+ :param project_id: **参数解释:** 该记录集所属的项目ID。 **取值范围:** 不涉及。
92
+ :type project_id: str
93
+ :param links:
94
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
95
+ :param line: **参数解释:** 解析线路ID。 **取值范围:** 不涉及。
96
+ :type line: str
97
+ :param weight: **参数解释:** 解析记录的权重。 **取值范围:** 0~1000。
98
+ :type weight: int
99
+ :param health_check_id: **参数解释:** 健康检查ID。 **取值范围:** 不涉及。
100
+ :type health_check_id: str
101
+ :param alias_target:
102
+ :type alias_target: :class:`huaweicloudsdkdns.v2.AliasTarget`
103
+ """
69
104
 
70
- super().__init__()
105
+ super(CreateRecordSetWithLineResponse, self).__init__()
71
106
 
72
107
  self._id = None
73
108
  self._name = None
@@ -128,9 +163,9 @@ class CreateRecordSetWithLineResponse(SdkResponse):
128
163
 
129
164
  @property
130
165
  def id(self):
131
- """Gets the id of this CreateRecordSetWithLineResponse.
166
+ r"""Gets the id of this CreateRecordSetWithLineResponse.
132
167
 
133
- Record Set的ID。
168
+ **参数解释:** 记录集的ID。 **取值范围:** 不涉及。
134
169
 
135
170
  :return: The id of this CreateRecordSetWithLineResponse.
136
171
  :rtype: str
@@ -139,20 +174,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
139
174
 
140
175
  @id.setter
141
176
  def id(self, id):
142
- """Sets the id of this CreateRecordSetWithLineResponse.
177
+ r"""Sets the id of this CreateRecordSetWithLineResponse.
143
178
 
144
- Record Set的ID。
179
+ **参数解释:** 记录集的ID。 **取值范围:** 不涉及。
145
180
 
146
181
  :param id: The id of this CreateRecordSetWithLineResponse.
147
- :type: str
182
+ :type id: str
148
183
  """
149
184
  self._id = id
150
185
 
151
186
  @property
152
187
  def name(self):
153
- """Gets the name of this CreateRecordSetWithLineResponse.
188
+ r"""Gets the name of this CreateRecordSetWithLineResponse.
154
189
 
155
- Record Set的名称。
190
+ **参数解释:** 记录集的名称。 **取值范围:** 不涉及。
156
191
 
157
192
  :return: The name of this CreateRecordSetWithLineResponse.
158
193
  :rtype: str
@@ -161,20 +196,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
161
196
 
162
197
  @name.setter
163
198
  def name(self, name):
164
- """Sets the name of this CreateRecordSetWithLineResponse.
199
+ r"""Sets the name of this CreateRecordSetWithLineResponse.
165
200
 
166
- Record Set的名称。
201
+ **参数解释:** 记录集的名称。 **取值范围:** 不涉及。
167
202
 
168
203
  :param name: The name of this CreateRecordSetWithLineResponse.
169
- :type: str
204
+ :type name: str
170
205
  """
171
206
  self._name = name
172
207
 
173
208
  @property
174
209
  def description(self):
175
- """Gets the description of this CreateRecordSetWithLineResponse.
210
+ r"""Gets the description of this CreateRecordSetWithLineResponse.
176
211
 
177
- Record Set的描述信息。
212
+ **参数解释:** 记录集的描述信息。 **取值范围:** 长度不超过255个字符。
178
213
 
179
214
  :return: The description of this CreateRecordSetWithLineResponse.
180
215
  :rtype: str
@@ -183,20 +218,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
183
218
 
184
219
  @description.setter
185
220
  def description(self, description):
186
- """Sets the description of this CreateRecordSetWithLineResponse.
221
+ r"""Sets the description of this CreateRecordSetWithLineResponse.
187
222
 
188
- Record Set的描述信息。
223
+ **参数解释:** 记录集的描述信息。 **取值范围:** 长度不超过255个字符。
189
224
 
190
225
  :param description: The description of this CreateRecordSetWithLineResponse.
191
- :type: str
226
+ :type description: str
192
227
  """
193
228
  self._description = description
194
229
 
195
230
  @property
196
231
  def zone_id(self):
197
- """Gets the zone_id of this CreateRecordSetWithLineResponse.
232
+ r"""Gets the zone_id of this CreateRecordSetWithLineResponse.
198
233
 
199
- 托管该记录的zone_id
234
+ **参数解释:** 托管该记录的域名ID **取值范围:** 不涉及。
200
235
 
201
236
  :return: The zone_id of this CreateRecordSetWithLineResponse.
202
237
  :rtype: str
@@ -205,20 +240,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
205
240
 
206
241
  @zone_id.setter
207
242
  def zone_id(self, zone_id):
208
- """Sets the zone_id of this CreateRecordSetWithLineResponse.
243
+ r"""Sets the zone_id of this CreateRecordSetWithLineResponse.
209
244
 
210
- 托管该记录的zone_id
245
+ **参数解释:** 托管该记录的域名ID **取值范围:** 不涉及。
211
246
 
212
247
  :param zone_id: The zone_id of this CreateRecordSetWithLineResponse.
213
- :type: str
248
+ :type zone_id: str
214
249
  """
215
250
  self._zone_id = zone_id
216
251
 
217
252
  @property
218
253
  def zone_name(self):
219
- """Gets the zone_name of this CreateRecordSetWithLineResponse.
254
+ r"""Gets the zone_name of this CreateRecordSetWithLineResponse.
220
255
 
221
- 托管该记录的zone_name。
256
+ **参数解释:** 托管该记录的域名。 **取值范围:** 不涉及。
222
257
 
223
258
  :return: The zone_name of this CreateRecordSetWithLineResponse.
224
259
  :rtype: str
@@ -227,20 +262,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
227
262
 
228
263
  @zone_name.setter
229
264
  def zone_name(self, zone_name):
230
- """Sets the zone_name of this CreateRecordSetWithLineResponse.
265
+ r"""Sets the zone_name of this CreateRecordSetWithLineResponse.
231
266
 
232
- 托管该记录的zone_name。
267
+ **参数解释:** 托管该记录的域名。 **取值范围:** 不涉及。
233
268
 
234
269
  :param zone_name: The zone_name of this CreateRecordSetWithLineResponse.
235
- :type: str
270
+ :type zone_name: str
236
271
  """
237
272
  self._zone_name = zone_name
238
273
 
239
274
  @property
240
275
  def type(self):
241
- """Gets the type of this CreateRecordSetWithLineResponse.
276
+ r"""Gets the type of this CreateRecordSetWithLineResponse.
242
277
 
243
- 记录类型。 取值范围:A、AAAA、MX、CNAME、TXT、NS、SRV、CAA。
278
+ **参数解释:** 记录类型。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。
244
279
 
245
280
  :return: The type of this CreateRecordSetWithLineResponse.
246
281
  :rtype: str
@@ -249,20 +284,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
249
284
 
250
285
  @type.setter
251
286
  def type(self, type):
252
- """Sets the type of this CreateRecordSetWithLineResponse.
287
+ r"""Sets the type of this CreateRecordSetWithLineResponse.
253
288
 
254
- 记录类型。 取值范围:A、AAAA、MX、CNAME、TXT、NS、SRV、CAA。
289
+ **参数解释:** 记录类型。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。
255
290
 
256
291
  :param type: The type of this CreateRecordSetWithLineResponse.
257
- :type: str
292
+ :type type: str
258
293
  """
259
294
  self._type = type
260
295
 
261
296
  @property
262
297
  def ttl(self):
263
- """Gets the ttl of this CreateRecordSetWithLineResponse.
298
+ r"""Gets the ttl of this CreateRecordSetWithLineResponse.
264
299
 
265
- 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
300
+ **参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 **取值范围:** 1~2147483647。
266
301
 
267
302
  :return: The ttl of this CreateRecordSetWithLineResponse.
268
303
  :rtype: int
@@ -271,20 +306,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
271
306
 
272
307
  @ttl.setter
273
308
  def ttl(self, ttl):
274
- """Sets the ttl of this CreateRecordSetWithLineResponse.
309
+ r"""Sets the ttl of this CreateRecordSetWithLineResponse.
275
310
 
276
- 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
311
+ **参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 **取值范围:** 1~2147483647。
277
312
 
278
313
  :param ttl: The ttl of this CreateRecordSetWithLineResponse.
279
- :type: int
314
+ :type ttl: int
280
315
  """
281
316
  self._ttl = ttl
282
317
 
283
318
  @property
284
319
  def records(self):
285
- """Gets the records of this CreateRecordSetWithLineResponse.
320
+ r"""Gets the records of this CreateRecordSetWithLineResponse.
286
321
 
287
- 域名解析后的值。
322
+ **参数解释:** 域名解析后的值。 **取值范围:** 不涉及。
288
323
 
289
324
  :return: The records of this CreateRecordSetWithLineResponse.
290
325
  :rtype: list[str]
@@ -293,20 +328,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
293
328
 
294
329
  @records.setter
295
330
  def records(self, records):
296
- """Sets the records of this CreateRecordSetWithLineResponse.
331
+ r"""Sets the records of this CreateRecordSetWithLineResponse.
297
332
 
298
- 域名解析后的值。
333
+ **参数解释:** 域名解析后的值。 **取值范围:** 不涉及。
299
334
 
300
335
  :param records: The records of this CreateRecordSetWithLineResponse.
301
- :type: list[str]
336
+ :type records: list[str]
302
337
  """
303
338
  self._records = records
304
339
 
305
340
  @property
306
341
  def created_at(self):
307
- """Gets the created_at of this CreateRecordSetWithLineResponse.
342
+ r"""Gets the created_at of this CreateRecordSetWithLineResponse.
308
343
 
309
- 创建时间。
344
+ **参数解释:** 记录集的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
310
345
 
311
346
  :return: The created_at of this CreateRecordSetWithLineResponse.
312
347
  :rtype: str
@@ -315,20 +350,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
315
350
 
316
351
  @created_at.setter
317
352
  def created_at(self, created_at):
318
- """Sets the created_at of this CreateRecordSetWithLineResponse.
353
+ r"""Sets the created_at of this CreateRecordSetWithLineResponse.
319
354
 
320
- 创建时间。
355
+ **参数解释:** 记录集的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
321
356
 
322
357
  :param created_at: The created_at of this CreateRecordSetWithLineResponse.
323
- :type: str
358
+ :type created_at: str
324
359
  """
325
360
  self._created_at = created_at
326
361
 
327
362
  @property
328
363
  def updated_at(self):
329
- """Gets the updated_at of this CreateRecordSetWithLineResponse.
364
+ r"""Gets the updated_at of this CreateRecordSetWithLineResponse.
330
365
 
331
- 更新时间。
366
+ **参数解释:** 记录集的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
332
367
 
333
368
  :return: The updated_at of this CreateRecordSetWithLineResponse.
334
369
  :rtype: str
@@ -337,20 +372,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
337
372
 
338
373
  @updated_at.setter
339
374
  def updated_at(self, updated_at):
340
- """Sets the updated_at of this CreateRecordSetWithLineResponse.
375
+ r"""Sets the updated_at of this CreateRecordSetWithLineResponse.
341
376
 
342
- 更新时间。
377
+ **参数解释:** 记录集的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
343
378
 
344
379
  :param updated_at: The updated_at of this CreateRecordSetWithLineResponse.
345
- :type: str
380
+ :type updated_at: str
346
381
  """
347
382
  self._updated_at = updated_at
348
383
 
349
384
  @property
350
385
  def status(self):
351
- """Gets the status of this CreateRecordSetWithLineResponse.
386
+ r"""Gets the status of this CreateRecordSetWithLineResponse.
352
387
 
353
- 资源状态。
388
+ **参数解释:** 记录集状态。 **取值范围:** - PENDING_CREATE:创建中 - DISABLE:暂停
354
389
 
355
390
  :return: The status of this CreateRecordSetWithLineResponse.
356
391
  :rtype: str
@@ -359,20 +394,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
359
394
 
360
395
  @status.setter
361
396
  def status(self, status):
362
- """Sets the status of this CreateRecordSetWithLineResponse.
397
+ r"""Sets the status of this CreateRecordSetWithLineResponse.
363
398
 
364
- 资源状态。
399
+ **参数解释:** 记录集状态。 **取值范围:** - PENDING_CREATE:创建中 - DISABLE:暂停
365
400
 
366
401
  :param status: The status of this CreateRecordSetWithLineResponse.
367
- :type: str
402
+ :type status: str
368
403
  """
369
404
  self._status = status
370
405
 
371
406
  @property
372
407
  def default(self):
373
- """Gets the default of this CreateRecordSetWithLineResponse.
408
+ r"""Gets the default of this CreateRecordSetWithLineResponse.
374
409
 
375
- 标识是否由系统默认生成,系统默认生成的Record Set不能删除。
410
+ **参数解释:** 标识是否由系统默认生成,系统默认生成的记录集不能删除。 **取值范围:** 不涉及。
376
411
 
377
412
  :return: The default of this CreateRecordSetWithLineResponse.
378
413
  :rtype: bool
@@ -381,20 +416,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
381
416
 
382
417
  @default.setter
383
418
  def default(self, default):
384
- """Sets the default of this CreateRecordSetWithLineResponse.
419
+ r"""Sets the default of this CreateRecordSetWithLineResponse.
385
420
 
386
- 标识是否由系统默认生成,系统默认生成的Record Set不能删除。
421
+ **参数解释:** 标识是否由系统默认生成,系统默认生成的记录集不能删除。 **取值范围:** 不涉及。
387
422
 
388
423
  :param default: The default of this CreateRecordSetWithLineResponse.
389
- :type: bool
424
+ :type default: bool
390
425
  """
391
426
  self._default = default
392
427
 
393
428
  @property
394
429
  def project_id(self):
395
- """Gets the project_id of this CreateRecordSetWithLineResponse.
430
+ r"""Gets the project_id of this CreateRecordSetWithLineResponse.
396
431
 
397
- 该Record Set所属的项目ID。
432
+ **参数解释:** 该记录集所属的项目ID。 **取值范围:** 不涉及。
398
433
 
399
434
  :return: The project_id of this CreateRecordSetWithLineResponse.
400
435
  :rtype: str
@@ -403,40 +438,38 @@ class CreateRecordSetWithLineResponse(SdkResponse):
403
438
 
404
439
  @project_id.setter
405
440
  def project_id(self, project_id):
406
- """Sets the project_id of this CreateRecordSetWithLineResponse.
441
+ r"""Sets the project_id of this CreateRecordSetWithLineResponse.
407
442
 
408
- 该Record Set所属的项目ID。
443
+ **参数解释:** 该记录集所属的项目ID。 **取值范围:** 不涉及。
409
444
 
410
445
  :param project_id: The project_id of this CreateRecordSetWithLineResponse.
411
- :type: str
446
+ :type project_id: str
412
447
  """
413
448
  self._project_id = project_id
414
449
 
415
450
  @property
416
451
  def links(self):
417
- """Gets the links of this CreateRecordSetWithLineResponse.
418
-
452
+ r"""Gets the links of this CreateRecordSetWithLineResponse.
419
453
 
420
454
  :return: The links of this CreateRecordSetWithLineResponse.
421
- :rtype: PageLink
455
+ :rtype: :class:`huaweicloudsdkdns.v2.PageLink`
422
456
  """
423
457
  return self._links
424
458
 
425
459
  @links.setter
426
460
  def links(self, links):
427
- """Sets the links of this CreateRecordSetWithLineResponse.
428
-
461
+ r"""Sets the links of this CreateRecordSetWithLineResponse.
429
462
 
430
463
  :param links: The links of this CreateRecordSetWithLineResponse.
431
- :type: PageLink
464
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
432
465
  """
433
466
  self._links = links
434
467
 
435
468
  @property
436
469
  def line(self):
437
- """Gets the line of this CreateRecordSetWithLineResponse.
470
+ r"""Gets the line of this CreateRecordSetWithLineResponse.
438
471
 
439
- 解析线路ID。
472
+ **参数解释:** 解析线路ID。 **取值范围:** 不涉及。
440
473
 
441
474
  :return: The line of this CreateRecordSetWithLineResponse.
442
475
  :rtype: str
@@ -445,20 +478,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
445
478
 
446
479
  @line.setter
447
480
  def line(self, line):
448
- """Sets the line of this CreateRecordSetWithLineResponse.
481
+ r"""Sets the line of this CreateRecordSetWithLineResponse.
449
482
 
450
- 解析线路ID。
483
+ **参数解释:** 解析线路ID。 **取值范围:** 不涉及。
451
484
 
452
485
  :param line: The line of this CreateRecordSetWithLineResponse.
453
- :type: str
486
+ :type line: str
454
487
  """
455
488
  self._line = line
456
489
 
457
490
  @property
458
491
  def weight(self):
459
- """Gets the weight of this CreateRecordSetWithLineResponse.
492
+ r"""Gets the weight of this CreateRecordSetWithLineResponse.
460
493
 
461
- 解析记录的权重。
494
+ **参数解释:** 解析记录的权重。 **取值范围:** 0~1000。
462
495
 
463
496
  :return: The weight of this CreateRecordSetWithLineResponse.
464
497
  :rtype: int
@@ -467,20 +500,20 @@ class CreateRecordSetWithLineResponse(SdkResponse):
467
500
 
468
501
  @weight.setter
469
502
  def weight(self, weight):
470
- """Sets the weight of this CreateRecordSetWithLineResponse.
503
+ r"""Sets the weight of this CreateRecordSetWithLineResponse.
471
504
 
472
- 解析记录的权重。
505
+ **参数解释:** 解析记录的权重。 **取值范围:** 0~1000。
473
506
 
474
507
  :param weight: The weight of this CreateRecordSetWithLineResponse.
475
- :type: int
508
+ :type weight: int
476
509
  """
477
510
  self._weight = weight
478
511
 
479
512
  @property
480
513
  def health_check_id(self):
481
- """Gets the health_check_id of this CreateRecordSetWithLineResponse.
514
+ r"""Gets the health_check_id of this CreateRecordSetWithLineResponse.
482
515
 
483
- 健康检查ID。
516
+ **参数解释:** 健康检查ID。 **取值范围:** 不涉及。
484
517
 
485
518
  :return: The health_check_id of this CreateRecordSetWithLineResponse.
486
519
  :rtype: str
@@ -489,32 +522,30 @@ class CreateRecordSetWithLineResponse(SdkResponse):
489
522
 
490
523
  @health_check_id.setter
491
524
  def health_check_id(self, health_check_id):
492
- """Sets the health_check_id of this CreateRecordSetWithLineResponse.
525
+ r"""Sets the health_check_id of this CreateRecordSetWithLineResponse.
493
526
 
494
- 健康检查ID。
527
+ **参数解释:** 健康检查ID。 **取值范围:** 不涉及。
495
528
 
496
529
  :param health_check_id: The health_check_id of this CreateRecordSetWithLineResponse.
497
- :type: str
530
+ :type health_check_id: str
498
531
  """
499
532
  self._health_check_id = health_check_id
500
533
 
501
534
  @property
502
535
  def alias_target(self):
503
- """Gets the alias_target of this CreateRecordSetWithLineResponse.
504
-
536
+ r"""Gets the alias_target of this CreateRecordSetWithLineResponse.
505
537
 
506
538
  :return: The alias_target of this CreateRecordSetWithLineResponse.
507
- :rtype: AliasTarget
539
+ :rtype: :class:`huaweicloudsdkdns.v2.AliasTarget`
508
540
  """
509
541
  return self._alias_target
510
542
 
511
543
  @alias_target.setter
512
544
  def alias_target(self, alias_target):
513
- """Sets the alias_target of this CreateRecordSetWithLineResponse.
514
-
545
+ r"""Sets the alias_target of this CreateRecordSetWithLineResponse.
515
546
 
516
547
  :param alias_target: The alias_target of this CreateRecordSetWithLineResponse.
517
- :type: AliasTarget
548
+ :type alias_target: :class:`huaweicloudsdkdns.v2.AliasTarget`
518
549
  """
519
550
  self._alias_target = alias_target
520
551
 
@@ -547,10 +578,15 @@ class CreateRecordSetWithLineResponse(SdkResponse):
547
578
 
548
579
  def to_str(self):
549
580
  """Returns the string representation of the model"""
550
- return pprint.pformat(self.to_dict())
581
+ import simplejson as json
582
+ if six.PY2:
583
+ import sys
584
+ reload(sys)
585
+ sys.setdefaultencoding("utf-8")
586
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
551
587
 
552
588
  def __repr__(self):
553
- """For `print` and `pprint`"""
589
+ """For `print`"""
554
590
  return self.to_str()
555
591
 
556
592
  def __eq__(self, other):
@@ -0,0 +1,111 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CreateResolverRuleRequest:
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
+ 'body': 'CreateResolverRuleRequestBody'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'body': 'body'
25
+ }
26
+
27
+ def __init__(self, body=None):
28
+ r"""CreateResolverRuleRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param body: Body of the CreateResolverRuleRequest
33
+ :type body: :class:`huaweicloudsdkdns.v2.CreateResolverRuleRequestBody`
34
+ """
35
+
36
+
37
+
38
+ self._body = None
39
+ self.discriminator = None
40
+
41
+ if body is not None:
42
+ self.body = body
43
+
44
+ @property
45
+ def body(self):
46
+ r"""Gets the body of this CreateResolverRuleRequest.
47
+
48
+ :return: The body of this CreateResolverRuleRequest.
49
+ :rtype: :class:`huaweicloudsdkdns.v2.CreateResolverRuleRequestBody`
50
+ """
51
+ return self._body
52
+
53
+ @body.setter
54
+ def body(self, body):
55
+ r"""Sets the body of this CreateResolverRuleRequest.
56
+
57
+ :param body: The body of this CreateResolverRuleRequest.
58
+ :type body: :class:`huaweicloudsdkdns.v2.CreateResolverRuleRequestBody`
59
+ """
60
+ self._body = body
61
+
62
+ def to_dict(self):
63
+ """Returns the model properties as a dict"""
64
+ result = {}
65
+
66
+ for attr, _ in six.iteritems(self.openapi_types):
67
+ value = getattr(self, attr)
68
+ if isinstance(value, list):
69
+ result[attr] = list(map(
70
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
71
+ value
72
+ ))
73
+ elif hasattr(value, "to_dict"):
74
+ result[attr] = value.to_dict()
75
+ elif isinstance(value, dict):
76
+ result[attr] = dict(map(
77
+ lambda item: (item[0], item[1].to_dict())
78
+ if hasattr(item[1], "to_dict") else item,
79
+ value.items()
80
+ ))
81
+ else:
82
+ if attr in self.sensitive_list:
83
+ result[attr] = "****"
84
+ else:
85
+ result[attr] = value
86
+
87
+ return result
88
+
89
+ def to_str(self):
90
+ """Returns the string representation of the model"""
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)
97
+
98
+ def __repr__(self):
99
+ """For `print`"""
100
+ return self.to_str()
101
+
102
+ def __eq__(self, other):
103
+ """Returns true if both objects are equal"""
104
+ if not isinstance(other, CreateResolverRuleRequest):
105
+ return False
106
+
107
+ return self.__dict__ == other.__dict__
108
+
109
+ def __ne__(self, other):
110
+ """Returns true if both objects are not equal"""
111
+ return not self == other