huaweicloudsdkdns 3.1.145__py2.py3-none-any.whl → 3.1.147__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.147.dist-info}/METADATA +2 -2
  204. huaweicloudsdkdns-3.1.147.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.147.dist-info}/LICENSE +0 -0
  207. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/WHEEL +0 -0
  208. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,289 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class IpaddressesData:
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
+ 'status': 'str',
21
+ 'id': 'str',
22
+ 'ip': 'str',
23
+ 'create_time': 'str',
24
+ 'update_time': 'str',
25
+ 'subnet_id': 'str',
26
+ 'error_info': 'str'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'status': 'status',
31
+ 'id': 'id',
32
+ 'ip': 'ip',
33
+ 'create_time': 'create_time',
34
+ 'update_time': 'update_time',
35
+ 'subnet_id': 'subnet_id',
36
+ 'error_info': 'error_info'
37
+ }
38
+
39
+ def __init__(self, status=None, id=None, ip=None, create_time=None, update_time=None, subnet_id=None, error_info=None):
40
+ r"""IpaddressesData
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param status: 资源状态。
45
+ :type status: str
46
+ :param id: 终端节点的ID,UUID形式的一个资源标识。
47
+ :type id: str
48
+ :param ip: IP地址信息。
49
+ :type ip: str
50
+ :param create_time: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
51
+ :type create_time: str
52
+ :param update_time: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
53
+ :type update_time: str
54
+ :param subnet_id: 子网ID。
55
+ :type subnet_id: str
56
+ :param error_info: 错误信息。
57
+ :type error_info: str
58
+ """
59
+
60
+
61
+
62
+ self._status = None
63
+ self._id = None
64
+ self._ip = None
65
+ self._create_time = None
66
+ self._update_time = None
67
+ self._subnet_id = None
68
+ self._error_info = None
69
+ self.discriminator = None
70
+
71
+ if status is not None:
72
+ self.status = status
73
+ if id is not None:
74
+ self.id = id
75
+ if ip is not None:
76
+ self.ip = ip
77
+ if create_time is not None:
78
+ self.create_time = create_time
79
+ if update_time is not None:
80
+ self.update_time = update_time
81
+ if subnet_id is not None:
82
+ self.subnet_id = subnet_id
83
+ if error_info is not None:
84
+ self.error_info = error_info
85
+
86
+ @property
87
+ def status(self):
88
+ r"""Gets the status of this IpaddressesData.
89
+
90
+ 资源状态。
91
+
92
+ :return: The status of this IpaddressesData.
93
+ :rtype: str
94
+ """
95
+ return self._status
96
+
97
+ @status.setter
98
+ def status(self, status):
99
+ r"""Sets the status of this IpaddressesData.
100
+
101
+ 资源状态。
102
+
103
+ :param status: The status of this IpaddressesData.
104
+ :type status: str
105
+ """
106
+ self._status = status
107
+
108
+ @property
109
+ def id(self):
110
+ r"""Gets the id of this IpaddressesData.
111
+
112
+ 终端节点的ID,UUID形式的一个资源标识。
113
+
114
+ :return: The id of this IpaddressesData.
115
+ :rtype: str
116
+ """
117
+ return self._id
118
+
119
+ @id.setter
120
+ def id(self, id):
121
+ r"""Sets the id of this IpaddressesData.
122
+
123
+ 终端节点的ID,UUID形式的一个资源标识。
124
+
125
+ :param id: The id of this IpaddressesData.
126
+ :type id: str
127
+ """
128
+ self._id = id
129
+
130
+ @property
131
+ def ip(self):
132
+ r"""Gets the ip of this IpaddressesData.
133
+
134
+ IP地址信息。
135
+
136
+ :return: The ip of this IpaddressesData.
137
+ :rtype: str
138
+ """
139
+ return self._ip
140
+
141
+ @ip.setter
142
+ def ip(self, ip):
143
+ r"""Sets the ip of this IpaddressesData.
144
+
145
+ IP地址信息。
146
+
147
+ :param ip: The ip of this IpaddressesData.
148
+ :type ip: str
149
+ """
150
+ self._ip = ip
151
+
152
+ @property
153
+ def create_time(self):
154
+ r"""Gets the create_time of this IpaddressesData.
155
+
156
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
157
+
158
+ :return: The create_time of this IpaddressesData.
159
+ :rtype: str
160
+ """
161
+ return self._create_time
162
+
163
+ @create_time.setter
164
+ def create_time(self, create_time):
165
+ r"""Sets the create_time of this IpaddressesData.
166
+
167
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
168
+
169
+ :param create_time: The create_time of this IpaddressesData.
170
+ :type create_time: str
171
+ """
172
+ self._create_time = create_time
173
+
174
+ @property
175
+ def update_time(self):
176
+ r"""Gets the update_time of this IpaddressesData.
177
+
178
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
179
+
180
+ :return: The update_time of this IpaddressesData.
181
+ :rtype: str
182
+ """
183
+ return self._update_time
184
+
185
+ @update_time.setter
186
+ def update_time(self, update_time):
187
+ r"""Sets the update_time of this IpaddressesData.
188
+
189
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
190
+
191
+ :param update_time: The update_time of this IpaddressesData.
192
+ :type update_time: str
193
+ """
194
+ self._update_time = update_time
195
+
196
+ @property
197
+ def subnet_id(self):
198
+ r"""Gets the subnet_id of this IpaddressesData.
199
+
200
+ 子网ID。
201
+
202
+ :return: The subnet_id of this IpaddressesData.
203
+ :rtype: str
204
+ """
205
+ return self._subnet_id
206
+
207
+ @subnet_id.setter
208
+ def subnet_id(self, subnet_id):
209
+ r"""Sets the subnet_id of this IpaddressesData.
210
+
211
+ 子网ID。
212
+
213
+ :param subnet_id: The subnet_id of this IpaddressesData.
214
+ :type subnet_id: str
215
+ """
216
+ self._subnet_id = subnet_id
217
+
218
+ @property
219
+ def error_info(self):
220
+ r"""Gets the error_info of this IpaddressesData.
221
+
222
+ 错误信息。
223
+
224
+ :return: The error_info of this IpaddressesData.
225
+ :rtype: str
226
+ """
227
+ return self._error_info
228
+
229
+ @error_info.setter
230
+ def error_info(self, error_info):
231
+ r"""Sets the error_info of this IpaddressesData.
232
+
233
+ 错误信息。
234
+
235
+ :param error_info: The error_info of this IpaddressesData.
236
+ :type error_info: str
237
+ """
238
+ self._error_info = error_info
239
+
240
+ def to_dict(self):
241
+ """Returns the model properties as a dict"""
242
+ result = {}
243
+
244
+ for attr, _ in six.iteritems(self.openapi_types):
245
+ value = getattr(self, attr)
246
+ if isinstance(value, list):
247
+ result[attr] = list(map(
248
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
249
+ value
250
+ ))
251
+ elif hasattr(value, "to_dict"):
252
+ result[attr] = value.to_dict()
253
+ elif isinstance(value, dict):
254
+ result[attr] = dict(map(
255
+ lambda item: (item[0], item[1].to_dict())
256
+ if hasattr(item[1], "to_dict") else item,
257
+ value.items()
258
+ ))
259
+ else:
260
+ if attr in self.sensitive_list:
261
+ result[attr] = "****"
262
+ else:
263
+ result[attr] = value
264
+
265
+ return result
266
+
267
+ def to_str(self):
268
+ """Returns the string representation of the model"""
269
+ import simplejson as json
270
+ if six.PY2:
271
+ import sys
272
+ reload(sys)
273
+ sys.setdefaultencoding("utf-8")
274
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
275
+
276
+ def __repr__(self):
277
+ """For `print`"""
278
+ return self.to_str()
279
+
280
+ def __eq__(self, other):
281
+ """Returns true if both objects are equal"""
282
+ if not isinstance(other, IpaddressesData):
283
+ return False
284
+
285
+ return self.__dict__ == other.__dict__
286
+
287
+ def __ne__(self, other):
288
+ """Returns true if both objects are not equal"""
289
+ return not self == other
@@ -47,9 +47,9 @@ class Line:
47
47
  :type name: str
