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,464 @@
|
|
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 ShowDnssecConfigResponse(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
|
+
'zone_name': 'str',
|
22
|
+
'key_tag': 'int',
|
23
|
+
'flag': 'int',
|
24
|
+
'digest_algorithm': 'str',
|
25
|
+
'digest_type': 'int',
|
26
|
+
'digest': 'str',
|
27
|
+
'signature': 'str',
|
28
|
+
'signature_type': 'int',
|
29
|
+
'ksk_public_key': 'str',
|
30
|
+
'ds_record': 'str',
|
31
|
+
'created_at': 'str',
|
32
|
+
'updated_at': 'str',
|
33
|
+
'status': 'str'
|
34
|
+
}
|
35
|
+
|
36
|
+
attribute_map = {
|
37
|
+
'zone_name': 'zone_name',
|
38
|
+
'key_tag': 'key_tag',
|
39
|
+
'flag': 'flag',
|
40
|
+
'digest_algorithm': 'digest_algorithm',
|
41
|
+
'digest_type': 'digest_type',
|
42
|
+
'digest': 'digest',
|
43
|
+
'signature': 'signature',
|
44
|
+
'signature_type': 'signature_type',
|
45
|
+
'ksk_public_key': 'ksk_public_key',
|
46
|
+
'ds_record': 'ds_record',
|
47
|
+
'created_at': 'created_at',
|
48
|
+
'updated_at': 'updated_at',
|
49
|
+
'status': 'status'
|
50
|
+
}
|
51
|
+
|
52
|
+
def __init__(self, zone_name=None, key_tag=None, flag=None, digest_algorithm=None, digest_type=None, digest=None, signature=None, signature_type=None, ksk_public_key=None, ds_record=None, created_at=None, updated_at=None, status=None):
|
53
|
+
r"""ShowDnssecConfigResponse
|
54
|
+
|
55
|
+
The model defined in huaweicloud sdk
|
56
|
+
|
57
|
+
:param zone_name: 域名。
|
58
|
+
:type zone_name: str
|
59
|
+
:param key_tag: 密钥标签。
|
60
|
+
:type key_tag: int
|
61
|
+
:param flag: 旗标。
|
62
|
+
:type flag: int
|
63
|
+
:param digest_algorithm: 摘要算法。
|
64
|
+
:type digest_algorithm: str
|
65
|
+
:param digest_type: 摘要算法类型。
|
66
|
+
:type digest_type: int
|
67
|
+
:param digest: 摘要。
|
68
|
+
:type digest: str
|
69
|
+
:param signature: 签名算法。
|
70
|
+
:type signature: str
|
71
|
+
:param signature_type: 签名算法类型。
|
72
|
+
:type signature_type: int
|
73
|
+
:param ksk_public_key: 公有密钥。
|
74
|
+
:type ksk_public_key: str
|
75
|
+
:param ds_record: DS记录。
|
76
|
+
:type ds_record: str
|
77
|
+
:param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
78
|
+
:type created_at: str
|
79
|
+
:param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
80
|
+
:type updated_at: str
|
81
|
+
:param status: 状态。 取值范围: ENABLE:启用 DISABLE:关闭
|
82
|
+
:type status: str
|
83
|
+
"""
|
84
|
+
|
85
|
+
super(ShowDnssecConfigResponse, self).__init__()
|
86
|
+
|
87
|
+
self._zone_name = None
|
88
|
+
self._key_tag = None
|
89
|
+
self._flag = None
|
90
|
+
self._digest_algorithm = None
|
91
|
+
self._digest_type = None
|
92
|
+
self._digest = None
|
93
|
+
self._signature = None
|
94
|
+
self._signature_type = None
|
95
|
+
self._ksk_public_key = None
|
96
|
+
self._ds_record = None
|
97
|
+
self._created_at = None
|
98
|
+
self._updated_at = None
|
99
|
+
self._status = None
|
100
|
+
self.discriminator = None
|
101
|
+
|
102
|
+
if zone_name is not None:
|
103
|
+
self.zone_name = zone_name
|
104
|
+
if key_tag is not None:
|
105
|
+
self.key_tag = key_tag
|
106
|
+
if flag is not None:
|
107
|
+
self.flag = flag
|
108
|
+
if digest_algorithm is not None:
|
109
|
+
self.digest_algorithm = digest_algorithm
|
110
|
+
if digest_type is not None:
|
111
|
+
self.digest_type = digest_type
|
112
|
+
if digest is not None:
|
113
|
+
self.digest = digest
|
114
|
+
if signature is not None:
|
115
|
+
self.signature = signature
|
116
|
+
if signature_type is not None:
|
117
|
+
self.signature_type = signature_type
|
118
|
+
if ksk_public_key is not None:
|
119
|
+
self.ksk_public_key = ksk_public_key
|
120
|
+
if ds_record is not None:
|
121
|
+
self.ds_record = ds_record
|
122
|
+
if created_at is not None:
|
123
|
+
self.created_at = created_at
|
124
|
+
if updated_at is not None:
|
125
|
+
self.updated_at = updated_at
|
126
|
+
if status is not None:
|
127
|
+
self.status = status
|
128
|
+
|
129
|
+
@property
|
130
|
+
def zone_name(self):
|
131
|
+
r"""Gets the zone_name of this ShowDnssecConfigResponse.
|
132
|
+
|
133
|
+
域名。
|
134
|
+
|
135
|
+
:return: The zone_name of this ShowDnssecConfigResponse.
|
136
|
+
:rtype: str
|
137
|
+
"""
|
138
|
+
return self._zone_name
|
139
|
+
|
140
|
+
@zone_name.setter
|
141
|
+
def zone_name(self, zone_name):
|
142
|
+
r"""Sets the zone_name of this ShowDnssecConfigResponse.
|
143
|
+
|
144
|
+
域名。
|
145
|
+
|
146
|
+
:param zone_name: The zone_name of this ShowDnssecConfigResponse.
|
147
|
+
:type zone_name: str
|
148
|
+
"""
|
149
|
+
self._zone_name = zone_name
|
150
|
+
|
151
|
+
@property
|
152
|
+
def key_tag(self):
|
153
|
+
r"""Gets the key_tag of this ShowDnssecConfigResponse.
|
154
|
+
|
155
|
+
密钥标签。
|
156
|
+
|
157
|
+
:return: The key_tag of this ShowDnssecConfigResponse.
|
158
|
+
:rtype: int
|
159
|
+
"""
|
160
|
+
return self._key_tag
|
161
|
+
|
162
|
+
@key_tag.setter
|
163
|
+
def key_tag(self, key_tag):
|
164
|
+
r"""Sets the key_tag of this ShowDnssecConfigResponse.
|
165
|
+
|
166
|
+
密钥标签。
|
167
|
+
|
168
|
+
:param key_tag: The key_tag of this ShowDnssecConfigResponse.
|
169
|
+
:type key_tag: int
|
170
|
+
"""
|
171
|
+
self._key_tag = key_tag
|
172
|
+
|
173
|
+
@property
|
174
|
+
def flag(self):
|
175
|
+
r"""Gets the flag of this ShowDnssecConfigResponse.
|
176
|
+
|
177
|
+
旗标。
|
178
|
+
|
179
|
+
:return: The flag of this ShowDnssecConfigResponse.
|
180
|
+
:rtype: int
|
181
|
+
"""
|
182
|
+
return self._flag
|
183
|
+
|
184
|
+
@flag.setter
|
185
|
+
def flag(self, flag):
|
186
|
+
r"""Sets the flag of this ShowDnssecConfigResponse.
|
187
|
+
|
188
|
+
旗标。
|
189
|
+
|
190
|
+
:param flag: The flag of this ShowDnssecConfigResponse.
|
191
|
+
:type flag: int
|
192
|
+
"""
|
193
|
+
self._flag = flag
|
194
|
+
|
195
|
+
@property
|
196
|
+
def digest_algorithm(self):
|
197
|
+
r"""Gets the digest_algorithm of this ShowDnssecConfigResponse.
|
198
|
+
|
199
|
+
摘要算法。
|
200
|
+
|
201
|
+
:return: The digest_algorithm of this ShowDnssecConfigResponse.
|
202
|
+
:rtype: str
|
203
|
+
"""
|
204
|
+
return self._digest_algorithm
|
205
|
+
|
206
|
+
@digest_algorithm.setter
|
207
|
+
def digest_algorithm(self, digest_algorithm):
|
208
|
+
r"""Sets the digest_algorithm of this ShowDnssecConfigResponse.
|
209
|
+
|
210
|
+
摘要算法。
|
211
|
+
|
212
|
+
:param digest_algorithm: The digest_algorithm of this ShowDnssecConfigResponse.
|
213
|
+
:type digest_algorithm: str
|
214
|
+
"""
|
215
|
+
self._digest_algorithm = digest_algorithm
|
216
|
+
|
217
|
+
@property
|
218
|
+
def digest_type(self):
|
219
|
+
r"""Gets the digest_type of this ShowDnssecConfigResponse.
|
220
|
+
|
221
|
+
摘要算法类型。
|
222
|
+
|
223
|
+
:return: The digest_type of this ShowDnssecConfigResponse.
|
224
|
+
:rtype: int
|
225
|
+
"""
|
226
|
+
return self._digest_type
|
227
|
+
|
228
|
+
@digest_type.setter
|
229
|
+
def digest_type(self, digest_type):
|
230
|
+
r"""Sets the digest_type of this ShowDnssecConfigResponse.
|
231
|
+
|
232
|
+
摘要算法类型。
|
233
|
+
|
234
|
+
:param digest_type: The digest_type of this ShowDnssecConfigResponse.
|
235
|
+
:type digest_type: int
|
236
|
+
"""
|
237
|
+
self._digest_type = digest_type
|
238
|
+
|
239
|
+
@property
|
240
|
+
def digest(self):
|
241
|
+
r"""Gets the digest of this ShowDnssecConfigResponse.
|
242
|
+
|
243
|
+
摘要。
|
244
|
+
|
245
|
+
:return: The digest of this ShowDnssecConfigResponse.
|
246
|
+
:rtype: str
|
247
|
+
"""
|
248
|
+
return self._digest
|
249
|
+
|
250
|
+
@digest.setter
|
251
|
+
def digest(self, digest):
|
252
|
+
r"""Sets the digest of this ShowDnssecConfigResponse.
|
253
|
+
|
254
|
+
摘要。
|
255
|
+
|
256
|
+
:param digest: The digest of this ShowDnssecConfigResponse.
|
257
|
+
:type digest: str
|
258
|
+
"""
|
259
|
+
self._digest = digest
|
260
|
+
|
261
|
+
@property
|
262
|
+
def signature(self):
|
263
|
+
r"""Gets the signature of this ShowDnssecConfigResponse.
|
264
|
+
|
265
|
+
签名算法。
|
266
|
+
|
267
|
+
:return: The signature of this ShowDnssecConfigResponse.
|
268
|
+
:rtype: str
|
269
|
+
"""
|
270
|
+
return self._signature
|
271
|
+
|
272
|
+
@signature.setter
|
273
|
+
def signature(self, signature):
|
274
|
+
r"""Sets the signature of this ShowDnssecConfigResponse.
|
275
|
+
|
276
|
+
签名算法。
|
277
|
+
|
278
|
+
:param signature: The signature of this ShowDnssecConfigResponse.
|
279
|
+
:type signature: str
|
280
|
+
"""
|
281
|
+
self._signature = signature
|
282
|
+
|
283
|
+
@property
|
284
|
+
def signature_type(self):
|
285
|
+
r"""Gets the signature_type of this ShowDnssecConfigResponse.
|
286
|
+
|
287
|
+
签名算法类型。
|
288
|
+
|
289
|
+
:return: The signature_type of this ShowDnssecConfigResponse.
|
290
|
+
:rtype: int
|
291
|
+
"""
|
292
|
+
return self._signature_type
|
293
|
+
|
294
|
+
@signature_type.setter
|
295
|
+
def signature_type(self, signature_type):
|
296
|
+
r"""Sets the signature_type of this ShowDnssecConfigResponse.
|
297
|
+
|
298
|
+
签名算法类型。
|
299
|
+
|
300
|
+
:param signature_type: The signature_type of this ShowDnssecConfigResponse.
|
301
|
+
:type signature_type: int
|
302
|
+
"""
|
303
|
+
self._signature_type = signature_type
|
304
|
+
|
305
|
+
@property
|
306
|
+
def ksk_public_key(self):
|
307
|
+
r"""Gets the ksk_public_key of this ShowDnssecConfigResponse.
|
308
|
+
|
309
|
+
公有密钥。
|
310
|
+
|
311
|
+
:return: The ksk_public_key of this ShowDnssecConfigResponse.
|
312
|
+
:rtype: str
|
313
|
+
"""
|
314
|
+
return self._ksk_public_key
|
315
|
+
|
316
|
+
@ksk_public_key.setter
|
317
|
+
def ksk_public_key(self, ksk_public_key):
|
318
|
+
r"""Sets the ksk_public_key of this ShowDnssecConfigResponse.
|
319
|
+
|
320
|
+
公有密钥。
|
321
|
+
|
322
|
+
:param ksk_public_key: The ksk_public_key of this ShowDnssecConfigResponse.
|
323
|
+
:type ksk_public_key: str
|
324
|
+
"""
|
325
|
+
self._ksk_public_key = ksk_public_key
|
326
|
+
|
327
|
+
@property
|
328
|
+
def ds_record(self):
|
329
|
+
r"""Gets the ds_record of this ShowDnssecConfigResponse.
|
330
|
+
|
331
|
+
DS记录。
|
332
|
+
|
333
|
+
:return: The ds_record of this ShowDnssecConfigResponse.
|
334
|
+
:rtype: str
|
335
|
+
"""
|
336
|
+
return self._ds_record
|
337
|
+
|
338
|
+
@ds_record.setter
|
339
|
+
def ds_record(self, ds_record):
|
340
|
+
r"""Sets the ds_record of this ShowDnssecConfigResponse.
|
341
|
+
|
342
|
+
DS记录。
|
343
|
+
|
344
|
+
:param ds_record: The ds_record of this ShowDnssecConfigResponse.
|
345
|
+
:type ds_record: str
|
346
|
+
"""
|
347
|
+
self._ds_record = ds_record
|
348
|
+
|
349
|
+
@property
|
350
|
+
def created_at(self):
|
351
|
+
r"""Gets the created_at of this ShowDnssecConfigResponse.
|
352
|
+
|
353
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
354
|
+
|
355
|
+
:return: The created_at of this ShowDnssecConfigResponse.
|
356
|
+
:rtype: str
|
357
|
+
"""
|
358
|
+
return self._created_at
|
359
|
+
|
360
|
+
@created_at.setter
|
361
|
+
def created_at(self, created_at):
|
362
|
+
r"""Sets the created_at of this ShowDnssecConfigResponse.
|
363
|
+
|
364
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
365
|
+
|
366
|
+
:param created_at: The created_at of this ShowDnssecConfigResponse.
|
367
|
+
:type created_at: str
|
368
|
+
"""
|
369
|
+
self._created_at = created_at
|
370
|
+
|
371
|
+
@property
|
372
|
+
def updated_at(self):
|
373
|
+
r"""Gets the updated_at of this ShowDnssecConfigResponse.
|
374
|
+
|
375
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
376
|
+
|
377
|
+
:return: The updated_at of this ShowDnssecConfigResponse.
|
378
|
+
:rtype: str
|
379
|
+
"""
|
380
|
+
return self._updated_at
|
381
|
+
|
382
|
+
@updated_at.setter
|
383
|
+
def updated_at(self, updated_at):
|
384
|
+
r"""Sets the updated_at of this ShowDnssecConfigResponse.
|
385
|
+
|
386
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
387
|
+
|
388
|
+
:param updated_at: The updated_at of this ShowDnssecConfigResponse.
|
389
|
+
:type updated_at: str
|
390
|
+
"""
|
391
|
+
self._updated_at = updated_at
|
392
|
+
|
393
|
+
@property
|
394
|
+
def status(self):
|
395
|
+
r"""Gets the status of this ShowDnssecConfigResponse.
|
396
|
+
|
397
|
+
状态。 取值范围: ENABLE:启用 DISABLE:关闭
|
398
|
+
|
399
|
+
:return: The status of this ShowDnssecConfigResponse.
|
400
|
+
:rtype: str
|
401
|
+
"""
|
402
|
+
return self._status
|
403
|
+
|
404
|
+
@status.setter
|
405
|
+
def status(self, status):
|
406
|
+
r"""Sets the status of this ShowDnssecConfigResponse.
|
407
|
+
|
408
|
+
状态。 取值范围: ENABLE:启用 DISABLE:关闭
|
409
|
+
|
410
|
+
:param status: The status of this ShowDnssecConfigResponse.
|
411
|
+
:type status: str
|
412
|
+
"""
|
413
|
+
self._status = status
|
414
|
+
|
415
|
+
def to_dict(self):
|
416
|
+
"""Returns the model properties as a dict"""
|
417
|
+
result = {}
|
418
|
+
|
419
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
420
|
+
value = getattr(self, attr)
|
421
|
+
if isinstance(value, list):
|
422
|
+
result[attr] = list(map(
|
423
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
424
|
+
value
|
425
|
+
))
|
426
|
+
elif hasattr(value, "to_dict"):
|
427
|
+
result[attr] = value.to_dict()
|
428
|
+
elif isinstance(value, dict):
|
429
|
+
result[attr] = dict(map(
|
430
|
+
lambda item: (item[0], item[1].to_dict())
|
431
|
+
if hasattr(item[1], "to_dict") else item,
|
432
|
+
value.items()
|
433
|
+
))
|
434
|
+
else:
|
435
|
+
if attr in self.sensitive_list:
|
436
|
+
result[attr] = "****"
|
437
|
+
else:
|
438
|
+
result[attr] = value
|
439
|
+
|
440
|
+
return result
|
441
|
+
|
442
|
+
def to_str(self):
|
443
|
+
"""Returns the string representation of the model"""
|
444
|
+
import simplejson as json
|
445
|
+
if six.PY2:
|
446
|
+
import sys
|
447
|
+
reload(sys)
|
448
|
+
sys.setdefaultencoding("utf-8")
|
449
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
450
|
+
|
451
|
+
def __repr__(self):
|
452
|
+
"""For `print`"""
|
453
|
+
return self.to_str()
|
454
|
+
|
455
|
+
def __eq__(self, other):
|
456
|
+
"""Returns true if both objects are equal"""
|
457
|
+
if not isinstance(other, ShowDnssecConfigResponse):
|
458
|
+
return False
|
459
|
+
|
460
|
+
return self.__dict__ == other.__dict__
|
461
|
+
|
462
|
+
def __ne__(self, other):
|
463
|
+
"""Returns true if both objects are not equal"""
|
464
|
+
return not self == other
|
@@ -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 ShowEndpointRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'endpoint_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'endpoint_id': 'endpoint_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, endpoint_id=None):
|
28
|
+
r"""ShowEndpointRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param endpoint_id: 终端节点ID。
|
33
|
+
:type endpoint_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._endpoint_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.endpoint_id = endpoint_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def endpoint_id(self):
|
45
|
+
r"""Gets the endpoint_id of this ShowEndpointRequest.
|
46
|
+
|
47
|
+
终端节点ID。
|
48
|
+
|
49
|
+
:return: The endpoint_id of this ShowEndpointRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._endpoint_id
|
53
|
+
|
54
|
+
@endpoint_id.setter
|
55
|
+
def endpoint_id(self, endpoint_id):
|
56
|
+
r"""Sets the endpoint_id of this ShowEndpointRequest.
|
57
|
+
|
58
|
+
终端节点ID。
|
59
|
+
|
60
|
+
:param endpoint_id: The endpoint_id of this ShowEndpointRequest.
|
61
|
+
:type endpoint_id: str
|
62
|
+
"""
|
63
|
+
self._endpoint_id = endpoint_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, ShowEndpointRequest):
|
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,112 @@
|
|
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 ShowEndpointResponse(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
|
+
'endpoint': 'EndpointResp'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'endpoint': 'endpoint'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, endpoint=None):
|
29
|
+
r"""ShowEndpointResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param endpoint:
|
34
|
+
:type endpoint: :class:`huaweicloudsdkdns.v2.EndpointResp`
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(ShowEndpointResponse, self).__init__()
|
38
|
+
|
39
|
+
self._endpoint = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if endpoint is not None:
|
43
|
+
self.endpoint = endpoint
|
44
|
+
|
45
|
+
@property
|
46
|
+
def endpoint(self):
|
47
|
+
r"""Gets the endpoint of this ShowEndpointResponse.
|
48
|
+
|
49
|
+
:return: The endpoint of this ShowEndpointResponse.
|
50
|
+
:rtype: :class:`huaweicloudsdkdns.v2.EndpointResp`
|
51
|
+
"""
|
52
|
+
return self._endpoint
|
53
|
+
|
54
|
+
@endpoint.setter
|
55
|
+
def endpoint(self, endpoint):
|
56
|
+
r"""Sets the endpoint of this ShowEndpointResponse.
|
57
|
+
|
58
|
+
:param endpoint: The endpoint of this ShowEndpointResponse.
|
59
|
+
:type endpoint: :class:`huaweicloudsdkdns.v2.EndpointResp`
|
60
|
+
"""
|
61
|
+
self._endpoint = endpoint
|
62
|
+
|
63
|
+
def to_dict(self):
|
64
|
+
"""Returns the model properties as a dict"""
|
65
|
+
result = {}
|
66
|
+
|
67
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
68
|
+
value = getattr(self, attr)
|
69
|
+
if isinstance(value, list):
|
70
|
+
result[attr] = list(map(
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
72
|
+
value
|
73
|
+
))
|
74
|
+
elif hasattr(value, "to_dict"):
|
75
|
+
result[attr] = value.to_dict()
|
76
|
+
elif isinstance(value, dict):
|
77
|
+
result[attr] = dict(map(
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
80
|
+
value.items()
|
81
|
+
))
|
82
|
+
else:
|
83
|
+
if attr in self.sensitive_list:
|
84
|
+
result[attr] = "****"
|
85
|
+
else:
|
86
|
+
result[attr] = value
|
87
|
+
|
88
|
+
return result
|
89
|
+
|
90
|
+
def to_str(self):
|
91
|
+
"""Returns the string representation of the model"""
|
92
|
+
import simplejson as json
|
93
|
+
if six.PY2:
|
94
|
+
import sys
|
95
|
+
reload(sys)
|
96
|
+
sys.setdefaultencoding("utf-8")
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
98
|
+
|
99
|
+
def __repr__(self):
|
100
|
+
"""For `print`"""
|
101
|
+
return self.to_str()
|
102
|
+
|
103
|
+
def __eq__(self, other):
|
104
|
+
"""Returns true if both objects are equal"""
|
105
|
+
if not isinstance(other, ShowEndpointResponse):
|
106
|
+
return False
|
107
|
+
|
108
|
+
return self.__dict__ == other.__dict__
|
109
|
+
|
110
|
+
def __ne__(self, other):
|
111
|
+
"""Returns true if both objects are not equal"""
|
112
|
+
return not self == other
|