/*
* Selling Partner API for Fulfillment Inbound
*
* The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.
*
* The version of the OpenAPI document: v0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// GetShipmentsResult : Result for the get shipments operation
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetShipmentsResult {
/// A list of inbound shipment information.
#[serde(rename = "ShipmentData", skip_serializing_if = "Option::is_none")]
pub shipment_data: Option<Vec<models::fulfillment_inbound_v0::InboundShipmentInfo>>,
/// When present and not empty, pass this string token in the next request to return the next response page.
#[serde(rename = "NextToken", skip_serializing_if = "Option::is_none")]
pub next_token: Option<String>,
}
impl GetShipmentsResult {
/// Result for the get shipments operation
pub fn new() -> GetShipmentsResult {
GetShipmentsResult {
shipment_data: None,
next_token: None,
}
}
}