48
48
  :param ip_segments: IP地址段。
49
49
  :type ip_segments: list[str]
50
- :param created_at: 创建时间。
50
+ :param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
51
51
  :type created_at: str
52
- :param updated_at: 更新时间。
52
+ :param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
53
53
  :type updated_at: str
54
54
  :param status: 资源状态。
55
55
  :type status: str
@@ -153,7 +153,7 @@ class Line:
153
153
  def created_at(self):
154
154
  r"""Gets the created_at of this Line.
155
155
 
156
- 创建时间。
156
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
157
157
 
158
158
  :return: The created_at of this Line.
159
159
  :rtype: str
@@ -164,7 +164,7 @@ class Line:
164
164
  def created_at(self, created_at):
165
165
  r"""Sets the created_at of this Line.
166
166
 
167
- 创建时间。
167
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
168
168
 
169
169
  :param created_at: The created_at of this Line.
170
170
  :type created_at: str
@@ -175,7 +175,7 @@ class Line:
175
175
  def updated_at(self):
176
176
  r"""Gets the updated_at of this Line.
177
177
 
178
- 更新时间。
178
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
179
179
 
180
180
  :return: The updated_at of this Line.
181
181
  :rtype: str
@@ -186,7 +186,7 @@ class Line:
186
186
  def updated_at(self, updated_at):
187
187
  r"""Sets the updated_at of this Line.
