huaweicloudsdkdns 3.1.145__py2.py3-none-any.whl → 3.1.146__py2.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 (208) hide show
  1. huaweicloudsdkdns/v2/__init__.py +82 -1
  2. huaweicloudsdkdns/v2/dns_async_client.py +2933 -1055
  3. huaweicloudsdkdns/v2/dns_client.py +2933 -1055
  4. huaweicloudsdkdns/v2/model/__init__.py +82 -1
  5. huaweicloudsdkdns/v2/model/alias_target.py +3 -3
  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 +3 -3
  12. huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +3 -3
  13. huaweicloudsdkdns/v2/model/batch_create_tag_request.py +3 -3
  14. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
  15. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
  16. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
  17. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +3 -3
  18. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +3 -3
  19. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +3 -3
  20. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +6 -6
  21. huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +3 -3
  22. huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +6 -6
  23. huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +3 -3
  24. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +6 -6
  25. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +3 -3
  26. huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +6 -6
  27. huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +3 -3
  28. huaweicloudsdkdns/v2/model/batch_update_record_set.py +9 -9
  29. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +3 -3
  30. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +3 -3
  31. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +3 -3
  32. huaweicloudsdkdns/v2/model/create_custom_line_response.py +6 -6
  33. huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +12 -12
  34. huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
  35. huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
  36. huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
  37. huaweicloudsdkdns/v2/model/create_line_group_response.py +3 -3
  38. huaweicloudsdkdns/v2/model/create_line_groups_resp.py +3 -3
  39. huaweicloudsdkdns/v2/model/create_private_zone_req.py +9 -9
  40. huaweicloudsdkdns/v2/model/create_private_zone_response.py +39 -39
  41. huaweicloudsdkdns/v2/model/create_ptr_req.py +12 -12
  42. huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
  43. huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
  44. huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
  45. huaweicloudsdkdns/v2/model/create_public_zone_req.py +15 -15
  46. huaweicloudsdkdns/v2/model/create_public_zone_response.py +39 -39
  47. huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +6 -6
  48. huaweicloudsdkdns/v2/model/create_record_set_request.py +3 -3
  49. huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
  50. huaweicloudsdkdns/v2/model/create_record_set_response.py +27 -27
  51. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +3 -3
  52. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +3 -3
  53. huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +3 -3
  54. huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +12 -12
  55. huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +27 -27
  56. huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
  57. huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
  58. huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
  59. huaweicloudsdkdns/v2/model/create_tag_request.py +3 -3
  60. huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
  61. huaweicloudsdkdns/v2/model/delete_custom_line_response.py +6 -6
  62. huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
  63. huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
  64. huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
  65. huaweicloudsdkdns/v2/model/delete_line_group_response.py +3 -3
  66. huaweicloudsdkdns/v2/model/delete_private_zone_request.py +3 -3
  67. huaweicloudsdkdns/v2/model/delete_private_zone_response.py +42 -42
  68. huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
  69. huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
  70. huaweicloudsdkdns/v2/model/delete_public_zone_request.py +3 -3
  71. huaweicloudsdkdns/v2/model/delete_public_zone_response.py +42 -42
  72. huaweicloudsdkdns/v2/model/delete_record_set_request.py +6 -6
  73. huaweicloudsdkdns/v2/model/delete_record_set_response.py +27 -27
  74. huaweicloudsdkdns/v2/model/delete_record_sets_request.py +6 -6
  75. huaweicloudsdkdns/v2/model/delete_record_sets_response.py +27 -27
  76. huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
  77. huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
  78. huaweicloudsdkdns/v2/model/delete_tag_request.py +3 -3
  79. huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
  80. huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
  81. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
  82. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
  83. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
  84. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
  85. huaweicloudsdkdns/v2/model/disassociate_router_request.py +3 -3
  86. huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
  87. huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
  88. huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
  89. huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
  90. huaweicloudsdkdns/v2/model/ip_info.py +115 -0
  91. huaweicloudsdkdns/v2/model/ip_value.py +115 -0
  92. huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
  93. huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
  94. huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
  95. huaweicloudsdkdns/v2/model/line.py +6 -6
  96. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
  97. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
  98. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
  99. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
  100. huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
  101. huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
  102. huaweicloudsdkdns/v2/model/list_private_zones_request.py +15 -15
  103. huaweicloudsdkdns/v2/model/list_private_zones_response.py +3 -3
  104. huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +12 -12
  105. huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
  106. huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
  107. huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
  108. huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
  109. huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
  110. huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
  111. huaweicloudsdkdns/v2/model/list_public_zones_request.py +18 -18
  112. huaweicloudsdkdns/v2/model/list_public_zones_response.py +3 -3
  113. huaweicloudsdkdns/v2/model/list_record_sets.py +27 -27
  114. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +24 -24
  115. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +3 -3
  116. huaweicloudsdkdns/v2/model/list_record_sets_request.py +27 -27
  117. huaweicloudsdkdns/v2/model/list_record_sets_response.py +3 -3
  118. huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +33 -33
  119. huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +3 -3
  120. huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +27 -27
  121. huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
  122. huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
  123. huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
  124. huaweicloudsdkdns/v2/model/match.py +3 -3
  125. huaweicloudsdkdns/v2/model/page_info.py +173 -0
  126. huaweicloudsdkdns/v2/model/private_zone_resp.py +42 -42
  127. huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
  128. huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
  129. huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
  130. huaweicloudsdkdns/v2/model/public_zone_resp.py +39 -39
  131. huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +57 -28
  132. huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +27 -27
  133. huaweicloudsdkdns/v2/model/recordset_data.py +27 -27
  134. huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
  135. huaweicloudsdkdns/v2/model/restore_ptr_req.py +3 -3
  136. huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
  137. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
  138. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
  139. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
  140. huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +3 -3
  141. huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +27 -27
  142. huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
  143. huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
  144. huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
  145. huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
  146. huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
  147. huaweicloudsdkdns/v2/model/show_line_group_response.py +3 -3
  148. huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +3 -3
  149. huaweicloudsdkdns/v2/model/show_private_zone_request.py +3 -3
  150. huaweicloudsdkdns/v2/model/show_private_zone_response.py +42 -42
  151. huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +12 -12
  152. huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
  153. huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
  154. huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +3 -3
  155. huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +3 -3
  156. huaweicloudsdkdns/v2/model/show_public_zone_request.py +3 -3
  157. huaweicloudsdkdns/v2/model/show_public_zone_response.py +45 -45
  158. huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +27 -27
  159. huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +27 -27
  160. huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +3 -3
  161. huaweicloudsdkdns/v2/model/show_record_set_request.py +6 -6
  162. huaweicloudsdkdns/v2/model/show_record_set_response.py +27 -27
  163. huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +6 -6
  164. huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +27 -27
  165. huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
  166. huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
  167. huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
  168. huaweicloudsdkdns/v2/model/show_resource_tag_request.py +3 -3
  169. huaweicloudsdkdns/v2/model/update_custom_line_request.py +3 -3
  170. huaweicloudsdkdns/v2/model/update_custom_line_response.py +6 -6
  171. huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
  172. huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
  173. huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
  174. huaweicloudsdkdns/v2/model/update_line_groups_request.py +3 -3
  175. huaweicloudsdkdns/v2/model/update_line_groups_response.py +3 -3
  176. huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
  177. huaweicloudsdkdns/v2/model/update_private_zone_request.py +3 -3
  178. huaweicloudsdkdns/v2/model/update_private_zone_response.py +39 -39
  179. huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
  180. huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
  181. huaweicloudsdkdns/v2/model/update_ptr_record_response.py +12 -12
  182. huaweicloudsdkdns/v2/model/update_ptr_req.py +9 -9
  183. huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
  184. huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
  185. huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
  186. huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
  187. huaweicloudsdkdns/v2/model/update_public_zone_request.py +3 -3
  188. huaweicloudsdkdns/v2/model/update_public_zone_response.py +36 -36
  189. huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +7 -7
  190. huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +36 -36
  191. huaweicloudsdkdns/v2/model/update_record_set_req.py +3 -3
  192. huaweicloudsdkdns/v2/model/update_record_set_request.py +6 -6
  193. huaweicloudsdkdns/v2/model/update_record_set_response.py +27 -27
  194. huaweicloudsdkdns/v2/model/update_record_sets_req.py +3 -3
  195. huaweicloudsdkdns/v2/model/update_record_sets_request.py +6 -6
  196. huaweicloudsdkdns/v2/model/update_record_sets_response.py +27 -27
  197. huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
  198. huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
  199. huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
  200. huaweicloudsdkdns/v2/model/{update_public_zone_status_request_body.py → update_zone_status_request_body.py} +10 -10
  201. huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
  202. huaweicloudsdkdns/v2/model/zone_data.py +52 -52
  203. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/METADATA +2 -2
  204. huaweicloudsdkdns-3.1.146.dist-info/RECORD +273 -0
  205. huaweicloudsdkdns-3.1.145.dist-info/RECORD +0 -192
  206. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/LICENSE +0 -0
  207. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/WHEEL +0 -0
  208. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,191 @@
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 ListResolverRulesResponse(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
+ 'resolver_rules': 'list[ListResolverRuleParam]',
22
+ 'links': 'PageLink',
23
+ 'metadata': 'Metadata',
24
+ 'page_info': 'PageInfo'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'resolver_rules': 'resolver_rules',
29
+ 'links': 'links',
30
+ 'metadata': 'metadata',
31
+ 'page_info': 'page_info'
32
+ }
33
+
34
+ def __init__(self, resolver_rules=None, links=None, metadata=None, page_info=None):
35
+ r"""ListResolverRulesResponse
36
+
37
+ The model defined in huaweicloud sdk
38
+
39
+ :param resolver_rules: 解析器转发规则列表。
40
+ :type resolver_rules: list[:class:`huaweicloudsdkdns.v2.ListResolverRuleParam`]
41
+ :param links:
42
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
43
+ :param metadata:
44
+ :type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
45
+ :param page_info:
46
+ :type page_info: :class:`huaweicloudsdkdns.v2.PageInfo`
47
+ """
48
+
49
+ super(ListResolverRulesResponse, self).__init__()
50
+
51
+ self._resolver_rules = None
52
+ self._links = None
53
+ self._metadata = None
54
+ self._page_info = None
55
+ self.discriminator = None
56
+
57
+ if resolver_rules is not None:
58
+ self.resolver_rules = resolver_rules
59
+ if links is not None:
60
+ self.links = links
61
+ if metadata is not None:
62
+ self.metadata = metadata
63
+ if page_info is not None:
64
+ self.page_info = page_info
65
+
66
+ @property
67
+ def resolver_rules(self):
68
+ r"""Gets the resolver_rules of this ListResolverRulesResponse.
69
+
70
+ 解析器转发规则列表。
71
+
72
+ :return: The resolver_rules of this ListResolverRulesResponse.
73
+ :rtype: list[:class:`huaweicloudsdkdns.v2.ListResolverRuleParam`]
74
+ """
75
+ return self._resolver_rules
76
+
77
+ @resolver_rules.setter
78
+ def resolver_rules(self, resolver_rules):
79
+ r"""Sets the resolver_rules of this ListResolverRulesResponse.
80
+
81
+ 解析器转发规则列表。
82
+
83
+ :param resolver_rules: The resolver_rules of this ListResolverRulesResponse.
84
+ :type resolver_rules: list[:class:`huaweicloudsdkdns.v2.ListResolverRuleParam`]
85
+ """
86
+ self._resolver_rules = resolver_rules
87
+
88
+ @property
89
+ def links(self):
90
+ r"""Gets the links of this ListResolverRulesResponse.
91
+
92
+ :return: The links of this ListResolverRulesResponse.
93
+ :rtype: :class:`huaweicloudsdkdns.v2.PageLink`
94
+ """
95
+ return self._links
96
+
97
+ @links.setter
98
+ def links(self, links):
99
+ r"""Sets the links of this ListResolverRulesResponse.
100
+
101
+ :param links: The links of this ListResolverRulesResponse.
102
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
103
+ """
104
+ self._links = links
105
+
106
+ @property
107
+ def metadata(self):
108
+ r"""Gets the metadata of this ListResolverRulesResponse.
109
+
110
+ :return: The metadata of this ListResolverRulesResponse.
111
+ :rtype: :class:`huaweicloudsdkdns.v2.Metadata`
112
+ """
113
+ return self._metadata
114
+
115
+ @metadata.setter
116
+ def metadata(self, metadata):
117
+ r"""Sets the metadata of this ListResolverRulesResponse.
118
+
119
+ :param metadata: The metadata of this ListResolverRulesResponse.
120
+ :type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
121
+ """
122
+ self._metadata = metadata
123
+
124
+ @property
125
+ def page_info(self):
126
+ r"""Gets the page_info of this ListResolverRulesResponse.
127
+
128
+ :return: The page_info of this ListResolverRulesResponse.
129
+ :rtype: :class:`huaweicloudsdkdns.v2.PageInfo`
130
+ """
131
+ return self._page_info
132
+
133
+ @page_info.setter
134
+ def page_info(self, page_info):
135
+ r"""Sets the page_info of this ListResolverRulesResponse.
136
+
137
+ :param page_info: The page_info of this ListResolverRulesResponse.
138
+ :type page_info: :class:`huaweicloudsdkdns.v2.PageInfo`
139
+ """
140
+ self._page_info = page_info
141
+
142
+ def to_dict(self):
143
+ """Returns the model properties as a dict"""
144
+ result = {}
145
+
146
+ for attr, _ in six.iteritems(self.openapi_types):
147
+ value = getattr(self, attr)
148
+ if isinstance(value, list):
149
+ result[attr] = list(map(
150
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
151
+ value
152
+ ))
153
+ elif hasattr(value, "to_dict"):
154
+ result[attr] = value.to_dict()
155
+ elif isinstance(value, dict):
156
+ result[attr] = dict(map(
157
+ lambda item: (item[0], item[1].to_dict())
158
+ if hasattr(item[1], "to_dict") else item,
159
+ value.items()
160
+ ))
161
+ else:
162
+ if attr in self.sensitive_list:
163
+ result[attr] = "****"
164
+ else:
165
+ result[attr] = value
166
+
167
+ return result
168
+
169
+ def to_str(self):
170
+ """Returns the string representation of the model"""
171
+ import simplejson as json
172
+ if six.PY2:
173
+ import sys
174
+ reload(sys)
175
+ sys.setdefaultencoding("utf-8")
176
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
177
+
178
+ def __repr__(self):
179
+ """For `print`"""
180
+ return self.to_str()
181
+
182
+ def __eq__(self, other):
183
+ """Returns true if both objects are equal"""
184
+ if not isinstance(other, ListResolverRulesResponse):
185
+ return False
186
+
187
+ return self.__dict__ == other.__dict__
188
+
189
+ def __ne__(self, other):
190
+ """Returns true if both objects are not equal"""
191
+ return not self == other
@@ -33,7 +33,7 @@ class Match:
33
33
 
