amazon_spapi/models/fulfillment_inbound_v0/get_shipment_items_result.rs
1/*
2 * Selling Partner API for Fulfillment Inbound
3 *
4 * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.
5 *
6 * The version of the OpenAPI document: v0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// GetShipmentItemsResult : Result for the get shipment items operation
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GetShipmentItemsResult {
17 /// A list of inbound shipment item information.
18 #[serde(rename = "ItemData", skip_serializing_if = "Option::is_none")]
19 pub item_data: Option<Vec<models::fulfillment_inbound_v0::InboundShipmentItem>>,
20 /// When present and not empty, pass this string token in the next request to return the next response page.
21 #[serde(rename = "NextToken", skip_serializing_if = "Option::is_none")]
22 pub next_token: Option<String>,
23}
24
25impl GetShipmentItemsResult {
26 /// Result for the get shipment items operation
27 pub fn new() -> GetShipmentItemsResult {
28 GetShipmentItemsResult {
29 item_data: None,
30 next_token: None,
31 }
32 }
33}
34