square_api_client/models/batch_retrieve_inventory_changes_response.rs
1//! Model struct for BatchRetrieveInventoryChangesResponse type
2
3use serde::Deserialize;
4
5use super::{errors::Error, InventoryChange};
6
7/// This is a model struct for BatchRetrieveInventoryChangesResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct BatchRetrieveInventoryChangesResponse {
10 /// Any errors that occurred during the request.
11 pub errors: Option<Vec<Error>>,
12 /// The current counts for all objects referenced in the request.
13 pub changes: Option<Vec<InventoryChange>>,
14 /// The pagination cursor to be used in a subsequent request. If unset, this is the final response.
15 pub cursor: Option<String>,
16}