34
34
  :param key: 键。当前值限定为resource_name。
35
35
  :type key: str
36
- :param value: 值。每个值最大长度255个unicode字符。不能包含“_”,“%”特殊字符。
36
+ :param value: 值。每个值最大长度43个unicode字符。
37
37
  :type value: str
38
38
  """
39
39
 
@@ -73,7 +73,7 @@ class Match:
73
73
  def value(self):
74
74
  r"""Gets the value of this Match.
75
75
 
76
- 值。每个值最大长度255个unicode字符。不能包含“_”,“%”特殊字符。
76
+ 值。每个值最大长度43个unicode字符。
77
77
 
78
78
  :return: The value of this Match.
79
79
  :rtype: str
@@ -84,7 +84,7 @@ class Match:
84
84
  def value(self, value):
85
85
  r"""Sets the value of this Match.
86
86
 
87
- 值。每个值最大长度255个unicode字符。不能包含“_”,“%”特殊字符。
87
+ 值。每个值最大长度43个unicode字符。
88
88
 
89
89
  :param value: The value of this Match.
90
90
  :type value: str
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class PageInfo:
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
+ 'next_marker': 'str',
21
+ 'previous_marker': 'str',
22
+ 'current_count': 'int'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'next_marker': 'next_marker',
27
+ 'previous_marker': 'previous_marker',
28
+ 'current_count': 'current_count'
29
+ }
30
+
31
+ def __init__(self, next_marker=None, previous_marker=None, current_count=None):
32
+ r"""PageInfo
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param next_marker: 下一页的页面标识。
37
+ :type next_marker: str
38
+ :param previous_marker: 上一页的页面标识。
39
+ :type previous_marker: str
40
+ :param current_count: 页面数量。
41
+ :type current_count: int
42
+ """
43
+
44
+
45
+
46
+ self._next_marker = None
47
+ self._previous_marker = None
48
+ self._current_count = None
49
+ self.discriminator = None
50
+
51
+ if next_marker is not None:
52
+ self.next_marker = next_marker
53
+ if previous_marker is not None:
54
+ self.previous_marker = previous_marker
55
+ if current_count is not None:
56
+ self.current_count = current_count
57
+
58
+ @property
59
+ def next_marker(self):
60
+ r"""Gets the next_marker of this PageInfo.
61
+
62
+ 下一页的页面标识。
63
+
64
+ :return: The next_marker of this PageInfo.
65
+ :rtype: str
66
+ """
67
+ return self._next_marker
68
+
69
+ @next_marker.setter
70
+ def next_marker(self, next_marker):
71
+ r"""Sets the next_marker of this PageInfo.
72
+
73
+ 下一页的页面标识。
74
+
75
+ :param next_marker: The next_marker of this PageInfo.
76
+ :type next_marker: str
77
+ """
78
+ self._next_marker = next_marker
79
+
80
+ @property
81
+ def previous_marker(self):
82
+ r"""Gets the previous_marker of this PageInfo.
83
+
84
+ 上一页的页面标识。
85
+
86
+ :return: The previous_marker of this PageInfo.
87
+ :rtype: str
88
+ """
89
+ return self._previous_marker
90
+
91
+ @previous_marker.setter
92
+ def previous_marker(self, previous_marker):
93
+ r"""Sets the previous_marker of this PageInfo.
94
+
95
+ 上一页的页面标识。
96
+
97
+ :param previous_marker: The previous_marker of this PageInfo.
98
+ :type previous_marker: str
99
+ """
100
+ self._previous_marker = previous_marker
101
+
102
+ @property
103
+ def current_count(self):
104
+ r"""Gets the current_count of this PageInfo.
105
+
106
+ 页面数量。
107
+
108
+ :return: The current_count of this PageInfo.
109
+ :rtype: int
110
+ """
111
+ return self._current_count
112
+
113
+ @current_count.setter
114
+ def current_count(self, current_count):
115
+ r"""Sets the current_count of this PageInfo.
116
+
117
+ 页面数量。
118
+
119
+ :param current_count: The current_count of this PageInfo.
120
+ :type current_count: int
121
+ """
122
+ self._current_count = current_count
123
+
124
+ def to_dict(self):
125
+ """Returns the model properties as a dict"""
126
+ result = {}
127
+
128
+ for attr, _ in six.iteritems(self.openapi_types):
129
+ value = getattr(self, attr)
130
+ if isinstance(value, list):
131
+ result[attr] = list(map(
132
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
133
+ value
134
+ ))
135
+ elif hasattr(value, "to_dict"):
136
+ result[attr] = value.to_dict()
137
+ elif isinstance(value, dict):
138
+ result[attr] = dict(map(
139
+ lambda item: (item[0], item[1].to_dict())
140
+ if hasattr(item[1], "to_dict") else item,
141
+ value.items()
142
+ ))
143
+ else:
144
+ if attr in self.sensitive_list:
145
+ result[attr] = "****"
146
+ else:
147
+ result[attr] = value
148
+
149
+ return result
150
+
151
+ def to_str(self):
152
+ """Returns the string representation of the model"""
153
+ import simplejson as json
154
+ if six.PY2:
155
+ import sys
156
+ reload(sys)
157
+ sys.setdefaultencoding("utf-8")
158
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
159
+
160
+ def __repr__(self):
161
+ """For `print`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, PageInfo):
167
+ return False
168
+
169
+ return self.__dict__ == other.__dict__
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ return not self == other
@@ -65,33 +65,33 @@ class PrivateZoneResp:
65
65
 
