/*
* Account API
*
* # Introduction The Account API allows you to manage projects. Project is Scaleway’s resource management feature. Designed to help you organize your infrastructure and cloud services, the feature allows resources to be isolated and grouped into specific projects.
*
* The version of the OpenAPI document: v2
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct UpdateDnsZoneRequest {
/// The new DNS zone
#[serde(rename = "new_dns_zone", deserialize_with = "Option::deserialize")]
pub new_dns_zone: Option<String>,
/// The project ID of the new DNS zone
#[serde(rename = "project_id")]
pub project_id: String,
}
impl UpdateDnsZoneRequest {
pub fn new(new_dns_zone: Option<String>, project_id: String) -> UpdateDnsZoneRequest {
UpdateDnsZoneRequest {
new_dns_zone,
project_id,
}
}
}