huaweicloudsdkdns 3.0.42rc0__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.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkdns-3.1.160.dist-info/RECORD +273 -0
- {huaweicloudsdkdns-3.0.42rc0.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.42rc0.dist-info/RECORD +0 -146
- {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,191 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ListResolverRulesResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'resolver_rules': 'list[ListResolverRuleParam]',
|
22
|
+
'links': 'PageLink',
|
23
|
+
'metadata': 'Metadata',
|
24
|
+
'page_info': 'PageInfo'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'resolver_rules': 'resolver_rules',
|
29
|
+
'links': 'links',
|
30
|
+
'metadata': 'metadata',
|
31
|
+
'page_info': 'page_info'
|
32
|
+
}
|
33
|
+
|
34
|
+
def __init__(self, resolver_rules=None, links=None, metadata=None, page_info=None):
|
35
|
+
r"""ListResolverRulesResponse
|
36
|
+
|
37
|
+
The model defined in huaweicloud sdk
|
38
|
+
|
39
|
+
:param resolver_rules: 解析器转发规则列表。
|
40
|
+
:type resolver_rules: list[:class:`huaweicloudsdkdns.v2.ListResolverRuleParam`]
|
41
|
+
:param links:
|
42
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
43
|
+
:param metadata:
|
44
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
45
|
+
:param page_info:
|
46
|
+
:type page_info: :class:`huaweicloudsdkdns.v2.PageInfo`
|
47
|
+
"""
|
48
|
+
|
49
|
+
super(ListResolverRulesResponse, self).__init__()
|
50
|
+
|
51
|
+
self._resolver_rules = None
|
52
|
+
self._links = None
|
53
|
+
self._metadata = None
|
54
|
+
self._page_info = None
|
55
|
+
self.discriminator = None
|
56
|
+
|
57
|
+
if resolver_rules is not None:
|
58
|
+
self.resolver_rules = resolver_rules
|
59
|
+
if links is not None:
|
60
|
+
self.links = links
|
61
|
+
if metadata is not None:
|
62
|
+
self.metadata = metadata
|
63
|
+
if page_info is not None:
|
64
|
+
self.page_info = page_info
|
65
|
+
|
66
|
+
@property
|
67
|
+
def resolver_rules(self):
|
68
|
+
r"""Gets the resolver_rules of this ListResolverRulesResponse.
|
69
|
+
|
70
|
+
解析器转发规则列表。
|
71
|
+
|
72
|
+
:return: The resolver_rules of this ListResolverRulesResponse.
|
73
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.ListResolverRuleParam`]
|
74
|
+
"""
|
75
|
+
return self._resolver_rules
|
76
|
+
|
77
|
+
@resolver_rules.setter
|
78
|
+
def resolver_rules(self, resolver_rules):
|
79
|
+
r"""Sets the resolver_rules of this ListResolverRulesResponse.
|
80
|
+
|
81
|
+
解析器转发规则列表。
|
82
|
+
|
83
|
+
:param resolver_rules: The resolver_rules of this ListResolverRulesResponse.
|
84
|
+
:type resolver_rules: list[:class:`huaweicloudsdkdns.v2.ListResolverRuleParam`]
|
85
|
+
"""
|
86
|
+
self._resolver_rules = resolver_rules
|
87
|
+
|
88
|
+
@property
|
89
|
+
def links(self):
|
90
|
+
r"""Gets the links of this ListResolverRulesResponse.
|
91
|
+
|
92
|
+
:return: The links of this ListResolverRulesResponse.
|
93
|
+
:rtype: :class:`huaweicloudsdkdns.v2.PageLink`
|
94
|
+
"""
|
95
|
+
return self._links
|
96
|
+
|
97
|
+
@links.setter
|
98
|
+
def links(self, links):
|
99
|
+
r"""Sets the links of this ListResolverRulesResponse.
|
100
|
+
|
101
|
+
:param links: The links of this ListResolverRulesResponse.
|
102
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
103
|
+
"""
|
104
|
+
self._links = links
|
105
|
+
|
106
|
+
@property
|
107
|
+
def metadata(self):
|
108
|
+
r"""Gets the metadata of this ListResolverRulesResponse.
|
109
|
+
|
110
|
+
:return: The metadata of this ListResolverRulesResponse.
|
111
|
+
:rtype: :class:`huaweicloudsdkdns.v2.Metadata`
|
112
|
+
"""
|
113
|
+
return self._metadata
|
114
|
+
|
115
|
+
@metadata.setter
|
116
|
+
def metadata(self, metadata):
|
117
|
+
r"""Sets the metadata of this ListResolverRulesResponse.
|
118
|
+
|
119
|
+
:param metadata: The metadata of this ListResolverRulesResponse.
|
120
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
121
|
+
"""
|
122
|
+
self._metadata = metadata
|
123
|
+
|
124
|
+
@property
|
125
|
+
def page_info(self):
|
126
|
+
r"""Gets the page_info of this ListResolverRulesResponse.
|
127
|
+
|
128
|
+
:return: The page_info of this ListResolverRulesResponse.
|
129
|
+
:rtype: :class:`huaweicloudsdkdns.v2.PageInfo`
|
130
|
+
"""
|
131
|
+
return self._page_info
|
132
|
+
|
133
|
+
@page_info.setter
|
134
|
+
def page_info(self, page_info):
|
135
|
+
r"""Sets the page_info of this ListResolverRulesResponse.
|
136
|
+
|
137
|
+
:param page_info: The page_info of this ListResolverRulesResponse.
|
138
|
+
:type page_info: :class:`huaweicloudsdkdns.v2.PageInfo`
|
139
|
+
"""
|
140
|
+
self._page_info = page_info
|
141
|
+
|
142
|
+
def to_dict(self):
|
143
|
+
"""Returns the model properties as a dict"""
|
144
|
+
result = {}
|
145
|
+
|
146
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
147
|
+
value = getattr(self, attr)
|
148
|
+
if isinstance(value, list):
|
149
|
+
result[attr] = list(map(
|
150
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
151
|
+
value
|
152
|
+
))
|
153
|
+
elif hasattr(value, "to_dict"):
|
154
|
+
result[attr] = value.to_dict()
|
155
|
+
elif isinstance(value, dict):
|
156
|
+
result[attr] = dict(map(
|
157
|
+
lambda item: (item[0], item[1].to_dict())
|
158
|
+
if hasattr(item[1], "to_dict") else item,
|
159
|
+
value.items()
|
160
|
+
))
|
161
|
+
else:
|
162
|
+
if attr in self.sensitive_list:
|
163
|
+
result[attr] = "****"
|
164
|
+
else:
|
165
|
+
result[attr] = value
|
166
|
+
|
167
|
+
return result
|
168
|
+
|
169
|
+
def to_str(self):
|
170
|
+
"""Returns the string representation of the model"""
|
171
|
+
import simplejson as json
|
172
|
+
if six.PY2:
|
173
|
+
import sys
|
174
|
+
reload(sys)
|
175
|
+
sys.setdefaultencoding("utf-8")
|
176
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
177
|
+
|
178
|
+
def __repr__(self):
|
179
|
+
"""For `print`"""
|
180
|
+
return self.to_str()
|
181
|
+
|
182
|
+
def __eq__(self, other):
|
183
|
+
"""Returns true if both objects are equal"""
|
184
|
+
if not isinstance(other, ListResolverRulesResponse):
|
185
|
+
return False
|
186
|
+
|
187
|
+
return self.__dict__ == other.__dict__
|
188
|
+
|
189
|
+
def __ne__(self, other):
|
190
|
+
"""Returns true if both objects are not equal"""
|
191
|
+
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 ListTagReq:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,18 +14,17 @@ class ListTagReq:
|
|
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 = {
|
26
20
|
'tags': 'list[TagValues]',
|
27
|
-
'tags_any': 'list[
|
28
|
-
'not_tags': 'list[
|
29
|
-
'not_tags_any': 'list[
|
21
|
+
'tags_any': 'list[TagValues]',
|
22
|
+
'not_tags': 'list[TagValues]',
|
23
|
+
'not_tags_any': 'list[TagValues]',
|
30
24
|
'limit': 'int',
|
31
25
|
'offset': 'int',
|
32
26
|
'action': 'str',
|
33
|
-
'matches': 'list[
|
27
|
+
'matches': 'list[Match]'
|
34
28
|
}
|
35
29
|
|
36
30
|
attribute_map = {
|
@@ -45,7 +39,27 @@ class ListTagReq:
|
|
45
39
|
}
|
46
40
|
|
47
41
|
def __init__(self, tags=None, tags_any=None, not_tags=None, not_tags_any=None, limit=None, offset=None, action=None, matches=None):
|
48
|
-
"""ListTagReq
|
42
|
+
r"""ListTagReq
|
43
|
+
|
44
|
+
The model defined in huaweicloud sdk
|
45
|
+
|
46
|
+
:param tags: 包含标签。 最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
47
|
+
:type tags: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
48
|
+
:param tags_any: 最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
49
|
+
:type tags_any: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
50
|
+
:param not_tags: 最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
51
|
+
:type not_tags: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
52
|
+
:param not_tags_any: 最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
53
|
+
:type not_tags_any: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
54
|
+
:param limit: 分页查询时配置每页返回的资源个数。 取值范围:1~1000 参数取值说明: 如果action为filter时,默认为1000。 如果action为count时,无此参数。
|
55
|
+
:type limit: int
|
56
|
+
:param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 参数取值说明: 查询第一页数据时,不需要传入此参数。 查询后续页码数据时,将查询前一页数据时响应体中的值带入此参数。 如果action为filter时,默认为0,必须为数字,不能为负数。 如果action为count时,无此参数。
|
57
|
+
:type offset: int
|
58
|
+
:param action: 操作标识(区分大小写)。 取值范围: filter:分页过滤查询 count:查询总条数
|
59
|
+
:type action: str
|
60
|
+
:param matches: key为要匹配的字段,value为匹配的值。 如果value为空字符串则精确匹配,否则模糊匹配。
|
61
|
+
:type matches: list[:class:`huaweicloudsdkdns.v2.Match`]
|
62
|
+
"""
|
49
63
|
|
50
64
|
|
51
65
|
|
@@ -77,97 +91,97 @@ class ListTagReq:
|
|
77
91
|
|
78
92
|
@property
|
79
93
|
def tags(self):
|
80
|
-
"""Gets the tags of this ListTagReq.
|
94
|
+
r"""Gets the tags of this ListTagReq.
|
81
95
|
|
82
96
|
包含标签。 最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
83
97
|
|
84
98
|
:return: The tags of this ListTagReq.
|
85
|
-
:rtype: list[TagValues]
|
99
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
86
100
|
"""
|
87
101
|
return self._tags
|
88
102
|
|
89
103
|
@tags.setter
|
90
104
|
def tags(self, tags):
|
91
|
-
"""Sets the tags of this ListTagReq.
|
105
|
+
r"""Sets the tags of this ListTagReq.
|
92
106
|
|
93
107
|
包含标签。 最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
94
108
|
|
95
109
|
:param tags: The tags of this ListTagReq.
|
96
|
-
:type: list[TagValues]
|
110
|
+
:type tags: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
97
111
|
"""
|
98
112
|
self._tags = tags
|
99
113
|
|
100
114
|
@property
|
101
115
|
def tags_any(self):
|
102
|
-
"""Gets the tags_any of this ListTagReq.
|
116
|
+
r"""Gets the tags_any of this ListTagReq.
|
103
117
|
|
104
118
|
最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
105
119
|
|
106
120
|
:return: The tags_any of this ListTagReq.
|
107
|
-
:rtype: list[
|
121
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
108
122
|
"""
|
109
123
|
return self._tags_any
|
110
124
|
|
111
125
|
@tags_any.setter
|
112
126
|
def tags_any(self, tags_any):
|
113
|
-
"""Sets the tags_any of this ListTagReq.
|
127
|
+
r"""Sets the tags_any of this ListTagReq.
|
114
128
|
|
115
129
|
最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
116
130
|
|
117
131
|
:param tags_any: The tags_any of this ListTagReq.
|
118
|
-
:type: list[
|
132
|
+
:type tags_any: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
119
133
|
"""
|
120
134
|
self._tags_any = tags_any
|
121
135
|
|
122
136
|
@property
|
123
137
|
def not_tags(self):
|
124
|
-
"""Gets the not_tags of this ListTagReq.
|
138
|
+
r"""Gets the not_tags of this ListTagReq.
|
125
139
|
|
126
140
|
最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
127
141
|
|
128
142
|
:return: The not_tags of this ListTagReq.
|
129
|
-
:rtype: list[
|
143
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
130
144
|
"""
|
131
145
|
return self._not_tags
|
132
146
|
|
133
147
|
@not_tags.setter
|
134
148
|
def not_tags(self, not_tags):
|
135
|
-
"""Sets the not_tags of this ListTagReq.
|
149
|
+
r"""Sets the not_tags of this ListTagReq.
|
136
150
|
|
137
151
|
最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
138
152
|
|
139
153
|
:param not_tags: The not_tags of this ListTagReq.
|
140
|
-
:type: list[
|
154
|
+
:type not_tags: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
141
155
|
"""
|
142
156
|
self._not_tags = not_tags
|
143
157
|
|
144
158
|
@property
|
145
159
|
def not_tags_any(self):
|
146
|
-
"""Gets the not_tags_any of this ListTagReq.
|
160
|
+
r"""Gets the not_tags_any of this ListTagReq.
|
147
161
|
|
148
162
|
最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
149
163
|
|
150
164
|
:return: The not_tags_any of this ListTagReq.
|
151
|
-
:rtype: list[
|
165
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
152
166
|
"""
|
153
167
|
return self._not_tags_any
|
154
168
|
|
155
169
|
@not_tags_any.setter
|
156
170
|
def not_tags_any(self, not_tags_any):
|
157
|
-
"""Sets the not_tags_any of this ListTagReq.
|
171
|
+
r"""Sets the not_tags_any of this ListTagReq.
|
158
172
|
|
159
173
|
最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。
|
160
174
|
|
161
175
|
:param not_tags_any: The not_tags_any of this ListTagReq.
|
162
|
-
:type: list[
|
176
|
+
:type not_tags_any: list[:class:`huaweicloudsdkdns.v2.TagValues`]
|
163
177
|
"""
|
164
178
|
self._not_tags_any = not_tags_any
|
165
179
|
|
166
180
|
@property
|
167
181
|
def limit(self):
|
168
|
-
"""Gets the limit of this ListTagReq.
|
182
|
+
r"""Gets the limit of this ListTagReq.
|
169
183
|
|
170
|
-
|
184
|
+
分页查询时配置每页返回的资源个数。 取值范围:1~1000 参数取值说明: 如果action为filter时,默认为1000。 如果action为count时,无此参数。
|
171
185
|
|
172
186
|
:return: The limit of this ListTagReq.
|
173
187
|
:rtype: int
|
@@ -176,18 +190,18 @@ class ListTagReq:
|
|
176
190
|
|
177
191
|
@limit.setter
|
178
192
|
def limit(self, limit):
|
179
|
-
"""Sets the limit of this ListTagReq.
|
193
|
+
r"""Sets the limit of this ListTagReq.
|
180
194
|
|
181
|
-
|
195
|
+
分页查询时配置每页返回的资源个数。 取值范围:1~1000 参数取值说明: 如果action为filter时,默认为1000。 如果action为count时,无此参数。
|
182
196
|
|
183
197
|
:param limit: The limit of this ListTagReq.
|
184
|
-
:type: int
|
198
|
+
:type limit: int
|
185
199
|
"""
|
186
200
|
self._limit = limit
|
187
201
|
|
188
202
|
@property
|
189
203
|
def offset(self):
|
190
|
-
"""Gets the offset of this ListTagReq.
|
204
|
+
r"""Gets the offset of this ListTagReq.
|
191
205
|
|
192
206
|
分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 参数取值说明: 查询第一页数据时,不需要传入此参数。 查询后续页码数据时,将查询前一页数据时响应体中的值带入此参数。 如果action为filter时,默认为0,必须为数字,不能为负数。 如果action为count时,无此参数。
|
193
207
|
|
@@ -198,18 +212,18 @@ class ListTagReq:
|
|
198
212
|
|
199
213
|
@offset.setter
|
200
214
|
def offset(self, offset):
|
201
|
-
"""Sets the offset of this ListTagReq.
|
215
|
+
r"""Sets the offset of this ListTagReq.
|
202
216
|
|
203
217
|
分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 参数取值说明: 查询第一页数据时,不需要传入此参数。 查询后续页码数据时,将查询前一页数据时响应体中的值带入此参数。 如果action为filter时,默认为0,必须为数字,不能为负数。 如果action为count时,无此参数。
|
204
218
|
|
205
219
|
:param offset: The offset of this ListTagReq.
|
206
|
-
:type: int
|
220
|
+
:type offset: int
|
207
221
|
"""
|
208
222
|
self._offset = offset
|
209
223
|
|
210
224
|
@property
|
211
225
|
def action(self):
|
212
|
-
"""Gets the action of this ListTagReq.
|
226
|
+
r"""Gets the action of this ListTagReq.
|
213
227
|
|
214
228
|
操作标识(区分大小写)。 取值范围: filter:分页过滤查询 count:查询总条数
|
215
229
|
|
@@ -220,34 +234,34 @@ class ListTagReq:
|
|
220
234
|
|
221
235
|
@action.setter
|
222
236
|
def action(self, action):
|
223
|
-
"""Sets the action of this ListTagReq.
|
237
|
+
r"""Sets the action of this ListTagReq.
|
224
238
|
|
225
239
|
操作标识(区分大小写)。 取值范围: filter:分页过滤查询 count:查询总条数
|
226
240
|
|
227
241
|
:param action: The action of this ListTagReq.
|
228
|
-
:type: str
|
242
|
+
:type action: str
|
229
243
|
"""
|
230
244
|
self._action = action
|
231
245
|
|
232
246
|
@property
|
233
247
|
def matches(self):
|
234
|
-
"""Gets the matches of this ListTagReq.
|
248
|
+
r"""Gets the matches of this ListTagReq.
|
235
249
|
|
236
250
|
key为要匹配的字段,value为匹配的值。 如果value为空字符串则精确匹配,否则模糊匹配。
|
237
251
|
|
238
252
|
:return: The matches of this ListTagReq.
|
239
|
-
:rtype: list[
|
253
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.Match`]
|
240
254
|
"""
|
241
255
|
return self._matches
|
242
256
|
|
243
257
|
@matches.setter
|
244
258
|
def matches(self, matches):
|
245
|
-
"""Sets the matches of this ListTagReq.
|
259
|
+
r"""Sets the matches of this ListTagReq.
|
246
260
|
|
247
261
|
key为要匹配的字段,value为匹配的值。 如果value为空字符串则精确匹配,否则模糊匹配。
|
248
262
|
|
249
263
|
:param matches: The matches of this ListTagReq.
|
250
|
-
:type: list[
|
264
|
+
:type matches: list[:class:`huaweicloudsdkdns.v2.Match`]
|
251
265
|
"""
|
252
266
|
self._matches = matches
|
253
267
|
|
@@ -280,10 +294,15 @@ class ListTagReq:
|
|
280
294
|
|
281
295
|
def to_str(self):
|
282
296
|
"""Returns the string representation of the model"""
|
283
|
-
|
297
|
+
import simplejson as json
|
298
|
+
if six.PY2:
|
299
|
+
import sys
|
300
|
+
reload(sys)
|
301
|
+
sys.setdefaultencoding("utf-8")
|
302
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
284
303
|
|
285
304
|
def __repr__(self):
|
286
|
-
"""For `print`
|
305
|
+
"""For `print`"""
|
287
306
|
return self.to_str()
|
288
307
|
|
289
308
|
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 ListTagRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class ListTagRequest:
|
|
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 ListTagRequest:
|
|
33
27
|
}
|
34
28
|
|
35
29
|
def __init__(self, resource_type=None, body=None):
|
36
|
-
"""ListTagRequest
|
30
|
+
r"""ListTagRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param resource_type: 资源的类型:DNS-public_zone,DNS-private_zone,DNS-public_recordset,DNS-private_recordset,DNS-ptr_record。
|
35
|
+
:type resource_type: str
|
36
|
+
:param body: Body of the ListTagRequest
|
37
|
+
:type body: :class:`huaweicloudsdkdns.v2.ListTagReq`
|
38
|
+
"""
|
37
39
|
|
38
40
|
|
39
41
|
|
@@ -47,8 +49,9 @@ class ListTagRequest:
|
|
47
49
|
|
48
50
|
@property
|
49
51
|
def resource_type(self):
|
50
|
-
"""Gets the resource_type of this ListTagRequest.
|
52
|
+
r"""Gets the resource_type of this ListTagRequest.
|
51
53
|
|
54
|
+
资源的类型:DNS-public_zone,DNS-private_zone,DNS-public_recordset,DNS-private_recordset,DNS-ptr_record。
|
52
55
|
|
53
56
|
:return: The resource_type of this ListTagRequest.
|
54
57
|
:rtype: str
|
@@ -57,31 +60,30 @@ class ListTagRequest:
|
|
57
60
|
|
58
61
|
@resource_type.setter
|
59
62
|
def resource_type(self, resource_type):
|
60
|
-
"""Sets the resource_type of this ListTagRequest.
|
63
|
+
r"""Sets the resource_type of this ListTagRequest.
|
61
64
|
|
65
|
+
资源的类型:DNS-public_zone,DNS-private_zone,DNS-public_recordset,DNS-private_recordset,DNS-ptr_record。
|
62
66
|
|
63
67
|
:param resource_type: The resource_type of this ListTagRequest.
|
64
|
-
:type: str
|
68
|
+
:type resource_type: str
|
65
69
|
"""
|
66
70
|
self._resource_type = resource_type
|
67
71
|
|
68
72
|
@property
|
69
73
|
def body(self):
|
70
|
-
"""Gets the body of this ListTagRequest.
|
71
|
-
|
74
|
+
r"""Gets the body of this ListTagRequest.
|
72
75
|
|
73
76
|
:return: The body of this ListTagRequest.
|
74
|
-
:rtype: ListTagReq
|
77
|
+
:rtype: :class:`huaweicloudsdkdns.v2.ListTagReq`
|
75
78
|
"""
|
76
79
|
return self._body
|
77
80
|
|
78
81
|
@body.setter
|
79
82
|
def body(self, body):
|
80
|
-
"""Sets the body of this ListTagRequest.
|
81
|
-
|
83
|
+
r"""Sets the body of this ListTagRequest.
|
82
84
|
|
83
85
|
:param body: The body of this ListTagRequest.
|
84
|
-
:type: ListTagReq
|
86
|
+
:type body: :class:`huaweicloudsdkdns.v2.ListTagReq`
|
85
87
|
"""
|
86
88
|
self._body = body
|
87
89
|
|
@@ -114,10 +116,15 @@ class ListTagRequest:
|
|
114
116
|
|
115
117
|
def to_str(self):
|
116
118
|
"""Returns the string representation of the model"""
|
117
|
-
|
119
|
+
import simplejson as json
|
120
|
+
if six.PY2:
|
121
|
+
import sys
|
122
|
+
reload(sys)
|
123
|
+
sys.setdefaultencoding("utf-8")
|
124
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
118
125
|
|
119
126
|
def __repr__(self):
|
120
|
-
"""For `print`
|
127
|
+
"""For `print`"""
|
121
128
|
return self.to_str()
|
122
129
|
|
123
130
|
def __eq__(self, other):
|