huaweicloudsdkdns 3.0.43rc0__py3-none-any.whl → 3.1.160__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 +137 -11
- huaweicloudsdkdns/v2/dns_async_client.py +4625 -1735
- huaweicloudsdkdns/v2/dns_client.py +4638 -1749
- huaweicloudsdkdns/v2/model/__init__.py +136 -9
- huaweicloudsdkdns/v2/model/alias_target.py +27 -20
- 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 +27 -20
- huaweicloudsdkdns/v2/model/{associate_router_req.py → associate_router_request_body.py} +23 -20
- huaweicloudsdkdns/v2/model/associate_router_response.py +35 -25
- huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +200 -0
- huaweicloudsdkdns/v2/model/batch_create_tag_request.py +33 -22
- huaweicloudsdkdns/v2/model/batch_create_tag_response.py +14 -10
- 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 +139 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_hand_tags.py +24 -17
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set.py +229 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +139 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +166 -0
- huaweicloudsdkdns/v2/model/create_custom_line_request.py +20 -17
- huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +36 -27
- huaweicloudsdkdns/v2/model/create_custom_line_response.py +53 -35
- huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +33 -22
- huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +97 -50
- 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_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_line_group_response.py +290 -0
- huaweicloudsdkdns/v2/model/create_line_groups_req.py +171 -0
- huaweicloudsdkdns/v2/model/create_line_groups_resp.py +289 -0
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +101 -55
- huaweicloudsdkdns/v2/model/create_private_zone_request.py +19 -16
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +156 -95
- huaweicloudsdkdns/v2/model/create_ptr_req.py +47 -34
- 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 +63 -46
- huaweicloudsdkdns/v2/model/create_public_zone_request.py +19 -16
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +125 -91
- huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +199 -0
- huaweicloudsdkdns/v2/model/create_record_set_request.py +27 -20
- huaweicloudsdkdns/v2/model/create_record_set_request_body.py +286 -0
- huaweicloudsdkdns/v2/model/create_record_set_response.py +111 -55
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +139 -0
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +166 -0
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +27 -20
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +370 -0
- huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +138 -102
- 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_req.py +19 -16
- huaweicloudsdkdns/v2/model/create_tag_request.py +33 -22
- huaweicloudsdkdns/v2/model/create_tag_response.py +14 -10
- huaweicloudsdkdns/v2/model/delete_custom_line_request.py +20 -13
- huaweicloudsdkdns/v2/model/delete_custom_line_response.py +53 -35
- 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 +114 -0
- huaweicloudsdkdns/v2/model/delete_line_group_response.py +290 -0
- huaweicloudsdkdns/v2/model/delete_private_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/delete_private_zone_response.py +126 -92
- 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 +20 -13
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +121 -91
- huaweicloudsdkdns/v2/model/delete_record_set_request.py +27 -16
- huaweicloudsdkdns/v2/model/delete_record_set_response.py +111 -81
- huaweicloudsdkdns/v2/model/delete_record_sets_request.py +27 -16
- huaweicloudsdkdns/v2/model/delete_record_sets_response.py +138 -102
- 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 +34 -19
- huaweicloudsdkdns/v2/model/delete_tag_response.py +14 -10
- 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 +27 -20
- huaweicloudsdkdns/v2/model/disassociate_router_response.py +35 -25
- huaweicloudsdkdns/v2/model/{disassociaterouter_req.py → disassociaterouter_request_body.py} +23 -20
- huaweicloudsdkdns/v2/model/domain_quota_response_quotas.py +198 -0
- 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/{update_public_zone_status.py → ip_info.py} +35 -29
- 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 +52 -35
- huaweicloudsdkdns/v2/model/link.py +115 -0
- huaweicloudsdkdns/v2/model/links_item.py +27 -20
- huaweicloudsdkdns/v2/model/list_api_versions_item.py +35 -26
- huaweicloudsdkdns/v2/model/list_api_versions_request.py +13 -10
- huaweicloudsdkdns/v2/model/list_api_versions_response.py +20 -16
- huaweicloudsdkdns/v2/model/list_custom_line_request.py +109 -28
- huaweicloudsdkdns/v2/model/list_custom_line_response.py +29 -21
- 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_line_groups_request.py +202 -0
- huaweicloudsdkdns/v2/model/list_line_groups_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_name_servers_request.py +27 -16
- huaweicloudsdkdns/v2/model/list_name_servers_response.py +22 -14
- huaweicloudsdkdns/v2/model/list_private_zones_request.py +217 -37
- huaweicloudsdkdns/v2/model/list_private_zones_response.py +35 -27
- huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +99 -51
- huaweicloudsdkdns/v2/model/list_ptr_records_request.py +55 -28
- huaweicloudsdkdns/v2/model/list_ptr_records_response.py +35 -27
- 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 +186 -35
- huaweicloudsdkdns/v2/model/list_public_zones_response.py +36 -28
- huaweicloudsdkdns/v2/model/list_record_sets.py +110 -81
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +124 -48
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +35 -27
- huaweicloudsdkdns/v2/model/list_record_sets_request.py +131 -51
- huaweicloudsdkdns/v2/model/list_record_sets_response.py +36 -28
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +152 -60
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +36 -28
- huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +517 -0
- 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/list_tag_req.py +64 -45
- huaweicloudsdkdns/v2/model/list_tag_request.py +26 -19
- huaweicloudsdkdns/v2/model/list_tag_response.py +29 -17
- huaweicloudsdkdns/v2/model/list_tags_request.py +20 -13
- huaweicloudsdkdns/v2/model/list_tags_response.py +20 -14
- huaweicloudsdkdns/v2/model/match.py +143 -0
- huaweicloudsdkdns/v2/model/{metedata.py → metadata.py} +24 -19
- huaweicloudsdkdns/v2/model/name_servers_resp.py +31 -20
- huaweicloudsdkdns/v2/model/nameserver.py +27 -20
- huaweicloudsdkdns/v2/model/ns_records.py +28 -19
- huaweicloudsdkdns/v2/model/page_info.py +173 -0
- huaweicloudsdkdns/v2/model/page_link.py +27 -20
- huaweicloudsdkdns/v2/model/private_name_server.py +27 -20
- huaweicloudsdkdns/v2/model/private_zone_resp.py +191 -98
- 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 +575 -0
- huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +658 -0
- huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +169 -105
- huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
- huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
- huaweicloudsdkdns/v2/model/resource_item.py +36 -25
- huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +33 -22
- huaweicloudsdkdns/v2/model/restore_ptr_record_response.py +14 -10
- huaweicloudsdkdns/v2/model/restore_ptr_req.py +22 -17
- huaweicloudsdkdns/v2/model/router.py +59 -23
- huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
- huaweicloudsdkdns/v2/model/router_with_status.py +34 -25
- 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 +27 -20
- huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +24 -19
- huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +170 -105
- huaweicloudsdkdns/v2/model/show_api_info_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_api_info_response.py +20 -16
- huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/show_domain_quota_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_domain_quota_response.py +116 -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 +114 -0
- huaweicloudsdkdns/v2/model/show_line_group_response.py +290 -0
- huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_private_zone_name_server_response.py +22 -14
- huaweicloudsdkdns/v2/model/show_private_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_private_zone_response.py +187 -95
- huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +97 -50
- 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 +20 -13
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +22 -16
- huaweicloudsdkdns/v2/model/show_public_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +127 -93
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +371 -16
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +162 -127
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +35 -27
- huaweicloudsdkdns/v2/model/show_record_set_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_record_set_response.py +143 -84
- huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +170 -105
- 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 +27 -16
- huaweicloudsdkdns/v2/model/show_resource_tag_response.py +22 -14
- huaweicloudsdkdns/v2/model/tag.py +27 -20
- huaweicloudsdkdns/v2/model/tag_values.py +27 -20
- huaweicloudsdkdns/v2/model/update_custom_line_request.py +27 -20
- huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +36 -27
- huaweicloudsdkdns/v2/model/update_custom_line_response.py +53 -35
- 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 +139 -0
- huaweicloudsdkdns/v2/model/update_line_groups_request_body.py +171 -0
- huaweicloudsdkdns/v2/model/update_line_groups_response.py +290 -0
- huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +34 -25
- huaweicloudsdkdns/v2/model/update_private_zone_request.py +26 -19
- huaweicloudsdkdns/v2/model/update_private_zone_response.py +126 -92
- 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_request.py +33 -22
- huaweicloudsdkdns/v2/model/update_ptr_record_response.py +65 -47
- huaweicloudsdkdns/v2/model/update_ptr_req.py +40 -29
- 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 +36 -27
- huaweicloudsdkdns/v2/model/update_public_zone_request.py +26 -19
- huaweicloudsdkdns/v2/model/update_public_zone_response.py +120 -88
- huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +27 -20
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +118 -86
- huaweicloudsdkdns/v2/model/update_record_set_req.py +52 -37
- huaweicloudsdkdns/v2/model/update_record_set_request.py +33 -22
- huaweicloudsdkdns/v2/model/update_record_set_response.py +111 -55
- huaweicloudsdkdns/v2/model/update_record_sets_req.py +55 -40
- huaweicloudsdkdns/v2/model/update_record_sets_request.py +33 -22
- huaweicloudsdkdns/v2/model/update_record_sets_response.py +138 -102
- 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_zone_status_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/values_item.py +21 -16
- huaweicloudsdkdns/v2/model/version_item.py +56 -41
- huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
- huaweicloudsdkdns/v2/model/zone_data.py +517 -0
- huaweicloudsdkdns/v2/region/dns_region.py +88 -38
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkdns-3.1.160.dist-info/RECORD +273 -0
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkdns/v2/model/create_record_set_req.py +0 -263
- huaweicloudsdkdns/v2/model/create_record_set_with_line_req.py +0 -348
- huaweicloudsdkdns-3.0.43rc0.dist-info/RECORD +0 -146
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,13 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
5
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
7
|
|
11
8
|
|
12
9
|
class ListTagResponse(SdkResponse):
|
13
10
|
|
14
|
-
|
15
11
|
"""
|
16
12
|
Attributes:
|
17
13
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +15,6 @@ class ListTagResponse(SdkResponse):
|
|
19
15
|
attribute_map (dict): The key is attribute name
|
20
16
|
and the value is json key in definition.
|
21
17
|
"""
|
22
|
-
|
23
18
|
sensitive_list = []
|
24
19
|
|
25
20
|
openapi_types = {
|
@@ -33,9 +28,17 @@ class ListTagResponse(SdkResponse):
|
|
33
28
|
}
|
34
29
|
|
35
30
|
def __init__(self, resources=None, total_count=None):
|
36
|
-
"""ListTagResponse
|
31
|
+
r"""ListTagResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param resources: 标签资源信息列表。
|
36
|
+
:type resources: list[:class:`huaweicloudsdkdns.v2.ResourceItem`]
|
37
|
+
:param total_count: 资源总数。
|
38
|
+
:type total_count: int
|
39
|
+
"""
|
37
40
|
|
38
|
-
super().__init__()
|
41
|
+
super(ListTagResponse, self).__init__()
|
39
42
|
|
40
43
|
self._resources = None
|
41
44
|
self._total_count = None
|
@@ -48,28 +51,31 @@ class ListTagResponse(SdkResponse):
|
|
48
51
|
|
49
52
|
@property
|
50
53
|
def resources(self):
|
51
|
-
"""Gets the resources of this ListTagResponse.
|
54
|
+
r"""Gets the resources of this ListTagResponse.
|
52
55
|
|
56
|
+
标签资源信息列表。
|
53
57
|
|
54
58
|
:return: The resources of this ListTagResponse.
|
55
|
-
:rtype: list[ResourceItem]
|
59
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.ResourceItem`]
|
56
60
|
"""
|
57
61
|
return self._resources
|
58
62
|
|
59
63
|
@resources.setter
|
60
64
|
def resources(self, resources):
|
61
|
-
"""Sets the resources of this ListTagResponse.
|
65
|
+
r"""Sets the resources of this ListTagResponse.
|
62
66
|
|
67
|
+
标签资源信息列表。
|
63
68
|
|
64
69
|
:param resources: The resources of this ListTagResponse.
|
65
|
-
:type: list[ResourceItem]
|
70
|
+
:type resources: list[:class:`huaweicloudsdkdns.v2.ResourceItem`]
|
66
71
|
"""
|
67
72
|
self._resources = resources
|
68
73
|
|
69
74
|
@property
|
70
75
|
def total_count(self):
|
71
|
-
"""Gets the total_count of this ListTagResponse.
|
76
|
+
r"""Gets the total_count of this ListTagResponse.
|
72
77
|
|
78
|
+
资源总数。
|
73
79
|
|
74
80
|
:return: The total_count of this ListTagResponse.
|
75
81
|
:rtype: int
|
@@ -78,11 +84,12 @@ class ListTagResponse(SdkResponse):
|
|
78
84
|
|
79
85
|
@total_count.setter
|
80
86
|
def total_count(self, total_count):
|
81
|
-
"""Sets the total_count of this ListTagResponse.
|
87
|
+
r"""Sets the total_count of this ListTagResponse.
|
82
88
|
|
89
|
+
资源总数。
|
83
90
|
|
84
91
|
:param total_count: The total_count of this ListTagResponse.
|
85
|
-
:type: int
|
92
|
+
:type total_count: int
|
86
93
|
"""
|
87
94
|
self._total_count = total_count
|
88
95
|
|
@@ -115,10 +122,15 @@ class ListTagResponse(SdkResponse):
|
|
115
122
|
|
116
123
|
def to_str(self):
|
117
124
|
"""Returns the string representation of the model"""
|
118
|
-
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
119
131
|
|
120
132
|
def __repr__(self):
|
121
|
-
"""For `print`
|
133
|
+
"""For `print`"""
|
122
134
|
return self.to_str()
|
123
135
|
|
124
136
|
def __eq__(self, other):
|
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class ListTagsRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class ListTagsRequest:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -31,7 +25,13 @@ class ListTagsRequest:
|
|
31
25
|
}
|
32
26
|
|
33
27
|
def __init__(self, resource_type=None):
|
34
|
-
"""ListTagsRequest
|
28
|
+
r"""ListTagsRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param resource_type: 资源的类型:DNS-public_zone,DNS-private_zone,DNS-public_recordset,DNS-private_recordset,DNS-ptr_record。
|
33
|
+
:type resource_type: str
|
34
|
+
"""
|
35
35
|
|
36
36
|
|
37
37
|
|
@@ -42,8 +42,9 @@ class ListTagsRequest:
|
|
42
42
|
|
43
43
|
@property
|
44
44
|
def resource_type(self):
|
45
|
-
"""Gets the resource_type of this ListTagsRequest.
|
45
|
+
r"""Gets the resource_type of this ListTagsRequest.
|
46
46
|
|
47
|
+
资源的类型:DNS-public_zone,DNS-private_zone,DNS-public_recordset,DNS-private_recordset,DNS-ptr_record。
|
47
48
|
|
48
49
|
:return: The resource_type of this ListTagsRequest.
|
49
50
|
:rtype: str
|
@@ -52,11 +53,12 @@ class ListTagsRequest:
|
|
52
53
|
|
53
54
|
@resource_type.setter
|
54
55
|
def resource_type(self, resource_type):
|
55
|
-
"""Sets the resource_type of this ListTagsRequest.
|
56
|
+
r"""Sets the resource_type of this ListTagsRequest.
|
56
57
|
|
58
|
+
资源的类型:DNS-public_zone,DNS-private_zone,DNS-public_recordset,DNS-private_recordset,DNS-ptr_record。
|
57
59
|
|
58
60
|
:param resource_type: The resource_type of this ListTagsRequest.
|
59
|
-
:type: str
|
61
|
+
:type resource_type: str
|
60
62
|
"""
|
61
63
|
self._resource_type = resource_type
|
62
64
|
|
@@ -89,10 +91,15 @@ class ListTagsRequest:
|
|
89
91
|
|
90
92
|
def to_str(self):
|
91
93
|
"""Returns the string representation of the model"""
|
92
|
-
|
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)
|
93
100
|
|
94
101
|
def __repr__(self):
|
95
|
-
"""For `print`
|
102
|
+
"""For `print`"""
|
96
103
|
return self.to_str()
|
97
104
|
|
98
105
|
def __eq__(self, other):
|
@@ -1,17 +1,13 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
5
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
7
|
|
11
8
|
|
12
9
|
class ListTagsResponse(SdkResponse):
|
13
10
|
|
14
|
-
|
15
11
|
"""
|
16
12
|
Attributes:
|
17
13
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +15,6 @@ class ListTagsResponse(SdkResponse):
|
|
19
15
|
attribute_map (dict): The key is attribute name
|
20
16
|
and the value is json key in definition.
|
21
17
|
"""
|
22
|
-
|
23
18
|
sensitive_list = []
|
24
19
|
|
25
20
|
openapi_types = {
|
@@ -31,9 +26,15 @@ class ListTagsResponse(SdkResponse):
|
|
31
26
|
}
|
32
27
|
|
33
28
|
def __init__(self, tags=None):
|
34
|
-
"""ListTagsResponse
|
29
|
+
r"""ListTagsResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param tags: 标签列表。
|
34
|
+
:type tags: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
35
|
+
"""
|
35
36
|
|
36
|
-
super().__init__()
|
37
|
+
super(ListTagsResponse, self).__init__()
|
37
38
|
|
38
39
|
self._tags = None
|
39
40
|
self.discriminator = None
|
@@ -43,23 +44,23 @@ class ListTagsResponse(SdkResponse):
|
|
43
44
|
|
44
45
|
@property
|
45
46
|
def tags(self):
|
46
|
-
"""Gets the tags of this ListTagsResponse.
|
47
|
+
r"""Gets the tags of this ListTagsResponse.
|
47
48
|
|
48
49
|
标签列表。
|
49
50
|
|
50
51
|
:return: The tags of this ListTagsResponse.
|
51
|
-
:rtype: list[TagValues]
|
52
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
52
53
|
"""
|
53
54
|
return self._tags
|
54
55
|
|
55
56
|
@tags.setter
|
56
57
|
def tags(self, tags):
|
57
|
-
"""Sets the tags of this ListTagsResponse.
|
58
|
+
r"""Sets the tags of this ListTagsResponse.
|
58
59
|
|
59
60
|
标签列表。
|
60
61
|
|
61
62
|
:param tags: The tags of this ListTagsResponse.
|
62
|
-
:type: list[TagValues]
|
63
|
+
:type tags: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
63
64
|
"""
|
64
65
|
self._tags = tags
|
65
66
|
|
@@ -92,10 +93,15 @@ class ListTagsResponse(SdkResponse):
|
|
92
93
|
|
93
94
|
def to_str(self):
|
94
95
|
"""Returns the string representation of the model"""
|
95
|
-
|
96
|
+
import simplejson as json
|
97
|
+
if six.PY2:
|
98
|
+
import sys
|
99
|
+
reload(sys)
|
100
|
+
sys.setdefaultencoding("utf-8")
|
101
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
96
102
|
|
97
103
|
def __repr__(self):
|
98
|
-
"""For `print`
|
104
|
+
"""For `print`"""
|
99
105
|
return self.to_str()
|
100
106
|
|
101
107
|
def __eq__(self, other):
|
@@ -0,0 +1,143 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class Match:
|
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
|
+
'key': 'str',
|
21
|
+
'value': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'key': 'key',
|
26
|
+
'value': 'value'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, key=None, value=None):
|
30
|
+
r"""Match
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param key: 键。当前值限定为resource_name。
|
35
|
+
:type key: str
|
36
|
+
:param value: 值。每个值最大长度255个unicode字符。
|
37
|
+
:type value: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._key = None
|
43
|
+
self._value = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.key = key
|
47
|
+
if value is not None:
|
48
|
+
self.value = value
|
49
|
+
|
50
|
+
@property
|
51
|
+
def key(self):
|
52
|
+
r"""Gets the key of this Match.
|
53
|
+
|
54
|
+
键。当前值限定为resource_name。
|
55
|
+
|
56
|
+
:return: The key of this Match.
|
57
|
+
:rtype: str
|
58
|
+
"""
|
59
|
+
return self._key
|
60
|
+
|
61
|
+
@key.setter
|
62
|
+
def key(self, key):
|
63
|
+
r"""Sets the key of this Match.
|
64
|
+
|
65
|
+
键。当前值限定为resource_name。
|
66
|
+
|
67
|
+
:param key: The key of this Match.
|
68
|
+
:type key: str
|
69
|
+
"""
|
70
|
+
self._key = key
|
71
|
+
|
72
|
+
@property
|
73
|
+
def value(self):
|
74
|
+
r"""Gets the value of this Match.
|
75
|
+
|
76
|
+
值。每个值最大长度255个unicode字符。
|
77
|
+
|
78
|
+
:return: The value of this Match.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._value
|
82
|
+
|
83
|
+
@value.setter
|
84
|
+
def value(self, value):
|
85
|
+
r"""Sets the value of this Match.
|
86
|
+
|
87
|
+
值。每个值最大长度255个unicode字符。
|
88
|
+
|
89
|
+
:param value: The value of this Match.
|
90
|
+
:type value: str
|
91
|
+
"""
|
92
|
+
self._value = value
|
93
|
+
|
94
|
+
def to_dict(self):
|
95
|
+
"""Returns the model properties as a dict"""
|
96
|
+
result = {}
|
97
|
+
|
98
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
99
|
+
value = getattr(self, attr)
|
100
|
+
if isinstance(value, list):
|
101
|
+
result[attr] = list(map(
|
102
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
103
|
+
value
|
104
|
+
))
|
105
|
+
elif hasattr(value, "to_dict"):
|
106
|
+
result[attr] = value.to_dict()
|
107
|
+
elif isinstance(value, dict):
|
108
|
+
result[attr] = dict(map(
|
109
|
+
lambda item: (item[0], item[1].to_dict())
|
110
|
+
if hasattr(item[1], "to_dict") else item,
|
111
|
+
value.items()
|
112
|
+
))
|
113
|
+
else:
|
114
|
+
if attr in self.sensitive_list:
|
115
|
+
result[attr] = "****"
|
116
|
+
else:
|
117
|
+
result[attr] = value
|
118
|
+
|
119
|
+
return result
|
120
|
+
|
121
|
+
def to_str(self):
|
122
|
+
"""Returns the string representation of the model"""
|
123
|
+
import simplejson as json
|
124
|
+
if six.PY2:
|
125
|
+
import sys
|
126
|
+
reload(sys)
|
127
|
+
sys.setdefaultencoding("utf-8")
|
128
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
129
|
+
|
130
|
+
def __repr__(self):
|
131
|
+
"""For `print`"""
|
132
|
+
return self.to_str()
|
133
|
+
|
134
|
+
def __eq__(self, other):
|
135
|
+
"""Returns true if both objects are equal"""
|
136
|
+
if not isinstance(other, Match):
|
137
|
+
return False
|
138
|
+
|
139
|
+
return self.__dict__ == other.__dict__
|
140
|
+
|
141
|
+
def __ne__(self, other):
|
142
|
+
"""Returns true if both objects are not equal"""
|
143
|
+
return not self == other
|
@@ -1,16 +1,11 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
8
6
|
|
9
7
|
|
10
|
-
|
11
|
-
|
12
|
-
class Metedata:
|
13
|
-
|
8
|
+
class Metadata:
|
14
9
|
|
15
10
|
"""
|
16
11
|
Attributes:
|
@@ -19,7 +14,6 @@ class Metedata:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -31,7 +25,13 @@ class Metedata:
|
|
31
25
|
}
|
32
26
|
|
33
27
|
def __init__(self, total_count=None):
|
34
|
-
"""
|
28
|
+
r"""Metadata
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param total_count: **参数解释:** 满足查询条件的资源总数,不受分页(即limit、offset参数)影响。 **取值范围:** 不涉及。
|
33
|
+
:type total_count: int
|
34
|
+
"""
|
35
35
|
|
36
36
|
|
37
37
|
|
@@ -43,23 +43,23 @@ class Metedata:
|
|
43
43
|
|
44
44
|
@property
|
45
45
|
def total_count(self):
|
46
|
-
"""Gets the total_count of this
|
46
|
+
r"""Gets the total_count of this Metadata.
|
47
47
|
|
48
|
-
满足查询条件的资源总数,不受分页(即limit、offset参数)影响。
|
48
|
+
**参数解释:** 满足查询条件的资源总数,不受分页(即limit、offset参数)影响。 **取值范围:** 不涉及。
|
49
49
|
|
50
|
-
:return: The total_count of this
|
50
|
+
:return: The total_count of this Metadata.
|
51
51
|
:rtype: int
|
52
52
|
"""
|
53
53
|
return self._total_count
|
54
54
|
|
55
55
|
@total_count.setter
|
56
56
|
def total_count(self, total_count):
|
57
|
-
"""Sets the total_count of this
|
57
|
+
r"""Sets the total_count of this Metadata.
|
58
58
|
|
59
|
-
满足查询条件的资源总数,不受分页(即limit、offset参数)影响。
|
59
|
+
**参数解释:** 满足查询条件的资源总数,不受分页(即limit、offset参数)影响。 **取值范围:** 不涉及。
|
60
60
|
|
61
|
-
:param total_count: The total_count of this
|
62
|
-
:type: int
|
61
|
+
:param total_count: The total_count of this Metadata.
|
62
|
+
:type total_count: int
|
63
63
|
"""
|
64
64
|
self._total_count = total_count
|
65
65
|
|
@@ -92,15 +92,20 @@ class Metedata:
|
|
92
92
|
|
93
93
|
def to_str(self):
|
94
94
|
"""Returns the string representation of the model"""
|
95
|
-
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
96
101
|
|
97
102
|
def __repr__(self):
|
98
|
-
"""For `print`
|
103
|
+
"""For `print`"""
|
99
104
|
return self.to_str()
|
100
105
|
|
101
106
|
def __eq__(self, other):
|
102
107
|
"""Returns true if both objects are equal"""
|
103
|
-
if not isinstance(other,
|
108
|
+
if not isinstance(other, Metadata):
|
104
109
|
return False
|
105
110
|
|
106
111
|
return self.__dict__ == other.__dict__
|
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class NameServersResp:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class NameServersResp:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -35,7 +29,17 @@ class NameServersResp:
|
|
35
29
|
}
|
36
30
|
|
37
31
|
def __init__(self, type=None, region=None, ns_records=None):
|
38
|
-
"""NameServersResp
|
32
|
+
r"""NameServersResp
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param type: 待查询名称服务器的类型。 取值范围: public, private。 如果为空,表示查询所有类型的名称服务器。 如果为public,表示查询公网的名称服务器。 如果为private,表示查询内网的名称服务器。
|
37
|
+
:type type: str
|
38
|
+
:param region: 待查询的region ID。 当查询公网的名称服务器时,此处不填。
|
39
|
+
:type region: str
|
40
|
+
:param ns_records: 名称服务器列表。
|
41
|
+
:type ns_records: list[:class:`huaweicloudsdkdns.v2.NsRecords`]
|
42
|
+
"""
|
39
43
|
|
40
44
|
|
41
45
|
|
@@ -53,7 +57,7 @@ class NameServersResp:
|
|
53
57
|
|
54
58
|
@property
|
55
59
|
def type(self):
|
56
|
-
"""Gets the type of this NameServersResp.
|
60
|
+
r"""Gets the type of this NameServersResp.
|
57
61
|
|
58
62
|
待查询名称服务器的类型。 取值范围: public, private。 如果为空,表示查询所有类型的名称服务器。 如果为public,表示查询公网的名称服务器。 如果为private,表示查询内网的名称服务器。
|
59
63
|
|
@@ -64,18 +68,18 @@ class NameServersResp:
|
|
64
68
|
|
65
69
|
@type.setter
|
66
70
|
def type(self, type):
|
67
|
-
"""Sets the type of this NameServersResp.
|
71
|
+
r"""Sets the type of this NameServersResp.
|
68
72
|
|
69
73
|
待查询名称服务器的类型。 取值范围: public, private。 如果为空,表示查询所有类型的名称服务器。 如果为public,表示查询公网的名称服务器。 如果为private,表示查询内网的名称服务器。
|
70
74
|
|
71
75
|
:param type: The type of this NameServersResp.
|
72
|
-
:type: str
|
76
|
+
:type type: str
|
73
77
|
"""
|
74
78
|
self._type = type
|
75
79
|
|
76
80
|
@property
|
77
81
|
def region(self):
|
78
|
-
"""Gets the region of this NameServersResp.
|
82
|
+
r"""Gets the region of this NameServersResp.
|
79
83
|
|
80
84
|
待查询的region ID。 当查询公网的名称服务器时,此处不填。
|
81
85
|
|
@@ -86,32 +90,34 @@ class NameServersResp:
|
|
86
90
|
|
87
91
|
@region.setter
|
88
92
|
def region(self, region):
|
89
|
-
"""Sets the region of this NameServersResp.
|
93
|
+
r"""Sets the region of this NameServersResp.
|
90
94
|
|
91
95
|
待查询的region ID。 当查询公网的名称服务器时,此处不填。
|
92
96
|
|
93
97
|
:param region: The region of this NameServersResp.
|
94
|
-
:type: str
|
98
|
+
:type region: str
|
95
99
|
"""
|
96
100
|
self._region = region
|
97
101
|
|
98
102
|
@property
|
99
103
|
def ns_records(self):
|
100
|
-
"""Gets the ns_records of this NameServersResp.
|
104
|
+
r"""Gets the ns_records of this NameServersResp.
|
101
105
|
|
106
|
+
名称服务器列表。
|
102
107
|
|
103
108
|
:return: The ns_records of this NameServersResp.
|
104
|
-
:rtype: list[NsRecords]
|
109
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.NsRecords`]
|
105
110
|
"""
|
106
111
|
return self._ns_records
|
107
112
|
|
108
113
|
@ns_records.setter
|
109
114
|
def ns_records(self, ns_records):
|
110
|
-
"""Sets the ns_records of this NameServersResp.
|
115
|
+
r"""Sets the ns_records of this NameServersResp.
|
111
116
|
|
117
|
+
名称服务器列表。
|
112
118
|
|
113
119
|
:param ns_records: The ns_records of this NameServersResp.
|
114
|
-
:type: list[NsRecords]
|
120
|
+
:type ns_records: list[:class:`huaweicloudsdkdns.v2.NsRecords`]
|
115
121
|
"""
|
116
122
|
self._ns_records = ns_records
|
117
123
|
|
@@ -144,10 +150,15 @@ class NameServersResp:
|
|
144
150
|
|
145
151
|
def to_str(self):
|
146
152
|
"""Returns the string representation of the model"""
|
147
|
-
|
153
|
+
import simplejson as json
|
154
|
+
if six.PY2:
|
155
|
+
import sys
|
156
|
+
reload(sys)
|
157
|
+
sys.setdefaultencoding("utf-8")
|
158
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
148
159
|
|
149
160
|
def __repr__(self):
|
150
|
-
"""For `print`
|
161
|
+
"""For `print`"""
|
151
162
|
return self.to_str()
|
152
163
|
|
153
164
|
def __eq__(self, other):
|