66
66
  The model defined in huaweicloud sdk
67
67
 
68
- :param id: zone的ID,uuid形式的一个资源标识。
68
+ :param id: 域名的ID,UUID形式的一个资源标识。
69
69
  :type id: str
70
- :param name: zone名称。
70
+ :param name: 域名。
71
71
  :type name: str
72
- :param description: 对zone的描述信息。
72
+ :param description: 对域名的描述信息。
73
73
  :type description: str
74
- :param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
74
+ :param email: 管理该域名的管理员邮箱,用于生成该域名的SOA记录。
75
75
  :type email: str
76
- :param zone_type: zone类型,内网(private)。
76
+ :param zone_type: 域名类型,内网(private)。
77
77
  :type zone_type: str
78
- :param ttl: 该zone下SOA记录中的ttl值。
78
+ :param ttl: 该域名下SOA记录中的ttl值。
79
79
  :type ttl: int
80
- :param serial: 该zone下SOA记录中用于标识zone文件变更的序列值,用于主从节点同步。
80
+ :param serial: 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。
81
81
  :type serial: int
82
82
  :param status: 资源状态。
83
83
  :type status: str
84
- :param record_num: 该zone下的recordset个数。
84
+ :param record_num: 该域名下的记录集个数。
85
85
  :type record_num: int
