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