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};

/// GetPrepInstructionsResult : Result for the get prep instructions operation
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetPrepInstructionsResult {
    /// A list of SKU labeling requirements and item preparation instructions.
    #[serde(rename = "SKUPrepInstructionsList", skip_serializing_if = "Option::is_none")]
    pub sku_prep_instructions_list: Option<Vec<models::fulfillment_inbound_v0::SkuPrepInstructions>>,
    /// A list of invalid SKU values and the reason they are invalid.
    #[serde(rename = "InvalidSKUList", skip_serializing_if = "Option::is_none")]
    pub invalid_sku_list: Option<Vec<models::fulfillment_inbound_v0::InvalidSku>>,
    /// A list of item preparation instructions.
    #[serde(rename = "ASINPrepInstructionsList", skip_serializing_if = "Option::is_none")]
    pub asin_prep_instructions_list: Option<Vec<models::fulfillment_inbound_v0::AsinPrepInstructions>>,
    /// A list of invalid ASIN values and the reasons they are invalid.
    #[serde(rename = "InvalidASINList", skip_serializing_if = "Option::is_none")]
    pub invalid_asin_list: Option<Vec<models::fulfillment_inbound_v0::InvalidAsin>>,
}

impl GetPrepInstructionsResult {
    /// Result for the get prep instructions operation
    pub fn new() -> GetPrepInstructionsResult {
        GetPrepInstructionsResult {
            sku_prep_instructions_list: None,
            invalid_sku_list: None,
            asin_prep_instructions_list: None,
            invalid_asin_list: None,
        }
    }
}