86
- :param proxy_pattern: 内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
86
+ :param proxy_pattern: 内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
87
87
  :type proxy_pattern: str
88
- :param pool_id: 托管该zone的pool,由系统分配。
88
+ :param pool_id: 托管该域名的pool,由系统分配。
89
89
  :type pool_id: str
90
- :param project_id: zone所属的项目ID。
90
+ :param project_id: 域名所属的项目ID。
91
91
  :type project_id: str
92
- :param created_at: 创建时间。
92
+ :param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
93
93
  :type created_at: str
94
- :param updated_at: 更新时间。
94
+ :param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
95
95
  :type updated_at: str
96
96
  :param links:
97
97
  :type links: :class:`huaweicloudsdkdns.v2.PageLink`
@@ -99,7 +99,7 @@ class PrivateZoneResp:
99
99
  :type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
100
100
  :param masters: 主从模式中,从DNS服务器获取DNS信息。
101
101
  :type masters: list[str]
102
- :param routers: 与该zone关联的Router(VPC)列表。
102
+ :param routers: 与该域名关联的Router(VPC)列表。
103
103
  :type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
104
104
  :param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。
105
105
  :type enterprise_project_id: str
@@ -171,7 +171,7 @@ class PrivateZoneResp:
171
171
  def id(self):
