use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Contacts {
#[serde(rename = "admin", skip_serializing_if = "Option::is_none")]
pub admin: Option<Box<models::Registrant>>,
#[serde(rename = "billing", skip_serializing_if = "Option::is_none")]
pub billing: Option<Box<models::Registrant>>,
#[serde(rename = "registrant", skip_serializing_if = "Option::is_none")]
pub registrant: Option<Box<models::Registrant>>,
#[serde(rename = "tech", skip_serializing_if = "Option::is_none")]
pub tech: Option<Box<models::Registrant>>,
}
impl Contacts {
pub fn new() -> Contacts {
Contacts {
admin: None,
billing: None,
registrant: None,
tech: None,
}
}
}