188
188
 
189
- 更新时间。
189
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
190
190
 
191
191
  :param updated_at: The updated_at of this Line.
192
192
  :type updated_at: str
@@ -0,0 +1,114 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListEndpointIpaddressesRequest:
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
+ 'endpoint_id': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'endpoint_id': 'endpoint_id'
25
+ }
26
+
27
+ def __init__(self, endpoint_id=None):
28
+ r"""ListEndpointIpaddressesRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param endpoint_id: 终端节点ID。
33
+ :type endpoint_id: str
34
+ """
35
+
36
+
37
+
38
+ self._endpoint_id = None
39
+ self.discriminator = None
40
+
41
+ self.endpoint_id = endpoint_id
42
+
43
+ @property
44
+ def endpoint_id(self):
45
+ r"""Gets the endpoint_id of this ListEndpointIpaddressesRequest.
46
+
47
+ 终端节点ID。
48
+
49
+ :return: The endpoint_id of this ListEndpointIpaddressesRequest.
50
+ :rtype: str
51
+ """
52
+ return self._endpoint_id
53
+
54
+ @endpoint_id.setter
55
+ def endpoint_id(self, endpoint_id):
56
+ r"""Sets the endpoint_id of this ListEndpointIpaddressesRequest.
57
+
58
+ 终端节点ID。
59
+
60
+ :param endpoint_id: The endpoint_id of this ListEndpointIpaddressesRequest.
61
+ :type endpoint_id: str
62
+ """
63
+ self._endpoint_id = endpoint_id
64
+
65
+ def to_dict(self):
66
+ """Returns the model properties as a dict"""
67
+ result = {}
68
+
69
+ for attr, _ in six.iteritems(self.openapi_types):
70
+ value = getattr(self, attr)
71
+ if isinstance(value, list):
72
+ result[attr] = list(map(
73
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
74
+ value
75
+ ))
76
+ elif hasattr(value, "to_dict"):
77
+ result[attr] = value.to_dict()
78
+ elif isinstance(value, dict):
79
+ result[attr] = dict(map(
80
+ lambda item: (item[0], item[1].to_dict())
81
+ if hasattr(item[1], "to_dict") else item,
82
+ value.items()
83
+ ))
84
+ else:
85
+ if attr in self.sensitive_list:
86
+ result[attr] = "****"
87
+ else:
88
+ result[attr] = value
89
+
90
+ return result
91
+
92
+ def to_str(self):
93
+ """Returns the string representation of the model"""
94
+ import simplejson as json
95
+ if six.PY2:
96
+ import sys
97
+ reload(sys)
98
+ sys.setdefaultencoding("utf-8")
99
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
100
+
101
+ def __repr__(self):
102
+ """For `print`"""
103
+ return self.to_str()
104
+
105
+ def __eq__(self, other):
106
+ """Returns true if both objects are equal"""
107
+ if not isinstance(other, ListEndpointIpaddressesRequest):
108
+ return False
109
+
110
+ return self.__dict__ == other.__dict__
111
+
112
+ def __ne__(self, other):
113
+ """Returns true if both objects are not equal"""
114
+ return not self == other
@@ -0,0 +1,116 @@
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 ListEndpointIpaddressesResponse(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
+ 'ipaddresses': 'list[IpaddressesData]'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'ipaddresses': 'ipaddresses'
26
+ }
27
+
28
+ def __init__(self, ipaddresses=None):
29
+ r"""ListEndpointIpaddressesResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param ipaddresses: 列表数据结构。
34
+ :type ipaddresses: list[:class:`huaweicloudsdkdns.v2.IpaddressesData`]
35
+ """
36
+
37
+ super(ListEndpointIpaddressesResponse, self).__init__()
38
+
39
+ self._ipaddresses = None
40
+ self.discriminator = None
41
+
42
+ if ipaddresses is not None:
43
+ self.ipaddresses = ipaddresses
44
+
45
+ @property
46
+ def ipaddresses(self):
47
+ r"""Gets the ipaddresses of this ListEndpointIpaddressesResponse.
48
+
49
+ 列表数据结构。
50
+
51
+ :return: The ipaddresses of this ListEndpointIpaddressesResponse.
52
+ :rtype: list[:class:`huaweicloudsdkdns.v2.IpaddressesData`]
53
+ """
54
+ return self._ipaddresses
55
+
56
+ @ipaddresses.setter
57
+ def ipaddresses(self, ipaddresses):
58
+ r"""Sets the ipaddresses of this ListEndpointIpaddressesResponse.
59
+
60
+ 列表数据结构。
61
+
62
+ :param ipaddresses: The ipaddresses of this ListEndpointIpaddressesResponse.
63
+ :type ipaddresses: list[:class:`huaweicloudsdkdns.v2.IpaddressesData`]
64
+ """
65
+ self._ipaddresses = ipaddresses
66
+
67
+ def to_dict(self):
68
+ """Returns the model properties as a dict"""
69
+ result = {}
70
+
71
+ for attr, _ in six.iteritems(self.openapi_types):
72
+ value = getattr(self, attr)
73
+ if isinstance(value, list):
74
+ result[attr] = list(map(
75
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
76
+ value
77
+ ))
78
+ elif hasattr(value, "to_dict"):
79
+ result[attr] = value.to_dict()
80
+ elif isinstance(value, dict):
81
+ result[attr] = dict(map(
82
+ lambda item: (item[0], item[1].to_dict())
83
+ if hasattr(item[1], "to_dict") else item,
84
+ value.items()
85
+ ))
86
+ else:
87
+ if attr in self.sensitive_list:
88
+ result[attr] = "****"
89
+ else:
90
+ result[attr] = value
91
+
92
+ return result
93
+
94
+ def to_str(self):
95
+ """Returns the string representation of the model"""
96
+ import simplejson as json
97
+ if six.PY2:
98
+ import sys
99
+ reload(sys)
100
+ sys.setdefaultencoding("utf-8")
101
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
102
+
103
+ def __repr__(self):
104
+ """For `print`"""
105
+ return self.to_str()
106
+
107
+ def __eq__(self, other):
108
+ """Returns true if both objects are equal"""
109
+ if not isinstance(other, ListEndpointIpaddressesResponse):
110
+ return False
111
+
112
+ return self.__dict__ == other.__dict__
113
+
114
+ def __ne__(self, other):
115
+ """Returns true if both objects are not equal"""
116
+ return not self == other