huaweicloudsdkdns 3.0.43rc0__py3-none-any.whl → 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkdns/v2/__init__.py +137 -11
- huaweicloudsdkdns/v2/dns_async_client.py +4625 -1735
- huaweicloudsdkdns/v2/dns_client.py +4638 -1749
- huaweicloudsdkdns/v2/model/__init__.py +136 -9
- huaweicloudsdkdns/v2/model/alias_target.py +27 -20
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/associate_or_disassociate_router_with_rule_request_body.py +110 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/associate_router_request.py +27 -20
- huaweicloudsdkdns/v2/model/{associate_router_req.py → associate_router_request_body.py} +23 -20
- huaweicloudsdkdns/v2/model/associate_router_response.py +35 -25
- huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +200 -0
- huaweicloudsdkdns/v2/model/batch_create_tag_request.py +33 -22
- huaweicloudsdkdns/v2/model/batch_create_tag_response.py +14 -10
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +139 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_hand_tags.py +24 -17
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set.py +229 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +139 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +166 -0
- huaweicloudsdkdns/v2/model/create_custom_line_request.py +20 -17
- huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +36 -27
- huaweicloudsdkdns/v2/model/create_custom_line_response.py +53 -35
- huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +33 -22
- huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +97 -50
- huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_line_group_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_line_group_response.py +290 -0
- huaweicloudsdkdns/v2/model/create_line_groups_req.py +171 -0
- huaweicloudsdkdns/v2/model/create_line_groups_resp.py +289 -0
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +101 -55
- huaweicloudsdkdns/v2/model/create_private_zone_request.py +19 -16
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +156 -95
- huaweicloudsdkdns/v2/model/create_ptr_req.py +47 -34
- huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
- huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/create_public_zone_req.py +63 -46
- huaweicloudsdkdns/v2/model/create_public_zone_request.py +19 -16
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +125 -91
- huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +199 -0
- huaweicloudsdkdns/v2/model/create_record_set_request.py +27 -20
- huaweicloudsdkdns/v2/model/create_record_set_request_body.py +286 -0
- huaweicloudsdkdns/v2/model/create_record_set_response.py +111 -55
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +139 -0
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +166 -0
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +27 -20
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +370 -0
- huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +138 -102
- huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_tag_req.py +19 -16
- huaweicloudsdkdns/v2/model/create_tag_request.py +33 -22
- huaweicloudsdkdns/v2/model/create_tag_response.py +14 -10
- huaweicloudsdkdns/v2/model/delete_custom_line_request.py +20 -13
- huaweicloudsdkdns/v2/model/delete_custom_line_response.py +53 -35
- huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_line_group_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_line_group_response.py +290 -0
- huaweicloudsdkdns/v2/model/delete_private_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/delete_private_zone_response.py +126 -92
- huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
- huaweicloudsdkdns/v2/model/delete_public_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +121 -91
- huaweicloudsdkdns/v2/model/delete_record_set_request.py +27 -16
- huaweicloudsdkdns/v2/model/delete_record_set_response.py +111 -81
- huaweicloudsdkdns/v2/model/delete_record_sets_request.py +27 -16
- huaweicloudsdkdns/v2/model/delete_record_sets_response.py +138 -102
- huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_tag_request.py +34 -19
- huaweicloudsdkdns/v2/model/delete_tag_response.py +14 -10
- huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/disassociate_router_request.py +27 -20
- huaweicloudsdkdns/v2/model/disassociate_router_response.py +35 -25
- huaweicloudsdkdns/v2/model/{disassociaterouter_req.py → disassociaterouter_request_body.py} +23 -20
- huaweicloudsdkdns/v2/model/domain_quota_response_quotas.py +198 -0
- huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
- huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
- huaweicloudsdkdns/v2/model/{update_public_zone_status.py → ip_info.py} +35 -29
- huaweicloudsdkdns/v2/model/ip_value.py +115 -0
- huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
- huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
- huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
- huaweicloudsdkdns/v2/model/line.py +52 -35
- huaweicloudsdkdns/v2/model/link.py +115 -0
- huaweicloudsdkdns/v2/model/links_item.py +27 -20
- huaweicloudsdkdns/v2/model/list_api_versions_item.py +35 -26
- huaweicloudsdkdns/v2/model/list_api_versions_request.py +13 -10
- huaweicloudsdkdns/v2/model/list_api_versions_response.py +20 -16
- huaweicloudsdkdns/v2/model/list_custom_line_request.py +109 -28
- huaweicloudsdkdns/v2/model/list_custom_line_response.py +29 -21
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
- huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_line_groups_request.py +202 -0
- huaweicloudsdkdns/v2/model/list_line_groups_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_name_servers_request.py +27 -16
- huaweicloudsdkdns/v2/model/list_name_servers_response.py +22 -14
- huaweicloudsdkdns/v2/model/list_private_zones_request.py +217 -37
- huaweicloudsdkdns/v2/model/list_private_zones_response.py +35 -27
- huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +99 -51
- huaweicloudsdkdns/v2/model/list_ptr_records_request.py +55 -28
- huaweicloudsdkdns/v2/model/list_ptr_records_response.py +35 -27
- huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zones_request.py +186 -35
- huaweicloudsdkdns/v2/model/list_public_zones_response.py +36 -28
- huaweicloudsdkdns/v2/model/list_record_sets.py +110 -81
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +124 -48
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +35 -27
- huaweicloudsdkdns/v2/model/list_record_sets_request.py +131 -51
- huaweicloudsdkdns/v2/model/list_record_sets_response.py +36 -28
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +152 -60
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +36 -28
- huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +517 -0
- huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
- huaweicloudsdkdns/v2/model/list_tag_req.py +64 -45
- huaweicloudsdkdns/v2/model/list_tag_request.py +26 -19
- huaweicloudsdkdns/v2/model/list_tag_response.py +29 -17
- huaweicloudsdkdns/v2/model/list_tags_request.py +20 -13
- huaweicloudsdkdns/v2/model/list_tags_response.py +20 -14
- huaweicloudsdkdns/v2/model/match.py +143 -0
- huaweicloudsdkdns/v2/model/{metedata.py → metadata.py} +24 -19
- huaweicloudsdkdns/v2/model/name_servers_resp.py +31 -20
- huaweicloudsdkdns/v2/model/nameserver.py +27 -20
- huaweicloudsdkdns/v2/model/ns_records.py +28 -19
- huaweicloudsdkdns/v2/model/page_info.py +173 -0
- huaweicloudsdkdns/v2/model/page_link.py +27 -20
- huaweicloudsdkdns/v2/model/private_name_server.py +27 -20
- huaweicloudsdkdns/v2/model/private_zone_resp.py +191 -98
- huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
- huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_resp.py +575 -0
- huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +658 -0
- huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +169 -105
- huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
- huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
- huaweicloudsdkdns/v2/model/resource_item.py +36 -25
- huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +33 -22
- huaweicloudsdkdns/v2/model/restore_ptr_record_response.py +14 -10
- huaweicloudsdkdns/v2/model/restore_ptr_req.py +22 -17
- huaweicloudsdkdns/v2/model/router.py +59 -23
- huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
- huaweicloudsdkdns/v2/model/router_with_status.py +34 -25
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
- huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +27 -20
- huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +24 -19
- huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +170 -105
- huaweicloudsdkdns/v2/model/show_api_info_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_api_info_response.py +20 -16
- huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/show_domain_quota_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_domain_quota_response.py +116 -0
- huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_line_group_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_line_group_response.py +290 -0
- huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_private_zone_name_server_response.py +22 -14
- huaweicloudsdkdns/v2/model/show_private_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_private_zone_response.py +187 -95
- huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +97 -50
- huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +22 -16
- huaweicloudsdkdns/v2/model/show_public_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +127 -93
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +371 -16
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +162 -127
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +35 -27
- huaweicloudsdkdns/v2/model/show_record_set_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_record_set_response.py +143 -84
- huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +170 -105
- huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_resource_tag_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_resource_tag_response.py +22 -14
- huaweicloudsdkdns/v2/model/tag.py +27 -20
- huaweicloudsdkdns/v2/model/tag_values.py +27 -20
- huaweicloudsdkdns/v2/model/update_custom_line_request.py +27 -20
- huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +36 -27
- huaweicloudsdkdns/v2/model/update_custom_line_response.py +53 -35
- huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/update_line_groups_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_line_groups_request_body.py +171 -0
- huaweicloudsdkdns/v2/model/update_line_groups_response.py +290 -0
- huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +34 -25
- huaweicloudsdkdns/v2/model/update_private_zone_request.py +26 -19
- huaweicloudsdkdns/v2/model/update_private_zone_response.py +126 -92
- huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
- huaweicloudsdkdns/v2/model/update_ptr_record_request.py +33 -22
- huaweicloudsdkdns/v2/model/update_ptr_record_response.py +65 -47
- huaweicloudsdkdns/v2/model/update_ptr_req.py +40 -29
- huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
- huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/update_public_zone_info.py +36 -27
- huaweicloudsdkdns/v2/model/update_public_zone_request.py +26 -19
- huaweicloudsdkdns/v2/model/update_public_zone_response.py +120 -88
- huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +27 -20
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +118 -86
- huaweicloudsdkdns/v2/model/update_record_set_req.py +52 -37
- huaweicloudsdkdns/v2/model/update_record_set_request.py +33 -22
- huaweicloudsdkdns/v2/model/update_record_set_response.py +111 -55
- huaweicloudsdkdns/v2/model/update_record_sets_req.py +55 -40
- huaweicloudsdkdns/v2/model/update_record_sets_request.py +33 -22
- huaweicloudsdkdns/v2/model/update_record_sets_response.py +138 -102
- huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/update_zone_status_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/values_item.py +21 -16
- huaweicloudsdkdns/v2/model/version_item.py +56 -41
- huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
- huaweicloudsdkdns/v2/model/zone_data.py +517 -0
- huaweicloudsdkdns/v2/region/dns_region.py +88 -38
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkdns-3.1.160.dist-info/RECORD +273 -0
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkdns/v2/model/create_record_set_req.py +0 -263
- huaweicloudsdkdns/v2/model/create_record_set_with_line_req.py +0 -348
- huaweicloudsdkdns-3.0.43rc0.dist-info/RECORD +0 -146
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,289 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class IpaddressesData:
|
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
|
+
'status': 'str',
|
21
|
+
'id': 'str',
|
22
|
+
'ip': 'str',
|
23
|
+
'create_time': 'str',
|
24
|
+
'update_time': 'str',
|
25
|
+
'subnet_id': 'str',
|
26
|
+
'error_info': 'str'
|
27
|
+
}
|
28
|
+
|
29
|
+
attribute_map = {
|
30
|
+
'status': 'status',
|
31
|
+
'id': 'id',
|
32
|
+
'ip': 'ip',
|
33
|
+
'create_time': 'create_time',
|
34
|
+
'update_time': 'update_time',
|
35
|
+
'subnet_id': 'subnet_id',
|
36
|
+
'error_info': 'error_info'
|
37
|
+
}
|
38
|
+
|
39
|
+
def __init__(self, status=None, id=None, ip=None, create_time=None, update_time=None, subnet_id=None, error_info=None):
|
40
|
+
r"""IpaddressesData
|
41
|
+
|
42
|
+
The model defined in huaweicloud sdk
|
43
|
+
|
44
|
+
:param status: 资源状态。
|
45
|
+
:type status: str
|
46
|
+
:param id: 终端节点的ID,UUID形式的一个资源标识。
|
47
|
+
:type id: str
|
48
|
+
:param ip: IP地址信息。
|
49
|
+
:type ip: str
|
50
|
+
:param create_time: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
51
|
+
:type create_time: str
|
52
|
+
:param update_time: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
53
|
+
:type update_time: str
|
54
|
+
:param subnet_id: 子网ID。
|
55
|
+
:type subnet_id: str
|
56
|
+
:param error_info: 错误信息。
|
57
|
+
:type error_info: str
|
58
|
+
"""
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
self._status = None
|
63
|
+
self._id = None
|
64
|
+
self._ip = None
|
65
|
+
self._create_time = None
|
66
|
+
self._update_time = None
|
67
|
+
self._subnet_id = None
|
68
|
+
self._error_info = None
|
69
|
+
self.discriminator = None
|
70
|
+
|
71
|
+
if status is not None:
|
72
|
+
self.status = status
|
73
|
+
if id is not None:
|
74
|
+
self.id = id
|
75
|
+
if ip is not None:
|
76
|
+
self.ip = ip
|
77
|
+
if create_time is not None:
|
78
|
+
self.create_time = create_time
|
79
|
+
if update_time is not None:
|
80
|
+
self.update_time = update_time
|
81
|
+
if subnet_id is not None:
|
82
|
+
self.subnet_id = subnet_id
|
83
|
+
if error_info is not None:
|
84
|
+
self.error_info = error_info
|
85
|
+
|
86
|
+
@property
|
87
|
+
def status(self):
|
88
|
+
r"""Gets the status of this IpaddressesData.
|
89
|
+
|
90
|
+
资源状态。
|
91
|
+
|
92
|
+
:return: The status of this IpaddressesData.
|
93
|
+
:rtype: str
|
94
|
+
"""
|
95
|
+
return self._status
|
96
|
+
|
97
|
+
@status.setter
|
98
|
+
def status(self, status):
|
99
|
+
r"""Sets the status of this IpaddressesData.
|
100
|
+
|
101
|
+
资源状态。
|
102
|
+
|
103
|
+
:param status: The status of this IpaddressesData.
|
104
|
+
:type status: str
|
105
|
+
"""
|
106
|
+
self._status = status
|
107
|
+
|
108
|
+
@property
|
109
|
+
def id(self):
|
110
|
+
r"""Gets the id of this IpaddressesData.
|
111
|
+
|
112
|
+
终端节点的ID,UUID形式的一个资源标识。
|
113
|
+
|
114
|
+
:return: The id of this IpaddressesData.
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._id
|
118
|
+
|
119
|
+
@id.setter
|
120
|
+
def id(self, id):
|
121
|
+
r"""Sets the id of this IpaddressesData.
|
122
|
+
|
123
|
+
终端节点的ID,UUID形式的一个资源标识。
|
124
|
+
|
125
|
+
:param id: The id of this IpaddressesData.
|
126
|
+
:type id: str
|
127
|
+
"""
|
128
|
+
self._id = id
|
129
|
+
|
130
|
+
@property
|
131
|
+
def ip(self):
|
132
|
+
r"""Gets the ip of this IpaddressesData.
|
133
|
+
|
134
|
+
IP地址信息。
|
135
|
+
|
136
|
+
:return: The ip of this IpaddressesData.
|
137
|
+
:rtype: str
|
138
|
+
"""
|
139
|
+
return self._ip
|
140
|
+
|
141
|
+
@ip.setter
|
142
|
+
def ip(self, ip):
|
143
|
+
r"""Sets the ip of this IpaddressesData.
|
144
|
+
|
145
|
+
IP地址信息。
|
146
|
+
|
147
|
+
:param ip: The ip of this IpaddressesData.
|
148
|
+
:type ip: str
|
149
|
+
"""
|
150
|
+
self._ip = ip
|
151
|
+
|
152
|
+
@property
|
153
|
+
def create_time(self):
|
154
|
+
r"""Gets the create_time of this IpaddressesData.
|
155
|
+
|
156
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
157
|
+
|
158
|
+
:return: The create_time of this IpaddressesData.
|
159
|
+
:rtype: str
|
160
|
+
"""
|
161
|
+
return self._create_time
|
162
|
+
|
163
|
+
@create_time.setter
|
164
|
+
def create_time(self, create_time):
|
165
|
+
r"""Sets the create_time of this IpaddressesData.
|
166
|
+
|
167
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
168
|
+
|
169
|
+
:param create_time: The create_time of this IpaddressesData.
|
170
|
+
:type create_time: str
|
171
|
+
"""
|
172
|
+
self._create_time = create_time
|
173
|
+
|
174
|
+
@property
|
175
|
+
def update_time(self):
|
176
|
+
r"""Gets the update_time of this IpaddressesData.
|
177
|
+
|
178
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
179
|
+
|
180
|
+
:return: The update_time of this IpaddressesData.
|
181
|
+
:rtype: str
|
182
|
+
"""
|
183
|
+
return self._update_time
|
184
|
+
|
185
|
+
@update_time.setter
|
186
|
+
def update_time(self, update_time):
|
187
|
+
r"""Sets the update_time of this IpaddressesData.
|
188
|
+
|
189
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
190
|
+
|
191
|
+
:param update_time: The update_time of this IpaddressesData.
|
192
|
+
:type update_time: str
|
193
|
+
"""
|
194
|
+
self._update_time = update_time
|
195
|
+
|
196
|
+
@property
|
197
|
+
def subnet_id(self):
|
198
|
+
r"""Gets the subnet_id of this IpaddressesData.
|
199
|
+
|
200
|
+
子网ID。
|
201
|
+
|
202
|
+
:return: The subnet_id of this IpaddressesData.
|
203
|
+
:rtype: str
|
204
|
+
"""
|
205
|
+
return self._subnet_id
|
206
|
+
|
207
|
+
@subnet_id.setter
|
208
|
+
def subnet_id(self, subnet_id):
|
209
|
+
r"""Sets the subnet_id of this IpaddressesData.
|
210
|
+
|
211
|
+
子网ID。
|
212
|
+
|
213
|
+
:param subnet_id: The subnet_id of this IpaddressesData.
|
214
|
+
:type subnet_id: str
|
215
|
+
"""
|
216
|
+
self._subnet_id = subnet_id
|
217
|
+
|
218
|
+
@property
|
219
|
+
def error_info(self):
|
220
|
+
r"""Gets the error_info of this IpaddressesData.
|
221
|
+
|
222
|
+
错误信息。
|
223
|
+
|
224
|
+
:return: The error_info of this IpaddressesData.
|
225
|
+
:rtype: str
|
226
|
+
"""
|
227
|
+
return self._error_info
|
228
|
+
|
229
|
+
@error_info.setter
|
230
|
+
def error_info(self, error_info):
|
231
|
+
r"""Sets the error_info of this IpaddressesData.
|
232
|
+
|
233
|
+
错误信息。
|
234
|
+
|
235
|
+
:param error_info: The error_info of this IpaddressesData.
|
236
|
+
:type error_info: str
|
237
|
+
"""
|
238
|
+
self._error_info = error_info
|
239
|
+
|
240
|
+
def to_dict(self):
|
241
|
+
"""Returns the model properties as a dict"""
|
242
|
+
result = {}
|
243
|
+
|
244
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
245
|
+
value = getattr(self, attr)
|
246
|
+
if isinstance(value, list):
|
247
|
+
result[attr] = list(map(
|
248
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
249
|
+
value
|
250
|
+
))
|
251
|
+
elif hasattr(value, "to_dict"):
|
252
|
+
result[attr] = value.to_dict()
|
253
|
+
elif isinstance(value, dict):
|
254
|
+
result[attr] = dict(map(
|
255
|
+
lambda item: (item[0], item[1].to_dict())
|
256
|
+
if hasattr(item[1], "to_dict") else item,
|
257
|
+
value.items()
|
258
|
+
))
|
259
|
+
else:
|
260
|
+
if attr in self.sensitive_list:
|
261
|
+
result[attr] = "****"
|
262
|
+
else:
|
263
|
+
result[attr] = value
|
264
|
+
|
265
|
+
return result
|
266
|
+
|
267
|
+
def to_str(self):
|
268
|
+
"""Returns the string representation of the model"""
|
269
|
+
import simplejson as json
|
270
|
+
if six.PY2:
|
271
|
+
import sys
|
272
|
+
reload(sys)
|
273
|
+
sys.setdefaultencoding("utf-8")
|
274
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
275
|
+
|
276
|
+
def __repr__(self):
|
277
|
+
"""For `print`"""
|
278
|
+
return self.to_str()
|
279
|
+
|
280
|
+
def __eq__(self, other):
|
281
|
+
"""Returns true if both objects are equal"""
|
282
|
+
if not isinstance(other, IpaddressesData):
|
283
|
+
return False
|
284
|
+
|
285
|
+
return self.__dict__ == other.__dict__
|
286
|
+
|
287
|
+
def __ne__(self, other):
|
288
|
+
"""Returns true if both objects are not equal"""
|
289
|
+
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 Line:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class Line:
|
|
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 = {
|
@@ -43,7 +37,25 @@ class Line:
|
|
43
37
|
}
|
44
38
|
|
45
39
|
def __init__(self, line_id=None, name=None, ip_segments=None, created_at=None, updated_at=None, status=None, description=None):
|
46
|
-
"""Line
|
40
|
+
r"""Line
|
41
|
+
|
42
|
+
The model defined in huaweicloud sdk
|
43
|
+
|
44
|
+
:param line_id: 解析线路ID。
|
45
|
+
:type line_id: str
|
46
|
+
:param name: 解析线路名称。
|
47
|
+
:type name: str
|
48
|
+
:param ip_segments: IP地址段。
|
49
|
+
:type ip_segments: list[str]
|
50
|
+
:param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
51
|
+
:type created_at: str
|
52
|
+
:param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
53
|
+
:type updated_at: str
|
54
|
+
:param status: 资源状态。
|
55
|
+
:type status: str
|
56
|
+
:param description: 自定义线路的描述信息。
|
57
|
+
:type description: str
|
58
|
+
"""
|
47
59
|
|
48
60
|
|
49
61
|
|
@@ -73,7 +85,7 @@ class Line:
|
|
73
85
|
|
74
86
|
@property
|
75
87
|
def line_id(self):
|
76
|
-
"""Gets the line_id of this Line.
|
88
|
+
r"""Gets the line_id of this Line.
|
77
89
|
|
78
90
|
解析线路ID。
|
79
91
|
|
@@ -84,18 +96,18 @@ class Line:
|
|
84
96
|
|
85
97
|
@line_id.setter
|
86
98
|
def line_id(self, line_id):
|
87
|
-
"""Sets the line_id of this Line.
|
99
|
+
r"""Sets the line_id of this Line.
|
88
100
|
|
89
101
|
解析线路ID。
|
90
102
|
|
91
103
|
:param line_id: The line_id of this Line.
|
92
|
-
:type: str
|
104
|
+
:type line_id: str
|
93
105
|
"""
|
94
106
|
self._line_id = line_id
|
95
107
|
|
96
108
|
@property
|
97
109
|
def name(self):
|
98
|
-
"""Gets the name of this Line.
|
110
|
+
r"""Gets the name of this Line.
|
99
111
|
|
100
112
|
解析线路名称。
|
101
113
|
|
@@ -106,18 +118,18 @@ class Line:
|
|
106
118
|
|
107
119
|
@name.setter
|
108
120
|
def name(self, name):
|
109
|
-
"""Sets the name of this Line.
|
121
|
+
r"""Sets the name of this Line.
|
110
122
|
|
111
123
|
解析线路名称。
|
112
124
|
|
113
125
|
:param name: The name of this Line.
|
114
|
-
:type: str
|
126
|
+
:type name: str
|
115
127
|
"""
|
116
128
|
self._name = name
|
117
129
|
|
118
130
|
@property
|
119
131
|
def ip_segments(self):
|
120
|
-
"""Gets the ip_segments of this Line.
|
132
|
+
r"""Gets the ip_segments of this Line.
|
121
133
|
|
122
134
|
IP地址段。
|
123
135
|
|
@@ -128,20 +140,20 @@ class Line:
|
|
128
140
|
|
129
141
|
@ip_segments.setter
|
130
142
|
def ip_segments(self, ip_segments):
|
131
|
-
"""Sets the ip_segments of this Line.
|
143
|
+
r"""Sets the ip_segments of this Line.
|
132
144
|
|
133
145
|
IP地址段。
|
134
146
|
|
135
147
|
:param ip_segments: The ip_segments of this Line.
|
136
|
-
:type: list[str]
|
148
|
+
:type ip_segments: list[str]
|
137
149
|
"""
|
138
150
|
self._ip_segments = ip_segments
|
139
151
|
|
140
152
|
@property
|
141
153
|
def created_at(self):
|
142
|
-
"""Gets the created_at of this Line.
|
154
|
+
r"""Gets the created_at of this Line.
|
143
155
|
|
144
|
-
创建时间。
|
156
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
145
157
|
|
146
158
|
:return: The created_at of this Line.
|
147
159
|
:rtype: str
|
@@ -150,20 +162,20 @@ class Line:
|
|
150
162
|
|
151
163
|
@created_at.setter
|
152
164
|
def created_at(self, created_at):
|
153
|
-
"""Sets the created_at of this Line.
|
165
|
+
r"""Sets the created_at of this Line.
|
154
166
|
|
155
|
-
创建时间。
|
167
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
156
168
|
|
157
169
|
:param created_at: The created_at of this Line.
|
158
|
-
:type: str
|
170
|
+
:type created_at: str
|
159
171
|
"""
|
160
172
|
self._created_at = created_at
|
161
173
|
|
162
174
|
@property
|
163
175
|
def updated_at(self):
|
164
|
-
"""Gets the updated_at of this Line.
|
176
|
+
r"""Gets the updated_at of this Line.
|
165
177
|
|
166
|
-
更新时间。
|
178
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
167
179
|
|
168
180
|
:return: The updated_at of this Line.
|
169
181
|
:rtype: str
|
@@ -172,18 +184,18 @@ class Line:
|
|
172
184
|
|
173
185
|
@updated_at.setter
|
174
186
|
def updated_at(self, updated_at):
|
175
|
-
"""Sets the updated_at of this Line.
|
187
|
+
r"""Sets the updated_at of this Line.
|
176
188
|
|
177
|
-
更新时间。
|
189
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
178
190
|
|
179
191
|
:param updated_at: The updated_at of this Line.
|
180
|
-
:type: str
|
192
|
+
:type updated_at: str
|
181
193
|
"""
|
182
194
|
self._updated_at = updated_at
|
183
195
|
|
184
196
|
@property
|
185
197
|
def status(self):
|
186
|
-
"""Gets the status of this Line.
|
198
|
+
r"""Gets the status of this Line.
|
187
199
|
|
188
200
|
资源状态。
|
189
201
|
|
@@ -194,18 +206,18 @@ class Line:
|
|
194
206
|
|
195
207
|
@status.setter
|
196
208
|
def status(self, status):
|
197
|
-
"""Sets the status of this Line.
|
209
|
+
r"""Sets the status of this Line.
|
198
210
|
|
199
211
|
资源状态。
|
200
212
|
|
201
213
|
:param status: The status of this Line.
|
202
|
-
:type: str
|
214
|
+
:type status: str
|
203
215
|
"""
|
204
216
|
self._status = status
|
205
217
|
|
206
218
|
@property
|
207
219
|
def description(self):
|
208
|
-
"""Gets the description of this Line.
|
220
|
+
r"""Gets the description of this Line.
|
209
221
|
|
210
222
|
自定义线路的描述信息。
|
211
223
|
|
@@ -216,12 +228,12 @@ class Line:
|
|
216
228
|
|
217
229
|
@description.setter
|
218
230
|
def description(self, description):
|
219
|
-
"""Sets the description of this Line.
|
231
|
+
r"""Sets the description of this Line.
|
220
232
|
|
221
233
|
自定义线路的描述信息。
|
222
234
|
|
223
235
|
:param description: The description of this Line.
|
224
|
-
:type: str
|
236
|
+
:type description: str
|
225
237
|
"""
|
226
238
|
self._description = description
|
227
239
|
|
@@ -254,10 +266,15 @@ class Line:
|
|
254
266
|
|
255
267
|
def to_str(self):
|
256
268
|
"""Returns the string representation of the model"""
|
257
|
-
|
269
|
+
import simplejson as json
|
270
|
+
if six.PY2:
|
271
|
+
import sys
|
272
|
+
reload(sys)
|
273
|
+
sys.setdefaultencoding("utf-8")
|
274
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
258
275
|
|
259
276
|
def __repr__(self):
|
260
|
-
"""For `print`
|
277
|
+
"""For `print`"""
|
261
278
|
return self.to_str()
|
262
279
|
|
263
280
|
def __eq__(self, other):
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class Link:
|
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
|
+
'_self': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'_self': 'self'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, _self=None):
|
28
|
+
r"""Link
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param _self: 当前资源的链接。
|
33
|
+
:type _self: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self.__self = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if _self is not None:
|
42
|
+
self._self = _self
|
43
|
+
|
44
|
+
@property
|
45
|
+
def _self(self):
|
46
|
+
r"""Gets the _self of this Link.
|
47
|
+
|
48
|
+
当前资源的链接。
|
49
|
+
|
50
|
+
:return: The _self of this Link.
|
51
|
+
:rtype: str
|
52
|
+
"""
|
53
|
+
return self.__self
|
54
|
+
|
55
|
+
@_self.setter
|
56
|
+
def _self(self, _self):
|
57
|
+
r"""Sets the _self of this Link.
|
58
|
+
|
59
|
+
当前资源的链接。
|
60
|
+
|
61
|
+
:param _self: The _self of this Link.
|
62
|
+
:type _self: str
|
63
|
+
"""
|
64
|
+
self.__self = _self
|
65
|
+
|
66
|
+
def to_dict(self):
|
67
|
+
"""Returns the model properties as a dict"""
|
68
|
+
result = {}
|
69
|
+
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
71
|
+
value = getattr(self, attr)
|
72
|
+
if isinstance(value, list):
|
73
|
+
result[attr] = list(map(
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
75
|
+
value
|
76
|
+
))
|
77
|
+
elif hasattr(value, "to_dict"):
|
78
|
+
result[attr] = value.to_dict()
|
79
|
+
elif isinstance(value, dict):
|
80
|
+
result[attr] = dict(map(
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
83
|
+
value.items()
|
84
|
+
))
|
85
|
+
else:
|
86
|
+
if attr in self.sensitive_list:
|
87
|
+
result[attr] = "****"
|
88
|
+
else:
|
89
|
+
result[attr] = value
|
90
|
+
|
91
|
+
return result
|
92
|
+
|
93
|
+
def to_str(self):
|
94
|
+
"""Returns the string representation of the model"""
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
"""For `print`"""
|
104
|
+
return self.to_str()
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
"""Returns true if both objects are equal"""
|
108
|
+
if not isinstance(other, Link):
|
109
|
+
return False
|
110
|
+
|
111
|
+
return self.__dict__ == other.__dict__
|
112
|
+
|
113
|
+
def __ne__(self, other):
|
114
|
+
"""Returns true if both objects are not equal"""
|
115
|
+
return not self == other
|