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

/// AddInventoryResponse : The response schema for the AddInventory operation.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AddInventoryResponse {
    /// A list of error responses returned when a request is unsuccessful.
    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
    pub errors: Option<Vec<models::fba_inventory::Error>>,
}

impl AddInventoryResponse {
    /// The response schema for the AddInventory operation.
    pub fn new() -> AddInventoryResponse {
        AddInventoryResponse {
            errors: None,
        }
    }
}