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