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 CreateRecordSetResponse(SdkResponse):
|
13
10
|
|
14
|
-
|
15
11
|
"""
|
16
12
|
Attributes:
|
17
13
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +15,6 @@ class CreateRecordSetResponse(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 CreateRecordSetResponse(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
|
-
"""CreateRecordSetResponse
|
55
|
+
r"""CreateRecordSetResponse
|
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服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 如果您的服务地址经常更换,建议TTL值设置相对小些,反之,建议设置相对大些。 **取值范围:** 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: **参数解释:** 记录集状态。 **取值范围:** - PENDING_CREATE:创建中 - DISABLE:暂停
|
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(CreateRecordSetResponse, self).__init__()
|
63
90
|
|
64
91
|
self._id = None
|
65
92
|
self._name = None
|
@@ -108,8 +135,9 @@ class CreateRecordSetResponse(SdkResponse):
|
|
108
135
|
|
109
136
|
@property
|
110
137
|
def id(self):
|
111
|
-
"""Gets the id of this CreateRecordSetResponse.
|
138
|
+
r"""Gets the id of this CreateRecordSetResponse.
|
112
139
|
|
140
|
+
**参数解释:** 记录集的ID。 **取值范围:** 不涉及。
|
113
141
|
|
114
142
|
:return: The id of this CreateRecordSetResponse.
|
115
143
|
:rtype: str
|
@@ -118,18 +146,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
118
146
|
|
119
147
|
@id.setter
|
120
148
|
def id(self, id):
|
121
|
-
"""Sets the id of this CreateRecordSetResponse.
|
149
|
+
r"""Sets the id of this CreateRecordSetResponse.
|
122
150
|
|
151
|
+
**参数解释:** 记录集的ID。 **取值范围:** 不涉及。
|
123
152
|
|
124
153
|
:param id: The id of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
160
|
+
r"""Gets the name of this CreateRecordSetResponse.
|
132
161
|
|
162
|
+
**参数解释:** 记录集的名称。 **取值范围:** 不涉及。
|
133
163
|
|
134
164
|
:return: The name of this CreateRecordSetResponse.
|
135
165
|
:rtype: str
|
@@ -138,18 +168,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
138
168
|
|
139
169
|
@name.setter
|
140
170
|
def name(self, name):
|
141
|
-
"""Sets the name of this CreateRecordSetResponse.
|
171
|
+
r"""Sets the name of this CreateRecordSetResponse.
|
142
172
|
|
173
|
+
**参数解释:** 记录集的名称。 **取值范围:** 不涉及。
|
143
174
|
|
144
175
|
:param name: The name of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
182
|
+
r"""Gets the description of this CreateRecordSetResponse.
|
152
183
|
|
184
|
+
**参数解释:** 记录集的描述信息。 **取值范围:** 长度不超过255个字符。
|
153
185
|
|
154
186
|
:return: The description of this CreateRecordSetResponse.
|
155
187
|
:rtype: str
|
@@ -158,18 +190,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
158
190
|
|
159
191
|
@description.setter
|
160
192
|
def description(self, description):
|
161
|
-
"""Sets the description of this CreateRecordSetResponse.
|
193
|
+
r"""Sets the description of this CreateRecordSetResponse.
|
162
194
|
|
195
|
+
**参数解释:** 记录集的描述信息。 **取值范围:** 长度不超过255个字符。
|
163
196
|
|
164
197
|
:param description: The description of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
204
|
+
r"""Gets the zone_id of this CreateRecordSetResponse.
|
172
205
|
|
206
|
+
**参数解释:** 托管该记录的域名ID。 **取值范围:** 不涉及。
|
173
207
|
|
174
208
|
:return: The zone_id of this CreateRecordSetResponse.
|
175
209
|
:rtype: str
|
@@ -178,18 +212,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
178
212
|
|
179
213
|
@zone_id.setter
|
180
214
|
def zone_id(self, zone_id):
|
181
|
-
"""Sets the zone_id of this CreateRecordSetResponse.
|
215
|
+
r"""Sets the zone_id of this CreateRecordSetResponse.
|
182
216
|
|
217
|
+
**参数解释:** 托管该记录的域名ID。 **取值范围:** 不涉及。
|
183
218
|
|
184
219
|
:param zone_id: The zone_id of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
226
|
+
r"""Gets the zone_name of this CreateRecordSetResponse.
|
192
227
|
|
228
|
+
**参数解释:** 托管该记录的域名。 **取值范围:** 不涉及。
|
193
229
|
|
194
230
|
:return: The zone_name of this CreateRecordSetResponse.
|
195
231
|
:rtype: str
|
@@ -198,18 +234,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
198
234
|
|
199
235
|
@zone_name.setter
|
200
236
|
def zone_name(self, zone_name):
|
201
|
-
"""Sets the zone_name of this CreateRecordSetResponse.
|
237
|
+
r"""Sets the zone_name of this CreateRecordSetResponse.
|
202
238
|
|
239
|
+
**参数解释:** 托管该记录的域名。 **取值范围:** 不涉及。
|
203
240
|
|
204
241
|
:param zone_name: The zone_name of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
248
|
+
r"""Gets the type of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
215
253
|
:rtype: str
|
@@ -218,18 +256,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
218
256
|
|
219
257
|
@type.setter
|
220
258
|
def type(self, type):
|
221
|
-
"""Sets the type of this CreateRecordSetResponse.
|
259
|
+
r"""Sets the type of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
270
|
+
r"""Gets the ttl of this CreateRecordSetResponse.
|
232
271
|
|
272
|
+
**参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 如果您的服务地址经常更换,建议TTL值设置相对小些,反之,建议设置相对大些。 **取值范围:** 1~2147483647。
|
233
273
|
|
234
274
|
:return: The ttl of this CreateRecordSetResponse.
|
235
275
|
:rtype: int
|
@@ -238,18 +278,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
238
278
|
|
239
279
|
@ttl.setter
|
240
280
|
def ttl(self, ttl):
|
241
|
-
"""Sets the ttl of this CreateRecordSetResponse.
|
281
|
+
r"""Sets the ttl of this CreateRecordSetResponse.
|
242
282
|
|
283
|
+
**参数解释:** 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 如果您的服务地址经常更换,建议TTL值设置相对小些,反之,建议设置相对大些。 **取值范围:** 1~2147483647。
|
243
284
|
|
244
285
|
:param ttl: The ttl of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
292
|
+
r"""Gets the records of this CreateRecordSetResponse.
|
252
293
|
|
294
|
+
**参数解释:** 域名解析后的值。 **取值范围:** 不涉及。
|
253
295
|
|
254
296
|
:return: The records of this CreateRecordSetResponse.
|
255
297
|
:rtype: list[str]
|
@@ -258,18 +300,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
258
300
|
|
259
301
|
@records.setter
|
260
302
|
def records(self, records):
|
261
|
-
"""Sets the records of this CreateRecordSetResponse.
|
303
|
+
r"""Sets the records of this CreateRecordSetResponse.
|
262
304
|
|
305
|
+
**参数解释:** 域名解析后的值。 **取值范围:** 不涉及。
|
263
306
|
|
264
307
|
:param records: The records of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
314
|
+
r"""Gets the create_at of this CreateRecordSetResponse.
|
272
315
|
|
316
|
+
**参数解释:** 记录集的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
273
317
|
|
274
318
|
:return: The create_at of this CreateRecordSetResponse.
|
275
319
|
:rtype: str
|
@@ -278,18 +322,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
278
322
|
|
279
323
|
@create_at.setter
|
280
324
|
def create_at(self, create_at):
|
281
|
-
"""Sets the create_at of this CreateRecordSetResponse.
|
325
|
+
r"""Sets the create_at of this CreateRecordSetResponse.
|
282
326
|
|
327
|
+
**参数解释:** 记录集的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
283
328
|
|
284
329
|
:param create_at: The create_at of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
336
|
+
r"""Gets the update_at of this CreateRecordSetResponse.
|
292
337
|
|
338
|
+
**参数解释:** 记录集的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
293
339
|
|
294
340
|
:return: The update_at of this CreateRecordSetResponse.
|
295
341
|
:rtype: str
|
@@ -298,18 +344,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
298
344
|
|
299
345
|
@update_at.setter
|
300
346
|
def update_at(self, update_at):
|
301
|
-
"""Sets the update_at of this CreateRecordSetResponse.
|
347
|
+
r"""Sets the update_at of this CreateRecordSetResponse.
|
302
348
|
|
349
|
+
**参数解释:** 记录集的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
303
350
|
|
304
351
|
:param update_at: The update_at of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
358
|
+
r"""Gets the status of this CreateRecordSetResponse.
|
312
359
|
|
360
|
+
**参数解释:** 记录集状态。 **取值范围:** - PENDING_CREATE:创建中 - DISABLE:暂停
|
313
361
|
|
314
362
|
:return: The status of this CreateRecordSetResponse.
|
315
363
|
:rtype: str
|
@@ -318,18 +366,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
318
366
|
|
319
367
|
@status.setter
|
320
368
|
def status(self, status):
|
321
|
-
"""Sets the status of this CreateRecordSetResponse.
|
369
|
+
r"""Sets the status of this CreateRecordSetResponse.
|
322
370
|
|
371
|
+
**参数解释:** 记录集状态。 **取值范围:** - PENDING_CREATE:创建中 - DISABLE:暂停
|
323
372
|
|
324
373
|
:param status: The status of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
380
|
+
r"""Gets the default of this CreateRecordSetResponse.
|
332
381
|
|
382
|
+
**参数解释:** 标识是否由系统默认生成,系统默认生成的记录集不能删除。 **取值范围:** 不涉及。
|
333
383
|
|
334
384
|
:return: The default of this CreateRecordSetResponse.
|
335
385
|
:rtype: bool
|
@@ -338,18 +388,20 @@ class CreateRecordSetResponse(SdkResponse):
|
|
338
388
|
|
339
389
|
@default.setter
|
340
390
|
def default(self, default):
|
341
|
-
"""Sets the default of this CreateRecordSetResponse.
|
391
|
+
r"""Sets the default of this CreateRecordSetResponse.
|
342
392
|
|
393
|
+
**参数解释:** 标识是否由系统默认生成,系统默认生成的记录集不能删除。 **取值范围:** 不涉及。
|
343
394
|
|
344
395
|
:param default: The default of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
402
|
+
r"""Gets the project_id of this CreateRecordSetResponse.
|
352
403
|
|
404
|
+
**参数解释:** 该记录集所属的项目ID。 **取值范围:** 不涉及。
|
353
405
|
|
354
406
|
:return: The project_id of this CreateRecordSetResponse.
|
355
407
|
:rtype: str
|
@@ -358,31 +410,30 @@ class CreateRecordSetResponse(SdkResponse):
|
|
358
410
|
|
359
411
|
@project_id.setter
|
360
412
|
def project_id(self, project_id):
|
361
|
-
"""Sets the project_id of this CreateRecordSetResponse.
|
413
|
+
r"""Sets the project_id of this CreateRecordSetResponse.
|
362
414
|
|
415
|
+
**参数解释:** 该记录集所属的项目ID。 **取值范围:** 不涉及。
|
363
416
|
|
364
417
|
:param project_id: The project_id of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
372
|
-
|
424
|
+
r"""Gets the links of this CreateRecordSetResponse.
|
373
425
|
|
374
426
|
:return: The links of this CreateRecordSetResponse.
|
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 CreateRecordSetResponse.
|
382
|
-
|
433
|
+
r"""Sets the links of this CreateRecordSetResponse.
|
383
434
|
|
384
435
|
:param links: The links of this CreateRecordSetResponse.
|
385
|
-
:type: PageLink
|
436
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
386
437
|
"""
|
387
438
|
self._links = links
|
388
439
|
|
@@ -415,10 +466,15 @@ class CreateRecordSetResponse(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):
|
@@ -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 CreateRecordSetWithBatchLinesRequest:
|
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': 'CreateRSetBatchLinesReq'
|
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"""CreateRecordSetWithBatchLinesRequest
|
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 CreateRecordSetWithBatchLinesRequest
|
37
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreateRSetBatchLinesReq`
|
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 CreateRecordSetWithBatchLinesRequest.
|
53
|
+
|
54
|
+
**参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
55
|
+
|
56
|
+
:return: The zone_id of this CreateRecordSetWithBatchLinesRequest.
|
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 CreateRecordSetWithBatchLinesRequest.
|
64
|
+
|
65
|
+
**参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
66
|
+
|
67
|
+
:param zone_id: The zone_id of this CreateRecordSetWithBatchLinesRequest.
|
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 CreateRecordSetWithBatchLinesRequest.
|
75
|
+
|
76
|
+
:return: The body of this CreateRecordSetWithBatchLinesRequest.
|
77
|
+
:rtype: :class:`huaweicloudsdkdns.v2.CreateRSetBatchLinesReq`
|
78
|
+
"""
|
79
|
+
return self._body
|
80
|
+
|
81
|
+
@body.setter
|
82
|
+
def body(self, body):
|
83
|
+
r"""Sets the body of this CreateRecordSetWithBatchLinesRequest.
|
84
|
+
|
85
|
+
:param body: The body of this CreateRecordSetWithBatchLinesRequest.
|
86
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreateRSetBatchLinesReq`
|
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, CreateRecordSetWithBatchLinesRequest):
|
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
|