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
@@ -0,0 +1,230 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListEndpointsRequest:
|
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
|
+
'direction': 'str',
|
21
|
+
'vpc_id': 'str',
|
22
|
+
'name': 'str',
|
23
|
+
'limit': 'int',
|
24
|
+
'offset': 'int'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'direction': 'direction',
|
29
|
+
'vpc_id': 'vpc_id',
|
30
|
+
'name': 'name',
|
31
|
+
'limit': 'limit',
|
32
|
+
'offset': 'offset'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, direction=None, vpc_id=None, name=None, limit=None, offset=None):
|
36
|
+
r"""ListEndpointsRequest
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param direction: 终端节点方向。 取值: inbound,表示入站终端节点。 outbound,表示出站终端节点。
|
41
|
+
:type direction: str
|
42
|
+
:param vpc_id: 待查询的终端节点所属VPC的ID。
|
43
|
+
:type vpc_id: str
|
44
|
+
:param name: 终端节点名称。
|
45
|
+
:type name: str
|
46
|
+
:param limit: **参数解释:** 分页查询时配置每页返回的资源个数。 **约束限制:** 不涉及。 **取值范围:** 0~500。 **默认取值:** 500
|
47
|
+
:type limit: int
|
48
|
+
:param offset: **参数解释:** 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 **约束限制:** 当设置marker不为空时,以marker为分页起始标识,offset不生效。 **取值范围:** 0~2147483647。 **默认取值:** 0
|
49
|
+
:type offset: int
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._direction = None
|
55
|
+
self._vpc_id = None
|
56
|
+
self._name = None
|
57
|
+
self._limit = None
|
58
|
+
self._offset = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
self.direction = direction
|
62
|
+
if vpc_id is not None:
|
63
|
+
self.vpc_id = vpc_id
|
64
|
+
if name is not None:
|
65
|
+
self.name = name
|
66
|
+
if limit is not None:
|
67
|
+
self.limit = limit
|
68
|
+
if offset is not None:
|
69
|
+
self.offset = offset
|
70
|
+
|
71
|
+
@property
|
72
|
+
def direction(self):
|
73
|
+
r"""Gets the direction of this ListEndpointsRequest.
|
74
|
+
|
75
|
+
终端节点方向。 取值: inbound,表示入站终端节点。 outbound,表示出站终端节点。
|
76
|
+
|
77
|
+
:return: The direction of this ListEndpointsRequest.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._direction
|
81
|
+
|
82
|
+
@direction.setter
|
83
|
+
def direction(self, direction):
|
84
|
+
r"""Sets the direction of this ListEndpointsRequest.
|
85
|
+
|
86
|
+
终端节点方向。 取值: inbound,表示入站终端节点。 outbound,表示出站终端节点。
|
87
|
+
|
88
|
+
:param direction: The direction of this ListEndpointsRequest.
|
89
|
+
:type direction: str
|
90
|
+
"""
|
91
|
+
self._direction = direction
|
92
|
+
|
93
|
+
@property
|
94
|
+
def vpc_id(self):
|
95
|
+
r"""Gets the vpc_id of this ListEndpointsRequest.
|
96
|
+
|
97
|
+
待查询的终端节点所属VPC的ID。
|
98
|
+
|
99
|
+
:return: The vpc_id of this ListEndpointsRequest.
|
100
|
+
:rtype: str
|
101
|
+
"""
|
102
|
+
return self._vpc_id
|
103
|
+
|
104
|
+
@vpc_id.setter
|
105
|
+
def vpc_id(self, vpc_id):
|
106
|
+
r"""Sets the vpc_id of this ListEndpointsRequest.
|
107
|
+
|
108
|
+
待查询的终端节点所属VPC的ID。
|
109
|
+
|
110
|
+
:param vpc_id: The vpc_id of this ListEndpointsRequest.
|
111
|
+
:type vpc_id: str
|
112
|
+
"""
|
113
|
+
self._vpc_id = vpc_id
|
114
|
+
|
115
|
+
@property
|
116
|
+
def name(self):
|
117
|
+
r"""Gets the name of this ListEndpointsRequest.
|
118
|
+
|
119
|
+
终端节点名称。
|
120
|
+
|
121
|
+
:return: The name of this ListEndpointsRequest.
|
122
|
+
:rtype: str
|
123
|
+
"""
|
124
|
+
return self._name
|
125
|
+
|
126
|
+
@name.setter
|
127
|
+
def name(self, name):
|
128
|
+
r"""Sets the name of this ListEndpointsRequest.
|
129
|
+
|
130
|
+
终端节点名称。
|
131
|
+
|
132
|
+
:param name: The name of this ListEndpointsRequest.
|
133
|
+
:type name: str
|
134
|
+
"""
|
135
|
+
self._name = name
|
136
|
+
|
137
|
+
@property
|
138
|
+
def limit(self):
|
139
|
+
r"""Gets the limit of this ListEndpointsRequest.
|
140
|
+
|
141
|
+
**参数解释:** 分页查询时配置每页返回的资源个数。 **约束限制:** 不涉及。 **取值范围:** 0~500。 **默认取值:** 500
|
142
|
+
|
143
|
+
:return: The limit of this ListEndpointsRequest.
|
144
|
+
:rtype: int
|
145
|
+
"""
|
146
|
+
return self._limit
|
147
|
+
|
148
|
+
@limit.setter
|
149
|
+
def limit(self, limit):
|
150
|
+
r"""Sets the limit of this ListEndpointsRequest.
|
151
|
+
|
152
|
+
**参数解释:** 分页查询时配置每页返回的资源个数。 **约束限制:** 不涉及。 **取值范围:** 0~500。 **默认取值:** 500
|
153
|
+
|
154
|
+
:param limit: The limit of this ListEndpointsRequest.
|
155
|
+
:type limit: int
|
156
|
+
"""
|
157
|
+
self._limit = limit
|
158
|
+
|
159
|
+
@property
|
160
|
+
def offset(self):
|
161
|
+
r"""Gets the offset of this ListEndpointsRequest.
|
162
|
+
|
163
|
+
**参数解释:** 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 **约束限制:** 当设置marker不为空时,以marker为分页起始标识,offset不生效。 **取值范围:** 0~2147483647。 **默认取值:** 0
|
164
|
+
|
165
|
+
:return: The offset of this ListEndpointsRequest.
|
166
|
+
:rtype: int
|
167
|
+
"""
|
168
|
+
return self._offset
|
169
|
+
|
170
|
+
@offset.setter
|
171
|
+
def offset(self, offset):
|
172
|
+
r"""Sets the offset of this ListEndpointsRequest.
|
173
|
+
|
174
|
+
**参数解释:** 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 **约束限制:** 当设置marker不为空时,以marker为分页起始标识,offset不生效。 **取值范围:** 0~2147483647。 **默认取值:** 0
|
175
|
+
|
176
|
+
:param offset: The offset of this ListEndpointsRequest.
|
177
|
+
:type offset: int
|
178
|
+
"""
|
179
|
+
self._offset = offset
|
180
|
+
|
181
|
+
def to_dict(self):
|
182
|
+
"""Returns the model properties as a dict"""
|
183
|
+
result = {}
|
184
|
+
|
185
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
186
|
+
value = getattr(self, attr)
|
187
|
+
if isinstance(value, list):
|
188
|
+
result[attr] = list(map(
|
189
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
190
|
+
value
|
191
|
+
))
|
192
|
+
elif hasattr(value, "to_dict"):
|
193
|
+
result[attr] = value.to_dict()
|
194
|
+
elif isinstance(value, dict):
|
195
|
+
result[attr] = dict(map(
|
196
|
+
lambda item: (item[0], item[1].to_dict())
|
197
|
+
if hasattr(item[1], "to_dict") else item,
|
198
|
+
value.items()
|
199
|
+
))
|
200
|
+
else:
|
201
|
+
if attr in self.sensitive_list:
|
202
|
+
result[attr] = "****"
|
203
|
+
else:
|
204
|
+
result[attr] = value
|
205
|
+
|
206
|
+
return result
|
207
|
+
|
208
|
+
def to_str(self):
|
209
|
+
"""Returns the string representation of the model"""
|
210
|
+
import simplejson as json
|
211
|
+
if six.PY2:
|
212
|
+
import sys
|
213
|
+
reload(sys)
|
214
|
+
sys.setdefaultencoding("utf-8")
|
215
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
216
|
+
|
217
|
+
def __repr__(self):
|
218
|
+
"""For `print`"""
|
219
|
+
return self.to_str()
|
220
|
+
|
221
|
+
def __eq__(self, other):
|
222
|
+
"""Returns true if both objects are equal"""
|
223
|
+
if not isinstance(other, ListEndpointsRequest):
|
224
|
+
return False
|
225
|
+
|
226
|
+
return self.__dict__ == other.__dict__
|
227
|
+
|
228
|
+
def __ne__(self, other):
|
229
|
+
"""Returns true if both objects are not equal"""
|
230
|
+
return not self == other
|
@@ -0,0 +1,141 @@
|
|
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 ListEndpointsResponse(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
|
+
'endpoints': 'list[EndpointResp]',
|
22
|
+
'metadata': 'Metadata'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'endpoints': 'endpoints',
|
27
|
+
'metadata': 'metadata'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, endpoints=None, metadata=None):
|
31
|
+
r"""ListEndpointsResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param endpoints: 查询终端节点列表响应。
|
36
|
+
:type endpoints: list[:class:`huaweicloudsdkdns.v2.EndpointResp`]
|
37
|
+
:param metadata:
|
38
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ListEndpointsResponse, self).__init__()
|
42
|
+
|
43
|
+
self._endpoints = None
|
44
|
+
self._metadata = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if endpoints is not None:
|
48
|
+
self.endpoints = endpoints
|
49
|
+
if metadata is not None:
|
50
|
+
self.metadata = metadata
|
51
|
+
|
52
|
+
@property
|
53
|
+
def endpoints(self):
|
54
|
+
r"""Gets the endpoints of this ListEndpointsResponse.
|
55
|
+
|
56
|
+
查询终端节点列表响应。
|
57
|
+
|
58
|
+
:return: The endpoints of this ListEndpointsResponse.
|
59
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.EndpointResp`]
|
60
|
+
"""
|
61
|
+
return self._endpoints
|
62
|
+
|
63
|
+
@endpoints.setter
|
64
|
+
def endpoints(self, endpoints):
|
65
|
+
r"""Sets the endpoints of this ListEndpointsResponse.
|
66
|
+
|
67
|
+
查询终端节点列表响应。
|
68
|
+
|
69
|
+
:param endpoints: The endpoints of this ListEndpointsResponse.
|
70
|
+
:type endpoints: list[:class:`huaweicloudsdkdns.v2.EndpointResp`]
|
71
|
+
"""
|
72
|
+
self._endpoints = endpoints
|
73
|
+
|
74
|
+
@property
|
75
|
+
def metadata(self):
|
76
|
+
r"""Gets the metadata of this ListEndpointsResponse.
|
77
|
+
|
78
|
+
:return: The metadata of this ListEndpointsResponse.
|
79
|
+
:rtype: :class:`huaweicloudsdkdns.v2.Metadata`
|
80
|
+
"""
|
81
|
+
return self._metadata
|
82
|
+
|
83
|
+
@metadata.setter
|
84
|
+
def metadata(self, metadata):
|
85
|
+
r"""Sets the metadata of this ListEndpointsResponse.
|
86
|
+
|
87
|
+
:param metadata: The metadata of this ListEndpointsResponse.
|
88
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
89
|
+
"""
|
90
|
+
self._metadata = metadata
|
91
|
+
|
92
|
+
def to_dict(self):
|
93
|
+
"""Returns the model properties as a dict"""
|
94
|
+
result = {}
|
95
|
+
|
96
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
97
|
+
value = getattr(self, attr)
|
98
|
+
if isinstance(value, list):
|
99
|
+
result[attr] = list(map(
|
100
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
101
|
+
value
|
102
|
+
))
|
103
|
+
elif hasattr(value, "to_dict"):
|
104
|
+
result[attr] = value.to_dict()
|
105
|
+
elif isinstance(value, dict):
|
106
|
+
result[attr] = dict(map(
|
107
|
+
lambda item: (item[0], item[1].to_dict())
|
108
|
+
if hasattr(item[1], "to_dict") else item,
|
109
|
+
value.items()
|
110
|
+
))
|
111
|
+
else:
|
112
|
+
if attr in self.sensitive_list:
|
113
|
+
result[attr] = "****"
|
114
|
+
else:
|
115
|
+
result[attr] = value
|
116
|
+
|
117
|
+
return result
|
118
|
+
|
119
|
+
def to_str(self):
|
120
|
+
"""Returns the string representation of the model"""
|
121
|
+
import simplejson as json
|
122
|
+
if six.PY2:
|
123
|
+
import sys
|
124
|
+
reload(sys)
|
125
|
+
sys.setdefaultencoding("utf-8")
|
126
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
127
|
+
|
128
|
+
def __repr__(self):
|
129
|
+
"""For `print`"""
|
130
|
+
return self.to_str()
|
131
|
+
|
132
|
+
def __eq__(self, other):
|
133
|
+
"""Returns true if both objects are equal"""
|
134
|
+
if not isinstance(other, ListEndpointsResponse):
|
135
|
+
return False
|
136
|
+
|
137
|
+
return self.__dict__ == other.__dict__
|
138
|
+
|
139
|
+
def __ne__(self, other):
|
140
|
+
"""Returns true if both objects are not equal"""
|
141
|
+
return not self == other
|
@@ -0,0 +1,202 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListLineGroupsRequest:
|
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
|
+
'line_id': 'str',
|
21
|
+
'name': 'str',
|
22
|
+
'limit': 'int',
|
23
|
+
'offset': 'int'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'line_id': 'line_id',
|
28
|
+
'name': 'name',
|
29
|
+
'limit': 'limit',
|
30
|
+
'offset': 'offset'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, line_id=None, name=None, limit=None, offset=None):
|
34
|
+
r"""ListLineGroupsRequest
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param line_id: 线路分组ID。 模糊匹配。
|
39
|
+
:type line_id: str
|
40
|
+
:param name: 线路分组名称。 模糊匹配。
|
41
|
+
:type name: str
|
42
|
+
:param limit: 分页查询时配置每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
|
43
|
+
:type limit: int
|
44
|
+
:param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当设置marker不为空时,以marker为分页起始标识,offset不生效。
|
45
|
+
:type offset: int
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._line_id = None
|
51
|
+
self._name = None
|
52
|
+
self._limit = None
|
53
|
+
self._offset = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
if line_id is not None:
|
57
|
+
self.line_id = line_id
|
58
|
+
if name is not None:
|
59
|
+
self.name = name
|
60
|
+
if limit is not None:
|
61
|
+
self.limit = limit
|
62
|
+
if offset is not None:
|
63
|
+
self.offset = offset
|
64
|
+
|
65
|
+
@property
|
66
|
+
def line_id(self):
|
67
|
+
r"""Gets the line_id of this ListLineGroupsRequest.
|
68
|
+
|
69
|
+
线路分组ID。 模糊匹配。
|
70
|
+
|
71
|
+
:return: The line_id of this ListLineGroupsRequest.
|
72
|
+
:rtype: str
|
73
|
+
"""
|
74
|
+
return self._line_id
|
75
|
+
|
76
|
+
@line_id.setter
|
77
|
+
def line_id(self, line_id):
|
78
|
+
r"""Sets the line_id of this ListLineGroupsRequest.
|
79
|
+
|
80
|
+
线路分组ID。 模糊匹配。
|
81
|
+
|
82
|
+
:param line_id: The line_id of this ListLineGroupsRequest.
|
83
|
+
:type line_id: str
|
84
|
+
"""
|
85
|
+
self._line_id = line_id
|
86
|
+
|
87
|
+
@property
|
88
|
+
def name(self):
|
89
|
+
r"""Gets the name of this ListLineGroupsRequest.
|
90
|
+
|
91
|
+
线路分组名称。 模糊匹配。
|
92
|
+
|
93
|
+
:return: The name of this ListLineGroupsRequest.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._name
|
97
|
+
|
98
|
+
@name.setter
|
99
|
+
def name(self, name):
|
100
|
+
r"""Sets the name of this ListLineGroupsRequest.
|
101
|
+
|
102
|
+
线路分组名称。 模糊匹配。
|
103
|
+
|
104
|
+
:param name: The name of this ListLineGroupsRequest.
|
105
|
+
:type name: str
|
106
|
+
"""
|
107
|
+
self._name = name
|
108
|
+
|
109
|
+
@property
|
110
|
+
def limit(self):
|
111
|
+
r"""Gets the limit of this ListLineGroupsRequest.
|
112
|
+
|
113
|
+
分页查询时配置每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
|
114
|
+
|
115
|
+
:return: The limit of this ListLineGroupsRequest.
|
116
|
+
:rtype: int
|
117
|
+
"""
|
118
|
+
return self._limit
|
119
|
+
|
120
|
+
@limit.setter
|
121
|
+
def limit(self, limit):
|
122
|
+
r"""Sets the limit of this ListLineGroupsRequest.
|
123
|
+
|
124
|
+
分页查询时配置每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
|
125
|
+
|
126
|
+
:param limit: The limit of this ListLineGroupsRequest.
|
127
|
+
:type limit: int
|
128
|
+
"""
|
129
|
+
self._limit = limit
|
130
|
+
|
131
|
+
@property
|
132
|
+
def offset(self):
|
133
|
+
r"""Gets the offset of this ListLineGroupsRequest.
|
134
|
+
|
135
|
+
分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当设置marker不为空时,以marker为分页起始标识,offset不生效。
|
136
|
+
|
137
|
+
:return: The offset of this ListLineGroupsRequest.
|
138
|
+
:rtype: int
|
139
|
+
"""
|
140
|
+
return self._offset
|
141
|
+
|
142
|
+
@offset.setter
|
143
|
+
def offset(self, offset):
|
144
|
+
r"""Sets the offset of this ListLineGroupsRequest.
|
145
|
+
|
146
|
+
分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当设置marker不为空时,以marker为分页起始标识,offset不生效。
|
147
|
+
|
148
|
+
:param offset: The offset of this ListLineGroupsRequest.
|
149
|
+
:type offset: int
|
150
|
+
"""
|
151
|
+
self._offset = offset
|
152
|
+
|
153
|
+
def to_dict(self):
|
154
|
+
"""Returns the model properties as a dict"""
|
155
|
+
result = {}
|
156
|
+
|
157
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
158
|
+
value = getattr(self, attr)
|
159
|
+
if isinstance(value, list):
|
160
|
+
result[attr] = list(map(
|
161
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
162
|
+
value
|
163
|
+
))
|
164
|
+
elif hasattr(value, "to_dict"):
|
165
|
+
result[attr] = value.to_dict()
|
166
|
+
elif isinstance(value, dict):
|
167
|
+
result[attr] = dict(map(
|
168
|
+
lambda item: (item[0], item[1].to_dict())
|
169
|
+
if hasattr(item[1], "to_dict") else item,
|
170
|
+
value.items()
|
171
|
+
))
|
172
|
+
else:
|
173
|
+
if attr in self.sensitive_list:
|
174
|
+
result[attr] = "****"
|
175
|
+
else:
|
176
|
+
result[attr] = value
|
177
|
+
|
178
|
+
return result
|
179
|
+
|
180
|
+
def to_str(self):
|
181
|
+
"""Returns the string representation of the model"""
|
182
|
+
import simplejson as json
|
183
|
+
if six.PY2:
|
184
|
+
import sys
|
185
|
+
reload(sys)
|
186
|
+
sys.setdefaultencoding("utf-8")
|
187
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
188
|
+
|
189
|
+
def __repr__(self):
|
190
|
+
"""For `print`"""
|
191
|
+
return self.to_str()
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
"""Returns true if both objects are equal"""
|
195
|
+
if not isinstance(other, ListLineGroupsRequest):
|
196
|
+
return False
|
197
|
+
|
198
|
+
return self.__dict__ == other.__dict__
|
199
|
+
|
200
|
+
def __ne__(self, other):
|
201
|
+
"""Returns true if both objects are not equal"""
|
202
|
+
return not self == other
|