172
172
  r"""Gets the id of this PrivateZoneResp.
173
173
 
174
- zone的ID,uuid形式的一个资源标识。
174
+ 域名的ID,UUID形式的一个资源标识。
175
175
 
176
176
  :return: The id of this PrivateZoneResp.
177
177
  :rtype: str
@@ -182,7 +182,7 @@ class PrivateZoneResp:
182
182
  def id(self, id):
183
183
  r"""Sets the id of this PrivateZoneResp.
184
184
 
185
- zone的ID,uuid形式的一个资源标识。
185
+ 域名的ID,UUID形式的一个资源标识。
186
186
 
187
187
  :param id: The id of this PrivateZoneResp.
188
188
  :type id: str
@@ -193,7 +193,7 @@ class PrivateZoneResp:
193
193
  def name(self):
194
194
  r"""Gets the name of this PrivateZoneResp.
195
195
 
196
- zone名称。
196
+ 域名。
197
197
 
198
198
  :return: The name of this PrivateZoneResp.
199
199
  :rtype: str
@@ -204,7 +204,7 @@ class PrivateZoneResp:
204
204
  def name(self, name):
205
205
  r"""Sets the name of this PrivateZoneResp.
206
206
 
207
- zone名称。
207
+ 域名。
208
208
 
209
209
  :param name: The name of this PrivateZoneResp.
