amazon-spapi 2.0.3

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

/// GetShipmentItemsResult : Result for the get shipment items operation
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetShipmentItemsResult {
    /// A list of inbound shipment item information.
    #[serde(rename = "ItemData", skip_serializing_if = "Option::is_none")]
    pub item_data: Option<Vec<models::fulfillment_inbound_v0::InboundShipmentItem>>,
    /// 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 GetShipmentItemsResult {
    /// Result for the get shipment items operation
    pub fn new() -> GetShipmentItemsResult {
        GetShipmentItemsResult {
            item_data: None,
            next_token: None,
        }
    }
}