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,139 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class BatchUpdateRecordSetWithLineRequest:
|
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
|
+
'zone_id': 'str',
|
21
|
+
'body': 'BatchUpdateRecordSetWithLineRequestBody'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'zone_id': 'zone_id',
|
26
|
+
'body': 'body'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, zone_id=None, body=None):
|
30
|
+
r"""BatchUpdateRecordSetWithLineRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param zone_id: **参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
35
|
+
:type zone_id: str
|
36
|
+
:param body: Body of the BatchUpdateRecordSetWithLineRequest
|
37
|
+
:type body: :class:`huaweicloudsdkdns.v2.BatchUpdateRecordSetWithLineRequestBody`
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._zone_id = None
|
43
|
+
self._body = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.zone_id = zone_id
|
47
|
+
if body is not None:
|
48
|
+
self.body = body
|
49
|
+
|
50
|
+
@property
|
51
|
+
def zone_id(self):
|
52
|
+
r"""Gets the zone_id of this BatchUpdateRecordSetWithLineRequest.
|
53
|
+
|
54
|
+
**参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
55
|
+
|
56
|
+
:return: The zone_id of this BatchUpdateRecordSetWithLineRequest.
|
57
|
+
:rtype: str
|
58
|
+
"""
|
59
|
+
return self._zone_id
|
60
|
+
|
61
|
+
@zone_id.setter
|
62
|
+
def zone_id(self, zone_id):
|
63
|
+
r"""Sets the zone_id of this BatchUpdateRecordSetWithLineRequest.
|
64
|
+
|
65
|
+
**参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
66
|
+
|
67
|
+
:param zone_id: The zone_id of this BatchUpdateRecordSetWithLineRequest.
|
68
|
+
:type zone_id: str
|
69
|
+
"""
|
70
|
+
self._zone_id = zone_id
|
71
|
+
|
72
|
+
@property
|
73
|
+
def body(self):
|
74
|
+
r"""Gets the body of this BatchUpdateRecordSetWithLineRequest.
|
75
|
+
|
76
|
+
:return: The body of this BatchUpdateRecordSetWithLineRequest.
|
77
|
+
:rtype: :class:`huaweicloudsdkdns.v2.BatchUpdateRecordSetWithLineRequestBody`
|
78
|
+
"""
|
79
|
+
return self._body
|
80
|
+
|
81
|
+
@body.setter
|
82
|
+
def body(self, body):
|
83
|
+
r"""Sets the body of this BatchUpdateRecordSetWithLineRequest.
|
84
|
+
|
85
|
+
:param body: The body of this BatchUpdateRecordSetWithLineRequest.
|
86
|
+
:type body: :class:`huaweicloudsdkdns.v2.BatchUpdateRecordSetWithLineRequestBody`
|
87
|
+
"""
|
88
|
+
self._body = body
|
89
|
+
|
90
|
+
def to_dict(self):
|
91
|
+
"""Returns the model properties as a dict"""
|
92
|
+
result = {}
|
93
|
+
|
94
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
95
|
+
value = getattr(self, attr)
|
96
|
+
if isinstance(value, list):
|
97
|
+
result[attr] = list(map(
|
98
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
99
|
+
value
|
100
|
+
))
|
101
|
+
elif hasattr(value, "to_dict"):
|
102
|
+
result[attr] = value.to_dict()
|
103
|
+
elif isinstance(value, dict):
|
104
|
+
result[attr] = dict(map(
|
105
|
+
lambda item: (item[0], item[1].to_dict())
|
106
|
+
if hasattr(item[1], "to_dict") else item,
|
107
|
+
value.items()
|
108
|
+
))
|
109
|
+
else:
|
110
|
+
if attr in self.sensitive_list:
|
111
|
+
result[attr] = "****"
|
112
|
+
else:
|
113
|
+
result[attr] = value
|
114
|
+
|
115
|
+
return result
|
116
|
+
|
117
|
+
def to_str(self):
|
118
|
+
"""Returns the string representation of the model"""
|
119
|
+
import simplejson as json
|
120
|
+
if six.PY2:
|
121
|
+
import sys
|
122
|
+
reload(sys)
|
123
|
+
sys.setdefaultencoding("utf-8")
|
124
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
125
|
+
|
126
|
+
def __repr__(self):
|
127
|
+
"""For `print`"""
|
128
|
+
return self.to_str()
|
129
|
+
|
130
|
+
def __eq__(self, other):
|
131
|
+
"""Returns true if both objects are equal"""
|
132
|
+
if not isinstance(other, BatchUpdateRecordSetWithLineRequest):
|
133
|
+
return False
|
134
|
+
|
135
|
+
return self.__dict__ == other.__dict__
|
136
|
+
|
137
|
+
def __ne__(self, other):
|
138
|
+
"""Returns true if both objects are not equal"""
|
139
|
+
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 BatchUpdateRecordSetWithLineRequestBody:
|
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
|
+
'recordsets': 'list[BatchUpdateRecordSet]'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'recordsets': 'recordsets'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, recordsets=None):
|
28
|
+
r"""BatchUpdateRecordSetWithLineRequestBody
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param recordsets: **参数解释:** 记录集列表。 **约束限制:** 最多支持50个。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
33
|
+
:type recordsets: list[:class:`huaweicloudsdkdns.v2.BatchUpdateRecordSet`]
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._recordsets = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.recordsets = recordsets
|
42
|
+
|
43
|
+
@property
|
44
|
+
def recordsets(self):
|
45
|
+
r"""Gets the recordsets of this BatchUpdateRecordSetWithLineRequestBody.
|
46
|
+
|
47
|
+
**参数解释:** 记录集列表。 **约束限制:** 最多支持50个。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
48
|
+
|
49
|
+
:return: The recordsets of this BatchUpdateRecordSetWithLineRequestBody.
|
50
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.BatchUpdateRecordSet`]
|
51
|
+
"""
|
52
|
+
return self._recordsets
|
53
|
+
|
54
|
+
@recordsets.setter
|
55
|
+
def recordsets(self, recordsets):
|
56
|
+
r"""Sets the recordsets of this BatchUpdateRecordSetWithLineRequestBody.
|
57
|
+
|
58
|
+
**参数解释:** 记录集列表。 **约束限制:** 最多支持50个。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
59
|
+
|
60
|
+
:param recordsets: The recordsets of this BatchUpdateRecordSetWithLineRequestBody.
|
61
|
+
:type recordsets: list[:class:`huaweicloudsdkdns.v2.BatchUpdateRecordSet`]
|
62
|
+
"""
|
63
|
+
self._recordsets = recordsets
|
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, BatchUpdateRecordSetWithLineRequestBody):
|
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,166 @@
|
|
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 BatchUpdateRecordSetWithLineResponse(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
|
+
'links': 'PageLink',
|
22
|
+
'recordsets': 'list[QueryRecordSetWithLineResp]',
|
23
|
+
'metadata': 'Metadata'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'links': 'links',
|
28
|
+
'recordsets': 'recordsets',
|
29
|
+
'metadata': 'metadata'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, links=None, recordsets=None, metadata=None):
|
33
|
+
r"""BatchUpdateRecordSetWithLineResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param links:
|
38
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
39
|
+
:param recordsets: **参数解释:** 记录集列表信息。 **取值范围:** 不涉及。
|
40
|
+
:type recordsets: list[:class:`huaweicloudsdkdns.v2.QueryRecordSetWithLineResp`]
|
41
|
+
:param metadata:
|
42
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(BatchUpdateRecordSetWithLineResponse, self).__init__()
|
46
|
+
|
47
|
+
self._links = None
|
48
|
+
self._recordsets = None
|
49
|
+
self._metadata = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if links is not None:
|
53
|
+
self.links = links
|
54
|
+
if recordsets is not None:
|
55
|
+
self.recordsets = recordsets
|
56
|
+
if metadata is not None:
|
57
|
+
self.metadata = metadata
|
58
|
+
|
59
|
+
@property
|
60
|
+
def links(self):
|
61
|
+
r"""Gets the links of this BatchUpdateRecordSetWithLineResponse.
|
62
|
+
|
63
|
+
:return: The links of this BatchUpdateRecordSetWithLineResponse.
|
64
|
+
:rtype: :class:`huaweicloudsdkdns.v2.PageLink`
|
65
|
+
"""
|
66
|
+
return self._links
|
67
|
+
|
68
|
+
@links.setter
|
69
|
+
def links(self, links):
|
70
|
+
r"""Sets the links of this BatchUpdateRecordSetWithLineResponse.
|
71
|
+
|
72
|
+
:param links: The links of this BatchUpdateRecordSetWithLineResponse.
|
73
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
74
|
+
"""
|
75
|
+
self._links = links
|
76
|
+
|
77
|
+
@property
|
78
|
+
def recordsets(self):
|
79
|
+
r"""Gets the recordsets of this BatchUpdateRecordSetWithLineResponse.
|
80
|
+
|
81
|
+
**参数解释:** 记录集列表信息。 **取值范围:** 不涉及。
|
82
|
+
|
83
|
+
:return: The recordsets of this BatchUpdateRecordSetWithLineResponse.
|
84
|
+
:rtype: list[:class:`huaweicloudsdkdns.v2.QueryRecordSetWithLineResp`]
|
85
|
+
"""
|
86
|
+
return self._recordsets
|
87
|
+
|
88
|
+
@recordsets.setter
|
89
|
+
def recordsets(self, recordsets):
|
90
|
+
r"""Sets the recordsets of this BatchUpdateRecordSetWithLineResponse.
|
91
|
+
|
92
|
+
**参数解释:** 记录集列表信息。 **取值范围:** 不涉及。
|
93
|
+
|
94
|
+
:param recordsets: The recordsets of this BatchUpdateRecordSetWithLineResponse.
|
95
|
+
:type recordsets: list[:class:`huaweicloudsdkdns.v2.QueryRecordSetWithLineResp`]
|
96
|
+
"""
|
97
|
+
self._recordsets = recordsets
|
98
|
+
|
99
|
+
@property
|
100
|
+
def metadata(self):
|
101
|
+
r"""Gets the metadata of this BatchUpdateRecordSetWithLineResponse.
|
102
|
+
|
103
|
+
:return: The metadata of this BatchUpdateRecordSetWithLineResponse.
|
104
|
+
:rtype: :class:`huaweicloudsdkdns.v2.Metadata`
|
105
|
+
"""
|
106
|
+
return self._metadata
|
107
|
+
|
108
|
+
@metadata.setter
|
109
|
+
def metadata(self, metadata):
|
110
|
+
r"""Sets the metadata of this BatchUpdateRecordSetWithLineResponse.
|
111
|
+
|
112
|
+
:param metadata: The metadata of this BatchUpdateRecordSetWithLineResponse.
|
113
|
+
:type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
|
114
|
+
"""
|
115
|
+
self._metadata = metadata
|
116
|
+
|
117
|
+
def to_dict(self):
|
118
|
+
"""Returns the model properties as a dict"""
|
119
|
+
result = {}
|
120
|
+
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
122
|
+
value = getattr(self, attr)
|
123
|
+
if isinstance(value, list):
|
124
|
+
result[attr] = list(map(
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
126
|
+
value
|
127
|
+
))
|
128
|
+
elif hasattr(value, "to_dict"):
|
129
|
+
result[attr] = value.to_dict()
|
130
|
+
elif isinstance(value, dict):
|
131
|
+
result[attr] = dict(map(
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
134
|
+
value.items()
|
135
|
+
))
|
136
|
+
else:
|
137
|
+
if attr in self.sensitive_list:
|
138
|
+
result[attr] = "****"
|
139
|
+
else:
|
140
|
+
result[attr] = value
|
141
|
+
|
142
|
+
return result
|
143
|
+
|
144
|
+
def to_str(self):
|
145
|
+
"""Returns the string representation of the model"""
|
146
|
+
import simplejson as json
|
147
|
+
if six.PY2:
|
148
|
+
import sys
|
149
|
+
reload(sys)
|
150
|
+
sys.setdefaultencoding("utf-8")
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
152
|
+
|
153
|
+
def __repr__(self):
|
154
|
+
"""For `print`"""
|
155
|
+
return self.to_str()
|
156
|
+
|
157
|
+
def __eq__(self, other):
|
158
|
+
"""Returns true if both objects are equal"""
|
159
|
+
if not isinstance(other, BatchUpdateRecordSetWithLineResponse):
|
160
|
+
return False
|
161
|
+
|
162
|
+
return self.__dict__ == other.__dict__
|
163
|
+
|
164
|
+
def __ne__(self, other):
|
165
|
+
"""Returns true if both objects are not equal"""
|
166
|
+
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 CreateCustomLineRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,11 +14,10 @@ class CreateCustomLineRequest:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
26
|
-
'body': '
|
20
|
+
'body': 'CreateCustomLineRequestBody'
|
27
21
|
}
|
28
22
|
|
29
23
|
attribute_map = {
|
@@ -31,7 +25,13 @@ class CreateCustomLineRequest:
|
|
31
25
|
}
|
32
26
|
|
33
27
|
def __init__(self, body=None):
|
34
|
-
"""CreateCustomLineRequest
|
28
|
+
r"""CreateCustomLineRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param body: Body of the CreateCustomLineRequest
|
33
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreateCustomLineRequestBody`
|
34
|
+
"""
|
35
35
|
|
36
36
|
|
37
37
|
|
@@ -43,21 +43,19 @@ class CreateCustomLineRequest:
|
|
43
43
|
|
44
44
|
@property
|
45
45
|
def body(self):
|
46
|
-
"""Gets the body of this CreateCustomLineRequest.
|
47
|
-
|
46
|
+
r"""Gets the body of this CreateCustomLineRequest.
|
48
47
|
|
49
48
|
:return: The body of this CreateCustomLineRequest.
|
50
|
-
:rtype:
|
49
|
+
:rtype: :class:`huaweicloudsdkdns.v2.CreateCustomLineRequestBody`
|
51
50
|
"""
|
52
51
|
return self._body
|
53
52
|
|
54
53
|
@body.setter
|
55
54
|
def body(self, body):
|
56
|
-
"""Sets the body of this CreateCustomLineRequest.
|
57
|
-
|
55
|
+
r"""Sets the body of this CreateCustomLineRequest.
|
58
56
|
|
59
57
|
:param body: The body of this CreateCustomLineRequest.
|
60
|
-
:type:
|
58
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreateCustomLineRequestBody`
|
61
59
|
"""
|
62
60
|
self._body = body
|
63
61
|
|
@@ -90,10 +88,15 @@ class CreateCustomLineRequest:
|
|
90
88
|
|
91
89
|
def to_str(self):
|
92
90
|
"""Returns the string representation of the model"""
|
93
|
-
|
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)
|
94
97
|
|
95
98
|
def __repr__(self):
|
96
|
-
"""For `print`
|
99
|
+
"""For `print`"""
|
97
100
|
return self.to_str()
|
98
101
|
|
99
102
|
def __eq__(self, other):
|
@@ -1,16 +1,11 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
8
6
|
|
9
7
|
|
10
|
-
|
11
|
-
|
12
|
-
class CreateCustomLines:
|
13
|
-
|
8
|
+
class CreateCustomLineRequestBody:
|
14
9
|
|
15
10
|
"""
|
16
11
|
Attributes:
|
@@ -19,7 +14,6 @@ class CreateCustomLines:
|
|
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 = {
|
@@ -35,7 +29,17 @@ class CreateCustomLines:
|
|
35
29
|
}
|
36
30
|
|
37
31
|
def __init__(self, name=None, ip_segments=None, description=None):
|
38
|
-
"""
|
32
|
+
r"""CreateCustomLineRequestBody
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param name: 解析线路名称。 长度限制为1-80个字符,只允许包含中文、字母、数字、'-'、'_'、'.'字符。 租户内,解析线路名称是唯一的。
|
37
|
+
:type name: str
|
38
|
+
:param ip_segments: IP地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。 最多支持50个。
|
39
|
+
:type ip_segments: list[str]
|
40
|
+
:param description: 自定义线路的描述信息。长度不超过255个字符。 默认值为空。
|
41
|
+
:type description: str
|
42
|
+
"""
|
39
43
|
|
40
44
|
|
41
45
|
|
@@ -51,67 +55,67 @@ class CreateCustomLines:
|
|
51
55
|
|
52
56
|
@property
|
53
57
|
def name(self):
|
54
|
-
"""Gets the name of this
|
58
|
+
r"""Gets the name of this CreateCustomLineRequestBody.
|
55
59
|
|
56
60
|
解析线路名称。 长度限制为1-80个字符,只允许包含中文、字母、数字、'-'、'_'、'.'字符。 租户内,解析线路名称是唯一的。
|
57
61
|
|
58
|
-
:return: The name of this
|
62
|
+
:return: The name of this CreateCustomLineRequestBody.
|
59
63
|
:rtype: str
|
60
64
|
"""
|
61
65
|
return self._name
|
62
66
|
|
63
67
|
@name.setter
|
64
68
|
def name(self, name):
|
65
|
-
"""Sets the name of this
|
69
|
+
r"""Sets the name of this CreateCustomLineRequestBody.
|
66
70
|
|
67
71
|
解析线路名称。 长度限制为1-80个字符,只允许包含中文、字母、数字、'-'、'_'、'.'字符。 租户内,解析线路名称是唯一的。
|
68
72
|
|
69
|
-
:param name: The name of this
|
70
|
-
:type: str
|
73
|
+
:param name: The name of this CreateCustomLineRequestBody.
|
74
|
+
:type name: str
|
71
75
|
"""
|
72
76
|
self._name = name
|
73
77
|
|
74
78
|
@property
|
75
79
|
def ip_segments(self):
|
76
|
-
"""Gets the ip_segments of this
|
80
|
+
r"""Gets the ip_segments of this CreateCustomLineRequestBody.
|
77
81
|
|
78
82
|
IP地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。 最多支持50个。
|
79
83
|
|
80
|
-
:return: The ip_segments of this
|
84
|
+
:return: The ip_segments of this CreateCustomLineRequestBody.
|
81
85
|
:rtype: list[str]
|
82
86
|
"""
|
83
87
|
return self._ip_segments
|
84
88
|
|
85
89
|
@ip_segments.setter
|
86
90
|
def ip_segments(self, ip_segments):
|
87
|
-
"""Sets the ip_segments of this
|
91
|
+
r"""Sets the ip_segments of this CreateCustomLineRequestBody.
|
88
92
|
|
89
93
|
IP地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。 最多支持50个。
|
90
94
|
|
91
|
-
:param ip_segments: The ip_segments of this
|
92
|
-
:type: list[str]
|
95
|
+
:param ip_segments: The ip_segments of this CreateCustomLineRequestBody.
|
96
|
+
:type ip_segments: list[str]
|
93
97
|
"""
|
94
98
|
self._ip_segments = ip_segments
|
95
99
|
|
96
100
|
@property
|
97
101
|
def description(self):
|
98
|
-
"""Gets the description of this
|
102
|
+
r"""Gets the description of this CreateCustomLineRequestBody.
|
99
103
|
|
100
104
|
自定义线路的描述信息。长度不超过255个字符。 默认值为空。
|
101
105
|
|
102
|
-
:return: The description of this
|
106
|
+
:return: The description of this CreateCustomLineRequestBody.
|
103
107
|
:rtype: str
|
104
108
|
"""
|
105
109
|
return self._description
|
106
110
|
|
107
111
|
@description.setter
|
108
112
|
def description(self, description):
|
109
|
-
"""Sets the description of this
|
113
|
+
r"""Sets the description of this CreateCustomLineRequestBody.
|
110
114
|
|
111
115
|
自定义线路的描述信息。长度不超过255个字符。 默认值为空。
|
112
116
|
|
113
|
-
:param description: The description of this
|
114
|
-
:type: str
|
117
|
+
:param description: The description of this CreateCustomLineRequestBody.
|
118
|
+
:type description: str
|
115
119
|
"""
|
116
120
|
self._description = description
|
117
121
|
|
@@ -144,15 +148,20 @@ class CreateCustomLines:
|
|
144
148
|
|
145
149
|
def to_str(self):
|
146
150
|
"""Returns the string representation of the model"""
|
147
|
-
|
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)
|
148
157
|
|
149
158
|
def __repr__(self):
|
150
|
-
"""For `print`
|
159
|
+
"""For `print`"""
|
151
160
|
return self.to_str()
|
152
161
|
|
153
162
|
def __eq__(self, other):
|
154
163
|
"""Returns true if both objects are equal"""
|
155
|
-
if not isinstance(other,
|
164
|
+
if not isinstance(other, CreateCustomLineRequestBody):
|
156
165
|
return False
|
157
166
|
|
158
167
|
return self.__dict__ == other.__dict__
|