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,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 CreateEndpointResponse(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"""CreateEndpointResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param endpoint:
|
34
|
+
:type endpoint: :class:`huaweicloudsdkdns.v2.EndpointResp`
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(CreateEndpointResponse, 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 CreateEndpointResponse.
|
48
|
+
|
49
|
+
:return: The endpoint of this CreateEndpointResponse.
|
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 CreateEndpointResponse.
|
57
|
+
|
58
|
+
:param endpoint: The endpoint of this CreateEndpointResponse.
|
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, CreateEndpointResponse):
|
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,111 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateLineGroupRequest:
|
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
|
+
'body': 'CreateLineGroupsReq'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'body': 'body'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, body=None):
|
28
|
+
r"""CreateLineGroupRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param body: Body of the CreateLineGroupRequest
|
33
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreateLineGroupsReq`
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._body = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if body is not None:
|
42
|
+
self.body = body
|
43
|
+
|
44
|
+
@property
|
45
|
+
def body(self):
|
46
|
+
r"""Gets the body of this CreateLineGroupRequest.
|
47
|
+
|
48
|
+
:return: The body of this CreateLineGroupRequest.
|
49
|
+
:rtype: :class:`huaweicloudsdkdns.v2.CreateLineGroupsReq`
|
50
|
+
"""
|
51
|
+
return self._body
|
52
|
+
|
53
|
+
@body.setter
|
54
|
+
def body(self, body):
|
55
|
+
r"""Sets the body of this CreateLineGroupRequest.
|
56
|
+
|
57
|
+
:param body: The body of this CreateLineGroupRequest.
|
58
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreateLineGroupsReq`
|
59
|
+
"""
|
60
|
+
self._body = body
|
61
|
+
|
62
|
+
def to_dict(self):
|
63
|
+
"""Returns the model properties as a dict"""
|
64
|
+
result = {}
|
65
|
+
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
67
|
+
value = getattr(self, attr)
|
68
|
+
if isinstance(value, list):
|
69
|
+
result[attr] = list(map(
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
71
|
+
value
|
72
|
+
))
|
73
|
+
elif hasattr(value, "to_dict"):
|
74
|
+
result[attr] = value.to_dict()
|
75
|
+
elif isinstance(value, dict):
|
76
|
+
result[attr] = dict(map(
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
79
|
+
value.items()
|
80
|
+
))
|
81
|
+
else:
|
82
|
+
if attr in self.sensitive_list:
|
83
|
+
result[attr] = "****"
|
84
|
+
else:
|
85
|
+
result[attr] = value
|
86
|
+
|
87
|
+
return result
|
88
|
+
|
89
|
+
def to_str(self):
|
90
|
+
"""Returns the string representation of the model"""
|
91
|
+
import simplejson as json
|
92
|
+
if six.PY2:
|
93
|
+
import sys
|
94
|
+
reload(sys)
|
95
|
+
sys.setdefaultencoding("utf-8")
|
96
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
97
|
+
|
98
|
+
def __repr__(self):
|
99
|
+
"""For `print`"""
|
100
|
+
return self.to_str()
|
101
|
+
|
102
|
+
def __eq__(self, other):
|
103
|
+
"""Returns true if both objects are equal"""
|
104
|
+
if not isinstance(other, CreateLineGroupRequest):
|
105
|
+
return False
|
106
|
+
|
107
|
+
return self.__dict__ == other.__dict__
|
108
|
+
|
109
|
+
def __ne__(self, other):
|
110
|
+
"""Returns true if both objects are not equal"""
|
111
|
+
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 CreateLineGroupResponse(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"""CreateLineGroupResponse
|
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(CreateLineGroupResponse, 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 CreateLineGroupResponse.
|
90
|
+
|
91
|
+
线路分组名称。
|
92
|
+
|
93
|
+
:return: The name of this CreateLineGroupResponse.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._name
|
97
|
+
|
98
|
+
@name.setter
|
99
|
+
def name(self, name):
|
100
|
+
r"""Sets the name of this CreateLineGroupResponse.
|
101
|
+
|
102
|
+
线路分组名称。
|
103
|
+
|
104
|
+
:param name: The name of this CreateLineGroupResponse.
|
105
|
+
:type name: str
|
106
|
+
"""
|
107
|
+
self._name = name
|
108
|
+
|
109
|
+
@property
|
110
|
+
def lines(self):
|
111
|
+
r"""Gets the lines of this CreateLineGroupResponse.
|
112
|
+
|
113
|
+
线路分组包含的线路列表。 解析线路ID。
|
114
|
+
|
115
|
+
:return: The lines of this CreateLineGroupResponse.
|
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 CreateLineGroupResponse.
|
123
|
+
|
124
|
+
线路分组包含的线路列表。 解析线路ID。
|
125
|
+
|
126
|
+
:param lines: The lines of this CreateLineGroupResponse.
|
127
|
+
:type lines: list[str]
|
128
|
+
"""
|
129
|
+
self._lines = lines
|
130
|
+
|
131
|
+
@property
|
132
|
+
def status(self):
|
133
|
+
r"""Gets the status of this CreateLineGroupResponse.
|
134
|
+
|
135
|
+
资源状态。 取值范围:PENDING_CREATE,ACTIVE,PENDING_DELETE,PENDING_UPDATE,ERROR,FREEZE,DISABLE。
|
136
|
+
|
137
|
+
:return: The status of this CreateLineGroupResponse.
|
138
|
+
:rtype: str
|
139
|
+
"""
|
140
|
+
return self._status
|
141
|
+
|
142
|
+
@status.setter
|
143
|
+
def status(self, status):
|
144
|
+
r"""Sets the status of this CreateLineGroupResponse.
|
145
|
+
|
146
|
+
资源状态。 取值范围:PENDING_CREATE,ACTIVE,PENDING_DELETE,PENDING_UPDATE,ERROR,FREEZE,DISABLE。
|
147
|
+
|
148
|
+
:param status: The status of this CreateLineGroupResponse.
|
149
|
+
:type status: str
|
150
|
+
"""
|
151
|
+
self._status = status
|
152
|
+
|
153
|
+
@property
|
154
|
+
def description(self):
|
155
|
+
r"""Gets the description of this CreateLineGroupResponse.
|
156
|
+
|
157
|
+
线路分组的描述信息
|
158
|
+
|
159
|
+
:return: The description of this CreateLineGroupResponse.
|
160
|
+
:rtype: str
|
161
|
+
"""
|
162
|
+
return self._description
|
163
|
+
|
164
|
+
@description.setter
|
165
|
+
def description(self, description):
|
166
|
+
r"""Sets the description of this CreateLineGroupResponse.
|
167
|
+
|
168
|
+
线路分组的描述信息
|
169
|
+
|
170
|
+
:param description: The description of this CreateLineGroupResponse.
|
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 CreateLineGroupResponse.
|
178
|
+
|
179
|
+
线路分组的ID。
|
180
|
+
|
181
|
+
:return: The line_id of this CreateLineGroupResponse.
|
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 CreateLineGroupResponse.
|
189
|
+
|
190
|
+
线路分组的ID。
|
191
|
+
|
192
|
+
:param line_id: The line_id of this CreateLineGroupResponse.
|
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 CreateLineGroupResponse.
|
200
|
+
|
201
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
202
|
+
|
203
|
+
:return: The created_at of this CreateLineGroupResponse.
|
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 CreateLineGroupResponse.
|
211
|
+
|
212
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
213
|
+
|
214
|
+
:param created_at: The created_at of this CreateLineGroupResponse.
|
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 CreateLineGroupResponse.
|
222
|
+
|
223
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
224
|
+
|
225
|
+
:return: The updated_at of this CreateLineGroupResponse.
|
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 CreateLineGroupResponse.
|
233
|
+
|
234
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
235
|
+
|
236
|
+
:param updated_at: The updated_at of this CreateLineGroupResponse.
|
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, CreateLineGroupResponse):
|
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
|
@@ -0,0 +1,171 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateLineGroupsReq:
|
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
|
+
'name': 'str',
|
21
|
+
'description': 'str',
|
22
|
+
'lines': 'list[str]'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'name': 'name',
|
27
|
+
'description': 'description',
|
28
|
+
'lines': 'lines'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, name=None, description=None, lines=None):
|
32
|
+
r"""CreateLineGroupsReq
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param name: 线路分组名称。 不能与自定义线路名称、预制线路名称重复。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
|
37
|
+
:type name: str
|
38
|
+
:param description: 线路分组的描述信息。 长度不超过255个字符。默认值为空。
|
39
|
+
:type description: str
|
40
|
+
:param lines: 线路分组包含的线路列表。最少为2个线路。 解析线路ID。
|
41
|
+
:type lines: list[str]
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._name = None
|
47
|
+
self._description = None
|
48
|
+
self._lines = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.name = name
|
52
|
+
if description is not None:
|
53
|
+
self.description = description
|
54
|
+
self.lines = lines
|
55
|
+
|
56
|
+
@property
|
57
|
+
def name(self):
|
58
|
+
r"""Gets the name of this CreateLineGroupsReq.
|
59
|
+
|
60
|
+
线路分组名称。 不能与自定义线路名称、预制线路名称重复。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
|
61
|
+
|
62
|
+
:return: The name of this CreateLineGroupsReq.
|
63
|
+
:rtype: str
|
64
|
+
"""
|
65
|
+
return self._name
|
66
|
+
|
67
|
+
@name.setter
|
68
|
+
def name(self, name):
|
69
|
+
r"""Sets the name of this CreateLineGroupsReq.
|
70
|
+
|
71
|
+
线路分组名称。 不能与自定义线路名称、预制线路名称重复。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
|
72
|
+
|
73
|
+
:param name: The name of this CreateLineGroupsReq.
|
74
|
+
:type name: str
|
75
|
+
"""
|
76
|
+
self._name = name
|
77
|
+
|
78
|
+
@property
|
79
|
+
def description(self):
|
80
|
+
r"""Gets the description of this CreateLineGroupsReq.
|
81
|
+
|
82
|
+
线路分组的描述信息。 长度不超过255个字符。默认值为空。
|
83
|
+
|
84
|
+
:return: The description of this CreateLineGroupsReq.
|
85
|
+
:rtype: str
|
86
|
+
"""
|
87
|
+
return self._description
|
88
|
+
|
89
|
+
@description.setter
|
90
|
+
def description(self, description):
|
91
|
+
r"""Sets the description of this CreateLineGroupsReq.
|
92
|
+
|
93
|
+
线路分组的描述信息。 长度不超过255个字符。默认值为空。
|
94
|
+
|
95
|
+
:param description: The description of this CreateLineGroupsReq.
|
96
|
+
:type description: str
|
97
|
+
"""
|
98
|
+
self._description = description
|
99
|
+
|
100
|
+
@property
|
101
|
+
def lines(self):
|
102
|
+
r"""Gets the lines of this CreateLineGroupsReq.
|
103
|
+
|
104
|
+
线路分组包含的线路列表。最少为2个线路。 解析线路ID。
|
105
|
+
|
106
|
+
:return: The lines of this CreateLineGroupsReq.
|
107
|
+
:rtype: list[str]
|
108
|
+
"""
|
109
|
+
return self._lines
|
110
|
+
|
111
|
+
@lines.setter
|
112
|
+
def lines(self, lines):
|
113
|
+
r"""Sets the lines of this CreateLineGroupsReq.
|
114
|
+
|
115
|
+
线路分组包含的线路列表。最少为2个线路。 解析线路ID。
|
116
|
+
|
117
|
+
:param lines: The lines of this CreateLineGroupsReq.
|
118
|
+
:type lines: list[str]
|
119
|
+
"""
|
120
|
+
self._lines = lines
|
121
|
+
|
122
|
+
def to_dict(self):
|
123
|
+
"""Returns the model properties as a dict"""
|
124
|
+
result = {}
|
125
|
+
|
126
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
127
|
+
value = getattr(self, attr)
|
128
|
+
if isinstance(value, list):
|
129
|
+
result[attr] = list(map(
|
130
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
131
|
+
value
|
132
|
+
))
|
133
|
+
elif hasattr(value, "to_dict"):
|
134
|
+
result[attr] = value.to_dict()
|
135
|
+
elif isinstance(value, dict):
|
136
|
+
result[attr] = dict(map(
|
137
|
+
lambda item: (item[0], item[1].to_dict())
|
138
|
+
if hasattr(item[1], "to_dict") else item,
|
139
|
+
value.items()
|
140
|
+
))
|
141
|
+
else:
|
142
|
+
if attr in self.sensitive_list:
|
143
|
+
result[attr] = "****"
|
144
|
+
else:
|
145
|
+
result[attr] = value
|
146
|
+
|
147
|
+
return result
|
148
|
+
|
149
|
+
def to_str(self):
|
150
|
+
"""Returns the string representation of the model"""
|
151
|
+
import simplejson as json
|
152
|
+
if six.PY2:
|
153
|
+
import sys
|
154
|
+
reload(sys)
|
155
|
+
sys.setdefaultencoding("utf-8")
|
156
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
157
|
+
|
158
|
+
def __repr__(self):
|
159
|
+
"""For `print`"""
|
160
|
+
return self.to_str()
|
161
|
+
|
162
|
+
def __eq__(self, other):
|
163
|
+
"""Returns true if both objects are equal"""
|
164
|
+
if not isinstance(other, CreateLineGroupsReq):
|
165
|
+
return False
|
166
|
+
|
167
|
+
return self.__dict__ == other.__dict__
|
168
|
+
|
169
|
+
def __ne__(self, other):
|
170
|
+
"""Returns true if both objects are not equal"""
|
171
|
+
return not self == other
|