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.
- huaweicloudsdkdns/v2/__init__.py +82 -1
- huaweicloudsdkdns/v2/dns_async_client.py +2933 -1055
- huaweicloudsdkdns/v2/dns_client.py +2933 -1055
- huaweicloudsdkdns/v2/model/__init__.py +82 -1
- huaweicloudsdkdns/v2/model/alias_target.py +3 -3
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/associate_or_disassociate_router_with_rule_request_body.py +110 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/associate_router_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +3 -3
- huaweicloudsdkdns/v2/model/batch_create_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_update_record_set.py +9 -9
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_custom_line_response.py +6 -6
- huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +12 -12
- huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_line_group_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_line_groups_resp.py +3 -3
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +9 -9
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +39 -39
- huaweicloudsdkdns/v2/model/create_ptr_req.py +12 -12
- huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
- huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/create_public_zone_req.py +15 -15
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +39 -39
- huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +6 -6
- huaweicloudsdkdns/v2/model/create_record_set_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +12 -12
- huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +27 -27
- huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_custom_line_response.py +6 -6
- huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_line_group_response.py +3 -3
- huaweicloudsdkdns/v2/model/delete_private_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_private_zone_response.py +42 -42
- huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
- huaweicloudsdkdns/v2/model/delete_public_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +42 -42
- huaweicloudsdkdns/v2/model/delete_record_set_request.py +6 -6
- huaweicloudsdkdns/v2/model/delete_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/delete_record_sets_request.py +6 -6
- huaweicloudsdkdns/v2/model/delete_record_sets_response.py +27 -27
- huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/disassociate_router_request.py +3 -3
- huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
- huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
- huaweicloudsdkdns/v2/model/ip_info.py +115 -0
- huaweicloudsdkdns/v2/model/ip_value.py +115 -0
- huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
- huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
- huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
- huaweicloudsdkdns/v2/model/line.py +6 -6
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
- huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_private_zones_request.py +15 -15
- huaweicloudsdkdns/v2/model/list_private_zones_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +12 -12
- huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zones_request.py +18 -18
- huaweicloudsdkdns/v2/model/list_public_zones_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets.py +27 -27
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +24 -24
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets_request.py +27 -27
- huaweicloudsdkdns/v2/model/list_record_sets_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +33 -33
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +27 -27
- huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
- huaweicloudsdkdns/v2/model/match.py +3 -3
- huaweicloudsdkdns/v2/model/page_info.py +173 -0
- huaweicloudsdkdns/v2/model/private_zone_resp.py +42 -42
- huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
- huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_resp.py +39 -39
- huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +57 -28
- huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +27 -27
- huaweicloudsdkdns/v2/model/recordset_data.py +27 -27
- huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
- huaweicloudsdkdns/v2/model/restore_ptr_req.py +3 -3
- huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
- huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +3 -3
- huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +27 -27
- huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_line_group_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_response.py +42 -42
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +12 -12
- huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +45 -45
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +27 -27
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +27 -27
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_record_set_request.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +27 -27
- huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_resource_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_custom_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_custom_line_response.py +6 -6
- huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/update_line_groups_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_line_groups_response.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_response.py +39 -39
- huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
- huaweicloudsdkdns/v2/model/update_ptr_record_response.py +12 -12
- huaweicloudsdkdns/v2/model/update_ptr_req.py +9 -9
- huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
- huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_response.py +36 -36
- huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +7 -7
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +36 -36
- huaweicloudsdkdns/v2/model/update_record_set_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_record_set_request.py +6 -6
- huaweicloudsdkdns/v2/model/update_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/update_record_sets_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_record_sets_request.py +6 -6
- huaweicloudsdkdns/v2/model/update_record_sets_response.py +27 -27
- huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/{update_public_zone_status_request_body.py → update_zone_status_request_body.py} +10 -10
- huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
- huaweicloudsdkdns/v2/model/zone_data.py +52 -52
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/METADATA +2 -2
- huaweicloudsdkdns-3.1.147.dist-info/RECORD +273 -0
- huaweicloudsdkdns-3.1.145.dist-info/RECORD +0 -192
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,166 @@
|
|
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 ListPtrsResponse(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
|
+
'floatingips': 'list[FloatingIpsPtr]',
|
22
|
+
'links': 'PageLink',
|
23
|
+
'metadata': 'Metadata'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'floatingips': 'floatingips',
|
28
|
+
'links': 'links',
|
29
|
+
'metadata': 'metadata'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, floatingips=None, links=None, metadata=None):
|
33
|
+
r"""ListPtrsResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param floatingips: 反向解析列表。
|
38
|
+
:type floatingips: list[:class:`huaweicloudsdkdns.v2.FloatingIpsPtr`]
|
39
|
+
:param links:
|
40
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
41
|
+
:param metadata:
|
42
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(ListPtrsResponse, self).__init__()
|
46
|
+
|
47
|
+
self._floatingips = None
|
48
|
+
self._links = None
|
49
|
+
self._metadata = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if floatingips is not None:
|
53
|
+
self.floatingips = floatingips
|
54
|
+
if links is not None:
|
55
|
+
self.links = links
|
56
|
+
if metadata is not None:
|
57
|
+
self.metadata = metadata
|
58
|
+
|
59
|
+
@property
|
60
|
+
def floatingips(self):
|
61
|
+
r"""Gets the floatingips of this ListPtrsResponse.
|
62
|
+
|
63
|
+
反向解析列表。
|
64
|
+
|
65
|
+
:return: The floatingips of this ListPtrsResponse.
|
66
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.FloatingIpsPtr`]
|
67
|
+
"""
|
68
|
+
return self._floatingips
|
69
|
+
|
70
|
+
@floatingips.setter
|
71
|
+
def floatingips(self, floatingips):
|
72
|
+
r"""Sets the floatingips of this ListPtrsResponse.
|
73
|
+
|
74
|
+
反向解析列表。
|
75
|
+
|
76
|
+
:param floatingips: The floatingips of this ListPtrsResponse.
|
77
|
+
:type floatingips: list[:class:`huaweicloudsdkdns.v2.FloatingIpsPtr`]
|
78
|
+
"""
|
79
|
+
self._floatingips = floatingips
|
80
|
+
|
81
|
+
@property
|
82
|
+
def links(self):
|
83
|
+
r"""Gets the links of this ListPtrsResponse.
|
84
|
+
|
85
|
+
:return: The links of this ListPtrsResponse.
|
86
|
+
:rtype: :class:`huaweicloudsdkdns.v2.PageLink`
|
87
|
+
"""
|
88
|
+
return self._links
|
89
|
+
|
90
|
+
@links.setter
|
91
|
+
def links(self, links):
|
92
|
+
r"""Sets the links of this ListPtrsResponse.
|
93
|
+
|
94
|
+
:param links: The links of this ListPtrsResponse.
|
95
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
96
|
+
"""
|
97
|
+
self._links = links
|
98
|
+
|
99
|
+
@property
|
100
|
+
def metadata(self):
|
101
|
+
r"""Gets the metadata of this ListPtrsResponse.
|
102
|
+
|
103
|
+
:return: The metadata of this ListPtrsResponse.
|
104
|
+
:rtype: :class:`huaweicloudsdkdns.v2.Metadata`
|
105
|
+
"""
|
106
|
+
return self._metadata
|
107
|
+
|
108
|
+
@metadata.setter
|
109
|
+
def metadata(self, metadata):
|
110
|
+
r"""Sets the metadata of this ListPtrsResponse.
|
111
|
+
|
112
|
+
:param metadata: The metadata of this ListPtrsResponse.
|
113
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
114
|
+
"""
|
115
|
+
self._metadata = metadata
|
116
|
+
|
117
|
+
def to_dict(self):
|
118
|
+
"""Returns the model properties as a dict"""
|
119
|
+
result = {}
|
120
|
+
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
122
|
+
value = getattr(self, attr)
|
123
|
+
if isinstance(value, list):
|
124
|
+
result[attr] = list(map(
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
126
|
+
value
|
127
|
+
))
|
128
|
+
elif hasattr(value, "to_dict"):
|
129
|
+
result[attr] = value.to_dict()
|
130
|
+
elif isinstance(value, dict):
|
131
|
+
result[attr] = dict(map(
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
134
|
+
value.items()
|
135
|
+
))
|
136
|
+
else:
|
137
|
+
if attr in self.sensitive_list:
|
138
|
+
result[attr] = "****"
|
139
|
+
else:
|
140
|
+
result[attr] = value
|
141
|
+
|
142
|
+
return result
|
143
|
+
|
144
|
+
def to_str(self):
|
145
|
+
"""Returns the string representation of the model"""
|
146
|
+
import simplejson as json
|
147
|
+
if six.PY2:
|
148
|
+
import sys
|
149
|
+
reload(sys)
|
150
|
+
sys.setdefaultencoding("utf-8")
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
152
|
+
|
153
|
+
def __repr__(self):
|
154
|
+
"""For `print`"""
|
155
|
+
return self.to_str()
|
156
|
+
|
157
|
+
def __eq__(self, other):
|
158
|
+
"""Returns true if both objects are equal"""
|
159
|
+
if not isinstance(other, ListPtrsResponse):
|
160
|
+
return False
|
161
|
+
|
162
|
+
return self.__dict__ == other.__dict__
|
163
|
+
|
164
|
+
def __ne__(self, other):
|
165
|
+
"""Returns true if both objects are not equal"""
|
166
|
+
return not self == other
|
@@ -0,0 +1,172 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListPublicZoneLinesRequest:
|
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
|
+
'zone_id': 'str',
|
21
|
+
'limit': 'int',
|
22
|
+
'offset': 'int'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'zone_id': 'zone_id',
|
27
|
+
'limit': 'limit',
|
28
|
+
'offset': 'offset'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, zone_id=None, limit=None, offset=None):
|
32
|
+
r"""ListPublicZoneLinesRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param zone_id: 域名ID。
|
37
|
+
:type zone_id: str
|
38
|
+
:param limit: 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
|
39
|
+
:type limit: int
|
40
|
+
:param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
|
41
|
+
:type offset: int
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._zone_id = None
|
47
|
+
self._limit = None
|
48
|
+
self._offset = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.zone_id = zone_id
|
52
|
+
if limit is not None:
|
53
|
+
self.limit = limit
|
54
|
+
if offset is not None:
|
55
|
+
self.offset = offset
|
56
|
+
|
57
|
+
@property
|
58
|
+
def zone_id(self):
|
59
|
+
r"""Gets the zone_id of this ListPublicZoneLinesRequest.
|
60
|
+
|
61
|
+
域名ID。
|
62
|
+
|
63
|
+
:return: The zone_id of this ListPublicZoneLinesRequest.
|
64
|
+
:rtype: str
|
65
|
+
"""
|
66
|
+
return self._zone_id
|
67
|
+
|
68
|
+
@zone_id.setter
|
69
|
+
def zone_id(self, zone_id):
|
70
|
+
r"""Sets the zone_id of this ListPublicZoneLinesRequest.
|
71
|
+
|
72
|
+
域名ID。
|
73
|
+
|
74
|
+
:param zone_id: The zone_id of this ListPublicZoneLinesRequest.
|
75
|
+
:type zone_id: str
|
76
|
+
"""
|
77
|
+
self._zone_id = zone_id
|
78
|
+
|
79
|
+
@property
|
80
|
+
def limit(self):
|
81
|
+
r"""Gets the limit of this ListPublicZoneLinesRequest.
|
82
|
+
|
83
|
+
每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
|
84
|
+
|
85
|
+
:return: The limit of this ListPublicZoneLinesRequest.
|
86
|
+
:rtype: int
|
87
|
+
"""
|
88
|
+
return self._limit
|
89
|
+
|
90
|
+
@limit.setter
|
91
|
+
def limit(self, limit):
|
92
|
+
r"""Sets the limit of this ListPublicZoneLinesRequest.
|
93
|
+
|
94
|
+
每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
|
95
|
+
|
96
|
+
:param limit: The limit of this ListPublicZoneLinesRequest.
|
97
|
+
:type limit: int
|
98
|
+
"""
|
99
|
+
self._limit = limit
|
100
|
+
|
101
|
+
@property
|
102
|
+
def offset(self):
|
103
|
+
r"""Gets the offset of this ListPublicZoneLinesRequest.
|
104
|
+
|
105
|
+
分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
|
106
|
+
|
107
|
+
:return: The offset of this ListPublicZoneLinesRequest.
|
108
|
+
:rtype: int
|
109
|
+
"""
|
110
|
+
return self._offset
|
111
|
+
|
112
|
+
@offset.setter
|
113
|
+
def offset(self, offset):
|
114
|
+
r"""Sets the offset of this ListPublicZoneLinesRequest.
|
115
|
+
|
116
|
+
分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
|
117
|
+
|
118
|
+
:param offset: The offset of this ListPublicZoneLinesRequest.
|
119
|
+
:type offset: int
|
120
|
+
"""
|
121
|
+
self._offset = offset
|
122
|
+
|
123
|
+
def to_dict(self):
|
124
|
+
"""Returns the model properties as a dict"""
|
125
|
+
result = {}
|
126
|
+
|
127
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
128
|
+
value = getattr(self, attr)
|
129
|
+
if isinstance(value, list):
|
130
|
+
result[attr] = list(map(
|
131
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
132
|
+
value
|
133
|
+
))
|
134
|
+
elif hasattr(value, "to_dict"):
|
135
|
+
result[attr] = value.to_dict()
|
136
|
+
elif isinstance(value, dict):
|
137
|
+
result[attr] = dict(map(
|
138
|
+
lambda item: (item[0], item[1].to_dict())
|
139
|
+
if hasattr(item[1], "to_dict") else item,
|
140
|
+
value.items()
|
141
|
+
))
|
142
|
+
else:
|
143
|
+
if attr in self.sensitive_list:
|
144
|
+
result[attr] = "****"
|
145
|
+
else:
|
146
|
+
result[attr] = value
|
147
|
+
|
148
|
+
return result
|
149
|
+
|
150
|
+
def to_str(self):
|
151
|
+
"""Returns the string representation of the model"""
|
152
|
+
import simplejson as json
|
153
|
+
if six.PY2:
|
154
|
+
import sys
|
155
|
+
reload(sys)
|
156
|
+
sys.setdefaultencoding("utf-8")
|
157
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
158
|
+
|
159
|
+
def __repr__(self):
|
160
|
+
"""For `print`"""
|
161
|
+
return self.to_str()
|
162
|
+
|
163
|
+
def __eq__(self, other):
|
164
|
+
"""Returns true if both objects are equal"""
|
165
|
+
if not isinstance(other, ListPublicZoneLinesRequest):
|
166
|
+
return False
|
167
|
+
|
168
|
+
return self.__dict__ == other.__dict__
|
169
|
+
|
170
|
+
def __ne__(self, other):
|
171
|
+
"""Returns true if both objects are not equal"""
|
172
|
+
return not self == other
|
@@ -0,0 +1,166 @@
|
|
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 ListPublicZoneLinesResponse(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
|
+
'links': 'PageLink',
|
22
|
+
'lines': 'list[PublicZoneLines]',
|
23
|
+
'metadata': 'Metadata'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'links': 'links',
|
28
|
+
'lines': 'lines',
|
29
|
+
'metadata': 'metadata'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, links=None, lines=None, metadata=None):
|
33
|
+
r"""ListPublicZoneLinesResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param links:
|
38
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
39
|
+
:param lines: 查询公网域名的线路列表响应。
|
40
|
+
:type lines: list[:class:`huaweicloudsdkdns.v2.PublicZoneLines`]
|
41
|
+
:param metadata:
|
42
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(ListPublicZoneLinesResponse, self).__init__()
|
46
|
+
|
47
|
+
self._links = None
|
48
|
+
self._lines = None
|
49
|
+
self._metadata = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if links is not None:
|
53
|
+
self.links = links
|
54
|
+
if lines is not None:
|
55
|
+
self.lines = lines
|
56
|
+
if metadata is not None:
|
57
|
+
self.metadata = metadata
|
58
|
+
|
59
|
+
@property
|
60
|
+
def links(self):
|
61
|
+
r"""Gets the links of this ListPublicZoneLinesResponse.
|
62
|
+
|
63
|
+
:return: The links of this ListPublicZoneLinesResponse.
|
64
|
+
:rtype: :class:`huaweicloudsdkdns.v2.PageLink`
|
65
|
+
"""
|
66
|
+
return self._links
|
67
|
+
|
68
|
+
@links.setter
|
69
|
+
def links(self, links):
|
70
|
+
r"""Sets the links of this ListPublicZoneLinesResponse.
|
71
|
+
|
72
|
+
:param links: The links of this ListPublicZoneLinesResponse.
|
73
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
74
|
+
"""
|
75
|
+
self._links = links
|
76
|
+
|
77
|
+
@property
|
78
|
+
def lines(self):
|
79
|
+
r"""Gets the lines of this ListPublicZoneLinesResponse.
|
80
|
+
|
81
|
+
查询公网域名的线路列表响应。
|
82
|
+
|
83
|
+
:return: The lines of this ListPublicZoneLinesResponse.
|
84
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.PublicZoneLines`]
|
85
|
+
"""
|
86
|
+
return self._lines
|
87
|
+
|
88
|
+
@lines.setter
|
89
|
+
def lines(self, lines):
|
90
|
+
r"""Sets the lines of this ListPublicZoneLinesResponse.
|
91
|
+
|
92
|
+
查询公网域名的线路列表响应。
|
93
|
+
|
94
|
+
:param lines: The lines of this ListPublicZoneLinesResponse.
|
95
|
+
:type lines: list[:class:`huaweicloudsdkdns.v2.PublicZoneLines`]
|
96
|
+
"""
|
97
|
+
self._lines = lines
|
98
|
+
|
99
|
+
@property
|
100
|
+
def metadata(self):
|
101
|
+
r"""Gets the metadata of this ListPublicZoneLinesResponse.
|
102
|
+
|
103
|
+
:return: The metadata of this ListPublicZoneLinesResponse.
|
104
|
+
:rtype: :class:`huaweicloudsdkdns.v2.Metadata`
|
105
|
+
"""
|
106
|
+
return self._metadata
|
107
|
+
|
108
|
+
@metadata.setter
|
109
|
+
def metadata(self, metadata):
|
110
|
+
r"""Sets the metadata of this ListPublicZoneLinesResponse.
|
111
|
+
|
112
|
+
:param metadata: The metadata of this ListPublicZoneLinesResponse.
|
113
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
114
|
+
"""
|
115
|
+
self._metadata = metadata
|
116
|
+
|
117
|
+
def to_dict(self):
|
118
|
+
"""Returns the model properties as a dict"""
|
119
|
+
result = {}
|
120
|
+
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
122
|
+
value = getattr(self, attr)
|
123
|
+
if isinstance(value, list):
|
124
|
+
result[attr] = list(map(
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
126
|
+
value
|
127
|
+
))
|
128
|
+
elif hasattr(value, "to_dict"):
|
129
|
+
result[attr] = value.to_dict()
|
130
|
+
elif isinstance(value, dict):
|
131
|
+
result[attr] = dict(map(
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
134
|
+
value.items()
|
135
|
+
))
|
136
|
+
else:
|
137
|
+
if attr in self.sensitive_list:
|
138
|
+
result[attr] = "****"
|
139
|
+
else:
|
140
|
+
result[attr] = value
|
141
|
+
|
142
|
+
return result
|
143
|
+
|
144
|
+
def to_str(self):
|
145
|
+
"""Returns the string representation of the model"""
|
146
|
+
import simplejson as json
|
147
|
+
if six.PY2:
|
148
|
+
import sys
|
149
|
+
reload(sys)
|
150
|
+
sys.setdefaultencoding("utf-8")
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
152
|
+
|
153
|
+
def __repr__(self):
|
154
|
+
"""For `print`"""
|
155
|
+
return self.to_str()
|
156
|
+
|
157
|
+
def __eq__(self, other):
|
158
|
+
"""Returns true if both objects are equal"""
|
159
|
+
if not isinstance(other, ListPublicZoneLinesResponse):
|
160
|
+
return False
|
161
|
+
|
162
|
+
return self.__dict__ == other.__dict__
|
163
|
+
|
164
|
+
def __ne__(self, other):
|
165
|
+
"""Returns true if both objects are not equal"""
|
166
|
+
return not self == other
|
@@ -51,7 +51,7 @@ class ListPublicZonesRequest:
|
|
51
51
|
|
52
52
|
The model defined in huaweicloud sdk
|
53
53
|
|
54
|
-
:param type:
|
54
|
+
:param type: 待查询的域名的类型。 取值范围:public 默认值为空。
|
55
55
|
:type type: str
|
56
56
|
:param limit: 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
|
57
57
|
:type limit: int
|
@@ -59,19 +59,19 @@ class ListPublicZonesRequest:
|
|
59
59
|
:type marker: str
|
60
60
|
:param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
|
61
61
|
:type offset: int
|
62
|
-
:param tags: 资源标签。 取值格式:key1,value1|key2,value2
|
62
|
+
:param tags: 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。 多个标签之间为“与”的关系。 关于资源标签,请参见添加资源标签。 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 默认值为空。
|
63
63
|
:type tags: str
|
64
|
-
:param name:
|
64
|
+
:param name: 域名。 搜索模式默认为模糊搜索。
|
65
65
|
:type name: str
|
66
|
-
:param id:
|
66
|
+
:param id: 域名ID。
|
67
67
|
:type id: str
|
68
68
|
:param status: 资源状态。
|
69
69
|
:type status: str
|
70
70
|
:param search_mode: 查询条件搜索模式。 取值范围: like:模糊搜索 equal:精确搜索
|
71
71
|
:type search_mode: str
|
72
|
-
:param sort_key:
|
72
|
+
:param sort_key: 查询结果中域名列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
|
73
73
|
:type sort_key: str
|
74
|
-
:param sort_dir:
|
74
|
+
:param sort_dir: 查询结果中域名列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
|
75
75
|
:type sort_dir: str
|
76
76
|
:param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。
|
77
77
|
:type enterprise_project_id: str
|
@@ -122,7 +122,7 @@ class ListPublicZonesRequest:
|
|
122
122
|
def type(self):
|
123
123
|
r"""Gets the type of this ListPublicZonesRequest.
|
124
124
|
|
125
|
-
|
125
|
+
待查询的域名的类型。 取值范围:public 默认值为空。
|
126
126
|
|
127
127
|
:return: The type of this ListPublicZonesRequest.
|
128
128
|
:rtype: str
|
@@ -133,7 +133,7 @@ class ListPublicZonesRequest:
|
|
133
133
|
def type(self, type):
|
134
134
|
r"""Sets the type of this ListPublicZonesRequest.
|
135
135
|
|
136
|
-
|
136
|
+
待查询的域名的类型。 取值范围:public 默认值为空。
|
137
137
|
|
138
138
|
:param type: The type of this ListPublicZonesRequest.
|
139
139
|
:type type: str
|
@@ -210,7 +210,7 @@ class ListPublicZonesRequest:
|
|
210
210
|
def tags(self):
|
211
211
|
r"""Gets the tags of this ListPublicZonesRequest.
|
212
212
|
|
213
|
-
资源标签。 取值格式:key1,value1|key2,value2
|
213
|
+
资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。 多个标签之间为“与”的关系。 关于资源标签,请参见添加资源标签。 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 默认值为空。
|
214
214
|
|
215
215
|
:return: The tags of this ListPublicZonesRequest.
|
216
216
|
:rtype: str
|
@@ -221,7 +221,7 @@ class ListPublicZonesRequest:
|
|
221
221
|
def tags(self, tags):
|
222
222
|
r"""Sets the tags of this ListPublicZonesRequest.
|
223
223
|
|
224
|
-
资源标签。 取值格式:key1,value1|key2,value2
|
224
|
+
资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。 多个标签之间为“与”的关系。 关于资源标签,请参见添加资源标签。 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 默认值为空。
|
225
225
|
|
226
226
|
:param tags: The tags of this ListPublicZonesRequest.
|
227
227
|
:type tags: str
|
@@ -232,7 +232,7 @@ class ListPublicZonesRequest:
|
|
232
232
|
def name(self):
|
233
233
|
r"""Gets the name of this ListPublicZonesRequest.
|
234
234
|
|
235
|
-
|
235
|
+
域名。 搜索模式默认为模糊搜索。
|
236
236
|
|
237
237
|
:return: The name of this ListPublicZonesRequest.
|
238
238
|
:rtype: str
|
@@ -243,7 +243,7 @@ class ListPublicZonesRequest:
|
|
243
243
|
def name(self, name):
|
244
244
|
r"""Sets the name of this ListPublicZonesRequest.
|
245
245
|
|
246
|
-
|
246
|
+
域名。 搜索模式默认为模糊搜索。
|
247
247
|
|
248
248
|
:param name: The name of this ListPublicZonesRequest.
|
249
249
|
:type name: str
|
@@ -254,7 +254,7 @@ class ListPublicZonesRequest:
|
|
254
254
|
def id(self):
|
255
255
|
r"""Gets the id of this ListPublicZonesRequest.
|
256
256
|
|
257
|
-
|
257
|
+
域名ID。
|
258
258
|
|
259
259
|
:return: The id of this ListPublicZonesRequest.
|
260
260
|
:rtype: str
|
@@ -265,7 +265,7 @@ class ListPublicZonesRequest:
|
|
265
265
|
def id(self, id):
|
266
266
|
r"""Sets the id of this ListPublicZonesRequest.
|
267
267
|
|
268
|
-
|
268
|
+
域名ID。
|
269
269
|
|
270
270
|
:param id: The id of this ListPublicZonesRequest.
|
271
271
|
:type id: str
|
@@ -320,7 +320,7 @@ class ListPublicZonesRequest:
|
|
320
320
|
def sort_key(self):
|
321
321
|
r"""Gets the sort_key of this ListPublicZonesRequest.
|
322
322
|
|
323
|
-
|
323
|
+
查询结果中域名列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
|
324
324
|
|
325
325
|
:return: The sort_key of this ListPublicZonesRequest.
|
326
326
|
:rtype: str
|
@@ -331,7 +331,7 @@ class ListPublicZonesRequest:
|
|
331
331
|
def sort_key(self, sort_key):
|
332
332
|
r"""Sets the sort_key of this ListPublicZonesRequest.
|
333
333
|
|
334
|
-
|
334
|
+
查询结果中域名列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
|
335
335
|
|
336
336
|
:param sort_key: The sort_key of this ListPublicZonesRequest.
|
337
337
|
:type sort_key: str
|
@@ -342,7 +342,7 @@ class ListPublicZonesRequest:
|
|
342
342
|
def sort_dir(self):
|
343
343
|
r"""Gets the sort_dir of this ListPublicZonesRequest.
|
344
344
|
|
345
|
-
|
345
|
+
查询结果中域名列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
|
346
346
|
|
347
347
|
:return: The sort_dir of this ListPublicZonesRequest.
|
348
348
|
:rtype: str
|
@@ -353,7 +353,7 @@ class ListPublicZonesRequest:
|
|
353
353
|
def sort_dir(self, sort_dir):
|
354
354
|
r"""Sets the sort_dir of this ListPublicZonesRequest.
|
355
355
|
|
356
|
-
|
356
|
+
查询结果中域名列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
|
357
357
|
|
358
358
|
:param sort_dir: The sort_dir of this ListPublicZonesRequest.
|
359
359
|
:type sort_dir: str
|
@@ -36,7 +36,7 @@ class ListPublicZonesResponse(SdkResponse):
|
|
36
36
|
|
37
37
|
:param links:
|
38
38
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
39
|
-
:param zones:
|
39
|
+
:param zones: 查询公网域名的列表响应。
|
40
40
|
:type zones: list[:class:`huaweicloudsdkdns.v2.PublicZoneResp`]
|
41
41
|
:param metadata:
|
42
42
|
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
@@ -78,7 +78,7 @@ class ListPublicZonesResponse(SdkResponse):
|
|
78
78
|
def zones(self):
|
79
79
|
r"""Gets the zones of this ListPublicZonesResponse.
|
80
80
|
|
81
|
-
|
81
|
+
查询公网域名的列表响应。
|
82
82
|
|
83
83
|
:return: The zones of this ListPublicZonesResponse.
|
84
84
|
:rtype: list[:class:`huaweicloudsdkdns.v2.PublicZoneResp`]
|
@@ -89,7 +89,7 @@ class ListPublicZonesResponse(SdkResponse):
|
|
89
89
|
def zones(self, zones):
|
90
90
|
r"""Sets the zones of this ListPublicZonesResponse.
|
91
91
|
|
92
|
-
|
92
|
+
查询公网域名的列表响应。
|
93
93
|
|
94
94
|
:param zones: The zones of this ListPublicZonesResponse.
|
95
95
|
:type zones: list[:class:`huaweicloudsdkdns.v2.PublicZoneResp`]
|