amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * 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};

/// ContactDetails : The contact details
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ContactDetails {
    #[serde(rename = "primary", skip_serializing_if = "Option::is_none")]
    pub primary: Option<Box<models::supply_sources_2020_07_01::ContactDetailsPrimary>>,
}

impl ContactDetails {
    /// The contact details
    pub fn new() -> ContactDetails {
        ContactDetails {
            primary: None,
        }
    }
}