huaweicloudsdkdns 3.0.43rc0__py3-none-any.whl → 3.1.161__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 +4624 -1735
- huaweicloudsdkdns/v2/dns_client.py +4637 -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.161.dist-info}/METADATA +9 -9
- huaweicloudsdkdns-3.1.161.dist-info/RECORD +273 -0
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.161.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.161.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.161.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 ListPublicZonesRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class ListPublicZonesRequest:
|
|
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 = {
|
@@ -29,7 +23,11 @@ class ListPublicZonesRequest:
|
|
29
23
|
'offset': 'int',
|
30
24
|
'tags': 'str',
|
31
25
|
'name': 'str',
|
26
|
+
'id': 'str',
|
32
27
|
'status': 'str',
|
28
|
+
'search_mode': 'str',
|
29
|
+
'sort_key': 'str',
|
30
|
+
'sort_dir': 'str',
|
33
31
|
'enterprise_project_id': 'str'
|
34
32
|
}
|
35
33
|
|
@@ -40,12 +38,44 @@ class ListPublicZonesRequest:
|
|
40
38
|
'offset': 'offset',
|
41
39
|
'tags': 'tags',
|
42
40
|
'name': 'name',
|
41
|
+
'id': 'id',
|
43
42
|
'status': 'status',
|
43
|
+
'search_mode': 'search_mode',
|
44
|
+
'sort_key': 'sort_key',
|
45
|
+
'sort_dir': 'sort_dir',
|
44
46
|
'enterprise_project_id': 'enterprise_project_id'
|
45
47
|
}
|
46
48
|
|
47
|
-
def __init__(self, type=None, limit=None, marker=None, offset=None, tags=None, name=None, status=None, enterprise_project_id=None):
|
48
|
-
"""ListPublicZonesRequest
|
49
|
+
def __init__(self, type=None, limit=None, marker=None, offset=None, tags=None, name=None, id=None, status=None, search_mode=None, sort_key=None, sort_dir=None, enterprise_project_id=None):
|
50
|
+
r"""ListPublicZonesRequest
|
51
|
+
|
52
|
+
The model defined in huaweicloud sdk
|
53
|
+
|
54
|
+
:param type: **参数解释:** 待查询域名的类型。 **约束限制:** 不涉及。 **取值范围:** public:公网域名 **默认取值:** public。
|
55
|
+
:type type: str
|
56
|
+
:param limit: **参数解释:** 分页查询时配置每页返回的资源个数。 **约束限制:** 不涉及。 **取值范围:** 0~500。 **默认取值:** 500
|
57
|
+
:type limit: int
|
58
|
+
:param marker: **参数解释:** 分页查询的起始资源ID。 - 查询第一页时,设置为空。 - 查询下一页时,设置为上一页最后一条资源的ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
59
|
+
:type marker: str
|
60
|
+
:param offset: **参数解释:** 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 **约束限制:** 当设置marker不为空时,以marker为分页起始标识,offset不生效。 **取值范围:** 0~2147483647。 **默认取值:** 0
|
61
|
+
:type offset: int
|
62
|
+
:param tags: **参数解释:** 公网域名的标签,包括标签键和标签值。 取值格式:key1,value1|key2,value2。 **约束限制:** - 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。 - 多个标签之间为“与”的关系。 - 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 **取值范围:** 最多可以查询20个标签。 **默认取值:** 不涉及。
|
63
|
+
:type tags: str
|
64
|
+
:param name: **参数解释:** 域名。 搜索模式默认为模糊搜索。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
65
|
+
:type name: str
|
66
|
+
:param id: **参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
67
|
+
:type id: str
|
68
|
+
:param status: **参数解释:** 公网域名状态。 **约束限制:** 不涉及。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败 **默认取值:** 不涉及。
|
69
|
+
:type status: str
|
70
|
+
:param search_mode: **参数解释:** 查询条件搜索模式。 **约束限制:** 不涉及。 **取值范围:** - like:模糊搜索 - equal:精确搜索 **默认取值:** 不涉及。
|
71
|
+
:type search_mode: str
|
72
|
+
:param sort_key: **参数解释:** 查询结果中域名列表的排序字段。 **约束限制:** 不涉及。 **取值范围:** - name:域名 - created_at:创建时间 - updated_at:更新时间 **默认取值:** created_at
|
73
|
+
:type sort_key: str
|
74
|
+
:param sort_dir: **参数解释:** 查询结果中域名列表的排序方式。 **约束限制:** 不涉及。 **取值范围:** - desc:降序排序 - asc:升序排序 **默认取值:** desc
|
75
|
+
:type sort_dir: str
|
76
|
+
:param enterprise_project_id: **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **约束限制:** 不涉及。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 **默认取值:** 0
|
77
|
+
:type enterprise_project_id: str
|
78
|
+
"""
|
49
79
|
|
50
80
|
|
51
81
|
|
@@ -55,7 +85,11 @@ class ListPublicZonesRequest:
|
|
55
85
|
self._offset = None
|
56
86
|
self._tags = None
|
57
87
|
self._name = None
|
88
|
+
self._id = None
|
58
89
|
self._status = None
|
90
|
+
self._search_mode = None
|
91
|
+
self._sort_key = None
|
92
|
+
self._sort_dir = None
|
59
93
|
self._enterprise_project_id = None
|
60
94
|
self.discriminator = None
|
61
95
|
|
@@ -71,15 +105,24 @@ class ListPublicZonesRequest:
|
|
71
105
|
self.tags = tags
|
72
106
|
if name is not None:
|
73
107
|
self.name = name
|
108
|
+
if id is not None:
|
109
|
+
self.id = id
|
74
110
|
if status is not None:
|
75
111
|
self.status = status
|
112
|
+
if search_mode is not None:
|
113
|
+
self.search_mode = search_mode
|
114
|
+
if sort_key is not None:
|
115
|
+
self.sort_key = sort_key
|
116
|
+
if sort_dir is not None:
|
117
|
+
self.sort_dir = sort_dir
|
76
118
|
if enterprise_project_id is not None:
|
77
119
|
self.enterprise_project_id = enterprise_project_id
|
78
120
|
|
79
121
|
@property
|
80
122
|
def type(self):
|
81
|
-
"""Gets the type of this ListPublicZonesRequest.
|
123
|
+
r"""Gets the type of this ListPublicZonesRequest.
|
82
124
|
|
125
|
+
**参数解释:** 待查询域名的类型。 **约束限制:** 不涉及。 **取值范围:** public:公网域名 **默认取值:** public。
|
83
126
|
|
84
127
|
:return: The type of this ListPublicZonesRequest.
|
85
128
|
:rtype: str
|
@@ -88,18 +131,20 @@ class ListPublicZonesRequest:
|
|
88
131
|
|
89
132
|
@type.setter
|
90
133
|
def type(self, type):
|
91
|
-
"""Sets the type of this ListPublicZonesRequest.
|
134
|
+
r"""Sets the type of this ListPublicZonesRequest.
|
92
135
|
|
136
|
+
**参数解释:** 待查询域名的类型。 **约束限制:** 不涉及。 **取值范围:** public:公网域名 **默认取值:** public。
|
93
137
|
|
94
138
|
:param type: The type of this ListPublicZonesRequest.
|
95
|
-
:type: str
|
139
|
+
:type type: str
|
96
140
|
"""
|
97
141
|
self._type = type
|
98
142
|
|
99
143
|
@property
|
100
144
|
def limit(self):
|
101
|
-
"""Gets the limit of this ListPublicZonesRequest.
|
145
|
+
r"""Gets the limit of this ListPublicZonesRequest.
|
102
146
|
|
147
|
+
**参数解释:** 分页查询时配置每页返回的资源个数。 **约束限制:** 不涉及。 **取值范围:** 0~500。 **默认取值:** 500
|
103
148
|
|
104
149
|
:return: The limit of this ListPublicZonesRequest.
|
105
150
|
:rtype: int
|
@@ -108,18 +153,20 @@ class ListPublicZonesRequest:
|
|
108
153
|
|
109
154
|
@limit.setter
|
110
155
|
def limit(self, limit):
|
111
|
-
"""Sets the limit of this ListPublicZonesRequest.
|
156
|
+
r"""Sets the limit of this ListPublicZonesRequest.
|
112
157
|
|
158
|
+
**参数解释:** 分页查询时配置每页返回的资源个数。 **约束限制:** 不涉及。 **取值范围:** 0~500。 **默认取值:** 500
|
113
159
|
|
114
160
|
:param limit: The limit of this ListPublicZonesRequest.
|
115
|
-
:type: int
|
161
|
+
:type limit: int
|
116
162
|
"""
|
117
163
|
self._limit = limit
|
118
164
|
|
119
165
|
@property
|
120
166
|
def marker(self):
|
121
|
-
"""Gets the marker of this ListPublicZonesRequest.
|
167
|
+
r"""Gets the marker of this ListPublicZonesRequest.
|
122
168
|
|
169
|
+
**参数解释:** 分页查询的起始资源ID。 - 查询第一页时,设置为空。 - 查询下一页时,设置为上一页最后一条资源的ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
123
170
|
|
124
171
|
:return: The marker of this ListPublicZonesRequest.
|
125
172
|
:rtype: str
|
@@ -128,18 +175,20 @@ class ListPublicZonesRequest:
|
|
128
175
|
|
129
176
|
@marker.setter
|
130
177
|
def marker(self, marker):
|
131
|
-
"""Sets the marker of this ListPublicZonesRequest.
|
178
|
+
r"""Sets the marker of this ListPublicZonesRequest.
|
132
179
|
|
180
|
+
**参数解释:** 分页查询的起始资源ID。 - 查询第一页时,设置为空。 - 查询下一页时,设置为上一页最后一条资源的ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
133
181
|
|
134
182
|
:param marker: The marker of this ListPublicZonesRequest.
|
135
|
-
:type: str
|
183
|
+
:type marker: str
|
136
184
|
"""
|
137
185
|
self._marker = marker
|
138
186
|
|
139
187
|
@property
|
140
188
|
def offset(self):
|
141
|
-
"""Gets the offset of this ListPublicZonesRequest.
|
189
|
+
r"""Gets the offset of this ListPublicZonesRequest.
|
142
190
|
|
191
|
+
**参数解释:** 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 **约束限制:** 当设置marker不为空时,以marker为分页起始标识,offset不生效。 **取值范围:** 0~2147483647。 **默认取值:** 0
|
143
192
|
|
144
193
|
:return: The offset of this ListPublicZonesRequest.
|
145
194
|
:rtype: int
|
@@ -148,18 +197,20 @@ class ListPublicZonesRequest:
|
|
148
197
|
|
149
198
|
@offset.setter
|
150
199
|
def offset(self, offset):
|
151
|
-
"""Sets the offset of this ListPublicZonesRequest.
|
200
|
+
r"""Sets the offset of this ListPublicZonesRequest.
|
152
201
|
|
202
|
+
**参数解释:** 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 **约束限制:** 当设置marker不为空时,以marker为分页起始标识,offset不生效。 **取值范围:** 0~2147483647。 **默认取值:** 0
|
153
203
|
|
154
204
|
:param offset: The offset of this ListPublicZonesRequest.
|
155
|
-
:type: int
|
205
|
+
:type offset: int
|
156
206
|
"""
|
157
207
|
self._offset = offset
|
158
208
|
|
159
209
|
@property
|
160
210
|
def tags(self):
|
161
|
-
"""Gets the tags of this ListPublicZonesRequest.
|
211
|
+
r"""Gets the tags of this ListPublicZonesRequest.
|
162
212
|
|
213
|
+
**参数解释:** 公网域名的标签,包括标签键和标签值。 取值格式:key1,value1|key2,value2。 **约束限制:** - 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。 - 多个标签之间为“与”的关系。 - 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 **取值范围:** 最多可以查询20个标签。 **默认取值:** 不涉及。
|
163
214
|
|
164
215
|
:return: The tags of this ListPublicZonesRequest.
|
165
216
|
:rtype: str
|
@@ -168,18 +219,20 @@ class ListPublicZonesRequest:
|
|
168
219
|
|
169
220
|
@tags.setter
|
170
221
|
def tags(self, tags):
|
171
|
-
"""Sets the tags of this ListPublicZonesRequest.
|
222
|
+
r"""Sets the tags of this ListPublicZonesRequest.
|
172
223
|
|
224
|
+
**参数解释:** 公网域名的标签,包括标签键和标签值。 取值格式:key1,value1|key2,value2。 **约束限制:** - 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。 - 多个标签之间为“与”的关系。 - 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 **取值范围:** 最多可以查询20个标签。 **默认取值:** 不涉及。
|
173
225
|
|
174
226
|
:param tags: The tags of this ListPublicZonesRequest.
|
175
|
-
:type: str
|
227
|
+
:type tags: str
|
176
228
|
"""
|
177
229
|
self._tags = tags
|
178
230
|
|
179
231
|
@property
|
180
232
|
def name(self):
|
181
|
-
"""Gets the name of this ListPublicZonesRequest.
|
233
|
+
r"""Gets the name of this ListPublicZonesRequest.
|
182
234
|
|
235
|
+
**参数解释:** 域名。 搜索模式默认为模糊搜索。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
183
236
|
|
184
237
|
:return: The name of this ListPublicZonesRequest.
|
185
238
|
:rtype: str
|
@@ -188,18 +241,42 @@ class ListPublicZonesRequest:
|
|
188
241
|
|
189
242
|
@name.setter
|
190
243
|
def name(self, name):
|
191
|
-
"""Sets the name of this ListPublicZonesRequest.
|
244
|
+
r"""Sets the name of this ListPublicZonesRequest.
|
192
245
|
|
246
|
+
**参数解释:** 域名。 搜索模式默认为模糊搜索。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
193
247
|
|
194
248
|
:param name: The name of this ListPublicZonesRequest.
|
195
|
-
:type: str
|
249
|
+
:type name: str
|
196
250
|
"""
|
197
251
|
self._name = name
|
198
252
|
|
253
|
+
@property
|
254
|
+
def id(self):
|
255
|
+
r"""Gets the id of this ListPublicZonesRequest.
|
256
|
+
|
257
|
+
**参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
258
|
+
|
259
|
+
:return: The id of this ListPublicZonesRequest.
|
260
|
+
:rtype: str
|
261
|
+
"""
|
262
|
+
return self._id
|
263
|
+
|
264
|
+
@id.setter
|
265
|
+
def id(self, id):
|
266
|
+
r"""Sets the id of this ListPublicZonesRequest.
|
267
|
+
|
268
|
+
**参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
269
|
+
|
270
|
+
:param id: The id of this ListPublicZonesRequest.
|
271
|
+
:type id: str
|
272
|
+
"""
|
273
|
+
self._id = id
|
274
|
+
|
199
275
|
@property
|
200
276
|
def status(self):
|
201
|
-
"""Gets the status of this ListPublicZonesRequest.
|
277
|
+
r"""Gets the status of this ListPublicZonesRequest.
|
202
278
|
|
279
|
+
**参数解释:** 公网域名状态。 **约束限制:** 不涉及。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败 **默认取值:** 不涉及。
|
203
280
|
|
204
281
|
:return: The status of this ListPublicZonesRequest.
|
205
282
|
:rtype: str
|
@@ -208,18 +285,86 @@ class ListPublicZonesRequest:
|
|
208
285
|
|
209
286
|
@status.setter
|
210
287
|
def status(self, status):
|
211
|
-
"""Sets the status of this ListPublicZonesRequest.
|
288
|
+
r"""Sets the status of this ListPublicZonesRequest.
|
212
289
|
|
290
|
+
**参数解释:** 公网域名状态。 **约束限制:** 不涉及。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败 **默认取值:** 不涉及。
|
213
291
|
|
214
292
|
:param status: The status of this ListPublicZonesRequest.
|
215
|
-
:type: str
|
293
|
+
:type status: str
|
216
294
|
"""
|
217
295
|
self._status = status
|
218
296
|
|
297
|
+
@property
|
298
|
+
def search_mode(self):
|
299
|
+
r"""Gets the search_mode of this ListPublicZonesRequest.
|
300
|
+
|
301
|
+
**参数解释:** 查询条件搜索模式。 **约束限制:** 不涉及。 **取值范围:** - like:模糊搜索 - equal:精确搜索 **默认取值:** 不涉及。
|
302
|
+
|
303
|
+
:return: The search_mode of this ListPublicZonesRequest.
|
304
|
+
:rtype: str
|
305
|
+
"""
|
306
|
+
return self._search_mode
|
307
|
+
|
308
|
+
@search_mode.setter
|
309
|
+
def search_mode(self, search_mode):
|
310
|
+
r"""Sets the search_mode of this ListPublicZonesRequest.
|
311
|
+
|
312
|
+
**参数解释:** 查询条件搜索模式。 **约束限制:** 不涉及。 **取值范围:** - like:模糊搜索 - equal:精确搜索 **默认取值:** 不涉及。
|
313
|
+
|
314
|
+
:param search_mode: The search_mode of this ListPublicZonesRequest.
|
315
|
+
:type search_mode: str
|
316
|
+
"""
|
317
|
+
self._search_mode = search_mode
|
318
|
+
|
319
|
+
@property
|
320
|
+
def sort_key(self):
|
321
|
+
r"""Gets the sort_key of this ListPublicZonesRequest.
|
322
|
+
|
323
|
+
**参数解释:** 查询结果中域名列表的排序字段。 **约束限制:** 不涉及。 **取值范围:** - name:域名 - created_at:创建时间 - updated_at:更新时间 **默认取值:** created_at
|
324
|
+
|
325
|
+
:return: The sort_key of this ListPublicZonesRequest.
|
326
|
+
:rtype: str
|
327
|
+
"""
|
328
|
+
return self._sort_key
|
329
|
+
|
330
|
+
@sort_key.setter
|
331
|
+
def sort_key(self, sort_key):
|
332
|
+
r"""Sets the sort_key of this ListPublicZonesRequest.
|
333
|
+
|
334
|
+
**参数解释:** 查询结果中域名列表的排序字段。 **约束限制:** 不涉及。 **取值范围:** - name:域名 - created_at:创建时间 - updated_at:更新时间 **默认取值:** created_at
|
335
|
+
|
336
|
+
:param sort_key: The sort_key of this ListPublicZonesRequest.
|
337
|
+
:type sort_key: str
|
338
|
+
"""
|
339
|
+
self._sort_key = sort_key
|
340
|
+
|
341
|
+
@property
|
342
|
+
def sort_dir(self):
|
343
|
+
r"""Gets the sort_dir of this ListPublicZonesRequest.
|
344
|
+
|
345
|
+
**参数解释:** 查询结果中域名列表的排序方式。 **约束限制:** 不涉及。 **取值范围:** - desc:降序排序 - asc:升序排序 **默认取值:** desc
|
346
|
+
|
347
|
+
:return: The sort_dir of this ListPublicZonesRequest.
|
348
|
+
:rtype: str
|
349
|
+
"""
|
350
|
+
return self._sort_dir
|
351
|
+
|
352
|
+
@sort_dir.setter
|
353
|
+
def sort_dir(self, sort_dir):
|
354
|
+
r"""Sets the sort_dir of this ListPublicZonesRequest.
|
355
|
+
|
356
|
+
**参数解释:** 查询结果中域名列表的排序方式。 **约束限制:** 不涉及。 **取值范围:** - desc:降序排序 - asc:升序排序 **默认取值:** desc
|
357
|
+
|
358
|
+
:param sort_dir: The sort_dir of this ListPublicZonesRequest.
|
359
|
+
:type sort_dir: str
|
360
|
+
"""
|
361
|
+
self._sort_dir = sort_dir
|
362
|
+
|
219
363
|
@property
|
220
364
|
def enterprise_project_id(self):
|
221
|
-
"""Gets the enterprise_project_id of this ListPublicZonesRequest.
|
365
|
+
r"""Gets the enterprise_project_id of this ListPublicZonesRequest.
|
222
366
|
|
367
|
+
**参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **约束限制:** 不涉及。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 **默认取值:** 0
|
223
368
|
|
224
369
|
:return: The enterprise_project_id of this ListPublicZonesRequest.
|
225
370
|
:rtype: str
|
@@ -228,11 +373,12 @@ class ListPublicZonesRequest:
|
|
228
373
|
|
229
374
|
@enterprise_project_id.setter
|
230
375
|
def enterprise_project_id(self, enterprise_project_id):
|
231
|
-
"""Sets the enterprise_project_id of this ListPublicZonesRequest.
|
376
|
+
r"""Sets the enterprise_project_id of this ListPublicZonesRequest.
|
232
377
|
|
378
|
+
**参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **约束限制:** 不涉及。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 **默认取值:** 0
|
233
379
|
|
234
380
|
:param enterprise_project_id: The enterprise_project_id of this ListPublicZonesRequest.
|
235
|
-
:type: str
|
381
|
+
:type enterprise_project_id: str
|
236
382
|
"""
|
237
383
|
self._enterprise_project_id = enterprise_project_id
|
238
384
|
|
@@ -265,10 +411,15 @@ class ListPublicZonesRequest:
|
|
265
411
|
|
266
412
|
def to_str(self):
|
267
413
|
"""Returns the string representation of the model"""
|
268
|
-
|
414
|
+
import simplejson as json
|
415
|
+
if six.PY2:
|
416
|
+
import sys
|
417
|
+
reload(sys)
|
418
|
+
sys.setdefaultencoding("utf-8")
|
419
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
269
420
|
|
270
421
|
def __repr__(self):
|
271
|
-
"""For `print`
|
422
|
+
"""For `print`"""
|
272
423
|
return self.to_str()
|
273
424
|
|
274
425
|
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 ListPublicZonesResponse(SdkResponse):
|
13
10
|
|
14
|
-
|
15
11
|
"""
|
16
12
|
Attributes:
|
17
13
|
openapi_types (dict): The key is attribute name
|
@@ -19,13 +15,12 @@ class ListPublicZonesResponse(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 = {
|
26
21
|
'links': 'PageLink',
|
27
|
-
'zones': '
|
28
|
-
'metadata': '
|
22
|
+
'zones': 'list[PublicZoneResp]',
|
23
|
+
'metadata': 'Metadata'
|
29
24
|
}
|
30
25
|
|
31
26
|
attribute_map = {
|
@@ -35,9 +30,19 @@ class ListPublicZonesResponse(SdkResponse):
|
|
35
30
|
}
|
36
31
|
|
37
32
|
def __init__(self, links=None, zones=None, metadata=None):
|
38
|
-
"""ListPublicZonesResponse
|
33
|
+
r"""ListPublicZonesResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param links:
|
38
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
39
|
+
:param zones: **参数解释:** 查询公网域名的列表响应。 **取值范围:** 不涉及。
|
40
|
+
:type zones: list[:class:`huaweicloudsdkdns.v2.PublicZoneResp`]
|
41
|
+
:param metadata:
|
42
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
43
|
+
"""
|
39
44
|
|
40
|
-
super().__init__()
|
45
|
+
super(ListPublicZonesResponse, self).__init__()
|
41
46
|
|
42
47
|
self._links = None
|
43
48
|
self._zones = None
|
@@ -53,61 +58,59 @@ class ListPublicZonesResponse(SdkResponse):
|
|
53
58
|
|
54
59
|
@property
|
55
60
|
def links(self):
|
56
|
-
"""Gets the links of this ListPublicZonesResponse.
|
57
|
-
|
61
|
+
r"""Gets the links of this ListPublicZonesResponse.
|
58
62
|
|
59
63
|
:return: The links of this ListPublicZonesResponse.
|
60
|
-
:rtype: PageLink
|
64
|
+
:rtype: :class:`huaweicloudsdkdns.v2.PageLink`
|
61
65
|
"""
|
62
66
|
return self._links
|
63
67
|
|
64
68
|
@links.setter
|
65
69
|
def links(self, links):
|
66
|
-
"""Sets the links of this ListPublicZonesResponse.
|
67
|
-
|
70
|
+
r"""Sets the links of this ListPublicZonesResponse.
|
68
71
|
|
69
72
|
:param links: The links of this ListPublicZonesResponse.
|
70
|
-
:type: PageLink
|
73
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
71
74
|
"""
|
72
75
|
self._links = links
|
73
76
|
|
74
77
|
@property
|
75
78
|
def zones(self):
|
76
|
-
"""Gets the zones of this ListPublicZonesResponse.
|
79
|
+
r"""Gets the zones of this ListPublicZonesResponse.
|
77
80
|
|
81
|
+
**参数解释:** 查询公网域名的列表响应。 **取值范围:** 不涉及。
|
78
82
|
|
79
83
|
:return: The zones of this ListPublicZonesResponse.
|
80
|
-
:rtype:
|
84
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.PublicZoneResp`]
|
81
85
|
"""
|
82
86
|
return self._zones
|
83
87
|
|
84
88
|
@zones.setter
|
85
89
|
def zones(self, zones):
|
86
|
-
"""Sets the zones of this ListPublicZonesResponse.
|
90
|
+
r"""Sets the zones of this ListPublicZonesResponse.
|
87
91
|
|
92
|
+
**参数解释:** 查询公网域名的列表响应。 **取值范围:** 不涉及。
|
88
93
|
|
89
94
|
:param zones: The zones of this ListPublicZonesResponse.
|
90
|
-
:type:
|
95
|
+
:type zones: list[:class:`huaweicloudsdkdns.v2.PublicZoneResp`]
|
91
96
|
"""
|
92
97
|
self._zones = zones
|
93
98
|
|
94
99
|
@property
|
95
100
|
def metadata(self):
|
96
|
-
"""Gets the metadata of this ListPublicZonesResponse.
|
97
|
-
|
101
|
+
r"""Gets the metadata of this ListPublicZonesResponse.
|
98
102
|
|
99
103
|
:return: The metadata of this ListPublicZonesResponse.
|
100
|
-
:rtype:
|
104
|
+
:rtype: :class:`huaweicloudsdkdns.v2.Metadata`
|
101
105
|
"""
|
102
106
|
return self._metadata
|
103
107
|
|
104
108
|
@metadata.setter
|
105
109
|
def metadata(self, metadata):
|
106
|
-
"""Sets the metadata of this ListPublicZonesResponse.
|
107
|
-
|
110
|
+
r"""Sets the metadata of this ListPublicZonesResponse.
|
108
111
|
|
109
112
|
:param metadata: The metadata of this ListPublicZonesResponse.
|
110
|
-
:type:
|
113
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
111
114
|
"""
|
112
115
|
self._metadata = metadata
|
113
116
|
|
@@ -140,10 +143,15 @@ class ListPublicZonesResponse(SdkResponse):
|
|
140
143
|
|
141
144
|
def to_str(self):
|
142
145
|
"""Returns the string representation of the model"""
|
143
|
-
|
146
|
+
import simplejson as json
|
147
|
+
if six.PY2:
|
148
|
+
import sys
|
149
|
+
reload(sys)
|
150
|
+
sys.setdefaultencoding("utf-8")
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
144
152
|
|
145
153
|
def __repr__(self):
|
146
|
-
"""For `print`
|
154
|
+
"""For `print`"""
|
147
155
|
return self.to_str()
|
148
156
|
|
149
157
|
def __eq__(self, other):
|