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,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 Nameserver:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class Nameserver:
|
|
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 = {
|
@@ -33,7 +27,15 @@ class Nameserver:
|
|
33
27
|
}
|
34
28
|
|
35
29
|
def __init__(self, hostname=None, priority=None):
|
36
|
-
"""Nameserver
|
30
|
+
r"""Nameserver
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param hostname: **参数解释:** 主机名。 **取值范围:** 不涉及。
|
35
|
+
:type hostname: str
|
36
|
+
:param priority: **参数解释:** 优先级。 **取值范围:** 不涉及。
|
37
|
+
:type priority: int
|
38
|
+
"""
|
37
39
|
|
38
40
|
|
39
41
|
|
@@ -48,9 +50,9 @@ class Nameserver:
|
|
48
50
|
|
49
51
|
@property
|
50
52
|
def hostname(self):
|
51
|
-
"""Gets the hostname of this Nameserver.
|
53
|
+
r"""Gets the hostname of this Nameserver.
|
52
54
|
|
53
|
-
主机名。
|
55
|
+
**参数解释:** 主机名。 **取值范围:** 不涉及。
|
54
56
|
|
55
57
|
:return: The hostname of this Nameserver.
|
56
58
|
:rtype: str
|
@@ -59,20 +61,20 @@ class Nameserver:
|
|
59
61
|
|
60
62
|
@hostname.setter
|
61
63
|
def hostname(self, hostname):
|
62
|
-
"""Sets the hostname of this Nameserver.
|
64
|
+
r"""Sets the hostname of this Nameserver.
|
63
65
|
|
64
|
-
主机名。
|
66
|
+
**参数解释:** 主机名。 **取值范围:** 不涉及。
|
65
67
|
|
66
68
|
:param hostname: The hostname of this Nameserver.
|
67
|
-
:type: str
|
69
|
+
:type hostname: str
|
68
70
|
"""
|
69
71
|
self._hostname = hostname
|
70
72
|
|
71
73
|
@property
|
72
74
|
def priority(self):
|
73
|
-
"""Gets the priority of this Nameserver.
|
75
|
+
r"""Gets the priority of this Nameserver.
|
74
76
|
|
75
|
-
优先级。
|
77
|
+
**参数解释:** 优先级。 **取值范围:** 不涉及。
|
76
78
|
|
77
79
|
:return: The priority of this Nameserver.
|
78
80
|
:rtype: int
|
@@ -81,12 +83,12 @@ class Nameserver:
|
|
81
83
|
|
82
84
|
@priority.setter
|
83
85
|
def priority(self, priority):
|
84
|
-
"""Sets the priority of this Nameserver.
|
86
|
+
r"""Sets the priority of this Nameserver.
|
85
87
|
|
86
|
-
优先级。
|
88
|
+
**参数解释:** 优先级。 **取值范围:** 不涉及。
|
87
89
|
|
88
90
|
:param priority: The priority of this Nameserver.
|
89
|
-
:type: int
|
91
|
+
:type priority: int
|
90
92
|
"""
|
91
93
|
self._priority = priority
|
92
94
|
|
@@ -119,10 +121,15 @@ class Nameserver:
|
|
119
121
|
|
120
122
|
def to_str(self):
|
121
123
|
"""Returns the string representation of the model"""
|
122
|
-
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
123
130
|
|
124
131
|
def __repr__(self):
|
125
|
-
"""For `print`
|
132
|
+
"""For `print`"""
|
126
133
|
return self.to_str()
|
127
134
|
|
128
135
|
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 NsRecords:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class NsRecords:
|
|
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 NsRecords:
|
|
35
29
|
}
|
36
30
|
|
37
31
|
def __init__(self, hostname=None, address=None, priority=None):
|
38
|
-
"""NsRecords
|
32
|
+
r"""NsRecords
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param hostname: 主机名。 当为内网名称服务器时,此值为空。
|
37
|
+
:type hostname: str
|
38
|
+
:param address: 名称服务器地址。 当为公网名称服务器时,此值为空。
|
39
|
+
:type address: str
|
40
|
+
:param priority: 优先级。 示例: 如果priority的值为“1”,表示会第一个采用该域名服务器进行解析。
|
41
|
+
:type priority: int
|
42
|
+
"""
|
39
43
|
|
40
44
|
|
41
45
|
|
@@ -53,7 +57,7 @@ class NsRecords:
|
|
53
57
|
|
54
58
|
@property
|
55
59
|
def hostname(self):
|
56
|
-
"""Gets the hostname of this NsRecords.
|
60
|
+
r"""Gets the hostname of this NsRecords.
|
57
61
|
|
58
62
|
主机名。 当为内网名称服务器时,此值为空。
|
59
63
|
|
@@ -64,18 +68,18 @@ class NsRecords:
|
|
64
68
|
|
65
69
|
@hostname.setter
|
66
70
|
def hostname(self, hostname):
|
67
|
-
"""Sets the hostname of this NsRecords.
|
71
|
+
r"""Sets the hostname of this NsRecords.
|
68
72
|
|
69
73
|
主机名。 当为内网名称服务器时,此值为空。
|
70
74
|
|
71
75
|
:param hostname: The hostname of this NsRecords.
|
72
|
-
:type: str
|
76
|
+
:type hostname: str
|
73
77
|
"""
|
74
78
|
self._hostname = hostname
|
75
79
|
|
76
80
|
@property
|
77
81
|
def address(self):
|
78
|
-
"""Gets the address of this NsRecords.
|
82
|
+
r"""Gets the address of this NsRecords.
|
79
83
|
|
80
84
|
名称服务器地址。 当为公网名称服务器时,此值为空。
|
81
85
|
|
@@ -86,18 +90,18 @@ class NsRecords:
|
|
86
90
|
|
87
91
|
@address.setter
|
88
92
|
def address(self, address):
|
89
|
-
"""Sets the address of this NsRecords.
|
93
|
+
r"""Sets the address of this NsRecords.
|
90
94
|
|
91
95
|
名称服务器地址。 当为公网名称服务器时,此值为空。
|
92
96
|
|
93
97
|
:param address: The address of this NsRecords.
|
94
|
-
:type: str
|
98
|
+
:type address: str
|
95
99
|
"""
|
96
100
|
self._address = address
|
97
101
|
|
98
102
|
@property
|
99
103
|
def priority(self):
|
100
|
-
"""Gets the priority of this NsRecords.
|
104
|
+
r"""Gets the priority of this NsRecords.
|
101
105
|
|
102
106
|
优先级。 示例: 如果priority的值为“1”,表示会第一个采用该域名服务器进行解析。
|
103
107
|
|
@@ -108,12 +112,12 @@ class NsRecords:
|
|
108
112
|
|
109
113
|
@priority.setter
|
110
114
|
def priority(self, priority):
|
111
|
-
"""Sets the priority of this NsRecords.
|
115
|
+
r"""Sets the priority of this NsRecords.
|
112
116
|
|
113
117
|
优先级。 示例: 如果priority的值为“1”,表示会第一个采用该域名服务器进行解析。
|
114
118
|
|
115
119
|
:param priority: The priority of this NsRecords.
|
116
|
-
:type: int
|
120
|
+
:type priority: int
|
117
121
|
"""
|
118
122
|
self._priority = priority
|
119
123
|
|
@@ -146,10 +150,15 @@ class NsRecords:
|
|
146
150
|
|
147
151
|
def to_str(self):
|
148
152
|
"""Returns the string representation of the model"""
|
149
|
-
|
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)
|
150
159
|
|
151
160
|
def __repr__(self):
|
152
|
-
"""For `print`
|
161
|
+
"""For `print`"""
|
153
162
|
return self.to_str()
|
154
163
|
|
155
164
|
def __eq__(self, other):
|
@@ -0,0 +1,173 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class PageInfo:
|
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
|
+
'next_marker': 'str',
|
21
|
+
'previous_marker': 'str',
|
22
|
+
'current_count': 'int'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'next_marker': 'next_marker',
|
27
|
+
'previous_marker': 'previous_marker',
|
28
|
+
'current_count': 'current_count'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, next_marker=None, previous_marker=None, current_count=None):
|
32
|
+
r"""PageInfo
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param next_marker: **参数解释:** 下一页的页面标识。 **取值范围:** 不涉及。
|
37
|
+
:type next_marker: str
|
38
|
+
:param previous_marker: **参数解释:** 上一页的页面标识。 **取值范围:** 不涉及。
|
39
|
+
:type previous_marker: str
|
40
|
+
:param current_count: **参数解释:** 页面数量。 **取值范围:** 不涉及。
|
41
|
+
:type current_count: int
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._next_marker = None
|
47
|
+
self._previous_marker = None
|
48
|
+
self._current_count = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
if next_marker is not None:
|
52
|
+
self.next_marker = next_marker
|
53
|
+
if previous_marker is not None:
|
54
|
+
self.previous_marker = previous_marker
|
55
|
+
if current_count is not None:
|
56
|
+
self.current_count = current_count
|
57
|
+
|
58
|
+
@property
|
59
|
+
def next_marker(self):
|
60
|
+
r"""Gets the next_marker of this PageInfo.
|
61
|
+
|
62
|
+
**参数解释:** 下一页的页面标识。 **取值范围:** 不涉及。
|
63
|
+
|
64
|
+
:return: The next_marker of this PageInfo.
|
65
|
+
:rtype: str
|
66
|
+
"""
|
67
|
+
return self._next_marker
|
68
|
+
|
69
|
+
@next_marker.setter
|
70
|
+
def next_marker(self, next_marker):
|
71
|
+
r"""Sets the next_marker of this PageInfo.
|
72
|
+
|
73
|
+
**参数解释:** 下一页的页面标识。 **取值范围:** 不涉及。
|
74
|
+
|
75
|
+
:param next_marker: The next_marker of this PageInfo.
|
76
|
+
:type next_marker: str
|
77
|
+
"""
|
78
|
+
self._next_marker = next_marker
|
79
|
+
|
80
|
+
@property
|
81
|
+
def previous_marker(self):
|
82
|
+
r"""Gets the previous_marker of this PageInfo.
|
83
|
+
|
84
|
+
**参数解释:** 上一页的页面标识。 **取值范围:** 不涉及。
|
85
|
+
|
86
|
+
:return: The previous_marker of this PageInfo.
|
87
|
+
:rtype: str
|
88
|
+
"""
|
89
|
+
return self._previous_marker
|
90
|
+
|
91
|
+
@previous_marker.setter
|
92
|
+
def previous_marker(self, previous_marker):
|
93
|
+
r"""Sets the previous_marker of this PageInfo.
|
94
|
+
|
95
|
+
**参数解释:** 上一页的页面标识。 **取值范围:** 不涉及。
|
96
|
+
|
97
|
+
:param previous_marker: The previous_marker of this PageInfo.
|
98
|
+
:type previous_marker: str
|
99
|
+
"""
|
100
|
+
self._previous_marker = previous_marker
|
101
|
+
|
102
|
+
@property
|
103
|
+
def current_count(self):
|
104
|
+
r"""Gets the current_count of this PageInfo.
|
105
|
+
|
106
|
+
**参数解释:** 页面数量。 **取值范围:** 不涉及。
|
107
|
+
|
108
|
+
:return: The current_count of this PageInfo.
|
109
|
+
:rtype: int
|
110
|
+
"""
|
111
|
+
return self._current_count
|
112
|
+
|
113
|
+
@current_count.setter
|
114
|
+
def current_count(self, current_count):
|
115
|
+
r"""Sets the current_count of this PageInfo.
|
116
|
+
|
117
|
+
**参数解释:** 页面数量。 **取值范围:** 不涉及。
|
118
|
+
|
119
|
+
:param current_count: The current_count of this PageInfo.
|
120
|
+
:type current_count: int
|
121
|
+
"""
|
122
|
+
self._current_count = current_count
|
123
|
+
|
124
|
+
def to_dict(self):
|
125
|
+
"""Returns the model properties as a dict"""
|
126
|
+
result = {}
|
127
|
+
|
128
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
129
|
+
value = getattr(self, attr)
|
130
|
+
if isinstance(value, list):
|
131
|
+
result[attr] = list(map(
|
132
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
133
|
+
value
|
134
|
+
))
|
135
|
+
elif hasattr(value, "to_dict"):
|
136
|
+
result[attr] = value.to_dict()
|
137
|
+
elif isinstance(value, dict):
|
138
|
+
result[attr] = dict(map(
|
139
|
+
lambda item: (item[0], item[1].to_dict())
|
140
|
+
if hasattr(item[1], "to_dict") else item,
|
141
|
+
value.items()
|
142
|
+
))
|
143
|
+
else:
|
144
|
+
if attr in self.sensitive_list:
|
145
|
+
result[attr] = "****"
|
146
|
+
else:
|
147
|
+
result[attr] = value
|
148
|
+
|
149
|
+
return result
|
150
|
+
|
151
|
+
def to_str(self):
|
152
|
+
"""Returns the string representation of the model"""
|
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)
|
159
|
+
|
160
|
+
def __repr__(self):
|
161
|
+
"""For `print`"""
|
162
|
+
return self.to_str()
|
163
|
+
|
164
|
+
def __eq__(self, other):
|
165
|
+
"""Returns true if both objects are equal"""
|
166
|
+
if not isinstance(other, PageInfo):
|
167
|
+
return False
|
168
|
+
|
169
|
+
return self.__dict__ == other.__dict__
|
170
|
+
|
171
|
+
def __ne__(self, other):
|
172
|
+
"""Returns true if both objects are not equal"""
|
173
|
+
return not 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 PageLink:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class PageLink:
|
|
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 = {
|
@@ -33,7 +27,15 @@ class PageLink:
|
|
33
27
|
}
|
34
28
|
|
35
29
|
def __init__(self, _self=None, next=None):
|
36
|
-
"""PageLink
|
30
|
+
r"""PageLink
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param _self: **参数解释:** 当前页面的链接。 **取值范围:** 不涉及。
|
35
|
+
:type _self: str
|
36
|
+
:param next: **参数解释:** 下一页的链接。 **取值范围:** 不涉及。
|
37
|
+
:type next: str
|
38
|
+
"""
|
37
39
|
|
38
40
|
|
39
41
|
|
@@ -48,9 +50,9 @@ class PageLink:
|
|
48
50
|
|
49
51
|
@property
|
50
52
|
def _self(self):
|
51
|
-
"""Gets the _self of this PageLink.
|
53
|
+
r"""Gets the _self of this PageLink.
|
52
54
|
|
53
|
-
|
55
|
+
**参数解释:** 当前页面的链接。 **取值范围:** 不涉及。
|
54
56
|
|
55
57
|
:return: The _self of this PageLink.
|
56
58
|
:rtype: str
|
@@ -59,20 +61,20 @@ class PageLink:
|
|
59
61
|
|
60
62
|
@_self.setter
|
61
63
|
def _self(self, _self):
|
62
|
-
"""Sets the _self of this PageLink.
|
64
|
+
r"""Sets the _self of this PageLink.
|
63
65
|
|
64
|
-
|
66
|
+
**参数解释:** 当前页面的链接。 **取值范围:** 不涉及。
|
65
67
|
|
66
68
|
:param _self: The _self of this PageLink.
|
67
|
-
:type: str
|
69
|
+
:type _self: str
|
68
70
|
"""
|
69
71
|
self.__self = _self
|
70
72
|
|
71
73
|
@property
|
72
74
|
def next(self):
|
73
|
-
"""Gets the next of this PageLink.
|
75
|
+
r"""Gets the next of this PageLink.
|
74
76
|
|
75
|
-
|
77
|
+
**参数解释:** 下一页的链接。 **取值范围:** 不涉及。
|
76
78
|
|
77
79
|
:return: The next of this PageLink.
|
78
80
|
:rtype: str
|
@@ -81,12 +83,12 @@ class PageLink:
|
|
81
83
|
|
82
84
|
@next.setter
|
83
85
|
def next(self, next):
|
84
|
-
"""Sets the next of this PageLink.
|
86
|
+
r"""Sets the next of this PageLink.
|
85
87
|
|
86
|
-
|
88
|
+
**参数解释:** 下一页的链接。 **取值范围:** 不涉及。
|
87
89
|
|
88
90
|
:param next: The next of this PageLink.
|
89
|
-
:type: str
|
91
|
+
:type next: str
|
90
92
|
"""
|
91
93
|
self._next = next
|
92
94
|
|
@@ -119,10 +121,15 @@ class PageLink:
|
|
119
121
|
|
120
122
|
def to_str(self):
|
121
123
|
"""Returns the string representation of the model"""
|
122
|
-
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
123
130
|
|
124
131
|
def __repr__(self):
|
125
|
-
"""For `print`
|
132
|
+
"""For `print`"""
|
126
133
|
return self.to_str()
|
127
134
|
|
128
135
|
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 PrivateNameServer:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class PrivateNameServer:
|
|
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 = {
|
@@ -33,7 +27,15 @@ class PrivateNameServer:
|
|
33
27
|
}
|
34
28
|
|
35
29
|
def __init__(self, priority=None, address=None):
|
36
|
-
"""PrivateNameServer
|
30
|
+
r"""PrivateNameServer
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param priority: **参数解释:** 优先级。如果priority的值为“1”,表示会第一个采用该域名服务器进行解析。 **取值范围:** 不涉及。
|
35
|
+
:type priority: int
|
36
|
+
:param address: **参数解释:** DNS服务器地址。 **取值范围:** 不涉及。
|
37
|
+
:type address: str
|
38
|
+
"""
|
37
39
|
|
38
40
|
|
39
41
|
|
@@ -48,9 +50,9 @@ class PrivateNameServer:
|
|
48
50
|
|
49
51
|
@property
|
50
52
|
def priority(self):
|
51
|
-
"""Gets the priority of this PrivateNameServer.
|
53
|
+
r"""Gets the priority of this PrivateNameServer.
|
52
54
|
|
53
|
-
优先级。如果priority的值为“1”,表示会第一个采用该域名服务器进行解析。
|
55
|
+
**参数解释:** 优先级。如果priority的值为“1”,表示会第一个采用该域名服务器进行解析。 **取值范围:** 不涉及。
|
54
56
|
|
55
57
|
:return: The priority of this PrivateNameServer.
|
56
58
|
:rtype: int
|
@@ -59,20 +61,20 @@ class PrivateNameServer:
|
|
59
61
|
|
60
62
|
@priority.setter
|
61
63
|
def priority(self, priority):
|
62
|
-
"""Sets the priority of this PrivateNameServer.
|
64
|
+
r"""Sets the priority of this PrivateNameServer.
|
63
65
|
|
64
|
-
优先级。如果priority的值为“1”,表示会第一个采用该域名服务器进行解析。
|
66
|
+
**参数解释:** 优先级。如果priority的值为“1”,表示会第一个采用该域名服务器进行解析。 **取值范围:** 不涉及。
|
65
67
|
|
66
68
|
:param priority: The priority of this PrivateNameServer.
|
67
|
-
:type: int
|
69
|
+
:type priority: int
|
68
70
|
"""
|
69
71
|
self._priority = priority
|
70
72
|
|
71
73
|
@property
|
72
74
|
def address(self):
|
73
|
-
"""Gets the address of this PrivateNameServer.
|
75
|
+
r"""Gets the address of this PrivateNameServer.
|
74
76
|
|
75
|
-
DNS服务器地址。
|
77
|
+
**参数解释:** DNS服务器地址。 **取值范围:** 不涉及。
|
76
78
|
|
77
79
|
:return: The address of this PrivateNameServer.
|
78
80
|
:rtype: str
|
@@ -81,12 +83,12 @@ class PrivateNameServer:
|
|
81
83
|
|
82
84
|
@address.setter
|
83
85
|
def address(self, address):
|
84
|
-
"""Sets the address of this PrivateNameServer.
|
86
|
+
r"""Sets the address of this PrivateNameServer.
|
85
87
|
|
86
|
-
DNS服务器地址。
|
88
|
+
**参数解释:** DNS服务器地址。 **取值范围:** 不涉及。
|
87
89
|
|
88
90
|
:param address: The address of this PrivateNameServer.
|
89
|
-
:type: str
|
91
|
+
:type address: str
|
90
92
|
"""
|
91
93
|
self._address = address
|
92
94
|
|
@@ -119,10 +121,15 @@ class PrivateNameServer:
|
|
119
121
|
|
120
122
|
def to_str(self):
|
121
123
|
"""Returns the string representation of the model"""
|
122
|
-
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
123
130
|
|
124
131
|
def __repr__(self):
|
125
|
-
"""For `print`
|
132
|
+
"""For `print`"""
|
126
133
|
return self.to_str()
|
127
134
|
|
128
135
|
def __eq__(self, other):
|