amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner API for FBA Inventory
 *
 * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// AddInventoryRequest : The object with the list of Inventory to be added
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AddInventoryRequest {
    /// List of Inventory to be added
    #[serde(rename = "inventoryItems", skip_serializing_if = "Option::is_none")]
    pub inventory_items: Option<Vec<models::fba_inventory::InventoryItem>>,
}

impl AddInventoryRequest {
    /// The object with the list of Inventory to be added
    pub fn new() -> AddInventoryRequest {
        AddInventoryRequest {
            inventory_items: None,
        }
    }
}