amazon_spapi/models/fulfillment_inbound_v0/
get_shipment_items_response.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/// GetShipmentItemsResponse : The response schema for the getShipmentItems operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GetShipmentItemsResponse {
17    #[serde(rename = "payload", skip_serializing_if = "Option::is_none")]
18    pub payload: Option<Box<models::fulfillment_inbound_v0::GetShipmentItemsResult>>,
19    /// A list of error responses returned when a request is unsuccessful.
20    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
21    pub errors: Option<Vec<models::fulfillment_inbound_v0::Error>>,
22}
23
24impl GetShipmentItemsResponse {
25    /// The response schema for the getShipmentItems operation.
26    pub fn new() -> GetShipmentItemsResponse {
27        GetShipmentItemsResponse {
28            payload: None,
29            errors: None,
30        }
31    }
32}
33