/*
* The Selling Partner API for Amazon Warehousing and Distribution
*
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
*
* The version of the OpenAPI document: 2024-05-09
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// ShipmentLabels : Shipment labels.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ShipmentLabels {
/// The URL to download shipment labels. The URL is active for 600 seconds from generation.
#[serde(rename = "labelDownloadURL", skip_serializing_if = "Option::is_none")]
pub label_download_url: Option<String>,
#[serde(rename = "labelStatus")]
pub label_status: models::awd_2024_05_09::LabelStatus,
}
impl ShipmentLabels {
/// Shipment labels.
pub fn new(label_status: models::awd_2024_05_09::LabelStatus) -> ShipmentLabels {
ShipmentLabels {
label_download_url: None,
label_status,
}
}
}