huaweicloudsdkdns 3.1.145__py2.py3-none-any.whl → 3.1.147__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkdns/v2/__init__.py +82 -1
- huaweicloudsdkdns/v2/dns_async_client.py +2933 -1055
- huaweicloudsdkdns/v2/dns_client.py +2933 -1055
- huaweicloudsdkdns/v2/model/__init__.py +82 -1
- huaweicloudsdkdns/v2/model/alias_target.py +3 -3
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/associate_or_disassociate_router_with_rule_request_body.py +110 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/associate_router_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +3 -3
- huaweicloudsdkdns/v2/model/batch_create_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_update_record_set.py +9 -9
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_custom_line_response.py +6 -6
- huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +12 -12
- huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_line_group_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_line_groups_resp.py +3 -3
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +9 -9
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +39 -39
- huaweicloudsdkdns/v2/model/create_ptr_req.py +12 -12
- huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
- huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/create_public_zone_req.py +15 -15
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +39 -39
- huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +6 -6
- huaweicloudsdkdns/v2/model/create_record_set_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +12 -12
- huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +27 -27
- huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_custom_line_response.py +6 -6
- huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_line_group_response.py +3 -3
- huaweicloudsdkdns/v2/model/delete_private_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_private_zone_response.py +42 -42
- huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
- huaweicloudsdkdns/v2/model/delete_public_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +42 -42
- huaweicloudsdkdns/v2/model/delete_record_set_request.py +6 -6
- huaweicloudsdkdns/v2/model/delete_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/delete_record_sets_request.py +6 -6
- huaweicloudsdkdns/v2/model/delete_record_sets_response.py +27 -27
- huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/disassociate_router_request.py +3 -3
- huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
- huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
- huaweicloudsdkdns/v2/model/ip_info.py +115 -0
- huaweicloudsdkdns/v2/model/ip_value.py +115 -0
- huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
- huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
- huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
- huaweicloudsdkdns/v2/model/line.py +6 -6
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
- huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_private_zones_request.py +15 -15
- huaweicloudsdkdns/v2/model/list_private_zones_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +12 -12
- huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zones_request.py +18 -18
- huaweicloudsdkdns/v2/model/list_public_zones_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets.py +27 -27
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +24 -24
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets_request.py +27 -27
- huaweicloudsdkdns/v2/model/list_record_sets_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +33 -33
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +27 -27
- huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
- huaweicloudsdkdns/v2/model/match.py +3 -3
- huaweicloudsdkdns/v2/model/page_info.py +173 -0
- huaweicloudsdkdns/v2/model/private_zone_resp.py +42 -42
- huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
- huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_resp.py +39 -39
- huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +57 -28
- huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +27 -27
- huaweicloudsdkdns/v2/model/recordset_data.py +27 -27
- huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
- huaweicloudsdkdns/v2/model/restore_ptr_req.py +3 -3
- huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
- huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +3 -3
- huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +27 -27
- huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_line_group_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_response.py +42 -42
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +12 -12
- huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +45 -45
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +27 -27
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +27 -27
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_record_set_request.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +27 -27
- huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_resource_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_custom_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_custom_line_response.py +6 -6
- huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/update_line_groups_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_line_groups_response.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_response.py +39 -39
- huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
- huaweicloudsdkdns/v2/model/update_ptr_record_response.py +12 -12
- huaweicloudsdkdns/v2/model/update_ptr_req.py +9 -9
- huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
- huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_response.py +36 -36
- huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +7 -7
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +36 -36
- huaweicloudsdkdns/v2/model/update_record_set_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_record_set_request.py +6 -6
- huaweicloudsdkdns/v2/model/update_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/update_record_sets_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_record_sets_request.py +6 -6
- huaweicloudsdkdns/v2/model/update_record_sets_response.py +27 -27
- huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/{update_public_zone_status_request_body.py → update_zone_status_request_body.py} +10 -10
- huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
- huaweicloudsdkdns/v2/model/zone_data.py +52 -52
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/METADATA +2 -2
- huaweicloudsdkdns-3.1.147.dist-info/RECORD +273 -0
- huaweicloudsdkdns-3.1.145.dist-info/RECORD +0 -192
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,7 @@ class ShowLineGroupRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param linegroup_id: 线路分组ID
|
32
|
+
:param linegroup_id: 线路分组ID。
|
33
33
|
:type linegroup_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class ShowLineGroupRequest:
|
|
44
44
|
def linegroup_id(self):
|
45
45
|
r"""Gets the linegroup_id of this ShowLineGroupRequest.
|
46
46
|
|
47
|
-
线路分组ID
|
47
|
+
线路分组ID。
|
48
48
|
|
49
49
|
:return: The linegroup_id of this ShowLineGroupRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class ShowLineGroupRequest:
|
|
55
55
|
def linegroup_id(self, linegroup_id):
|
56
56
|
r"""Sets the linegroup_id of this ShowLineGroupRequest.
|
57
57
|
|
58
|
-
线路分组ID
|
58
|
+
线路分组ID。
|
59
59
|
|
60
60
|
:param linegroup_id: The linegroup_id of this ShowLineGroupRequest.
|
61
61
|
:type linegroup_id: str
|
@@ -50,7 +50,7 @@ class ShowLineGroupResponse(SdkResponse):
|
|
50
50
|
:type status: str
|
51
51
|
:param description: 线路分组的描述信息
|
52
52
|
:type description: str
|
53
|
-
:param line_id: 线路分组的
|
53
|
+
:param line_id: 线路分组的ID。
|
54
54
|
:type line_id: str
|
55
55
|
:param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
56
56
|
:type created_at: str
|
@@ -176,7 +176,7 @@ class ShowLineGroupResponse(SdkResponse):
|
|
176
176
|
def line_id(self):
|
177
177
|
r"""Gets the line_id of this ShowLineGroupResponse.
|
178
178
|
|
179
|
-
线路分组的
|
179
|
+
线路分组的ID。
|
180
180
|
|
181
181
|
:return: The line_id of this ShowLineGroupResponse.
|
182
182
|
:rtype: str
|
@@ -187,7 +187,7 @@ class ShowLineGroupResponse(SdkResponse):
|
|
187
187
|
def line_id(self, line_id):
|
188
188
|
r"""Sets the line_id of this ShowLineGroupResponse.
|
189
189
|
|
190
|
-
线路分组的
|
190
|
+
线路分组的ID。
|
191
191
|
|
192
192
|
:param line_id: The line_id of this ShowLineGroupResponse.
|
193
193
|
:type line_id: str
|
@@ -29,7 +29,7 @@ class ShowPrivateZoneNameServerRequest:
|
|
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 ShowPrivateZoneNameServerRequest:
|
|
44
44
|
def zone_id(self):
|
45
45
|
r"""Gets the zone_id of this ShowPrivateZoneNameServerRequest.
|
46
46
|
|
47
|
-
|
47
|
+
域名ID。
|
48
48
|
|
49
49
|
:return: The zone_id of this ShowPrivateZoneNameServerRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class ShowPrivateZoneNameServerRequest:
|
|
55
55
|
def zone_id(self, zone_id):
|
56
56
|
r"""Sets the zone_id of this ShowPrivateZoneNameServerRequest.
|
57
57
|
|
58
|
-
|
58
|
+
域名ID。
|
59
59
|
|
60
60
|
:param zone_id: The zone_id of this ShowPrivateZoneNameServerRequest.
|
61
61
|
:type zone_id: str
|
@@ -29,7 +29,7 @@ class ShowPrivateZoneRequest:
|
|
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 ShowPrivateZoneRequest:
|
|
44
44
|
def zone_id(self):
|
45
45
|
r"""Gets the zone_id of this ShowPrivateZoneRequest.
|
46
46
|
|
47
|
-
|
47
|
+
域名ID。
|
48
48
|
|
49
49
|
:return: The zone_id of this ShowPrivateZoneRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class ShowPrivateZoneRequest:
|
|
55
55
|
def zone_id(self, zone_id):
|
56
56
|
r"""Sets the zone_id of this ShowPrivateZoneRequest.
|
57
57
|
|
58
|
-
|
58
|
+
域名ID。
|
59
59
|
|
60
60
|
:param zone_id: The zone_id of this ShowPrivateZoneRequest.
|
61
61
|
:type zone_id: str
|
@@ -64,39 +64,39 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
64
64
|
|
65
65
|
The model defined in huaweicloud sdk
|
66
66
|
|
67
|
-
:param id:
|
67
|
+
:param id: 域名的ID,UUID形式的一个资源标识。
|
68
68
|
:type id: str
|
69
|
-
:param name:
|
69
|
+
:param name: 域名。
|
70
70
|
:type name: str
|
71
|
-
:param description:
|
71
|
+
:param description: 对域名的描述信息。
|
72
72
|
:type description: str
|
73
|
-
:param email:
|
73
|
+
:param email: 管理该域名的管理员邮箱,用于生成该域名的SOA记录。
|
74
74
|
:type email: str
|
75
|
-
:param zone_type:
|
75
|
+
:param zone_type: 域名类型,内网(private)。
|
76
76
|
:type zone_type: str
|
77
|
-
:param ttl:
|
77
|
+
:param ttl: 该域名下SOA记录中的ttl值。
|
78
78
|
:type ttl: int
|
79
|
-
:param serial:
|
79
|
+
:param serial: 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。
|
80
80
|
:type serial: int
|
81
81
|
:param status: 资源状态。
|
82
82
|
:type status: str
|
83
|
-
:param record_num:
|
83
|
+
:param record_num: 该域名下的记录集个数。
|
84
84
|
:type record_num: int
|
85
|
-
:param pool_id:
|
85
|
+
:param pool_id: 托管该域名的pool,由系统分配。
|
86
86
|
:type pool_id: str
|
87
|
-
:param project_id:
|
87
|
+
:param project_id: 域名所属的项目ID。
|
88
88
|
:type project_id: str
|
89
|
-
:param created_at: 创建时间。
|
89
|
+
:param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
90
90
|
:type created_at: str
|
91
|
-
:param updated_at: 更新时间。
|
91
|
+
:param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
92
92
|
:type updated_at: str
|
93
93
|
:param links:
|
94
94
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
95
95
|
:param masters: 主从模式中,从DNS服务器获取DNS信息。
|
96
96
|
:type masters: list[str]
|
97
|
-
:param routers:
|
97
|
+
:param routers: 与该域名关联的Router(VPC)列表。
|
98
98
|
:type routers: list[:class:`huaweicloudsdkdns.v2.Router`]
|
99
|
-
:param proxy_pattern:
|
99
|
+
:param proxy_pattern: 内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
|
100
100
|
:type proxy_pattern: str
|
101
101
|
:param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。
|
102
102
|
:type enterprise_project_id: str
|
@@ -165,7 +165,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
165
165
|
def id(self):
|
166
166
|
r"""Gets the id of this ShowPrivateZoneResponse.
|
167
167
|
|
168
|
-
|
168
|
+
域名的ID,UUID形式的一个资源标识。
|
169
169
|
|
170
170
|
:return: The id of this ShowPrivateZoneResponse.
|
171
171
|
:rtype: str
|
@@ -176,7 +176,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
176
176
|
def id(self, id):
|
177
177
|
r"""Sets the id of this ShowPrivateZoneResponse.
|
178
178
|
|
179
|
-
|
179
|
+
域名的ID,UUID形式的一个资源标识。
|
180
180
|
|
181
181
|
:param id: The id of this ShowPrivateZoneResponse.
|
182
182
|
:type id: str
|
@@ -187,7 +187,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
187
187
|
def name(self):
|
188
188
|
r"""Gets the name of this ShowPrivateZoneResponse.
|
189
189
|
|
190
|
-
|
190
|
+
域名。
|
191
191
|
|
192
192
|
:return: The name of this ShowPrivateZoneResponse.
|
193
193
|
:rtype: str
|
@@ -198,7 +198,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
198
198
|
def name(self, name):
|
199
199
|
r"""Sets the name of this ShowPrivateZoneResponse.
|
200
200
|
|
201
|
-
|
201
|
+
域名。
|
202
202
|
|
203
203
|
:param name: The name of this ShowPrivateZoneResponse.
|
204
204
|
:type name: str
|
@@ -209,7 +209,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
209
209
|
def description(self):
|
210
210
|
r"""Gets the description of this ShowPrivateZoneResponse.
|
211
211
|
|
212
|
-
|
212
|
+
对域名的描述信息。
|
213
213
|
|
214
214
|
:return: The description of this ShowPrivateZoneResponse.
|
215
215
|
:rtype: str
|
@@ -220,7 +220,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
220
220
|
def description(self, description):
|
221
221
|
r"""Sets the description of this ShowPrivateZoneResponse.
|
222
222
|
|
223
|
-
|
223
|
+
对域名的描述信息。
|
224
224
|
|
225
225
|
:param description: The description of this ShowPrivateZoneResponse.
|
226
226
|
:type description: str
|
@@ -231,7 +231,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
231
231
|
def email(self):
|
232
232
|
r"""Gets the email of this ShowPrivateZoneResponse.
|
233
233
|
|
234
|
-
|
234
|
+
管理该域名的管理员邮箱,用于生成该域名的SOA记录。
|
235
235
|
|
236
236
|
:return: The email of this ShowPrivateZoneResponse.
|
237
237
|
:rtype: str
|
@@ -242,7 +242,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
242
242
|
def email(self, email):
|
243
243
|
r"""Sets the email of this ShowPrivateZoneResponse.
|
244
244
|
|
245
|
-
|
245
|
+
管理该域名的管理员邮箱,用于生成该域名的SOA记录。
|
246
246
|
|
247
247
|
:param email: The email of this ShowPrivateZoneResponse.
|
248
248
|
:type email: str
|
@@ -253,7 +253,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
253
253
|
def zone_type(self):
|
254
254
|
r"""Gets the zone_type of this ShowPrivateZoneResponse.
|
255
255
|
|
256
|
-
|
256
|
+
域名类型,内网(private)。
|
257
257
|
|
258
258
|
:return: The zone_type of this ShowPrivateZoneResponse.
|
259
259
|
:rtype: str
|
@@ -264,7 +264,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
264
264
|
def zone_type(self, zone_type):
|
265
265
|
r"""Sets the zone_type of this ShowPrivateZoneResponse.
|
266
266
|
|
267
|
-
|
267
|
+
域名类型,内网(private)。
|
268
268
|
|
269
269
|
:param zone_type: The zone_type of this ShowPrivateZoneResponse.
|
270
270
|
:type zone_type: str
|
@@ -275,7 +275,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
275
275
|
def ttl(self):
|
276
276
|
r"""Gets the ttl of this ShowPrivateZoneResponse.
|
277
277
|
|
278
|
-
|
278
|
+
该域名下SOA记录中的ttl值。
|
279
279
|
|
280
280
|
:return: The ttl of this ShowPrivateZoneResponse.
|
281
281
|
:rtype: int
|
@@ -286,7 +286,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
286
286
|
def ttl(self, ttl):
|
287
287
|
r"""Sets the ttl of this ShowPrivateZoneResponse.
|
288
288
|
|
289
|
-
|
289
|
+
该域名下SOA记录中的ttl值。
|
290
290
|
|
291
291
|
:param ttl: The ttl of this ShowPrivateZoneResponse.
|
292
292
|
:type ttl: int
|
@@ -297,7 +297,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
297
297
|
def serial(self):
|
298
298
|
r"""Gets the serial of this ShowPrivateZoneResponse.
|
299
299
|
|
300
|
-
|
300
|
+
该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。
|
301
301
|
|
302
302
|
:return: The serial of this ShowPrivateZoneResponse.
|
303
303
|
:rtype: int
|
@@ -308,7 +308,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
308
308
|
def serial(self, serial):
|
309
309
|
r"""Sets the serial of this ShowPrivateZoneResponse.
|
310
310
|
|
311
|
-
|
311
|
+
该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。
|
312
312
|
|
313
313
|
:param serial: The serial of this ShowPrivateZoneResponse.
|
314
314
|
:type serial: int
|
@@ -341,7 +341,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
341
341
|
def record_num(self):
|
342
342
|
r"""Gets the record_num of this ShowPrivateZoneResponse.
|
343
343
|
|
344
|
-
|
344
|
+
该域名下的记录集个数。
|
345
345
|
|
346
346
|
:return: The record_num of this ShowPrivateZoneResponse.
|
347
347
|
:rtype: int
|
@@ -352,7 +352,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
352
352
|
def record_num(self, record_num):
|
353
353
|
r"""Sets the record_num of this ShowPrivateZoneResponse.
|
354
354
|
|
355
|
-
|
355
|
+
该域名下的记录集个数。
|
356
356
|
|
357
357
|
:param record_num: The record_num of this ShowPrivateZoneResponse.
|
358
358
|
:type record_num: int
|
@@ -363,7 +363,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
363
363
|
def pool_id(self):
|
364
364
|
r"""Gets the pool_id of this ShowPrivateZoneResponse.
|
365
365
|
|
366
|
-
|
366
|
+
托管该域名的pool,由系统分配。
|
367
367
|
|
368
368
|
:return: The pool_id of this ShowPrivateZoneResponse.
|
369
369
|
:rtype: str
|
@@ -374,7 +374,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
374
374
|
def pool_id(self, pool_id):
|
375
375
|
r"""Sets the pool_id of this ShowPrivateZoneResponse.
|
376
376
|
|
377
|
-
|
377
|
+
托管该域名的pool,由系统分配。
|
378
378
|
|
379
379
|
:param pool_id: The pool_id of this ShowPrivateZoneResponse.
|
380
380
|
:type pool_id: str
|
@@ -385,7 +385,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
385
385
|
def project_id(self):
|
386
386
|
r"""Gets the project_id of this ShowPrivateZoneResponse.
|
387
387
|
|
388
|
-
|
388
|
+
域名所属的项目ID。
|
389
389
|
|
390
390
|
:return: The project_id of this ShowPrivateZoneResponse.
|
391
391
|
:rtype: str
|
@@ -396,7 +396,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
396
396
|
def project_id(self, project_id):
|
397
397
|
r"""Sets the project_id of this ShowPrivateZoneResponse.
|
398
398
|
|
399
|
-
|
399
|
+
域名所属的项目ID。
|
400
400
|
|
401
401
|
:param project_id: The project_id of this ShowPrivateZoneResponse.
|
402
402
|
:type project_id: str
|
@@ -407,7 +407,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
407
407
|
def created_at(self):
|
408
408
|
r"""Gets the created_at of this ShowPrivateZoneResponse.
|
409
409
|
|
410
|
-
创建时间。
|
410
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
411
411
|
|
412
412
|
:return: The created_at of this ShowPrivateZoneResponse.
|
413
413
|
:rtype: str
|
@@ -418,7 +418,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
418
418
|
def created_at(self, created_at):
|
419
419
|
r"""Sets the created_at of this ShowPrivateZoneResponse.
|
420
420
|
|
421
|
-
创建时间。
|
421
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
422
422
|
|
423
423
|
:param created_at: The created_at of this ShowPrivateZoneResponse.
|
424
424
|
:type created_at: str
|
@@ -429,7 +429,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
429
429
|
def updated_at(self):
|
430
430
|
r"""Gets the updated_at of this ShowPrivateZoneResponse.
|
431
431
|
|
432
|
-
更新时间。
|
432
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
433
433
|
|
434
434
|
:return: The updated_at of this ShowPrivateZoneResponse.
|
435
435
|
:rtype: str
|
@@ -440,7 +440,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
440
440
|
def updated_at(self, updated_at):
|
441
441
|
r"""Sets the updated_at of this ShowPrivateZoneResponse.
|
442
442
|
|
443
|
-
更新时间。
|
443
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
444
444
|
|
445
445
|
:param updated_at: The updated_at of this ShowPrivateZoneResponse.
|
446
446
|
:type updated_at: str
|
@@ -491,7 +491,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
491
491
|
def routers(self):
|
492
492
|
r"""Gets the routers of this ShowPrivateZoneResponse.
|
493
493
|
|
494
|
-
|
494
|
+
与该域名关联的Router(VPC)列表。
|
495
495
|
|
496
496
|
:return: The routers of this ShowPrivateZoneResponse.
|
497
497
|
:rtype: list[:class:`huaweicloudsdkdns.v2.Router`]
|
@@ -502,7 +502,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
502
502
|
def routers(self, routers):
|
503
503
|
r"""Sets the routers of this ShowPrivateZoneResponse.
|
504
504
|
|
505
|
-
|
505
|
+
与该域名关联的Router(VPC)列表。
|
506
506
|
|
507
507
|
:param routers: The routers of this ShowPrivateZoneResponse.
|
508
508
|
:type routers: list[:class:`huaweicloudsdkdns.v2.Router`]
|
@@ -513,7 +513,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
513
513
|
def proxy_pattern(self):
|
514
514
|
r"""Gets the proxy_pattern of this ShowPrivateZoneResponse.
|
515
515
|
|
516
|
-
|
516
|
+
内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
|
517
517
|
|
518
518
|
:return: The proxy_pattern of this ShowPrivateZoneResponse.
|
519
519
|
:rtype: str
|
@@ -524,7 +524,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
524
524
|
def proxy_pattern(self, proxy_pattern):
|
525
525
|
r"""Sets the proxy_pattern of this ShowPrivateZoneResponse.
|
526
526
|
|
527
|
-
|
527
|
+
内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
|
528
528
|
|
529
529
|
:param proxy_pattern: The proxy_pattern of this ShowPrivateZoneResponse.
|
530
530
|
:type proxy_pattern: str
|
@@ -46,13 +46,13 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
46
46
|
|
47
47
|
The model defined in huaweicloud sdk
|
48
48
|
|
49
|
-
:param id:
|
49
|
+
:param id: 反向解析记录的ID,格式形如{region}:{floatingip_id}。
|
50
50
|
:type id: str
|
51
|
-
:param ptrdname:
|
51
|
+
:param ptrdname: 反向解析记录对应的域名。
|
52
52
|
:type ptrdname: str
|
53
|
-
:param description:
|
53
|
+
:param description: 对反向解析记录的描述。
|
54
54
|
:type description: str
|
55
|
-
:param ttl:
|
55
|
+
:param ttl: 反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
|
56
56
|
:type ttl: int
|
57
57
|
:param address: 弹性公网IP的IP地址。
|
58
58
|
:type address: str
|
@@ -102,7 +102,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
102
102
|
def id(self):
|
103
103
|
r"""Gets the id of this ShowPtrRecordSetResponse.
|
104
104
|
|
105
|
-
|
105
|
+
反向解析记录的ID,格式形如{region}:{floatingip_id}。
|
106
106
|
|
107
107
|
:return: The id of this ShowPtrRecordSetResponse.
|
108
108
|
:rtype: str
|
@@ -113,7 +113,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
113
113
|
def id(self, id):
|
114
114
|
r"""Sets the id of this ShowPtrRecordSetResponse.
|
115
115
|
|
116
|
-
|
116
|
+
反向解析记录的ID,格式形如{region}:{floatingip_id}。
|
117
117
|
|
118
118
|
:param id: The id of this ShowPtrRecordSetResponse.
|
119
119
|
:type id: str
|
@@ -124,7 +124,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
124
124
|
def ptrdname(self):
|
125
125
|
r"""Gets the ptrdname of this ShowPtrRecordSetResponse.
|
126
126
|
|
127
|
-
|
127
|
+
反向解析记录对应的域名。
|
128
128
|
|
129
129
|
:return: The ptrdname of this ShowPtrRecordSetResponse.
|
130
130
|
:rtype: str
|
@@ -135,7 +135,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
135
135
|
def ptrdname(self, ptrdname):
|
136
136
|
r"""Sets the ptrdname of this ShowPtrRecordSetResponse.
|
137
137
|
|
138
|
-
|
138
|
+
反向解析记录对应的域名。
|
139
139
|
|
140
140
|
:param ptrdname: The ptrdname of this ShowPtrRecordSetResponse.
|
141
141
|
:type ptrdname: str
|
@@ -146,7 +146,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
146
146
|
def description(self):
|
147
147
|
r"""Gets the description of this ShowPtrRecordSetResponse.
|
148
148
|
|
149
|
-
|
149
|
+
对反向解析记录的描述。
|
150
150
|
|
151
151
|
:return: The description of this ShowPtrRecordSetResponse.
|
152
152
|
:rtype: str
|
@@ -157,7 +157,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
157
157
|
def description(self, description):
|
158
158
|
r"""Sets the description of this ShowPtrRecordSetResponse.
|
159
159
|
|
160
|
-
|
160
|
+
对反向解析记录的描述。
|
161
161
|
|
162
162
|
:param description: The description of this ShowPtrRecordSetResponse.
|
163
163
|
:type description: str
|
@@ -168,7 +168,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
168
168
|
def ttl(self):
|
169
169
|
r"""Gets the ttl of this ShowPtrRecordSetResponse.
|
170
170
|
|
171
|
-
|
171
|
+
反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
|
172
172
|
|
173
173
|
:return: The ttl of this ShowPtrRecordSetResponse.
|
174
174
|
:rtype: int
|
@@ -179,7 +179,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
179
179
|
def ttl(self, ttl):
|
180
180
|
r"""Sets the ttl of this ShowPtrRecordSetResponse.
|
181
181
|
|
182
|
-
|
182
|
+
反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
|
183
183
|
|
184
184
|
:param ttl: The ttl of this ShowPtrRecordSetResponse.
|
185
185
|
:type ttl: int
|
@@ -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 ShowPtrRequest:
|
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
|
+
'ptr_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'ptr_id': 'ptr_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, ptr_id=None):
|
28
|
+
r"""ShowPtrRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param ptr_id: 反向解析ID。
|
33
|
+
:type ptr_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._ptr_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.ptr_id = ptr_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def ptr_id(self):
|
45
|
+
r"""Gets the ptr_id of this ShowPtrRequest.
|
46
|
+
|
47
|
+
反向解析ID。
|
48
|
+
|
49
|
+
:return: The ptr_id of this ShowPtrRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._ptr_id
|
53
|
+
|
54
|
+
@ptr_id.setter
|
55
|
+
def ptr_id(self, ptr_id):
|
56
|
+
r"""Sets the ptr_id of this ShowPtrRequest.
|
57
|
+
|
58
|
+
反向解析ID。
|
59
|
+
|
60
|
+
:param ptr_id: The ptr_id of this ShowPtrRequest.
|
61
|
+
:type ptr_id: str
|
62
|
+
"""
|
63
|
+
self._ptr_id = ptr_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, ShowPtrRequest):
|
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
|