210
210
  :type name: str
@@ -215,7 +215,7 @@ class PrivateZoneResp:
215
215
  def description(self):
216
216
  r"""Gets the description of this PrivateZoneResp.
217
217
 
218
- 对zone的描述信息。
218
+ 对域名的描述信息。
219
219
 
220
220
  :return: The description of this PrivateZoneResp.
221
221
  :rtype: str
@@ -226,7 +226,7 @@ class PrivateZoneResp:
226
226
  def description(self, description):
227
227
  r"""Sets the description of this PrivateZoneResp.
228
228
 
229
- 对zone的描述信息。
229
+ 对域名的描述信息。
230
230
 
231
231
  :param description: The description of this PrivateZoneResp.
232
232
  :type description: str
@@ -237,7 +237,7 @@ class PrivateZoneResp:
237
237
  def email(self):
238
238
  r"""Gets the email of this PrivateZoneResp.
239
239
 
240
- 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
240
+ 管理该域名的管理员邮箱,用于生成该域名的SOA记录。
241
241
 
242
242
  :return: The email of this PrivateZoneResp.
243
243
  :rtype: str
@@ -248,7 +248,7 @@ class PrivateZoneResp:
248
248
  def email(self, email):
249
249
  r"""Sets the email of this PrivateZoneResp.
