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,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowEndpointRequest:
|
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
|
+
'endpoint_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'endpoint_id': 'endpoint_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, endpoint_id=None):
|
28
|
+
r"""ShowEndpointRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param endpoint_id: 终端节点ID。
|
33
|
+
:type endpoint_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._endpoint_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.endpoint_id = endpoint_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def endpoint_id(self):
|
45
|
+
r"""Gets the endpoint_id of this ShowEndpointRequest.
|
46
|
+
|
47
|
+
终端节点ID。
|
48
|
+
|
49
|
+
:return: The endpoint_id of this ShowEndpointRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._endpoint_id
|
53
|
+
|
54
|
+
@endpoint_id.setter
|
55
|
+
def endpoint_id(self, endpoint_id):
|
56
|
+
r"""Sets the endpoint_id of this ShowEndpointRequest.
|
57
|
+
|
58
|
+
终端节点ID。
|
59
|
+
|
60
|
+
:param endpoint_id: The endpoint_id of this ShowEndpointRequest.
|
61
|
+
:type endpoint_id: str
|
62
|
+
"""
|
63
|
+
self._endpoint_id = endpoint_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, ShowEndpointRequest):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
@@ -0,0 +1,112 @@
|
|
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 ShowEndpointResponse(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
|
+
'endpoint': 'EndpointResp'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'endpoint': 'endpoint'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, endpoint=None):
|
29
|
+
r"""ShowEndpointResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param endpoint:
|
34
|
+
:type endpoint: :class:`huaweicloudsdkdns.v2.EndpointResp`
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(ShowEndpointResponse, self).__init__()
|
38
|
+
|
39
|
+
self._endpoint = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if endpoint is not None:
|
43
|
+
self.endpoint = endpoint
|
44
|
+
|
45
|
+
@property
|
46
|
+
def endpoint(self):
|
47
|
+
r"""Gets the endpoint of this ShowEndpointResponse.
|
48
|
+
|
49
|
+
:return: The endpoint of this ShowEndpointResponse.
|
50
|
+
:rtype: :class:`huaweicloudsdkdns.v2.EndpointResp`
|
51
|
+
"""
|
52
|
+
return self._endpoint
|
53
|
+
|
54
|
+
@endpoint.setter
|
55
|
+
def endpoint(self, endpoint):
|
56
|
+
r"""Sets the endpoint of this ShowEndpointResponse.
|
57
|
+
|
58
|
+
:param endpoint: The endpoint of this ShowEndpointResponse.
|
59
|
+
:type endpoint: :class:`huaweicloudsdkdns.v2.EndpointResp`
|
60
|
+
"""
|
61
|
+
self._endpoint = endpoint
|
62
|
+
|
63
|
+
def to_dict(self):
|
64
|
+
"""Returns the model properties as a dict"""
|
65
|
+
result = {}
|
66
|
+
|
67
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
68
|
+
value = getattr(self, attr)
|
69
|
+
if isinstance(value, list):
|
70
|
+
result[attr] = list(map(
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
72
|
+
value
|
73
|
+
))
|
74
|
+
elif hasattr(value, "to_dict"):
|
75
|
+
result[attr] = value.to_dict()
|
76
|
+
elif isinstance(value, dict):
|
77
|
+
result[attr] = dict(map(
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
80
|
+
value.items()
|
81
|
+
))
|
82
|
+
else:
|
83
|
+
if attr in self.sensitive_list:
|
84
|
+
result[attr] = "****"
|
85
|
+
else:
|
86
|
+
result[attr] = value
|
87
|
+
|
88
|
+
return result
|
89
|
+
|
90
|
+
def to_str(self):
|
91
|
+
"""Returns the string representation of the model"""
|
92
|
+
import simplejson as json
|
93
|
+
if six.PY2:
|
94
|
+
import sys
|
95
|
+
reload(sys)
|
96
|
+
sys.setdefaultencoding("utf-8")
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
98
|
+
|
99
|
+
def __repr__(self):
|
100
|
+
"""For `print`"""
|
101
|
+
return self.to_str()
|
102
|
+
|
103
|
+
def __eq__(self, other):
|
104
|
+
"""Returns true if both objects are equal"""
|
105
|
+
if not isinstance(other, ShowEndpointResponse):
|
106
|
+
return False
|
107
|
+
|
108
|
+
return self.__dict__ == other.__dict__
|
109
|
+
|
110
|
+
def __ne__(self, other):
|
111
|
+
"""Returns true if both objects are not equal"""
|
112
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowLineGroupRequest:
|
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
|
+
'linegroup_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'linegroup_id': 'linegroup_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, linegroup_id=None):
|
28
|
+
r"""ShowLineGroupRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param linegroup_id: 线路分组ID。
|
33
|
+
:type linegroup_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._linegroup_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.linegroup_id = linegroup_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def linegroup_id(self):
|
45
|
+
r"""Gets the linegroup_id of this ShowLineGroupRequest.
|
46
|
+
|
47
|
+
线路分组ID。
|
48
|
+
|
49
|
+
:return: The linegroup_id of this ShowLineGroupRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._linegroup_id
|
53
|
+
|
54
|
+
@linegroup_id.setter
|
55
|
+
def linegroup_id(self, linegroup_id):
|
56
|
+
r"""Sets the linegroup_id of this ShowLineGroupRequest.
|
57
|
+
|
58
|
+
线路分组ID。
|
59
|
+
|
60
|
+
:param linegroup_id: The linegroup_id of this ShowLineGroupRequest.
|
61
|
+
:type linegroup_id: str
|
62
|
+
"""
|
63
|
+
self._linegroup_id = linegroup_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, ShowLineGroupRequest):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
@@ -0,0 +1,290 @@
|
|
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 ShowLineGroupResponse(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
|
+
'name': 'str',
|
22
|
+
'lines': 'list[str]',
|
23
|
+
'status': 'str',
|
24
|
+
'description': 'str',
|
25
|
+
'line_id': 'str',
|
26
|
+
'created_at': 'str',
|
27
|
+
'updated_at': 'str'
|
28
|
+
}
|
29
|
+
|
30
|
+
attribute_map = {
|
31
|
+
'name': 'name',
|
32
|
+
'lines': 'lines',
|
33
|
+
'status': 'status',
|
34
|
+
'description': 'description',
|
35
|
+
'line_id': 'line_id',
|
36
|
+
'created_at': 'created_at',
|
37
|
+
'updated_at': 'updated_at'
|
38
|
+
}
|
39
|
+
|
40
|
+
def __init__(self, name=None, lines=None, status=None, description=None, line_id=None, created_at=None, updated_at=None):
|
41
|
+
r"""ShowLineGroupResponse
|
42
|
+
|
43
|
+
The model defined in huaweicloud sdk
|
44
|
+
|
45
|
+
:param name: 线路分组名称。
|
46
|
+
:type name: str
|
47
|
+
:param lines: 线路分组包含的线路列表。 解析线路ID。
|
48
|
+
:type lines: list[str]
|
49
|
+
:param status: 资源状态。 取值范围:PENDING_CREATE,ACTIVE,PENDING_DELETE,PENDING_UPDATE,ERROR,FREEZE,DISABLE。
|
50
|
+
:type status: str
|
51
|
+
:param description: 线路分组的描述信息
|
52
|
+
:type description: str
|
53
|
+
:param line_id: 线路分组的ID。
|
54
|
+
:type line_id: str
|
55
|
+
:param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
56
|
+
:type created_at: str
|
57
|
+
:param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
58
|
+
:type updated_at: str
|
59
|
+
"""
|
60
|
+
|
61
|
+
super(ShowLineGroupResponse, self).__init__()
|
62
|
+
|
63
|
+
self._name = None
|
64
|
+
self._lines = None
|
65
|
+
self._status = None
|
66
|
+
self._description = None
|
67
|
+
self._line_id = None
|
68
|
+
self._created_at = None
|
69
|
+
self._updated_at = None
|
70
|
+
self.discriminator = None
|
71
|
+
|
72
|
+
if name is not None:
|
73
|
+
self.name = name
|
74
|
+
if lines is not None:
|
75
|
+
self.lines = lines
|
76
|
+
if status is not None:
|
77
|
+
self.status = status
|
78
|
+
if description is not None:
|
79
|
+
self.description = description
|
80
|
+
if line_id is not None:
|
81
|
+
self.line_id = line_id
|
82
|
+
if created_at is not None:
|
83
|
+
self.created_at = created_at
|
84
|
+
if updated_at is not None:
|
85
|
+
self.updated_at = updated_at
|
86
|
+
|
87
|
+
@property
|
88
|
+
def name(self):
|
89
|
+
r"""Gets the name of this ShowLineGroupResponse.
|
90
|
+
|
91
|
+
线路分组名称。
|
92
|
+
|
93
|
+
:return: The name of this ShowLineGroupResponse.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._name
|
97
|
+
|
98
|
+
@name.setter
|
99
|
+
def name(self, name):
|
100
|
+
r"""Sets the name of this ShowLineGroupResponse.
|
101
|
+
|
102
|
+
线路分组名称。
|
103
|
+
|
104
|
+
:param name: The name of this ShowLineGroupResponse.
|
105
|
+
:type name: str
|
106
|
+
"""
|
107
|
+
self._name = name
|
108
|
+
|
109
|
+
@property
|
110
|
+
def lines(self):
|
111
|
+
r"""Gets the lines of this ShowLineGroupResponse.
|
112
|
+
|
113
|
+
线路分组包含的线路列表。 解析线路ID。
|
114
|
+
|
115
|
+
:return: The lines of this ShowLineGroupResponse.
|
116
|
+
:rtype: list[str]
|
117
|
+
"""
|
118
|
+
return self._lines
|
119
|
+
|
120
|
+
@lines.setter
|
121
|
+
def lines(self, lines):
|
122
|
+
r"""Sets the lines of this ShowLineGroupResponse.
|
123
|
+
|
124
|
+
线路分组包含的线路列表。 解析线路ID。
|
125
|
+
|
126
|
+
:param lines: The lines of this ShowLineGroupResponse.
|
127
|
+
:type lines: list[str]
|
128
|
+
"""
|
129
|
+
self._lines = lines
|
130
|
+
|
131
|
+
@property
|
132
|
+
def status(self):
|
133
|
+
r"""Gets the status of this ShowLineGroupResponse.
|
134
|
+
|
135
|
+
资源状态。 取值范围:PENDING_CREATE,ACTIVE,PENDING_DELETE,PENDING_UPDATE,ERROR,FREEZE,DISABLE。
|
136
|
+
|
137
|
+
:return: The status of this ShowLineGroupResponse.
|
138
|
+
:rtype: str
|
139
|
+
"""
|
140
|
+
return self._status
|
141
|
+
|
142
|
+
@status.setter
|
143
|
+
def status(self, status):
|
144
|
+
r"""Sets the status of this ShowLineGroupResponse.
|
145
|
+
|
146
|
+
资源状态。 取值范围:PENDING_CREATE,ACTIVE,PENDING_DELETE,PENDING_UPDATE,ERROR,FREEZE,DISABLE。
|
147
|
+
|
148
|
+
:param status: The status of this ShowLineGroupResponse.
|
149
|
+
:type status: str
|
150
|
+
"""
|
151
|
+
self._status = status
|
152
|
+
|
153
|
+
@property
|
154
|
+
def description(self):
|
155
|
+
r"""Gets the description of this ShowLineGroupResponse.
|
156
|
+
|
157
|
+
线路分组的描述信息
|
158
|
+
|
159
|
+
:return: The description of this ShowLineGroupResponse.
|
160
|
+
:rtype: str
|
161
|
+
"""
|
162
|
+
return self._description
|
163
|
+
|
164
|
+
@description.setter
|
165
|
+
def description(self, description):
|
166
|
+
r"""Sets the description of this ShowLineGroupResponse.
|
167
|
+
|
168
|
+
线路分组的描述信息
|
169
|
+
|
170
|
+
:param description: The description of this ShowLineGroupResponse.
|
171
|
+
:type description: str
|
172
|
+
"""
|
173
|
+
self._description = description
|
174
|
+
|
175
|
+
@property
|
176
|
+
def line_id(self):
|
177
|
+
r"""Gets the line_id of this ShowLineGroupResponse.
|
178
|
+
|
179
|
+
线路分组的ID。
|
180
|
+
|
181
|
+
:return: The line_id of this ShowLineGroupResponse.
|
182
|
+
:rtype: str
|
183
|
+
"""
|
184
|
+
return self._line_id
|
185
|
+
|
186
|
+
@line_id.setter
|
187
|
+
def line_id(self, line_id):
|
188
|
+
r"""Sets the line_id of this ShowLineGroupResponse.
|
189
|
+
|
190
|
+
线路分组的ID。
|
191
|
+
|
192
|
+
:param line_id: The line_id of this ShowLineGroupResponse.
|
193
|
+
:type line_id: str
|
194
|
+
"""
|
195
|
+
self._line_id = line_id
|
196
|
+
|
197
|
+
@property
|
198
|
+
def created_at(self):
|
199
|
+
r"""Gets the created_at of this ShowLineGroupResponse.
|
200
|
+
|
201
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
202
|
+
|
203
|
+
:return: The created_at of this ShowLineGroupResponse.
|
204
|
+
:rtype: str
|
205
|
+
"""
|
206
|
+
return self._created_at
|
207
|
+
|
208
|
+
@created_at.setter
|
209
|
+
def created_at(self, created_at):
|
210
|
+
r"""Sets the created_at of this ShowLineGroupResponse.
|
211
|
+
|
212
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
213
|
+
|
214
|
+
:param created_at: The created_at of this ShowLineGroupResponse.
|
215
|
+
:type created_at: str
|
216
|
+
"""
|
217
|
+
self._created_at = created_at
|
218
|
+
|
219
|
+
@property
|
220
|
+
def updated_at(self):
|
221
|
+
r"""Gets the updated_at of this ShowLineGroupResponse.
|
222
|
+
|
223
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
224
|
+
|
225
|
+
:return: The updated_at of this ShowLineGroupResponse.
|
226
|
+
:rtype: str
|
227
|
+
"""
|
228
|
+
return self._updated_at
|
229
|
+
|
230
|
+
@updated_at.setter
|
231
|
+
def updated_at(self, updated_at):
|
232
|
+
r"""Sets the updated_at of this ShowLineGroupResponse.
|
233
|
+
|
234
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
235
|
+
|
236
|
+
:param updated_at: The updated_at of this ShowLineGroupResponse.
|
237
|
+
:type updated_at: str
|
238
|
+
"""
|
239
|
+
self._updated_at = updated_at
|
240
|
+
|
241
|
+
def to_dict(self):
|
242
|
+
"""Returns the model properties as a dict"""
|
243
|
+
result = {}
|
244
|
+
|
245
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
246
|
+
value = getattr(self, attr)
|
247
|
+
if isinstance(value, list):
|
248
|
+
result[attr] = list(map(
|
249
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
250
|
+
value
|
251
|
+
))
|
252
|
+
elif hasattr(value, "to_dict"):
|
253
|
+
result[attr] = value.to_dict()
|
254
|
+
elif isinstance(value, dict):
|
255
|
+
result[attr] = dict(map(
|
256
|
+
lambda item: (item[0], item[1].to_dict())
|
257
|
+
if hasattr(item[1], "to_dict") else item,
|
258
|
+
value.items()
|
259
|
+
))
|
260
|
+
else:
|
261
|
+
if attr in self.sensitive_list:
|
262
|
+
result[attr] = "****"
|
263
|
+
else:
|
264
|
+
result[attr] = value
|
265
|
+
|
266
|
+
return result
|
267
|
+
|
268
|
+
def to_str(self):
|
269
|
+
"""Returns the string representation of the model"""
|
270
|
+
import simplejson as json
|
271
|
+
if six.PY2:
|
272
|
+
import sys
|
273
|
+
reload(sys)
|
274
|
+
sys.setdefaultencoding("utf-8")
|
275
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
276
|
+
|
277
|
+
def __repr__(self):
|
278
|
+
"""For `print`"""
|
279
|
+
return self.to_str()
|
280
|
+
|
281
|
+
def __eq__(self, other):
|
282
|
+
"""Returns true if both objects are equal"""
|
283
|
+
if not isinstance(other, ShowLineGroupResponse):
|
284
|
+
return False
|
285
|
+
|
286
|
+
return self.__dict__ == other.__dict__
|
287
|
+
|
288
|
+
def __ne__(self, other):
|
289
|
+
"""Returns true if both objects are not equal"""
|
290
|
+
return not self == other
|