Skip to main content

amazon_spapi/models/fba_inventory/
create_inventory_item_response.rs

1/*
2 * Selling Partner API for FBA Inventory
3 *
4 * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// CreateInventoryItemResponse : The response schema for the CreateInventoryItem operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CreateInventoryItemResponse {
17    /// A list of error responses returned when a request is unsuccessful.
18    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
19    pub errors: Option<Vec<models::fba_inventory::Error>>,
20}
21
22impl CreateInventoryItemResponse {
23    /// The response schema for the CreateInventoryItem operation.
24    pub fn new() -> CreateInventoryItemResponse {
25        CreateInventoryItemResponse {
26            errors: None,
27        }
28    }
29}
30