250
250
 
251
- 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
251
+ 管理该域名的管理员邮箱,用于生成该域名的SOA记录。
252
252
 
253
253
  :param email: The email of this PrivateZoneResp.
254
254
  :type email: str
@@ -259,7 +259,7 @@ class PrivateZoneResp:
259
259
  def zone_type(self):
260
260
  r"""Gets the zone_type of this PrivateZoneResp.
261
261
 
262
- zone类型,内网(private)。
262
+ 域名类型,内网(private)。
263
263
 
264
264
  :return: The zone_type of this PrivateZoneResp.
265
265
  :rtype: str
@@ -270,7 +270,7 @@ class PrivateZoneResp:
270
270
  def zone_type(self, zone_type):
271
271
  r"""Sets the zone_type of this PrivateZoneResp.
272
272
 
273
- zone类型,内网(private)。
273
+ 域名类型,内网(private)。
274
274
 
275
275
  :param zone_type: The zone_type of this PrivateZoneResp.
276
276
  :type zone_type: str
@@ -281,7 +281,7 @@ class PrivateZoneResp:
281
281
  def ttl(self):
282
282
  r"""Gets the ttl of this PrivateZoneResp.
283
283
 
284
- 该zone下SOA记录中的ttl值。
284
+ 该域名下SOA记录中的ttl值。
285
285
 
286
286
  :return: The ttl of this PrivateZoneResp.
287
287
  :rtype: int
@@ -292,7 +292,7 @@ class PrivateZoneResp:
292
292
  def ttl(self, ttl):
293
293
  r"""Sets the ttl of this PrivateZoneResp.
294
294
 
295
- 该zone下SOA记录中的ttl值。
295
+ 该域名下SOA记录中的ttl值。
296
296
 
297
297
  :param ttl: The ttl of this PrivateZoneResp.
298
298
  :type ttl: int
@@ -303,7 +303,7 @@ class PrivateZoneResp:
303
303
  def serial(self):
304
304
  r"""Gets the serial of this PrivateZoneResp.
305
305
 
306
- 该zone下SOA记录中用于标识zone文件变更的序列值,用于主从节点同步。
306
+ 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。
307
307
 
308
308
  :return: The serial of this PrivateZoneResp.
309
309
  :rtype: int
@@ -314,7 +314,7 @@ class PrivateZoneResp:
314
314
  def serial(self, serial):
315
315
  r"""Sets the serial of this PrivateZoneResp.
316
316
 
317
- 该zone下SOA记录中用于标识zone文件变更的序列值,用于主从节点同步。
317
+ 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。
318
318
 
319
319
  :param serial: The serial of this PrivateZoneResp.
320
320
  :type serial: int
@@ -347,7 +347,7 @@ class PrivateZoneResp:
347
347
  def record_num(self):
348
348
  r"""Gets the record_num of this PrivateZoneResp.
349
349
 
350
- 该zone下的recordset个数。
350
+ 该域名下的记录集个数。
351
351
 
352
352
  :return: The record_num of this PrivateZoneResp.
353
353
  :rtype: int
@@ -358,7 +358,7 @@ class PrivateZoneResp:
358
358
  def record_num(self, record_num):
359
359
  r"""Sets the record_num of this PrivateZoneResp.
360
360
 
361
- 该zone下的recordset个数。
361
+ 该域名下的记录集个数。
362
362
 
363
363
  :param record_num: The record_num of this PrivateZoneResp.
364
364
  :type record_num: int
@@ -369,7 +369,7 @@ class PrivateZoneResp:
369
369
  def proxy_pattern(self):
