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
@@ -1,17 +1,13 @@
|
|
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.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
7
|
|
11
8
|
|
12
9
|
class UpdateRecordSetResponse(SdkResponse):
|
13
10
|
|
14
|
-
|
15
11
|
"""
|
16
12
|
Attributes:
|
17
13
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +15,6 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
19
15
|
attribute_map (dict): The key is attribute name
|
20
16
|
and the value is json key in definition.
|
21
17
|
"""
|
22
|
-
|
23
18
|
sensitive_list = []
|
24
19
|
|
25
20
|
openapi_types = {
|
@@ -57,9 +52,41 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
57
52
|
}
|
58
53
|
|
59
54
|
def __init__(self, id=None, name=None, description=None, zone_id=None, zone_name=None, type=None, ttl=None, records=None, create_at=None, update_at=None, status=None, default=None, project_id=None, links=None):
|
60
|
-
"""UpdateRecordSetResponse
|
55
|
+
r"""UpdateRecordSetResponse
|
56
|
+
|
57
|
+
The model defined in huaweicloud sdk
|
58
|
+
|
59
|
+
:param id: **参数解释:** 记录集的ID。 **取值范围:** 不涉及。
|
60
|
+
:type id: str
|
61
|
+
:param name: **参数解释:** 记录集的名称。 **取值范围:** 不涉及。
|
62
|
+
:type name: str
|
63
|
+
:param description: **参数解释:** 记录集的描述信息。 **取值范围:** 长度不超过255个字符。
|
64
|
+
:type description: str
|
65
|
+
:param zone_id: **参数解释:** 托管该记录的域名ID。 **取值范围:** 不涉及。
|
66
|
+
:type zone_id: str
|
67
|
+
:param zone_name: **参数解释:** 托管该记录的域名。 **取值范围:** 不涉及。
|
68
|
+
:type zone_name: str
|
69
|
+
:param type: **参数解释:** 记录类型。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。
|
70
|
+
:type type: str
|
71
|
+
:param ttl: **参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 **取值范围:** 1~2147483647。
|
72
|
+
:type ttl: int
|
73
|
+
:param records: **参数解释:** 域名解析后的值。 **取值范围:** 不涉及。
|
74
|
+
:type records: list[str]
|
75
|
+
:param create_at: **参数解释:** 记录集的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
76
|
+
:type create_at: str
|
77
|
+
:param update_at: **参数解释:** 记录集的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
78
|
+
:type update_at: str
|
79
|
+
:param status: **参数解释:** 记录集状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败
|
80
|
+
:type status: str
|
81
|
+
:param default: **参数解释:** 标识是否由系统默认生成,系统默认生成的记录集不能删除。 **取值范围:** 不涉及。
|
82
|
+
:type default: bool
|
83
|
+
:param project_id: **参数解释:** 该记录集所属的项目ID。 **取值范围:** 不涉及。
|
84
|
+
:type project_id: str
|
85
|
+
:param links:
|
86
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
87
|
+
"""
|
61
88
|
|
62
|
-
super().__init__()
|
89
|
+
super(UpdateRecordSetResponse, self).__init__()
|
63
90
|
|
64
91
|
self._id = None
|
65
92
|
self._name = None
|
@@ -108,8 +135,9 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
108
135
|
|
109
136
|
@property
|
110
137
|
def id(self):
|
111
|
-
"""Gets the id of this UpdateRecordSetResponse.
|
138
|
+
r"""Gets the id of this UpdateRecordSetResponse.
|
112
139
|
|
140
|
+
**参数解释:** 记录集的ID。 **取值范围:** 不涉及。
|
113
141
|
|
114
142
|
:return: The id of this UpdateRecordSetResponse.
|
115
143
|
:rtype: str
|
@@ -118,18 +146,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
118
146
|
|
119
147
|
@id.setter
|
120
148
|
def id(self, id):
|
121
|
-
"""Sets the id of this UpdateRecordSetResponse.
|
149
|
+
r"""Sets the id of this UpdateRecordSetResponse.
|
122
150
|
|
151
|
+
**参数解释:** 记录集的ID。 **取值范围:** 不涉及。
|
123
152
|
|
124
153
|
:param id: The id of this UpdateRecordSetResponse.
|
125
|
-
:type: str
|
154
|
+
:type id: str
|
126
155
|
"""
|
127
156
|
self._id = id
|
128
157
|
|
129
158
|
@property
|
130
159
|
def name(self):
|
131
|
-
"""Gets the name of this UpdateRecordSetResponse.
|
160
|
+
r"""Gets the name of this UpdateRecordSetResponse.
|
132
161
|
|
162
|
+
**参数解释:** 记录集的名称。 **取值范围:** 不涉及。
|
133
163
|
|
134
164
|
:return: The name of this UpdateRecordSetResponse.
|
135
165
|
:rtype: str
|
@@ -138,18 +168,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
138
168
|
|
139
169
|
@name.setter
|
140
170
|
def name(self, name):
|
141
|
-
"""Sets the name of this UpdateRecordSetResponse.
|
171
|
+
r"""Sets the name of this UpdateRecordSetResponse.
|
142
172
|
|
173
|
+
**参数解释:** 记录集的名称。 **取值范围:** 不涉及。
|
143
174
|
|
144
175
|
:param name: The name of this UpdateRecordSetResponse.
|
145
|
-
:type: str
|
176
|
+
:type name: str
|
146
177
|
"""
|
147
178
|
self._name = name
|
148
179
|
|
149
180
|
@property
|
150
181
|
def description(self):
|
151
|
-
"""Gets the description of this UpdateRecordSetResponse.
|
182
|
+
r"""Gets the description of this UpdateRecordSetResponse.
|
152
183
|
|
184
|
+
**参数解释:** 记录集的描述信息。 **取值范围:** 长度不超过255个字符。
|
153
185
|
|
154
186
|
:return: The description of this UpdateRecordSetResponse.
|
155
187
|
:rtype: str
|
@@ -158,18 +190,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
158
190
|
|
159
191
|
@description.setter
|
160
192
|
def description(self, description):
|
161
|
-
"""Sets the description of this UpdateRecordSetResponse.
|
193
|
+
r"""Sets the description of this UpdateRecordSetResponse.
|
162
194
|
|
195
|
+
**参数解释:** 记录集的描述信息。 **取值范围:** 长度不超过255个字符。
|
163
196
|
|
164
197
|
:param description: The description of this UpdateRecordSetResponse.
|
165
|
-
:type: str
|
198
|
+
:type description: str
|
166
199
|
"""
|
167
200
|
self._description = description
|
168
201
|
|
169
202
|
@property
|
170
203
|
def zone_id(self):
|
171
|
-
"""Gets the zone_id of this UpdateRecordSetResponse.
|
204
|
+
r"""Gets the zone_id of this UpdateRecordSetResponse.
|
172
205
|
|
206
|
+
**参数解释:** 托管该记录的域名ID。 **取值范围:** 不涉及。
|
173
207
|
|
174
208
|
:return: The zone_id of this UpdateRecordSetResponse.
|
175
209
|
:rtype: str
|
@@ -178,18 +212,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
178
212
|
|
179
213
|
@zone_id.setter
|
180
214
|
def zone_id(self, zone_id):
|
181
|
-
"""Sets the zone_id of this UpdateRecordSetResponse.
|
215
|
+
r"""Sets the zone_id of this UpdateRecordSetResponse.
|
182
216
|
|
217
|
+
**参数解释:** 托管该记录的域名ID。 **取值范围:** 不涉及。
|
183
218
|
|
184
219
|
:param zone_id: The zone_id of this UpdateRecordSetResponse.
|
185
|
-
:type: str
|
220
|
+
:type zone_id: str
|
186
221
|
"""
|
187
222
|
self._zone_id = zone_id
|
188
223
|
|
189
224
|
@property
|
190
225
|
def zone_name(self):
|
191
|
-
"""Gets the zone_name of this UpdateRecordSetResponse.
|
226
|
+
r"""Gets the zone_name of this UpdateRecordSetResponse.
|
192
227
|
|
228
|
+
**参数解释:** 托管该记录的域名。 **取值范围:** 不涉及。
|
193
229
|
|
194
230
|
:return: The zone_name of this UpdateRecordSetResponse.
|
195
231
|
:rtype: str
|
@@ -198,18 +234,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
198
234
|
|
199
235
|
@zone_name.setter
|
200
236
|
def zone_name(self, zone_name):
|
201
|
-
"""Sets the zone_name of this UpdateRecordSetResponse.
|
237
|
+
r"""Sets the zone_name of this UpdateRecordSetResponse.
|
202
238
|
|
239
|
+
**参数解释:** 托管该记录的域名。 **取值范围:** 不涉及。
|
203
240
|
|
204
241
|
:param zone_name: The zone_name of this UpdateRecordSetResponse.
|
205
|
-
:type: str
|
242
|
+
:type zone_name: str
|
206
243
|
"""
|
207
244
|
self._zone_name = zone_name
|
208
245
|
|
209
246
|
@property
|
210
247
|
def type(self):
|
211
|
-
"""Gets the type of this UpdateRecordSetResponse.
|
248
|
+
r"""Gets the type of this UpdateRecordSetResponse.
|
212
249
|
|
250
|
+
**参数解释:** 记录类型。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。
|
213
251
|
|
214
252
|
:return: The type of this UpdateRecordSetResponse.
|
215
253
|
:rtype: str
|
@@ -218,18 +256,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
218
256
|
|
219
257
|
@type.setter
|
220
258
|
def type(self, type):
|
221
|
-
"""Sets the type of this UpdateRecordSetResponse.
|
259
|
+
r"""Sets the type of this UpdateRecordSetResponse.
|
222
260
|
|
261
|
+
**参数解释:** 记录类型。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。
|
223
262
|
|
224
263
|
:param type: The type of this UpdateRecordSetResponse.
|
225
|
-
:type: str
|
264
|
+
:type type: str
|
226
265
|
"""
|
227
266
|
self._type = type
|
228
267
|
|
229
268
|
@property
|
230
269
|
def ttl(self):
|
231
|
-
"""Gets the ttl of this UpdateRecordSetResponse.
|
270
|
+
r"""Gets the ttl of this UpdateRecordSetResponse.
|
232
271
|
|
272
|
+
**参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 **取值范围:** 1~2147483647。
|
233
273
|
|
234
274
|
:return: The ttl of this UpdateRecordSetResponse.
|
235
275
|
:rtype: int
|
@@ -238,18 +278,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
238
278
|
|
239
279
|
@ttl.setter
|
240
280
|
def ttl(self, ttl):
|
241
|
-
"""Sets the ttl of this UpdateRecordSetResponse.
|
281
|
+
r"""Sets the ttl of this UpdateRecordSetResponse.
|
242
282
|
|
283
|
+
**参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 **取值范围:** 1~2147483647。
|
243
284
|
|
244
285
|
:param ttl: The ttl of this UpdateRecordSetResponse.
|
245
|
-
:type: int
|
286
|
+
:type ttl: int
|
246
287
|
"""
|
247
288
|
self._ttl = ttl
|
248
289
|
|
249
290
|
@property
|
250
291
|
def records(self):
|
251
|
-
"""Gets the records of this UpdateRecordSetResponse.
|
292
|
+
r"""Gets the records of this UpdateRecordSetResponse.
|
252
293
|
|
294
|
+
**参数解释:** 域名解析后的值。 **取值范围:** 不涉及。
|
253
295
|
|
254
296
|
:return: The records of this UpdateRecordSetResponse.
|
255
297
|
:rtype: list[str]
|
@@ -258,18 +300,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
258
300
|
|
259
301
|
@records.setter
|
260
302
|
def records(self, records):
|
261
|
-
"""Sets the records of this UpdateRecordSetResponse.
|
303
|
+
r"""Sets the records of this UpdateRecordSetResponse.
|
262
304
|
|
305
|
+
**参数解释:** 域名解析后的值。 **取值范围:** 不涉及。
|
263
306
|
|
264
307
|
:param records: The records of this UpdateRecordSetResponse.
|
265
|
-
:type: list[str]
|
308
|
+
:type records: list[str]
|
266
309
|
"""
|
267
310
|
self._records = records
|
268
311
|
|
269
312
|
@property
|
270
313
|
def create_at(self):
|
271
|
-
"""Gets the create_at of this UpdateRecordSetResponse.
|
314
|
+
r"""Gets the create_at of this UpdateRecordSetResponse.
|
272
315
|
|
316
|
+
**参数解释:** 记录集的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
273
317
|
|
274
318
|
:return: The create_at of this UpdateRecordSetResponse.
|
275
319
|
:rtype: str
|
@@ -278,18 +322,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
278
322
|
|
279
323
|
@create_at.setter
|
280
324
|
def create_at(self, create_at):
|
281
|
-
"""Sets the create_at of this UpdateRecordSetResponse.
|
325
|
+
r"""Sets the create_at of this UpdateRecordSetResponse.
|
282
326
|
|
327
|
+
**参数解释:** 记录集的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
283
328
|
|
284
329
|
:param create_at: The create_at of this UpdateRecordSetResponse.
|
285
|
-
:type: str
|
330
|
+
:type create_at: str
|
286
331
|
"""
|
287
332
|
self._create_at = create_at
|
288
333
|
|
289
334
|
@property
|
290
335
|
def update_at(self):
|
291
|
-
"""Gets the update_at of this UpdateRecordSetResponse.
|
336
|
+
r"""Gets the update_at of this UpdateRecordSetResponse.
|
292
337
|
|
338
|
+
**参数解释:** 记录集的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
293
339
|
|
294
340
|
:return: The update_at of this UpdateRecordSetResponse.
|
295
341
|
:rtype: str
|
@@ -298,18 +344,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
298
344
|
|
299
345
|
@update_at.setter
|
300
346
|
def update_at(self, update_at):
|
301
|
-
"""Sets the update_at of this UpdateRecordSetResponse.
|
347
|
+
r"""Sets the update_at of this UpdateRecordSetResponse.
|
302
348
|
|
349
|
+
**参数解释:** 记录集的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
303
350
|
|
304
351
|
:param update_at: The update_at of this UpdateRecordSetResponse.
|
305
|
-
:type: str
|
352
|
+
:type update_at: str
|
306
353
|
"""
|
307
354
|
self._update_at = update_at
|
308
355
|
|
309
356
|
@property
|
310
357
|
def status(self):
|
311
|
-
"""Gets the status of this UpdateRecordSetResponse.
|
358
|
+
r"""Gets the status of this UpdateRecordSetResponse.
|
312
359
|
|
360
|
+
**参数解释:** 记录集状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败
|
313
361
|
|
314
362
|
:return: The status of this UpdateRecordSetResponse.
|
315
363
|
:rtype: str
|
@@ -318,18 +366,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
318
366
|
|
319
367
|
@status.setter
|
320
368
|
def status(self, status):
|
321
|
-
"""Sets the status of this UpdateRecordSetResponse.
|
369
|
+
r"""Sets the status of this UpdateRecordSetResponse.
|
322
370
|
|
371
|
+
**参数解释:** 记录集状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败
|
323
372
|
|
324
373
|
:param status: The status of this UpdateRecordSetResponse.
|
325
|
-
:type: str
|
374
|
+
:type status: str
|
326
375
|
"""
|
327
376
|
self._status = status
|
328
377
|
|
329
378
|
@property
|
330
379
|
def default(self):
|
331
|
-
"""Gets the default of this UpdateRecordSetResponse.
|
380
|
+
r"""Gets the default of this UpdateRecordSetResponse.
|
332
381
|
|
382
|
+
**参数解释:** 标识是否由系统默认生成,系统默认生成的记录集不能删除。 **取值范围:** 不涉及。
|
333
383
|
|
334
384
|
:return: The default of this UpdateRecordSetResponse.
|
335
385
|
:rtype: bool
|
@@ -338,18 +388,20 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
338
388
|
|
339
389
|
@default.setter
|
340
390
|
def default(self, default):
|
341
|
-
"""Sets the default of this UpdateRecordSetResponse.
|
391
|
+
r"""Sets the default of this UpdateRecordSetResponse.
|
342
392
|
|
393
|
+
**参数解释:** 标识是否由系统默认生成,系统默认生成的记录集不能删除。 **取值范围:** 不涉及。
|
343
394
|
|
344
395
|
:param default: The default of this UpdateRecordSetResponse.
|
345
|
-
:type: bool
|
396
|
+
:type default: bool
|
346
397
|
"""
|
347
398
|
self._default = default
|
348
399
|
|
349
400
|
@property
|
350
401
|
def project_id(self):
|
351
|
-
"""Gets the project_id of this UpdateRecordSetResponse.
|
402
|
+
r"""Gets the project_id of this UpdateRecordSetResponse.
|
352
403
|
|
404
|
+
**参数解释:** 该记录集所属的项目ID。 **取值范围:** 不涉及。
|
353
405
|
|
354
406
|
:return: The project_id of this UpdateRecordSetResponse.
|
355
407
|
:rtype: str
|
@@ -358,31 +410,30 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
358
410
|
|
359
411
|
@project_id.setter
|
360
412
|
def project_id(self, project_id):
|
361
|
-
"""Sets the project_id of this UpdateRecordSetResponse.
|
413
|
+
r"""Sets the project_id of this UpdateRecordSetResponse.
|
362
414
|
|
415
|
+
**参数解释:** 该记录集所属的项目ID。 **取值范围:** 不涉及。
|
363
416
|
|
364
417
|
:param project_id: The project_id of this UpdateRecordSetResponse.
|
365
|
-
:type: str
|
418
|
+
:type project_id: str
|
366
419
|
"""
|
367
420
|
self._project_id = project_id
|
368
421
|
|
369
422
|
@property
|
370
423
|
def links(self):
|
371
|
-
"""Gets the links of this UpdateRecordSetResponse.
|
372
|
-
|
424
|
+
r"""Gets the links of this UpdateRecordSetResponse.
|
373
425
|
|
374
426
|
:return: The links of this UpdateRecordSetResponse.
|
375
|
-
:rtype: PageLink
|
427
|
+
:rtype: :class:`huaweicloudsdkdns.v2.PageLink`
|
376
428
|
"""
|
377
429
|
return self._links
|
378
430
|
|
379
431
|
@links.setter
|
380
432
|
def links(self, links):
|
381
|
-
"""Sets the links of this UpdateRecordSetResponse.
|
382
|
-
|
433
|
+
r"""Sets the links of this UpdateRecordSetResponse.
|
383
434
|
|
384
435
|
:param links: The links of this UpdateRecordSetResponse.
|
385
|
-
:type: PageLink
|
436
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
386
437
|
"""
|
387
438
|
self._links = links
|
388
439
|
|
@@ -415,10 +466,15 @@ class UpdateRecordSetResponse(SdkResponse):
|
|
415
466
|
|
416
467
|
def to_str(self):
|
417
468
|
"""Returns the string representation of the model"""
|
418
|
-
|
469
|
+
import simplejson as json
|
470
|
+
if six.PY2:
|
471
|
+
import sys
|
472
|
+
reload(sys)
|
473
|
+
sys.setdefaultencoding("utf-8")
|
474
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
419
475
|
|
420
476
|
def __repr__(self):
|
421
|
-
"""For `print`
|
477
|
+
"""For `print`"""
|
422
478
|
return self.to_str()
|
423
479
|
|
424
480
|
def __eq__(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 UpdateRecordSetsReq:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class UpdateRecordSetsReq:
|
|
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 = {
|
@@ -41,7 +35,23 @@ class UpdateRecordSetsReq:
|
|
41
35
|
}
|
42
36
|
|
43
37
|
def __init__(self, name=None, description=None, type=None, ttl=None, records=None, weight=None):
|
44
|
-
"""UpdateRecordSetsReq
|
38
|
+
r"""UpdateRecordSetsReq
|
39
|
+
|
40
|
+
The model defined in huaweicloud sdk
|
41
|
+
|
42
|
+
:param name: **参数解释:** 域名,后缀需以zone name结束且为FQDN(Fully Qualified Domain Name,全称域名),即以“.”结束的完整主机名。 如“www.example.com.”。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
43
|
+
:type name: str
|
44
|
+
:param description: **参数解释:** 记录集的描述信息。 **约束限制:** 不涉及。 **取值范围:** 长度不超过255个字符。 **默认取值:** 默认为空,表示维持原值。
|
45
|
+
:type description: str
|
46
|
+
:param type: **参数解释:** 记录集的类型。 **约束限制:** 不涉及。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。 **默认取值:** 不涉及。
|
47
|
+
:type type: str
|
48
|
+
:param ttl: **参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 **约束限制:** 不涉及。 **取值范围:** 1~2147483647。 **默认取值:** 默认为空,表示维持原值。
|
49
|
+
:type ttl: int
|
50
|
+
:param records: **参数解释:** 解析记录的值。不同类型解析记录对应的值的规则不同。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 默认为空,表示维持原值。
|
51
|
+
:type records: list[str]
|
52
|
+
:param weight: **参数解释:** 解析记录的权重。 **约束限制:** 不涉及。 **取值范围:** 取值范围:0~1000。 - 当weight为空时,表示该解析记录将保持原有设置的权重。 - 当weight=0,表示该解析记录为备用域名解析记录。 - 当weight>0,表示该解析记录为主用域名解析记录。 **默认取值:** 默认为空,表示维持原值。
|
53
|
+
:type weight: int
|
54
|
+
"""
|
45
55
|
|
46
56
|
|
47
57
|
|
@@ -66,9 +76,9 @@ class UpdateRecordSetsReq:
|
|
66
76
|
|
67
77
|
@property
|
68
78
|
def name(self):
|
69
|
-
"""Gets the name of this UpdateRecordSetsReq.
|
79
|
+
r"""Gets the name of this UpdateRecordSetsReq.
|
70
80
|
|
71
|
-
域名,后缀需以zone name结束且为FQDN
|
81
|
+
**参数解释:** 域名,后缀需以zone name结束且为FQDN(Fully Qualified Domain Name,全称域名),即以“.”结束的完整主机名。 如“www.example.com.”。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
72
82
|
|
73
83
|
:return: The name of this UpdateRecordSetsReq.
|
74
84
|
:rtype: str
|
@@ -77,20 +87,20 @@ class UpdateRecordSetsReq:
|
|
77
87
|
|
78
88
|
@name.setter
|
79
89
|
def name(self, name):
|
80
|
-
"""Sets the name of this UpdateRecordSetsReq.
|
90
|
+
r"""Sets the name of this UpdateRecordSetsReq.
|
81
91
|
|
82
|
-
域名,后缀需以zone name结束且为FQDN
|
92
|
+
**参数解释:** 域名,后缀需以zone name结束且为FQDN(Fully Qualified Domain Name,全称域名),即以“.”结束的完整主机名。 如“www.example.com.”。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
83
93
|
|
84
94
|
:param name: The name of this UpdateRecordSetsReq.
|
85
|
-
:type: str
|
95
|
+
:type name: str
|
86
96
|
"""
|
87
97
|
self._name = name
|
88
98
|
|
89
99
|
@property
|
90
100
|
def description(self):
|
91
|
-
"""Gets the description of this UpdateRecordSetsReq.
|
101
|
+
r"""Gets the description of this UpdateRecordSetsReq.
|
92
102
|
|
93
|
-
|
103
|
+
**参数解释:** 记录集的描述信息。 **约束限制:** 不涉及。 **取值范围:** 长度不超过255个字符。 **默认取值:** 默认为空,表示维持原值。
|
94
104
|
|
95
105
|
:return: The description of this UpdateRecordSetsReq.
|
96
106
|
:rtype: str
|
@@ -99,20 +109,20 @@ class UpdateRecordSetsReq:
|
|
99
109
|
|
100
110
|
@description.setter
|
101
111
|
def description(self, description):
|
102
|
-
"""Sets the description of this UpdateRecordSetsReq.
|
112
|
+
r"""Sets the description of this UpdateRecordSetsReq.
|
103
113
|
|
104
|
-
|
114
|
+
**参数解释:** 记录集的描述信息。 **约束限制:** 不涉及。 **取值范围:** 长度不超过255个字符。 **默认取值:** 默认为空,表示维持原值。
|
105
115
|
|
106
116
|
:param description: The description of this UpdateRecordSetsReq.
|
107
|
-
:type: str
|
117
|
+
:type description: str
|
108
118
|
"""
|
109
119
|
self._description = description
|
110
120
|
|
111
121
|
@property
|
112
122
|
def type(self):
|
113
|
-
"""Gets the type of this UpdateRecordSetsReq.
|
123
|
+
r"""Gets the type of this UpdateRecordSetsReq.
|
114
124
|
|
115
|
-
|
125
|
+
**参数解释:** 记录集的类型。 **约束限制:** 不涉及。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。 **默认取值:** 不涉及。
|
116
126
|
|
117
127
|
:return: The type of this UpdateRecordSetsReq.
|
118
128
|
:rtype: str
|
@@ -121,20 +131,20 @@ class UpdateRecordSetsReq:
|
|
121
131
|
|
122
132
|
@type.setter
|
123
133
|
def type(self, type):
|
124
|
-
"""Sets the type of this UpdateRecordSetsReq.
|
134
|
+
r"""Sets the type of this UpdateRecordSetsReq.
|
125
135
|
|
126
|
-
|
136
|
+
**参数解释:** 记录集的类型。 **约束限制:** 不涉及。 **取值范围:** - 公网域名的记录类型: A、AAAA、MX、CNAME、TXT、SRV、NS、SOA、CAA。 - 内网域名的记录类型: A、AAAA、MX、CNAME、TXT、PTR、SRV、NS、SOA。 **默认取值:** 不涉及。
|
127
137
|
|
128
138
|
:param type: The type of this UpdateRecordSetsReq.
|
129
|
-
:type: str
|
139
|
+
:type type: str
|
130
140
|
"""
|
131
141
|
self._type = type
|
132
142
|
|
133
143
|
@property
|
134
144
|
def ttl(self):
|
135
|
-
"""Gets the ttl of this UpdateRecordSetsReq.
|
145
|
+
r"""Gets the ttl of this UpdateRecordSetsReq.
|
136
146
|
|
137
|
-
解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
|
147
|
+
**参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 **约束限制:** 不涉及。 **取值范围:** 1~2147483647。 **默认取值:** 默认为空,表示维持原值。
|
138
148
|
|
139
149
|
:return: The ttl of this UpdateRecordSetsReq.
|
140
150
|
:rtype: int
|
@@ -143,20 +153,20 @@ class UpdateRecordSetsReq:
|
|
143
153
|
|
144
154
|
@ttl.setter
|
145
155
|
def ttl(self, ttl):
|
146
|
-
"""Sets the ttl of this UpdateRecordSetsReq.
|
156
|
+
r"""Sets the ttl of this UpdateRecordSetsReq.
|
147
157
|
|
148
|
-
解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
|
158
|
+
**参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 **约束限制:** 不涉及。 **取值范围:** 1~2147483647。 **默认取值:** 默认为空,表示维持原值。
|
149
159
|
|
150
160
|
:param ttl: The ttl of this UpdateRecordSetsReq.
|
151
|
-
:type: int
|
161
|
+
:type ttl: int
|
152
162
|
"""
|
153
163
|
self._ttl = ttl
|
154
164
|
|
155
165
|
@property
|
156
166
|
def records(self):
|
157
|
-
"""Gets the records of this UpdateRecordSetsReq.
|
167
|
+
r"""Gets the records of this UpdateRecordSetsReq.
|
158
168
|
|
159
|
-
解析记录的值。不同类型解析记录对应的值的规则不同。
|
169
|
+
**参数解释:** 解析记录的值。不同类型解析记录对应的值的规则不同。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 默认为空,表示维持原值。
|
160
170
|
|
161
171
|
:return: The records of this UpdateRecordSetsReq.
|
162
172
|
:rtype: list[str]
|
@@ -165,20 +175,20 @@ class UpdateRecordSetsReq:
|
|
165
175
|
|
166
176
|
@records.setter
|
167
177
|
def records(self, records):
|
168
|
-
"""Sets the records of this UpdateRecordSetsReq.
|
178
|
+
r"""Sets the records of this UpdateRecordSetsReq.
|
169
179
|
|
170
|
-
解析记录的值。不同类型解析记录对应的值的规则不同。
|
180
|
+
**参数解释:** 解析记录的值。不同类型解析记录对应的值的规则不同。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 默认为空,表示维持原值。
|
171
181
|
|
172
182
|
:param records: The records of this UpdateRecordSetsReq.
|
173
|
-
:type: list[str]
|
183
|
+
:type records: list[str]
|
174
184
|
"""
|
175
185
|
self._records = records
|
176
186
|
|
177
187
|
@property
|
178
188
|
def weight(self):
|
179
|
-
"""Gets the weight of this UpdateRecordSetsReq.
|
189
|
+
r"""Gets the weight of this UpdateRecordSetsReq.
|
180
190
|
|
181
|
-
解析记录的权重。
|
191
|
+
**参数解释:** 解析记录的权重。 **约束限制:** 不涉及。 **取值范围:** 取值范围:0~1000。 - 当weight为空时,表示该解析记录将保持原有设置的权重。 - 当weight=0,表示该解析记录为备用域名解析记录。 - 当weight>0,表示该解析记录为主用域名解析记录。 **默认取值:** 默认为空,表示维持原值。
|
182
192
|
|
183
193
|
:return: The weight of this UpdateRecordSetsReq.
|
184
194
|
:rtype: int
|
@@ -187,12 +197,12 @@ class UpdateRecordSetsReq:
|
|
187
197
|
|
188
198
|
@weight.setter
|
189
199
|
def weight(self, weight):
|
190
|
-
"""Sets the weight of this UpdateRecordSetsReq.
|
200
|
+
r"""Sets the weight of this UpdateRecordSetsReq.
|
191
201
|
|
192
|
-
解析记录的权重。
|
202
|
+
**参数解释:** 解析记录的权重。 **约束限制:** 不涉及。 **取值范围:** 取值范围:0~1000。 - 当weight为空时,表示该解析记录将保持原有设置的权重。 - 当weight=0,表示该解析记录为备用域名解析记录。 - 当weight>0,表示该解析记录为主用域名解析记录。 **默认取值:** 默认为空,表示维持原值。
|
193
203
|
|
194
204
|
:param weight: The weight of this UpdateRecordSetsReq.
|
195
|
-
:type: int
|
205
|
+
:type weight: int
|
196
206
|
"""
|
197
207
|
self._weight = weight
|
198
208
|
|
@@ -225,10 +235,15 @@ class UpdateRecordSetsReq:
|
|
225
235
|
|
226
236
|
def to_str(self):
|
227
237
|
"""Returns the string representation of the model"""
|
228
|
-
|
238
|
+
import simplejson as json
|
239
|
+
if six.PY2:
|
240
|
+
import sys
|
241
|
+
reload(sys)
|
242
|
+
sys.setdefaultencoding("utf-8")
|
243
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
229
244
|
|
230
245
|
def __repr__(self):
|
231
|
-
"""For `print`
|
246
|
+
"""For `print`"""
|
232
247
|
return self.to_str()
|
233
248
|
|
234
249
|
def __eq__(self, other):
|