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