huaweicloudsdkdns 3.0.42rc0__py3-none-any.whl → 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkdns/v2/__init__.py +137 -11
- huaweicloudsdkdns/v2/dns_async_client.py +4625 -1735
- huaweicloudsdkdns/v2/dns_client.py +4638 -1749
- huaweicloudsdkdns/v2/model/__init__.py +136 -9
- huaweicloudsdkdns/v2/model/alias_target.py +27 -20
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/associate_or_disassociate_router_with_rule_request_body.py +110 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/associate_router_request.py +27 -20
- huaweicloudsdkdns/v2/model/{associate_router_req.py → associate_router_request_body.py} +23 -20
- huaweicloudsdkdns/v2/model/associate_router_response.py +35 -25
- huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +200 -0
- huaweicloudsdkdns/v2/model/batch_create_tag_request.py +33 -22
- huaweicloudsdkdns/v2/model/batch_create_tag_response.py +14 -10
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +139 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_hand_tags.py +24 -17
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set.py +229 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +139 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +166 -0
- huaweicloudsdkdns/v2/model/create_custom_line_request.py +20 -17
- huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +36 -27
- huaweicloudsdkdns/v2/model/create_custom_line_response.py +53 -35
- huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +33 -22
- huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +97 -50
- huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_line_group_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_line_group_response.py +290 -0
- huaweicloudsdkdns/v2/model/create_line_groups_req.py +171 -0
- huaweicloudsdkdns/v2/model/create_line_groups_resp.py +289 -0
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +101 -55
- huaweicloudsdkdns/v2/model/create_private_zone_request.py +19 -16
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +156 -95
- huaweicloudsdkdns/v2/model/create_ptr_req.py +47 -34
- huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
- huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/create_public_zone_req.py +63 -46
- huaweicloudsdkdns/v2/model/create_public_zone_request.py +19 -16
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +125 -91
- huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +199 -0
- huaweicloudsdkdns/v2/model/create_record_set_request.py +27 -20
- huaweicloudsdkdns/v2/model/create_record_set_request_body.py +286 -0
- huaweicloudsdkdns/v2/model/create_record_set_response.py +111 -55
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +139 -0
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +166 -0
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +27 -20
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +370 -0
- huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +138 -102
- huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_tag_req.py +19 -16
- huaweicloudsdkdns/v2/model/create_tag_request.py +33 -22
- huaweicloudsdkdns/v2/model/create_tag_response.py +14 -10
- huaweicloudsdkdns/v2/model/delete_custom_line_request.py +20 -13
- huaweicloudsdkdns/v2/model/delete_custom_line_response.py +53 -35
- huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_line_group_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_line_group_response.py +290 -0
- huaweicloudsdkdns/v2/model/delete_private_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/delete_private_zone_response.py +126 -92
- huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
- huaweicloudsdkdns/v2/model/delete_public_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +121 -91
- huaweicloudsdkdns/v2/model/delete_record_set_request.py +27 -16
- huaweicloudsdkdns/v2/model/delete_record_set_response.py +111 -81
- huaweicloudsdkdns/v2/model/delete_record_sets_request.py +27 -16
- huaweicloudsdkdns/v2/model/delete_record_sets_response.py +138 -102
- huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_tag_request.py +34 -19
- huaweicloudsdkdns/v2/model/delete_tag_response.py +14 -10
- huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/disassociate_router_request.py +27 -20
- huaweicloudsdkdns/v2/model/disassociate_router_response.py +35 -25
- huaweicloudsdkdns/v2/model/{disassociaterouter_req.py → disassociaterouter_request_body.py} +23 -20
- huaweicloudsdkdns/v2/model/domain_quota_response_quotas.py +198 -0
- huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
- huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
- huaweicloudsdkdns/v2/model/{update_public_zone_status.py → ip_info.py} +35 -29
- huaweicloudsdkdns/v2/model/ip_value.py +115 -0
- huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
- huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
- huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
- huaweicloudsdkdns/v2/model/line.py +52 -35
- huaweicloudsdkdns/v2/model/link.py +115 -0
- huaweicloudsdkdns/v2/model/links_item.py +27 -20
- huaweicloudsdkdns/v2/model/list_api_versions_item.py +35 -26
- huaweicloudsdkdns/v2/model/list_api_versions_request.py +13 -10
- huaweicloudsdkdns/v2/model/list_api_versions_response.py +20 -16
- huaweicloudsdkdns/v2/model/list_custom_line_request.py +109 -28
- huaweicloudsdkdns/v2/model/list_custom_line_response.py +29 -21
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
- huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_line_groups_request.py +202 -0
- huaweicloudsdkdns/v2/model/list_line_groups_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_name_servers_request.py +27 -16
- huaweicloudsdkdns/v2/model/list_name_servers_response.py +22 -14
- huaweicloudsdkdns/v2/model/list_private_zones_request.py +217 -37
- huaweicloudsdkdns/v2/model/list_private_zones_response.py +35 -27
- huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +99 -51
- huaweicloudsdkdns/v2/model/list_ptr_records_request.py +55 -28
- huaweicloudsdkdns/v2/model/list_ptr_records_response.py +35 -27
- huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zones_request.py +186 -35
- huaweicloudsdkdns/v2/model/list_public_zones_response.py +36 -28
- huaweicloudsdkdns/v2/model/list_record_sets.py +110 -81
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +124 -48
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +35 -27
- huaweicloudsdkdns/v2/model/list_record_sets_request.py +131 -51
- huaweicloudsdkdns/v2/model/list_record_sets_response.py +36 -28
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +152 -60
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +36 -28
- huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +517 -0
- huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
- huaweicloudsdkdns/v2/model/list_tag_req.py +64 -45
- huaweicloudsdkdns/v2/model/list_tag_request.py +26 -19
- huaweicloudsdkdns/v2/model/list_tag_response.py +29 -17
- huaweicloudsdkdns/v2/model/list_tags_request.py +20 -13
- huaweicloudsdkdns/v2/model/list_tags_response.py +20 -14
- huaweicloudsdkdns/v2/model/match.py +143 -0
- huaweicloudsdkdns/v2/model/{metedata.py → metadata.py} +24 -19
- huaweicloudsdkdns/v2/model/name_servers_resp.py +31 -20
- huaweicloudsdkdns/v2/model/nameserver.py +27 -20
- huaweicloudsdkdns/v2/model/ns_records.py +28 -19
- huaweicloudsdkdns/v2/model/page_info.py +173 -0
- huaweicloudsdkdns/v2/model/page_link.py +27 -20
- huaweicloudsdkdns/v2/model/private_name_server.py +27 -20
- huaweicloudsdkdns/v2/model/private_zone_resp.py +191 -98
- huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
- huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_resp.py +575 -0
- huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +658 -0
- huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +169 -105
- huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
- huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
- huaweicloudsdkdns/v2/model/resource_item.py +36 -25
- huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +33 -22
- huaweicloudsdkdns/v2/model/restore_ptr_record_response.py +14 -10
- huaweicloudsdkdns/v2/model/restore_ptr_req.py +22 -17
- huaweicloudsdkdns/v2/model/router.py +59 -23
- huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
- huaweicloudsdkdns/v2/model/router_with_status.py +34 -25
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
- huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +27 -20
- huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +24 -19
- huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +170 -105
- huaweicloudsdkdns/v2/model/show_api_info_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_api_info_response.py +20 -16
- huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/show_domain_quota_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_domain_quota_response.py +116 -0
- huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_line_group_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_line_group_response.py +290 -0
- huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_private_zone_name_server_response.py +22 -14
- huaweicloudsdkdns/v2/model/show_private_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_private_zone_response.py +187 -95
- huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +97 -50
- huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +22 -16
- huaweicloudsdkdns/v2/model/show_public_zone_request.py +20 -13
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +127 -93
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +371 -16
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +162 -127
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +35 -27
- huaweicloudsdkdns/v2/model/show_record_set_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_record_set_response.py +143 -84
- huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +170 -105
- huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_resource_tag_request.py +27 -16
- huaweicloudsdkdns/v2/model/show_resource_tag_response.py +22 -14
- huaweicloudsdkdns/v2/model/tag.py +27 -20
- huaweicloudsdkdns/v2/model/tag_values.py +27 -20
- huaweicloudsdkdns/v2/model/update_custom_line_request.py +27 -20
- huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +36 -27
- huaweicloudsdkdns/v2/model/update_custom_line_response.py +53 -35
- huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/update_line_groups_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_line_groups_request_body.py +171 -0
- huaweicloudsdkdns/v2/model/update_line_groups_response.py +290 -0
- huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +34 -25
- huaweicloudsdkdns/v2/model/update_private_zone_request.py +26 -19
- huaweicloudsdkdns/v2/model/update_private_zone_response.py +126 -92
- huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
- huaweicloudsdkdns/v2/model/update_ptr_record_request.py +33 -22
- huaweicloudsdkdns/v2/model/update_ptr_record_response.py +65 -47
- huaweicloudsdkdns/v2/model/update_ptr_req.py +40 -29
- huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
- huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/update_public_zone_info.py +36 -27
- huaweicloudsdkdns/v2/model/update_public_zone_request.py +26 -19
- huaweicloudsdkdns/v2/model/update_public_zone_response.py +120 -88
- huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +27 -20
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +118 -86
- huaweicloudsdkdns/v2/model/update_record_set_req.py +52 -37
- huaweicloudsdkdns/v2/model/update_record_set_request.py +33 -22
- huaweicloudsdkdns/v2/model/update_record_set_response.py +111 -55
- huaweicloudsdkdns/v2/model/update_record_sets_req.py +55 -40
- huaweicloudsdkdns/v2/model/update_record_sets_request.py +33 -22
- huaweicloudsdkdns/v2/model/update_record_sets_response.py +138 -102
- huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/update_zone_status_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/values_item.py +21 -16
- huaweicloudsdkdns/v2/model/version_item.py +56 -41
- huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
- huaweicloudsdkdns/v2/model/zone_data.py +517 -0
- huaweicloudsdkdns/v2/region/dns_region.py +88 -38
- {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkdns-3.1.160.dist-info/RECORD +273 -0
- {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkdns/v2/model/create_record_set_req.py +0 -263
- huaweicloudsdkdns/v2/model/create_record_set_with_line_req.py +0 -348
- huaweicloudsdkdns-3.0.42rc0.dist-info/RECORD +0 -146
- {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.0.42rc0.dist-info → huaweicloudsdkdns-3.1.160.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,518 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class UpdatePrivateZoneStatusResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'id': 'str',
|
22
|
+
'name': 'str',
|
23
|
+
'description': 'str',
|
24
|
+
'email': 'str',
|
25
|
+
'zone_type': 'str',
|
26
|
+
'ttl': 'int',
|
27
|
+
'serial': 'int',
|
28
|
+
'status': 'str',
|
29
|
+
'record_num': 'int',
|
30
|
+
'pool_id': 'str',
|
31
|
+
'project_id': 'str',
|
32
|
+
'created_at': 'str',
|
33
|
+
'updated_at': 'str',
|
34
|
+
'links': 'PageLink',
|
35
|
+
'masters': 'list[str]'
|
36
|
+
}
|
37
|
+
|
38
|
+
attribute_map = {
|
39
|
+
'id': 'id',
|
40
|
+
'name': 'name',
|
41
|
+
'description': 'description',
|
42
|
+
'email': 'email',
|
43
|
+
'zone_type': 'zone_type',
|
44
|
+
'ttl': 'ttl',
|
45
|
+
'serial': 'serial',
|
46
|
+
'status': 'status',
|
47
|
+
'record_num': 'record_num',
|
48
|
+
'pool_id': 'pool_id',
|
49
|
+
'project_id': 'project_id',
|
50
|
+
'created_at': 'created_at',
|
51
|
+
'updated_at': 'updated_at',
|
52
|
+
'links': 'links',
|
53
|
+
'masters': 'masters'
|
54
|
+
}
|
55
|
+
|
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):
|
57
|
+
r"""UpdatePrivateZoneStatusResponse
|
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:正常 - DISABLE:暂停
|
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
|
+
"""
|
92
|
+
|
93
|
+
super(UpdatePrivateZoneStatusResponse, self).__init__()
|
94
|
+
|
95
|
+
self._id = None
|
96
|
+
self._name = None
|
97
|
+
self._description = None
|
98
|
+
self._email = None
|
99
|
+
self._zone_type = None
|
100
|
+
self._ttl = None
|
101
|
+
self._serial = None
|
102
|
+
self._status = None
|
103
|
+
self._record_num = None
|
104
|
+
self._pool_id = None
|
105
|
+
self._project_id = None
|
106
|
+
self._created_at = None
|
107
|
+
self._updated_at = None
|
108
|
+
self._links = None
|
109
|
+
self._masters = None
|
110
|
+
self.discriminator = None
|
111
|
+
|
112
|
+
if id is not None:
|
113
|
+
self.id = id
|
114
|
+
if name is not None:
|
115
|
+
self.name = name
|
116
|
+
if description is not None:
|
117
|
+
self.description = description
|
118
|
+
if email is not None:
|
119
|
+
self.email = email
|
120
|
+
if zone_type is not None:
|
121
|
+
self.zone_type = zone_type
|
122
|
+
if ttl is not None:
|
123
|
+
self.ttl = ttl
|
124
|
+
if serial is not None:
|
125
|
+
self.serial = serial
|
126
|
+
if status is not None:
|
127
|
+
self.status = status
|
128
|
+
if record_num is not None:
|
129
|
+
self.record_num = record_num
|
130
|
+
if pool_id is not None:
|
131
|
+
self.pool_id = pool_id
|
132
|
+
if project_id is not None:
|
133
|
+
self.project_id = project_id
|
134
|
+
if created_at is not None:
|
135
|
+
self.created_at = created_at
|
136
|
+
if updated_at is not None:
|
137
|
+
self.updated_at = updated_at
|
138
|
+
if links is not None:
|
139
|
+
self.links = links
|
140
|
+
if masters is not None:
|
141
|
+
self.masters = masters
|
142
|
+
|
143
|
+
@property
|
144
|
+
def id(self):
|
145
|
+
r"""Gets the id of this UpdatePrivateZoneStatusResponse.
|
146
|
+
|
147
|
+
**参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
|
148
|
+
|
149
|
+
:return: The id of this UpdatePrivateZoneStatusResponse.
|
150
|
+
:rtype: str
|
151
|
+
"""
|
152
|
+
return self._id
|
153
|
+
|
154
|
+
@id.setter
|
155
|
+
def id(self, id):
|
156
|
+
r"""Sets the id of this UpdatePrivateZoneStatusResponse.
|
157
|
+
|
158
|
+
**参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
|
159
|
+
|
160
|
+
:param id: The id of this UpdatePrivateZoneStatusResponse.
|
161
|
+
:type id: str
|
162
|
+
"""
|
163
|
+
self._id = id
|
164
|
+
|
165
|
+
@property
|
166
|
+
def name(self):
|
167
|
+
r"""Gets the name of this UpdatePrivateZoneStatusResponse.
|
168
|
+
|
169
|
+
**参数解释:** 域名。 **取值范围:** 不涉及。
|
170
|
+
|
171
|
+
:return: The name of this UpdatePrivateZoneStatusResponse.
|
172
|
+
:rtype: str
|
173
|
+
"""
|
174
|
+
return self._name
|
175
|
+
|
176
|
+
@name.setter
|
177
|
+
def name(self, name):
|
178
|
+
r"""Sets the name of this UpdatePrivateZoneStatusResponse.
|
179
|
+
|
180
|
+
**参数解释:** 域名。 **取值范围:** 不涉及。
|
181
|
+
|
182
|
+
:param name: The name of this UpdatePrivateZoneStatusResponse.
|
183
|
+
:type name: str
|
184
|
+
"""
|
185
|
+
self._name = name
|
186
|
+
|
187
|
+
@property
|
188
|
+
def description(self):
|
189
|
+
r"""Gets the description of this UpdatePrivateZoneStatusResponse.
|
190
|
+
|
191
|
+
**参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
|
192
|
+
|
193
|
+
:return: The description of this UpdatePrivateZoneStatusResponse.
|
194
|
+
:rtype: str
|
195
|
+
"""
|
196
|
+
return self._description
|
197
|
+
|
198
|
+
@description.setter
|
199
|
+
def description(self, description):
|
200
|
+
r"""Sets the description of this UpdatePrivateZoneStatusResponse.
|
201
|
+
|
202
|
+
**参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
|
203
|
+
|
204
|
+
:param description: The description of this UpdatePrivateZoneStatusResponse.
|
205
|
+
:type description: str
|
206
|
+
"""
|
207
|
+
self._description = description
|
208
|
+
|
209
|
+
@property
|
210
|
+
def email(self):
|
211
|
+
r"""Gets the email of this UpdatePrivateZoneStatusResponse.
|
212
|
+
|
213
|
+
**参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
|
214
|
+
|
215
|
+
:return: The email of this UpdatePrivateZoneStatusResponse.
|
216
|
+
:rtype: str
|
217
|
+
"""
|
218
|
+
return self._email
|
219
|
+
|
220
|
+
@email.setter
|
221
|
+
def email(self, email):
|
222
|
+
r"""Sets the email of this UpdatePrivateZoneStatusResponse.
|
223
|
+
|
224
|
+
**参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
|
225
|
+
|
226
|
+
:param email: The email of this UpdatePrivateZoneStatusResponse.
|
227
|
+
:type email: str
|
228
|
+
"""
|
229
|
+
self._email = email
|
230
|
+
|
231
|
+
@property
|
232
|
+
def zone_type(self):
|
233
|
+
r"""Gets the zone_type of this UpdatePrivateZoneStatusResponse.
|
234
|
+
|
235
|
+
**参数解释:** 域名类型。 **取值范围:** public:公网域名。
|
236
|
+
|
237
|
+
:return: The zone_type of this UpdatePrivateZoneStatusResponse.
|
238
|
+
:rtype: str
|
239
|
+
"""
|
240
|
+
return self._zone_type
|
241
|
+
|
242
|
+
@zone_type.setter
|
243
|
+
def zone_type(self, zone_type):
|
244
|
+
r"""Sets the zone_type of this UpdatePrivateZoneStatusResponse.
|
245
|
+
|
246
|
+
**参数解释:** 域名类型。 **取值范围:** public:公网域名。
|
247
|
+
|
248
|
+
:param zone_type: The zone_type of this UpdatePrivateZoneStatusResponse.
|
249
|
+
:type zone_type: str
|
250
|
+
"""
|
251
|
+
self._zone_type = zone_type
|
252
|
+
|
253
|
+
@property
|
254
|
+
def ttl(self):
|
255
|
+
r"""Gets the ttl of this UpdatePrivateZoneStatusResponse.
|
256
|
+
|
257
|
+
**参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 1~2147483647。
|
258
|
+
|
259
|
+
:return: The ttl of this UpdatePrivateZoneStatusResponse.
|
260
|
+
:rtype: int
|
261
|
+
"""
|
262
|
+
return self._ttl
|
263
|
+
|
264
|
+
@ttl.setter
|
265
|
+
def ttl(self, ttl):
|
266
|
+
r"""Sets the ttl of this UpdatePrivateZoneStatusResponse.
|
267
|
+
|
268
|
+
**参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 1~2147483647。
|
269
|
+
|
270
|
+
:param ttl: The ttl of this UpdatePrivateZoneStatusResponse.
|
271
|
+
:type ttl: int
|
272
|
+
"""
|
273
|
+
self._ttl = ttl
|
274
|
+
|
275
|
+
@property
|
276
|
+
def serial(self):
|
277
|
+
r"""Gets the serial of this UpdatePrivateZoneStatusResponse.
|
278
|
+
|
279
|
+
**参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 **取值范围:** 不涉及。
|
280
|
+
|
281
|
+
:return: The serial of this UpdatePrivateZoneStatusResponse.
|
282
|
+
:rtype: int
|
283
|
+
"""
|
284
|
+
return self._serial
|
285
|
+
|
286
|
+
@serial.setter
|
287
|
+
def serial(self, serial):
|
288
|
+
r"""Sets the serial of this UpdatePrivateZoneStatusResponse.
|
289
|
+
|
290
|
+
**参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 **取值范围:** 不涉及。
|
291
|
+
|
292
|
+
:param serial: The serial of this UpdatePrivateZoneStatusResponse.
|
293
|
+
:type serial: int
|
294
|
+
"""
|
295
|
+
self._serial = serial
|
296
|
+
|
297
|
+
@property
|
298
|
+
def status(self):
|
299
|
+
r"""Gets the status of this UpdatePrivateZoneStatusResponse.
|
300
|
+
|
301
|
+
**参数解释:** 公网域名状态。 **取值范围:** - ACTIVE:正常 - DISABLE:暂停
|
302
|
+
|
303
|
+
:return: The status of this UpdatePrivateZoneStatusResponse.
|
304
|
+
:rtype: str
|
305
|
+
"""
|
306
|
+
return self._status
|
307
|
+
|
308
|
+
@status.setter
|
309
|
+
def status(self, status):
|
310
|
+
r"""Sets the status of this UpdatePrivateZoneStatusResponse.
|
311
|
+
|
312
|
+
**参数解释:** 公网域名状态。 **取值范围:** - ACTIVE:正常 - DISABLE:暂停
|
313
|
+
|
314
|
+
:param status: The status of this UpdatePrivateZoneStatusResponse.
|
315
|
+
:type status: str
|
316
|
+
"""
|
317
|
+
self._status = status
|
318
|
+
|
319
|
+
@property
|
320
|
+
def record_num(self):
|
321
|
+
r"""Gets the record_num of this UpdatePrivateZoneStatusResponse.
|
322
|
+
|
323
|
+
**参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
|
324
|
+
|
325
|
+
:return: The record_num of this UpdatePrivateZoneStatusResponse.
|
326
|
+
:rtype: int
|
327
|
+
"""
|
328
|
+
return self._record_num
|
329
|
+
|
330
|
+
@record_num.setter
|
331
|
+
def record_num(self, record_num):
|
332
|
+
r"""Sets the record_num of this UpdatePrivateZoneStatusResponse.
|
333
|
+
|
334
|
+
**参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
|
335
|
+
|
336
|
+
:param record_num: The record_num of this UpdatePrivateZoneStatusResponse.
|
337
|
+
:type record_num: int
|
338
|
+
"""
|
339
|
+
self._record_num = record_num
|
340
|
+
|
341
|
+
@property
|
342
|
+
def pool_id(self):
|
343
|
+
r"""Gets the pool_id of this UpdatePrivateZoneStatusResponse.
|
344
|
+
|
345
|
+
**参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
|
346
|
+
|
347
|
+
:return: The pool_id of this UpdatePrivateZoneStatusResponse.
|
348
|
+
:rtype: str
|
349
|
+
"""
|
350
|
+
return self._pool_id
|
351
|
+
|
352
|
+
@pool_id.setter
|
353
|
+
def pool_id(self, pool_id):
|
354
|
+
r"""Sets the pool_id of this UpdatePrivateZoneStatusResponse.
|
355
|
+
|
356
|
+
**参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
|
357
|
+
|
358
|
+
:param pool_id: The pool_id of this UpdatePrivateZoneStatusResponse.
|
359
|
+
:type pool_id: str
|
360
|
+
"""
|
361
|
+
self._pool_id = pool_id
|
362
|
+
|
363
|
+
@property
|
364
|
+
def project_id(self):
|
365
|
+
r"""Gets the project_id of this UpdatePrivateZoneStatusResponse.
|
366
|
+
|
367
|
+
**参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
|
368
|
+
|
369
|
+
:return: The project_id of this UpdatePrivateZoneStatusResponse.
|
370
|
+
:rtype: str
|
371
|
+
"""
|
372
|
+
return self._project_id
|
373
|
+
|
374
|
+
@project_id.setter
|
375
|
+
def project_id(self, project_id):
|
376
|
+
r"""Sets the project_id of this UpdatePrivateZoneStatusResponse.
|
377
|
+
|
378
|
+
**参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
|
379
|
+
|
380
|
+
:param project_id: The project_id of this UpdatePrivateZoneStatusResponse.
|
381
|
+
:type project_id: str
|
382
|
+
"""
|
383
|
+
self._project_id = project_id
|
384
|
+
|
385
|
+
@property
|
386
|
+
def created_at(self):
|
387
|
+
r"""Gets the created_at of this UpdatePrivateZoneStatusResponse.
|
388
|
+
|
389
|
+
**参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
390
|
+
|
391
|
+
:return: The created_at of this UpdatePrivateZoneStatusResponse.
|
392
|
+
:rtype: str
|
393
|
+
"""
|
394
|
+
return self._created_at
|
395
|
+
|
396
|
+
@created_at.setter
|
397
|
+
def created_at(self, created_at):
|
398
|
+
r"""Sets the created_at of this UpdatePrivateZoneStatusResponse.
|
399
|
+
|
400
|
+
**参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
401
|
+
|
402
|
+
:param created_at: The created_at of this UpdatePrivateZoneStatusResponse.
|
403
|
+
:type created_at: str
|
404
|
+
"""
|
405
|
+
self._created_at = created_at
|
406
|
+
|
407
|
+
@property
|
408
|
+
def updated_at(self):
|
409
|
+
r"""Gets the updated_at of this UpdatePrivateZoneStatusResponse.
|
410
|
+
|
411
|
+
**参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
412
|
+
|
413
|
+
:return: The updated_at of this UpdatePrivateZoneStatusResponse.
|
414
|
+
:rtype: str
|
415
|
+
"""
|
416
|
+
return self._updated_at
|
417
|
+
|
418
|
+
@updated_at.setter
|
419
|
+
def updated_at(self, updated_at):
|
420
|
+
r"""Sets the updated_at of this UpdatePrivateZoneStatusResponse.
|
421
|
+
|
422
|
+
**参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
|
423
|
+
|
424
|
+
:param updated_at: The updated_at of this UpdatePrivateZoneStatusResponse.
|
425
|
+
:type updated_at: str
|
426
|
+
"""
|
427
|
+
self._updated_at = updated_at
|
428
|
+
|
429
|
+
@property
|
430
|
+
def links(self):
|
431
|
+
r"""Gets the links of this UpdatePrivateZoneStatusResponse.
|
432
|
+
|
433
|
+
:return: The links of this UpdatePrivateZoneStatusResponse.
|
434
|
+
:rtype: :class:`huaweicloudsdkdns.v2.PageLink`
|
435
|
+
"""
|
436
|
+
return self._links
|
437
|
+
|
438
|
+
@links.setter
|
439
|
+
def links(self, links):
|
440
|
+
r"""Sets the links of this UpdatePrivateZoneStatusResponse.
|
441
|
+
|
442
|
+
:param links: The links of this UpdatePrivateZoneStatusResponse.
|
443
|
+
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
444
|
+
"""
|
445
|
+
self._links = links
|
446
|
+
|
447
|
+
@property
|
448
|
+
def masters(self):
|
449
|
+
r"""Gets the masters of this UpdatePrivateZoneStatusResponse.
|
450
|
+
|
451
|
+
**参数解释:** 主从模式中,从DNS服务器获取DNS信息。目前暂未使用。 **取值范围:** 不涉及。
|
452
|
+
|
453
|
+
:return: The masters of this UpdatePrivateZoneStatusResponse.
|
454
|
+
:rtype: list[str]
|
455
|
+
"""
|
456
|
+
return self._masters
|
457
|
+
|
458
|
+
@masters.setter
|
459
|
+
def masters(self, masters):
|
460
|
+
r"""Sets the masters of this UpdatePrivateZoneStatusResponse.
|
461
|
+
|
462
|
+
**参数解释:** 主从模式中,从DNS服务器获取DNS信息。目前暂未使用。 **取值范围:** 不涉及。
|
463
|
+
|
464
|
+
:param masters: The masters of this UpdatePrivateZoneStatusResponse.
|
465
|
+
:type masters: list[str]
|
466
|
+
"""
|
467
|
+
self._masters = masters
|
468
|
+
|
469
|
+
def to_dict(self):
|
470
|
+
"""Returns the model properties as a dict"""
|
471
|
+
result = {}
|
472
|
+
|
473
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
474
|
+
value = getattr(self, attr)
|
475
|
+
if isinstance(value, list):
|
476
|
+
result[attr] = list(map(
|
477
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
478
|
+
value
|
479
|
+
))
|
480
|
+
elif hasattr(value, "to_dict"):
|
481
|
+
result[attr] = value.to_dict()
|
482
|
+
elif isinstance(value, dict):
|
483
|
+
result[attr] = dict(map(
|
484
|
+
lambda item: (item[0], item[1].to_dict())
|
485
|
+
if hasattr(item[1], "to_dict") else item,
|
486
|
+
value.items()
|
487
|
+
))
|
488
|
+
else:
|
489
|
+
if attr in self.sensitive_list:
|
490
|
+
result[attr] = "****"
|
491
|
+
else:
|
492
|
+
result[attr] = value
|
493
|
+
|
494
|
+
return result
|
495
|
+
|
496
|
+
def to_str(self):
|
497
|
+
"""Returns the string representation of the model"""
|
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)
|
504
|
+
|
505
|
+
def __repr__(self):
|
506
|
+
"""For `print`"""
|
507
|
+
return self.to_str()
|
508
|
+
|
509
|
+
def __eq__(self, other):
|
510
|
+
"""Returns true if both objects are equal"""
|
511
|
+
if not isinstance(other, UpdatePrivateZoneStatusResponse):
|
512
|
+
return False
|
513
|
+
|
514
|
+
return self.__dict__ == other.__dict__
|
515
|
+
|
516
|
+
def __ne__(self, other):
|
517
|
+
"""Returns true if both objects are not equal"""
|
518
|
+
return not self == other
|
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class UpdatePtrRecordRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class UpdatePtrRecordRequest:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -35,7 +29,17 @@ class UpdatePtrRecordRequest:
|
|
35
29
|
}
|
36
30
|
|
37
31
|
def __init__(self, region=None, floatingip_id=None, body=None):
|
38
|
-
"""UpdatePtrRecordRequest
|
32
|
+
r"""UpdatePtrRecordRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param region: 域名所属的区域。
|
37
|
+
:type region: str
|
38
|
+
:param floatingip_id: 弹性公网IP(EIP)的ID。
|
39
|
+
:type floatingip_id: str
|
40
|
+
:param body: Body of the UpdatePtrRecordRequest
|
41
|
+
:type body: :class:`huaweicloudsdkdns.v2.UpdatePtrReq`
|
42
|
+
"""
|
39
43
|
|
40
44
|
|
41
45
|
|
@@ -51,8 +55,9 @@ class UpdatePtrRecordRequest:
|
|
51
55
|
|
52
56
|
@property
|
53
57
|
def region(self):
|
54
|
-
"""Gets the region of this UpdatePtrRecordRequest.
|
58
|
+
r"""Gets the region of this UpdatePtrRecordRequest.
|
55
59
|
|
60
|
+
域名所属的区域。
|
56
61
|
|
57
62
|
:return: The region of this UpdatePtrRecordRequest.
|
58
63
|
:rtype: str
|
@@ -61,18 +66,20 @@ class UpdatePtrRecordRequest:
|
|
61
66
|
|
62
67
|
@region.setter
|
63
68
|
def region(self, region):
|
64
|
-
"""Sets the region of this UpdatePtrRecordRequest.
|
69
|
+
r"""Sets the region of this UpdatePtrRecordRequest.
|
65
70
|
|
71
|
+
域名所属的区域。
|
66
72
|
|
67
73
|
:param region: The region of this UpdatePtrRecordRequest.
|
68
|
-
:type: str
|
74
|
+
:type region: str
|
69
75
|
"""
|
70
76
|
self._region = region
|
71
77
|
|
72
78
|
@property
|
73
79
|
def floatingip_id(self):
|
74
|
-
"""Gets the floatingip_id of this UpdatePtrRecordRequest.
|
80
|
+
r"""Gets the floatingip_id of this UpdatePtrRecordRequest.
|
75
81
|
|
82
|
+
弹性公网IP(EIP)的ID。
|
76
83
|
|
77
84
|
:return: The floatingip_id of this UpdatePtrRecordRequest.
|
78
85
|
:rtype: str
|
@@ -81,31 +88,30 @@ class UpdatePtrRecordRequest:
|
|
81
88
|
|
82
89
|
@floatingip_id.setter
|
83
90
|
def floatingip_id(self, floatingip_id):
|
84
|
-
"""Sets the floatingip_id of this UpdatePtrRecordRequest.
|
91
|
+
r"""Sets the floatingip_id of this UpdatePtrRecordRequest.
|
85
92
|
|
93
|
+
弹性公网IP(EIP)的ID。
|
86
94
|
|
87
95
|
:param floatingip_id: The floatingip_id of this UpdatePtrRecordRequest.
|
88
|
-
:type: str
|
96
|
+
:type floatingip_id: str
|
89
97
|
"""
|
90
98
|
self._floatingip_id = floatingip_id
|
91
99
|
|
92
100
|
@property
|
93
101
|
def body(self):
|
94
|
-
"""Gets the body of this UpdatePtrRecordRequest.
|
95
|
-
|
102
|
+
r"""Gets the body of this UpdatePtrRecordRequest.
|
96
103
|
|
97
104
|
:return: The body of this UpdatePtrRecordRequest.
|
98
|
-
:rtype: UpdatePtrReq
|
105
|
+
:rtype: :class:`huaweicloudsdkdns.v2.UpdatePtrReq`
|
99
106
|
"""
|
100
107
|
return self._body
|
101
108
|
|
102
109
|
@body.setter
|
103
110
|
def body(self, body):
|
104
|
-
"""Sets the body of this UpdatePtrRecordRequest.
|
105
|
-
|
111
|
+
r"""Sets the body of this UpdatePtrRecordRequest.
|
106
112
|
|
107
113
|
:param body: The body of this UpdatePtrRecordRequest.
|
108
|
-
:type: UpdatePtrReq
|
114
|
+
:type body: :class:`huaweicloudsdkdns.v2.UpdatePtrReq`
|
109
115
|
"""
|
110
116
|
self._body = body
|
111
117
|
|
@@ -138,10 +144,15 @@ class UpdatePtrRecordRequest:
|
|
138
144
|
|
139
145
|
def to_str(self):
|
140
146
|
"""Returns the string representation of the model"""
|
141
|
-
|
147
|
+
import simplejson as json
|
148
|
+
if six.PY2:
|
149
|
+
import sys
|
150
|
+
reload(sys)
|
151
|
+
sys.setdefaultencoding("utf-8")
|
152
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
142
153
|
|
143
154
|
def __repr__(self):
|
144
|
-
"""For `print`
|
155
|
+
"""For `print`"""
|
145
156
|
return self.to_str()
|
146
157
|
|
147
158
|
def __eq__(self, other):
|