/*
* 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};
/// ThroughputCap : The throughput capacity
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ThroughputCap {
/// An unsigned integer that can be only positive or zero.
#[serde(rename = "value", skip_serializing_if = "Option::is_none")]
pub value: Option<i32>,
#[serde(rename = "timeUnit", skip_serializing_if = "Option::is_none")]
pub time_unit: Option<models::supply_sources_2020_07_01::TimeUnit>,
}
impl ThroughputCap {
/// The throughput capacity
pub fn new() -> ThroughputCap {
ThroughputCap {
value: None,
time_unit: None,
}
}
}