huaweicloudsdkdns 3.1.144__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.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/METADATA +2 -2
- huaweicloudsdkdns-3.1.146.dist-info/RECORD +273 -0
- huaweicloudsdkdns-3.1.144.dist-info/RECORD +0 -192
- {huaweicloudsdkdns-3.1.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdns-3.1.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/top_level.txt +0 -0
@@ -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 SetPrivateZoneProxyPatternRequestBody:
|
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
|
+
'proxy_pattern': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'proxy_pattern': 'proxy_pattern'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, proxy_pattern=None):
|
28
|
+
r"""SetPrivateZoneProxyPatternRequestBody
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param proxy_pattern: 内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
|
33
|
+
:type proxy_pattern: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._proxy_pattern = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.proxy_pattern = proxy_pattern
|
42
|
+
|
43
|
+
@property
|
44
|
+
def proxy_pattern(self):
|
45
|
+
r"""Gets the proxy_pattern of this SetPrivateZoneProxyPatternRequestBody.
|
46
|
+
|
47
|
+
内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
|
48
|
+
|
49
|
+
:return: The proxy_pattern of this SetPrivateZoneProxyPatternRequestBody.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._proxy_pattern
|
53
|
+
|
54
|
+
@proxy_pattern.setter
|
55
|
+
def proxy_pattern(self, proxy_pattern):
|
56
|
+
r"""Sets the proxy_pattern of this SetPrivateZoneProxyPatternRequestBody.
|
57
|
+
|
58
|
+
内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
|
59
|
+
|
60
|
+
:param proxy_pattern: The proxy_pattern of this SetPrivateZoneProxyPatternRequestBody.
|
61
|
+
:type proxy_pattern: str
|
62
|
+
"""
|
63
|
+
self._proxy_pattern = proxy_pattern
|
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, SetPrivateZoneProxyPatternRequestBody):
|
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,85 @@
|
|
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 SetPrivateZoneProxyPatternResponse(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
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
}
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""SetPrivateZoneProxyPatternResponse
|
28
|
+
|
29
|
+
The model defined in huaweicloud sdk
|
30
|
+
|
31
|
+
"""
|
32
|
+
|
33
|
+
super(SetPrivateZoneProxyPatternResponse, self).__init__()
|
34
|
+
self.discriminator = None
|
35
|
+
|
36
|
+
def to_dict(self):
|
37
|
+
"""Returns the model properties as a dict"""
|
38
|
+
result = {}
|
39
|
+
|
40
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
41
|
+
value = getattr(self, attr)
|
42
|
+
if isinstance(value, list):
|
43
|
+
result[attr] = list(map(
|
44
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
45
|
+
value
|
46
|
+
))
|
47
|
+
elif hasattr(value, "to_dict"):
|
48
|
+
result[attr] = value.to_dict()
|
49
|
+
elif isinstance(value, dict):
|
50
|
+
result[attr] = dict(map(
|
51
|
+
lambda item: (item[0], item[1].to_dict())
|
52
|
+
if hasattr(item[1], "to_dict") else item,
|
53
|
+
value.items()
|
54
|
+
))
|
55
|
+
else:
|
56
|
+
if attr in self.sensitive_list:
|
57
|
+
result[attr] = "****"
|
58
|
+
else:
|
59
|
+
result[attr] = value
|
60
|
+
|
61
|
+
return result
|
62
|
+
|
63
|
+
def to_str(self):
|
64
|
+
"""Returns the string representation of the model"""
|
65
|
+
import simplejson as json
|
66
|
+
if six.PY2:
|
67
|
+
import sys
|
68
|
+
reload(sys)
|
69
|
+
sys.setdefaultencoding("utf-8")
|
70
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
71
|
+
|
72
|
+
def __repr__(self):
|
73
|
+
"""For `print`"""
|
74
|
+
return self.to_str()
|
75
|
+
|
76
|
+
def __eq__(self, other):
|
77
|
+
"""Returns true if both objects are equal"""
|
78
|
+
if not isinstance(other, SetPrivateZoneProxyPatternResponse):
|
79
|
+
return False
|
80
|
+
|
81
|
+
return self.__dict__ == other.__dict__
|
82
|
+
|
83
|
+
def __ne__(self, other):
|
84
|
+
"""Returns true if both objects are not equal"""
|
85
|
+
return not self == other
|
@@ -31,7 +31,7 @@ class SetRecordSetsStatusRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param recordset_id:
|
34
|
+
:param recordset_id: 记录集ID。
|
35
35
|
:type recordset_id: str
|
36
36
|
:param body: Body of the SetRecordSetsStatusRequest
|
37
37
|
:type body: :class:`huaweicloudsdkdns.v2.SetRecordSetsStatusRequestBody`
|
@@ -51,7 +51,7 @@ class SetRecordSetsStatusRequest:
|
|
51
51
|
def recordset_id(self):
|
52
52
|
r"""Gets the recordset_id of this SetRecordSetsStatusRequest.
|
53
53
|
|
54
|
-
|
54
|
+
记录集ID。
|
55
55
|
|
56
56
|
:return: The recordset_id of this SetRecordSetsStatusRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class SetRecordSetsStatusRequest:
|
|
62
62
|
def recordset_id(self, recordset_id):
|
63
63
|
r"""Sets the recordset_id of this SetRecordSetsStatusRequest.
|
64
64
|
|
65
|
-
|
65
|
+
记录集ID。
|
66
66
|
|
67
67
|
:param recordset_id: The recordset_id of this SetRecordSetsStatusRequest.
|
68
68
|
:type recordset_id: str
|
@@ -66,15 +66,15 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
66
66
|
|
67
67
|
The model defined in huaweicloud sdk
|
68
68
|
|
69
|
-
:param id:
|
69
|
+
:param id: 记录集的ID。
|
70
70
|
:type id: str
|
71
|
-
:param name:
|
71
|
+
:param name: 记录集的名称。
|
72
72
|
:type name: str
|
73
|
-
:param description:
|
73
|
+
:param description: 记录集的描述信息。
|
74
74
|
:type description: str
|
75
|
-
:param zone_id:
|
75
|
+
:param zone_id: 托管该记录的域名ID。
|
76
76
|
:type zone_id: str
|
77
|
-
:param zone_name:
|
77
|
+
:param zone_name: 托管该记录的域名。
|
78
78
|
:type zone_name: str
|
79
79
|
:param type: 记录类型。
|
80
80
|
:type type: str
|
@@ -82,15 +82,15 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
82
82
|
:type ttl: int
|
83
83
|
:param records: 域名解析后的值。
|
84
84
|
:type records: list[str]
|
85
|
-
:param created_at: 创建时间。
|
85
|
+
:param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
86
86
|
:type created_at: str
|
87
|
-
:param updated_at: 更新时间。
|
87
|
+
:param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
88
88
|
:type updated_at: str
|
89
89
|
:param status: 资源状态。
|
90
90
|
:type status: str
|
91
|
-
:param default:
|
91
|
+
:param default: 标识是否由系统默认生成,系统默认生成的记录集不能删除。
|
92
92
|
:type default: bool
|
93
|
-
:param project_id:
|
93
|
+
:param project_id: 该记录集所属的项目ID。
|
94
94
|
:type project_id: str
|
95
95
|
:param links:
|
96
96
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
@@ -172,7 +172,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
172
172
|
def id(self):
|
173
173
|
r"""Gets the id of this SetRecordSetsStatusResponse.
|
174
174
|
|
175
|
-
|
175
|
+
记录集的ID。
|
176
176
|
|
177
177
|
:return: The id of this SetRecordSetsStatusResponse.
|
178
178
|
:rtype: str
|
@@ -183,7 +183,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
183
183
|
def id(self, id):
|
184
184
|
r"""Sets the id of this SetRecordSetsStatusResponse.
|
185
185
|
|
186
|
-
|
186
|
+
记录集的ID。
|
187
187
|
|
188
188
|
:param id: The id of this SetRecordSetsStatusResponse.
|
189
189
|
:type id: str
|
@@ -194,7 +194,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
194
194
|
def name(self):
|
195
195
|
r"""Gets the name of this SetRecordSetsStatusResponse.
|
196
196
|
|
197
|
-
|
197
|
+
记录集的名称。
|
198
198
|
|
199
199
|
:return: The name of this SetRecordSetsStatusResponse.
|
200
200
|
:rtype: str
|
@@ -205,7 +205,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
205
205
|
def name(self, name):
|
206
206
|
r"""Sets the name of this SetRecordSetsStatusResponse.
|
207
207
|
|
208
|
-
|
208
|
+
记录集的名称。
|
209
209
|
|
210
210
|
:param name: The name of this SetRecordSetsStatusResponse.
|
211
211
|
:type name: str
|
@@ -216,7 +216,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
216
216
|
def description(self):
|
217
217
|
r"""Gets the description of this SetRecordSetsStatusResponse.
|
218
218
|
|
219
|
-
|
219
|
+
记录集的描述信息。
|
220
220
|
|
221
221
|
:return: The description of this SetRecordSetsStatusResponse.
|
222
222
|
:rtype: str
|
@@ -227,7 +227,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
227
227
|
def description(self, description):
|
228
228
|
r"""Sets the description of this SetRecordSetsStatusResponse.
|
229
229
|
|
230
|
-
|
230
|
+
记录集的描述信息。
|
231
231
|
|
232
232
|
:param description: The description of this SetRecordSetsStatusResponse.
|
233
233
|
:type description: str
|
@@ -238,7 +238,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
238
238
|
def zone_id(self):
|
239
239
|
r"""Gets the zone_id of this SetRecordSetsStatusResponse.
|
240
240
|
|
241
|
-
|
241
|
+
托管该记录的域名ID。
|
242
242
|
|
243
243
|
:return: The zone_id of this SetRecordSetsStatusResponse.
|
244
244
|
:rtype: str
|
@@ -249,7 +249,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
249
249
|
def zone_id(self, zone_id):
|
250
250
|
r"""Sets the zone_id of this SetRecordSetsStatusResponse.
|
251
251
|
|
252
|
-
|
252
|
+
托管该记录的域名ID。
|
253
253
|
|
254
254
|
:param zone_id: The zone_id of this SetRecordSetsStatusResponse.
|
255
255
|
:type zone_id: str
|
@@ -260,7 +260,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
260
260
|
def zone_name(self):
|
261
261
|
r"""Gets the zone_name of this SetRecordSetsStatusResponse.
|
262
262
|
|
263
|
-
|
263
|
+
托管该记录的域名。
|
264
264
|
|
265
265
|
:return: The zone_name of this SetRecordSetsStatusResponse.
|
266
266
|
:rtype: str
|
@@ -271,7 +271,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
271
271
|
def zone_name(self, zone_name):
|
272
272
|
r"""Sets the zone_name of this SetRecordSetsStatusResponse.
|
273
273
|
|
274
|
-
|
274
|
+
托管该记录的域名。
|
275
275
|
|
276
276
|
:param zone_name: The zone_name of this SetRecordSetsStatusResponse.
|
277
277
|
:type zone_name: str
|
@@ -348,7 +348,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
348
348
|
def created_at(self):
|
349
349
|
r"""Gets the created_at of this SetRecordSetsStatusResponse.
|
350
350
|
|
351
|
-
创建时间。
|
351
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
352
352
|
|
353
353
|
:return: The created_at of this SetRecordSetsStatusResponse.
|
354
354
|
:rtype: str
|
@@ -359,7 +359,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
359
359
|
def created_at(self, created_at):
|
360
360
|
r"""Sets the created_at of this SetRecordSetsStatusResponse.
|
361
361
|
|
362
|
-
创建时间。
|
362
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
363
363
|
|
364
364
|
:param created_at: The created_at of this SetRecordSetsStatusResponse.
|
365
365
|
:type created_at: str
|
@@ -370,7 +370,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
370
370
|
def updated_at(self):
|
371
371
|
r"""Gets the updated_at of this SetRecordSetsStatusResponse.
|
372
372
|
|
373
|
-
更新时间。
|
373
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
374
374
|
|
375
375
|
:return: The updated_at of this SetRecordSetsStatusResponse.
|
376
376
|
:rtype: str
|
@@ -381,7 +381,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
381
381
|
def updated_at(self, updated_at):
|
382
382
|
r"""Sets the updated_at of this SetRecordSetsStatusResponse.
|
383
383
|
|
384
|
-
更新时间。
|
384
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
385
385
|
|
386
386
|
:param updated_at: The updated_at of this SetRecordSetsStatusResponse.
|
387
387
|
:type updated_at: str
|
@@ -414,7 +414,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
414
414
|
def default(self):
|
415
415
|
r"""Gets the default of this SetRecordSetsStatusResponse.
|
416
416
|
|
417
|
-
|
417
|
+
标识是否由系统默认生成,系统默认生成的记录集不能删除。
|
418
418
|
|
419
419
|
:return: The default of this SetRecordSetsStatusResponse.
|
420
420
|
:rtype: bool
|
@@ -425,7 +425,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
425
425
|
def default(self, default):
|
426
426
|
r"""Sets the default of this SetRecordSetsStatusResponse.
|
427
427
|
|
428
|
-
|
428
|
+
标识是否由系统默认生成,系统默认生成的记录集不能删除。
|
429
429
|
|
430
430
|
:param default: The default of this SetRecordSetsStatusResponse.
|
431
431
|
:type default: bool
|
@@ -436,7 +436,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
436
436
|
def project_id(self):
|
437
437
|
r"""Gets the project_id of this SetRecordSetsStatusResponse.
|
438
438
|
|
439
|
-
|
439
|
+
该记录集所属的项目ID。
|
440
440
|
|
441
441
|
:return: The project_id of this SetRecordSetsStatusResponse.
|
442
442
|
:rtype: str
|
@@ -447,7 +447,7 @@ class SetRecordSetsStatusResponse(SdkResponse):
|
|
447
447
|
def project_id(self, project_id):
|
448
448
|
r"""Sets the project_id of this SetRecordSetsStatusResponse.
|
449
449
|
|
450
|
-
|
450
|
+
该记录集所属的项目ID。
|
451
451
|
|
452
452
|
:param project_id: The project_id of this SetRecordSetsStatusResponse.
|
453
453
|
:type project_id: 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 ShowDnssecConfigRequest:
|
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
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'zone_id': 'zone_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, zone_id=None):
|
28
|
+
r"""ShowDnssecConfigRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param zone_id: 公网域名的ID。
|
33
|
+
:type zone_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._zone_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.zone_id = zone_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def zone_id(self):
|
45
|
+
r"""Gets the zone_id of this ShowDnssecConfigRequest.
|
46
|
+
|
47
|
+
公网域名的ID。
|
48
|
+
|
49
|
+
:return: The zone_id of this ShowDnssecConfigRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._zone_id
|
53
|
+
|
54
|
+
@zone_id.setter
|
55
|
+
def zone_id(self, zone_id):
|
56
|
+
r"""Sets the zone_id of this ShowDnssecConfigRequest.
|
57
|
+
|
58
|
+
公网域名的ID。
|
59
|
+
|
60
|
+
:param zone_id: The zone_id of this ShowDnssecConfigRequest.
|
61
|
+
:type zone_id: str
|
62
|
+
"""
|
63
|
+
self._zone_id = zone_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, ShowDnssecConfigRequest):
|
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
|