370
370
  r"""Gets the proxy_pattern of this PrivateZoneResp.
371
371
 
372
- 内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
372
+ 内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
373
373
 
374
374
  :return: The proxy_pattern of this PrivateZoneResp.
375
375
  :rtype: str
@@ -380,7 +380,7 @@ class PrivateZoneResp:
380
380
  def proxy_pattern(self, proxy_pattern):
381
381
  r"""Sets the proxy_pattern of this PrivateZoneResp.
382
382
 
383
- 内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
383
+ 内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
384
384
 
385
385
  :param proxy_pattern: The proxy_pattern of this PrivateZoneResp.
386
386
  :type proxy_pattern: str
@@ -391,7 +391,7 @@ class PrivateZoneResp:
391
391
  def pool_id(self):
392
392
  r"""Gets the pool_id of this PrivateZoneResp.
393
393
 
394
- 托管该zone的pool,由系统分配。
394
+ 托管该域名的pool,由系统分配。
395
395
 
396
396
  :return: The pool_id of this PrivateZoneResp.
397
397
  :rtype: str
@@ -402,7 +402,7 @@ class PrivateZoneResp:
402
402
  def pool_id(self, pool_id):
403
403
  r"""Sets the pool_id of this PrivateZoneResp.
404
404
 
405
- 托管该zone的pool,由系统分配。
405
+ 托管该域名的pool,由系统分配。
406
406
 
407
407
  :param pool_id: The pool_id of this PrivateZoneResp.
408
408
  :type pool_id: str
@@ -413,7 +413,7 @@ class PrivateZoneResp:
413
413
  def project_id(self):
414
414
  r"""Gets the project_id of this PrivateZoneResp.
415
415
 
416
- zone所属的项目ID。
416
+ 域名所属的项目ID。
417
417
 
418
418
  :return: The project_id of this PrivateZoneResp.
419
419
  :rtype: str
@@ -424,7 +424,7 @@ class PrivateZoneResp:
424
424
  def project_id(self, project_id):
425
425
  r"""Sets the project_id of this PrivateZoneResp.
426
426
 
427
- zone所属的项目ID。
427
+ 域名所属的项目ID。
428
428
 
429
429
  :param project_id: The project_id of this PrivateZoneResp.
430
430
  :type project_id: str
@@ -435,7 +435,7 @@ class PrivateZoneResp:
435
435
  def created_at(self):
436
436
  r"""Gets the created_at of this PrivateZoneResp.
437
437
 
438
- 创建时间。
438
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
439
439
 
440
440
  :return: The created_at of this PrivateZoneResp.
441
441
  :rtype: str
@@ -446,7 +446,7 @@ class PrivateZoneResp:
446
446
  def created_at(self, created_at):
447
447
  r"""Sets the created_at of this PrivateZoneResp.
448
448
 
449
- 创建时间。
449
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
450
450
 
451
451
  :param created_at: The created_at of this PrivateZoneResp.
452
452
  :type created_at: str
@@ -457,7 +457,7 @@ class PrivateZoneResp:
457
457
  def updated_at(self):
458
458
  r"""Gets the updated_at of this PrivateZoneResp.
459
459
 
460
- 更新时间。
460
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
461
461
 
462
462
  :return: The updated_at of this PrivateZoneResp.
463
463
  :rtype: str
@@ -468,7 +468,7 @@ class PrivateZoneResp:
468
468
  def updated_at(self, updated_at):
469
469
  r"""Sets the updated_at of this PrivateZoneResp.
470
470
 
471
- 更新时间。
471
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
472
472
 
473
473
  :param updated_at: The updated_at of this PrivateZoneResp.
474
474
  :type updated_at: str
@@ -541,7 +541,7 @@ class PrivateZoneResp:
541
541
  def routers(self):
542
542
  r"""Gets the routers of this PrivateZoneResp.
543
543
 
544
- 与该zone关联的Router(VPC)列表。
544
+ 与该域名关联的Router(VPC)列表。
545
545
 
546
546
  :return: The routers of this PrivateZoneResp.
547
547
  :rtype: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
@@ -552,7 +552,7 @@ class PrivateZoneResp:
552
552
  def routers(self, routers):
553
553
  r"""Sets the routers of this PrivateZoneResp.
554
554
 
555
- 与该zone关联的Router(VPC)列表。
555
+ 与该域名关联的Router(VPC)列表。
556
556
 
557
557
  :param routers: The routers of this PrivateZoneResp.
558
558
  :type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]