/*
* Selling Partner API for Supply Sources
*
* Manage configurations and capabilities of seller supply sources.
*
* The version of the OpenAPI document: 2020-07-01
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ContactDetailsPrimary {
/// The email address to which email messages are delivered.
#[serde(rename = "email", skip_serializing_if = "Option::is_none")]
pub email: Option<String>,
/// The phone number of the person, business or institution.
#[serde(rename = "phone", skip_serializing_if = "Option::is_none")]
pub phone: Option<String>,
}
impl ContactDetailsPrimary {
pub fn new() -> ContactDetailsPrimary {
ContactDetailsPrimary {
email: None,
phone: None,
}
}
}