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

/// DeleteInventoryItemResponse : The response schema for the DeleteInventoryItem operation.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DeleteInventoryItemResponse {
    /// 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 DeleteInventoryItemResponse {
    /// The response schema for the DeleteInventoryItem operation.
    pub fn new() -> DeleteInventoryItemResponse {
        DeleteInventoryItemResponse {
            errors: None,
        }
    }
}