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,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 UpdatePublicZoneRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class UpdatePublicZoneRequest:
|
|
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 = {
|
@@ -33,7 +27,15 @@ class UpdatePublicZoneRequest:
|
|
33
27
|
}
|
34
28
|
|
35
29
|
def __init__(self, zone_id=None, body=None):
|
36
|
-
"""UpdatePublicZoneRequest
|
30
|
+
r"""UpdatePublicZoneRequest
|
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 UpdatePublicZoneRequest
|
37
|
+
:type body: :class:`huaweicloudsdkdns.v2.UpdatePublicZoneInfo`
|
38
|
+
"""
|
37
39
|
|
38
40
|
|
39
41
|
|
@@ -47,8 +49,9 @@ class UpdatePublicZoneRequest:
|
|
47
49
|
|
48
50
|
@property
|
49
51
|
def zone_id(self):
|
50
|
-
"""Gets the zone_id of this UpdatePublicZoneRequest.
|
52
|
+
r"""Gets the zone_id of this UpdatePublicZoneRequest.
|
51
53
|
|
54
|
+
**参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
52
55
|
|
53
56
|
:return: The zone_id of this UpdatePublicZoneRequest.
|
54
57
|
:rtype: str
|
@@ -57,31 +60,30 @@ class UpdatePublicZoneRequest:
|
|
57
60
|
|
58
61
|
@zone_id.setter
|
59
62
|
def zone_id(self, zone_id):
|
60
|
-
"""Sets the zone_id of this UpdatePublicZoneRequest.
|
63
|
+
r"""Sets the zone_id of this UpdatePublicZoneRequest.
|
61
64
|
|
65
|
+
**参数解释:** 域名ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
62
66
|
|
63
67
|
:param zone_id: The zone_id of this UpdatePublicZoneRequest.
|
64
|
-
:type: str
|
68
|
+
:type zone_id: str
|
65
69
|
"""
|
66
70
|
self._zone_id = zone_id
|
67
71
|
|
68
72
|
@property
|
69
73
|
def body(self):
|
70
|
-
"""Gets the body of this UpdatePublicZoneRequest.
|
71
|
-
|
74
|
+
r"""Gets the body of this UpdatePublicZoneRequest.
|
72
75
|
|
73
76
|
:return: The body of this UpdatePublicZoneRequest.
|
74
|
-
:rtype: UpdatePublicZoneInfo
|
77
|
+
:rtype: :class:`huaweicloudsdkdns.v2.UpdatePublicZoneInfo`
|
75
78
|
"""
|
76
79
|
return self._body
|
77
80
|
|
78
81
|
@body.setter
|
79
82
|
def body(self, body):
|
80
|
-
"""Sets the body of this UpdatePublicZoneRequest.
|
81
|
-
|
83
|
+
r"""Sets the body of this UpdatePublicZoneRequest.
|
82
84
|
|
83
85
|
:param body: The body of this UpdatePublicZoneRequest.
|
84
|
-
:type: UpdatePublicZoneInfo
|
86
|
+
:type body: :class:`huaweicloudsdkdns.v2.UpdatePublicZoneInfo`
|
85
87
|
"""
|
86
88
|
self._body = body
|
87
89
|
|
@@ -114,10 +116,15 @@ class UpdatePublicZoneRequest:
|
|
114
116
|
|
115
117
|
def to_str(self):
|
116
118
|
"""Returns the string representation of the model"""
|
117
|
-
|
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)
|
118
125
|
|
119
126
|
def __repr__(self):
|
120
|
-
"""For `print`
|
127
|
+
"""For `print`"""
|
121
128
|
return self.to_str()
|
122
129
|
|
123
130
|
def __eq__(self, other):
|
@@ -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 UpdatePublicZoneResponse(SdkResponse):
|
13
10
|
|
14
|
-
|
15
11
|
"""
|
16
12
|
Attributes:
|
17
13
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +15,6 @@ class UpdatePublicZoneResponse(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 = {
|
@@ -37,7 +32,7 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
37
32
|
'created_at': 'str',
|
38
33
|
'updated_at': 'str',
|
39
34
|
'links': 'PageLink',
|
40
|
-
'masters': 'str'
|
35
|
+
'masters': 'list[str]'
|
41
36
|
}
|
42
37
|
|
43
38
|
attribute_map = {
|
@@ -59,9 +54,43 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
59
54
|
}
|
60
55
|
|
61
56
|
def __init__(self, id=None, name=None, description=None, email=None, zone_type=None, ttl=None, serial=None, status=None, record_num=None, pool_id=None, project_id=None, created_at=None, updated_at=None, links=None, masters=None):
|
62
|
-
"""UpdatePublicZoneResponse
|
57
|
+
r"""UpdatePublicZoneResponse
|
58
|
+
|
59
|
+
The model defined in huaweicloud sdk
|
60
|
+
|
61
|
+
:param id: **参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
|
62
|
+
:type id: str
|
63
|
+
:param name: **参数解释:** 域名。 **取值范围:** 不涉及。
|
64
|
+
:type name: str
|
65
|
+
:param description: **参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
|
66
|
+
:type description: str
|
67
|
+
:param email: **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
|
68
|
+
:type email: str
|
69
|
+
:param zone_type: **参数解释:** 域名类型。 **取值范围:** public:公网域名。
|
70
|
+
:type zone_type: str
|
71
|
+
:param ttl: **参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 1~2147483647。
|
72
|
+
:type ttl: int
|
73
|
+
:param serial: **参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 该参数暂未使用。 **取值范围:** 不涉及。
|
74
|
+
:type serial: int
|
75
|
+
:param status: **参数解释:** 公网域名状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败
|
76
|
+
:type status: str
|
77
|
+
:param record_num: **参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
|
78
|
+
:type record_num: int
|
79
|
+
:param pool_id: **参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
|
80
|
+
:type pool_id: str
|
81
|
+
:param project_id: **参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
|
82
|
+
:type project_id: str
|
83
|
+
:param created_at: **参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
84
|
+
:type created_at: str
|
85
|
+
:param updated_at: **参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
86
|
+
:type updated_at: str
|
87
|
+
:param links:
|
88
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
89
|
+
:param masters: **参数解释:** 主从模式中,从DNS服务器获取DNS信息。 目前暂未使用。 **取值范围:** 不涉及。
|
90
|
+
:type masters: list[str]
|
91
|
+
"""
|
63
92
|
|
64
|
-
super().__init__()
|
93
|
+
super(UpdatePublicZoneResponse, self).__init__()
|
65
94
|
|
66
95
|
self._id = None
|
67
96
|
self._name = None
|
@@ -113,9 +142,9 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
113
142
|
|
114
143
|
@property
|
115
144
|
def id(self):
|
116
|
-
"""Gets the id of this UpdatePublicZoneResponse.
|
145
|
+
r"""Gets the id of this UpdatePublicZoneResponse.
|
117
146
|
|
118
|
-
|
147
|
+
**参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
|
119
148
|
|
120
149
|
:return: The id of this UpdatePublicZoneResponse.
|
121
150
|
:rtype: str
|
@@ -124,20 +153,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
124
153
|
|
125
154
|
@id.setter
|
126
155
|
def id(self, id):
|
127
|
-
"""Sets the id of this UpdatePublicZoneResponse.
|
156
|
+
r"""Sets the id of this UpdatePublicZoneResponse.
|
128
157
|
|
129
|
-
|
158
|
+
**参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
|
130
159
|
|
131
160
|
:param id: The id of this UpdatePublicZoneResponse.
|
132
|
-
:type: str
|
161
|
+
:type id: str
|
133
162
|
"""
|
134
163
|
self._id = id
|
135
164
|
|
136
165
|
@property
|
137
166
|
def name(self):
|
138
|
-
"""Gets the name of this UpdatePublicZoneResponse.
|
167
|
+
r"""Gets the name of this UpdatePublicZoneResponse.
|
139
168
|
|
140
|
-
|
169
|
+
**参数解释:** 域名。 **取值范围:** 不涉及。
|
141
170
|
|
142
171
|
:return: The name of this UpdatePublicZoneResponse.
|
143
172
|
:rtype: str
|
@@ -146,20 +175,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
146
175
|
|
147
176
|
@name.setter
|
148
177
|
def name(self, name):
|
149
|
-
"""Sets the name of this UpdatePublicZoneResponse.
|
178
|
+
r"""Sets the name of this UpdatePublicZoneResponse.
|
150
179
|
|
151
|
-
|
180
|
+
**参数解释:** 域名。 **取值范围:** 不涉及。
|
152
181
|
|
153
182
|
:param name: The name of this UpdatePublicZoneResponse.
|
154
|
-
:type: str
|
183
|
+
:type name: str
|
155
184
|
"""
|
156
185
|
self._name = name
|
157
186
|
|
158
187
|
@property
|
159
188
|
def description(self):
|
160
|
-
"""Gets the description of this UpdatePublicZoneResponse.
|
189
|
+
r"""Gets the description of this UpdatePublicZoneResponse.
|
161
190
|
|
162
|
-
|
191
|
+
**参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
|
163
192
|
|
164
193
|
:return: The description of this UpdatePublicZoneResponse.
|
165
194
|
:rtype: str
|
@@ -168,20 +197,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
168
197
|
|
169
198
|
@description.setter
|
170
199
|
def description(self, description):
|
171
|
-
"""Sets the description of this UpdatePublicZoneResponse.
|
200
|
+
r"""Sets the description of this UpdatePublicZoneResponse.
|
172
201
|
|
173
|
-
|
202
|
+
**参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
|
174
203
|
|
175
204
|
:param description: The description of this UpdatePublicZoneResponse.
|
176
|
-
:type: str
|
205
|
+
:type description: str
|
177
206
|
"""
|
178
207
|
self._description = description
|
179
208
|
|
180
209
|
@property
|
181
210
|
def email(self):
|
182
|
-
"""Gets the email of this UpdatePublicZoneResponse.
|
211
|
+
r"""Gets the email of this UpdatePublicZoneResponse.
|
183
212
|
|
184
|
-
|
213
|
+
**参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
|
185
214
|
|
186
215
|
:return: The email of this UpdatePublicZoneResponse.
|
187
216
|
:rtype: str
|
@@ -190,20 +219,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
190
219
|
|
191
220
|
@email.setter
|
192
221
|
def email(self, email):
|
193
|
-
"""Sets the email of this UpdatePublicZoneResponse.
|
222
|
+
r"""Sets the email of this UpdatePublicZoneResponse.
|
194
223
|
|
195
|
-
|
224
|
+
**参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
|
196
225
|
|
197
226
|
:param email: The email of this UpdatePublicZoneResponse.
|
198
|
-
:type: str
|
227
|
+
:type email: str
|
199
228
|
"""
|
200
229
|
self._email = email
|
201
230
|
|
202
231
|
@property
|
203
232
|
def zone_type(self):
|
204
|
-
"""Gets the zone_type of this UpdatePublicZoneResponse.
|
233
|
+
r"""Gets the zone_type of this UpdatePublicZoneResponse.
|
205
234
|
|
206
|
-
|
235
|
+
**参数解释:** 域名类型。 **取值范围:** public:公网域名。
|
207
236
|
|
208
237
|
:return: The zone_type of this UpdatePublicZoneResponse.
|
209
238
|
:rtype: str
|
@@ -212,20 +241,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
212
241
|
|
213
242
|
@zone_type.setter
|
214
243
|
def zone_type(self, zone_type):
|
215
|
-
"""Sets the zone_type of this UpdatePublicZoneResponse.
|
244
|
+
r"""Sets the zone_type of this UpdatePublicZoneResponse.
|
216
245
|
|
217
|
-
|
246
|
+
**参数解释:** 域名类型。 **取值范围:** public:公网域名。
|
218
247
|
|
219
248
|
:param zone_type: The zone_type of this UpdatePublicZoneResponse.
|
220
|
-
:type: str
|
249
|
+
:type zone_type: str
|
221
250
|
"""
|
222
251
|
self._zone_type = zone_type
|
223
252
|
|
224
253
|
@property
|
225
254
|
def ttl(self):
|
226
|
-
"""Gets the ttl of this UpdatePublicZoneResponse.
|
255
|
+
r"""Gets the ttl of this UpdatePublicZoneResponse.
|
227
256
|
|
228
|
-
|
257
|
+
**参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 1~2147483647。
|
229
258
|
|
230
259
|
:return: The ttl of this UpdatePublicZoneResponse.
|
231
260
|
:rtype: int
|
@@ -234,20 +263,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
234
263
|
|
235
264
|
@ttl.setter
|
236
265
|
def ttl(self, ttl):
|
237
|
-
"""Sets the ttl of this UpdatePublicZoneResponse.
|
266
|
+
r"""Sets the ttl of this UpdatePublicZoneResponse.
|
238
267
|
|
239
|
-
|
268
|
+
**参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 1~2147483647。
|
240
269
|
|
241
270
|
:param ttl: The ttl of this UpdatePublicZoneResponse.
|
242
|
-
:type: int
|
271
|
+
:type ttl: int
|
243
272
|
"""
|
244
273
|
self._ttl = ttl
|
245
274
|
|
246
275
|
@property
|
247
276
|
def serial(self):
|
248
|
-
"""Gets the serial of this UpdatePublicZoneResponse.
|
277
|
+
r"""Gets the serial of this UpdatePublicZoneResponse.
|
249
278
|
|
250
|
-
|
279
|
+
**参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 该参数暂未使用。 **取值范围:** 不涉及。
|
251
280
|
|
252
281
|
:return: The serial of this UpdatePublicZoneResponse.
|
253
282
|
:rtype: int
|
@@ -256,20 +285,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
256
285
|
|
257
286
|
@serial.setter
|
258
287
|
def serial(self, serial):
|
259
|
-
"""Sets the serial of this UpdatePublicZoneResponse.
|
288
|
+
r"""Sets the serial of this UpdatePublicZoneResponse.
|
260
289
|
|
261
|
-
|
290
|
+
**参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 该参数暂未使用。 **取值范围:** 不涉及。
|
262
291
|
|
263
292
|
:param serial: The serial of this UpdatePublicZoneResponse.
|
264
|
-
:type: int
|
293
|
+
:type serial: int
|
265
294
|
"""
|
266
295
|
self._serial = serial
|
267
296
|
|
268
297
|
@property
|
269
298
|
def status(self):
|
270
|
-
"""Gets the status of this UpdatePublicZoneResponse.
|
299
|
+
r"""Gets the status of this UpdatePublicZoneResponse.
|
271
300
|
|
272
|
-
|
301
|
+
**参数解释:** 公网域名状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败
|
273
302
|
|
274
303
|
:return: The status of this UpdatePublicZoneResponse.
|
275
304
|
:rtype: str
|
@@ -278,20 +307,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
278
307
|
|
279
308
|
@status.setter
|
280
309
|
def status(self, status):
|
281
|
-
"""Sets the status of this UpdatePublicZoneResponse.
|
310
|
+
r"""Sets the status of this UpdatePublicZoneResponse.
|
282
311
|
|
283
|
-
|
312
|
+
**参数解释:** 公网域名状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - PENDING_UPDATE:更新中 - PENDING_DELETE:删除中 - PENDING_FREEZE:冻结中 - FREEZE:冻结 - ILLEGAL:违规冻结 - POLICE:公安冻结 - PENDING_DISABLE:暂停中 - DISABLE:暂停 - ERROR:失败
|
284
313
|
|
285
314
|
:param status: The status of this UpdatePublicZoneResponse.
|
286
|
-
:type: str
|
315
|
+
:type status: str
|
287
316
|
"""
|
288
317
|
self._status = status
|
289
318
|
|
290
319
|
@property
|
291
320
|
def record_num(self):
|
292
|
-
"""Gets the record_num of this UpdatePublicZoneResponse.
|
321
|
+
r"""Gets the record_num of this UpdatePublicZoneResponse.
|
293
322
|
|
294
|
-
|
323
|
+
**参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
|
295
324
|
|
296
325
|
:return: The record_num of this UpdatePublicZoneResponse.
|
297
326
|
:rtype: int
|
@@ -300,20 +329,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
300
329
|
|
301
330
|
@record_num.setter
|
302
331
|
def record_num(self, record_num):
|
303
|
-
"""Sets the record_num of this UpdatePublicZoneResponse.
|
332
|
+
r"""Sets the record_num of this UpdatePublicZoneResponse.
|
304
333
|
|
305
|
-
|
334
|
+
**参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
|
306
335
|
|
307
336
|
:param record_num: The record_num of this UpdatePublicZoneResponse.
|
308
|
-
:type: int
|
337
|
+
:type record_num: int
|
309
338
|
"""
|
310
339
|
self._record_num = record_num
|
311
340
|
|
312
341
|
@property
|
313
342
|
def pool_id(self):
|
314
|
-
"""Gets the pool_id of this UpdatePublicZoneResponse.
|
343
|
+
r"""Gets the pool_id of this UpdatePublicZoneResponse.
|
315
344
|
|
316
|
-
|
345
|
+
**参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
|
317
346
|
|
318
347
|
:return: The pool_id of this UpdatePublicZoneResponse.
|
319
348
|
:rtype: str
|
@@ -322,20 +351,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
322
351
|
|
323
352
|
@pool_id.setter
|
324
353
|
def pool_id(self, pool_id):
|
325
|
-
"""Sets the pool_id of this UpdatePublicZoneResponse.
|
354
|
+
r"""Sets the pool_id of this UpdatePublicZoneResponse.
|
326
355
|
|
327
|
-
|
356
|
+
**参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
|
328
357
|
|
329
358
|
:param pool_id: The pool_id of this UpdatePublicZoneResponse.
|
330
|
-
:type: str
|
359
|
+
:type pool_id: str
|
331
360
|
"""
|
332
361
|
self._pool_id = pool_id
|
333
362
|
|
334
363
|
@property
|
335
364
|
def project_id(self):
|
336
|
-
"""Gets the project_id of this UpdatePublicZoneResponse.
|
365
|
+
r"""Gets the project_id of this UpdatePublicZoneResponse.
|
337
366
|
|
338
|
-
|
367
|
+
**参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
|
339
368
|
|
340
369
|
:return: The project_id of this UpdatePublicZoneResponse.
|
341
370
|
:rtype: str
|
@@ -344,20 +373,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
344
373
|
|
345
374
|
@project_id.setter
|
346
375
|
def project_id(self, project_id):
|
347
|
-
"""Sets the project_id of this UpdatePublicZoneResponse.
|
376
|
+
r"""Sets the project_id of this UpdatePublicZoneResponse.
|
348
377
|
|
349
|
-
|
378
|
+
**参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
|
350
379
|
|
351
380
|
:param project_id: The project_id of this UpdatePublicZoneResponse.
|
352
|
-
:type: str
|
381
|
+
:type project_id: str
|
353
382
|
"""
|
354
383
|
self._project_id = project_id
|
355
384
|
|
356
385
|
@property
|
357
386
|
def created_at(self):
|
358
|
-
"""Gets the created_at of this UpdatePublicZoneResponse.
|
387
|
+
r"""Gets the created_at of this UpdatePublicZoneResponse.
|
359
388
|
|
360
|
-
|
389
|
+
**参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
361
390
|
|
362
391
|
:return: The created_at of this UpdatePublicZoneResponse.
|
363
392
|
:rtype: str
|
@@ -366,20 +395,20 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
366
395
|
|
367
396
|
@created_at.setter
|
368
397
|
def created_at(self, created_at):
|
369
|
-
"""Sets the created_at of this UpdatePublicZoneResponse.
|
398
|
+
r"""Sets the created_at of this UpdatePublicZoneResponse.
|
370
399
|
|
371
|
-
|
400
|
+
**参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
372
401
|
|
373
402
|
:param created_at: The created_at of this UpdatePublicZoneResponse.
|
374
|
-
:type: str
|
403
|
+
:type created_at: str
|
375
404
|
"""
|
376
405
|
self._created_at = created_at
|
377
406
|
|
378
407
|
@property
|
379
408
|
def updated_at(self):
|
380
|
-
"""Gets the updated_at of this UpdatePublicZoneResponse.
|
409
|
+
r"""Gets the updated_at of this UpdatePublicZoneResponse.
|
381
410
|
|
382
|
-
|
411
|
+
**参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
383
412
|
|
384
413
|
:return: The updated_at of this UpdatePublicZoneResponse.
|
385
414
|
:rtype: str
|
@@ -388,54 +417,52 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
388
417
|
|
389
418
|
@updated_at.setter
|
390
419
|
def updated_at(self, updated_at):
|
391
|
-
"""Sets the updated_at of this UpdatePublicZoneResponse.
|
420
|
+
r"""Sets the updated_at of this UpdatePublicZoneResponse.
|
392
421
|
|
393
|
-
|
422
|
+
**参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
394
423
|
|
395
424
|
:param updated_at: The updated_at of this UpdatePublicZoneResponse.
|
396
|
-
:type: str
|
425
|
+
:type updated_at: str
|
397
426
|
"""
|
398
427
|
self._updated_at = updated_at
|
399
428
|
|
400
429
|
@property
|
401
430
|
def links(self):
|
402
|
-
"""Gets the links of this UpdatePublicZoneResponse.
|
403
|
-
|
431
|
+
r"""Gets the links of this UpdatePublicZoneResponse.
|
404
432
|
|
405
433
|
:return: The links of this UpdatePublicZoneResponse.
|
406
|
-
:rtype: PageLink
|
434
|
+
:rtype: :class:`huaweicloudsdkdns.v2.PageLink`
|
407
435
|
"""
|
408
436
|
return self._links
|
409
437
|
|
410
438
|
@links.setter
|
411
439
|
def links(self, links):
|
412
|
-
"""Sets the links of this UpdatePublicZoneResponse.
|
413
|
-
|
440
|
+
r"""Sets the links of this UpdatePublicZoneResponse.
|
414
441
|
|
415
442
|
:param links: The links of this UpdatePublicZoneResponse.
|
416
|
-
:type: PageLink
|
443
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
417
444
|
"""
|
418
445
|
self._links = links
|
419
446
|
|
420
447
|
@property
|
421
448
|
def masters(self):
|
422
|
-
"""Gets the masters of this UpdatePublicZoneResponse.
|
449
|
+
r"""Gets the masters of this UpdatePublicZoneResponse.
|
423
450
|
|
424
|
-
主从模式中,从DNS
|
451
|
+
**参数解释:** 主从模式中,从DNS服务器获取DNS信息。 目前暂未使用。 **取值范围:** 不涉及。
|
425
452
|
|
426
453
|
:return: The masters of this UpdatePublicZoneResponse.
|
427
|
-
:rtype: str
|
454
|
+
:rtype: list[str]
|
428
455
|
"""
|
429
456
|
return self._masters
|
430
457
|
|
431
458
|
@masters.setter
|
432
459
|
def masters(self, masters):
|
433
|
-
"""Sets the masters of this UpdatePublicZoneResponse.
|
460
|
+
r"""Sets the masters of this UpdatePublicZoneResponse.
|
434
461
|
|
435
|
-
主从模式中,从DNS
|
462
|
+
**参数解释:** 主从模式中,从DNS服务器获取DNS信息。 目前暂未使用。 **取值范围:** 不涉及。
|
436
463
|
|
437
464
|
:param masters: The masters of this UpdatePublicZoneResponse.
|
438
|
-
:type: str
|
465
|
+
:type masters: list[str]
|
439
466
|
"""
|
440
467
|
self._masters = masters
|
441
468
|
|
@@ -468,10 +495,15 @@ class UpdatePublicZoneResponse(SdkResponse):
|
|
468
495
|
|
469
496
|
def to_str(self):
|
470
497
|
"""Returns the string representation of the model"""
|
471
|
-
|
498
|
+
import simplejson as json
|
499
|
+
if six.PY2:
|
500
|
+
import sys
|
501
|
+
reload(sys)
|
502
|
+
sys.setdefaultencoding("utf-8")
|
503
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
472
504
|
|
473
505
|
def __repr__(self):
|
474
|
-
"""For `print`
|
506
|
+
"""For `print`"""
|
475
507
|
return self.to_str()
|
476
508
|
|
477
509
|
def __eq__(self, other):
|