square_api_client/models/
catalog_info_response_limits.rs

1//! Model struct for CatalogInfoResponseLimits type
2
3use serde::Deserialize;
4
5/// Limits that apply to the Catalog Info API.
6#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
7pub struct CatalogInfoResponseLimits {
8    /// The maximum number of objects that may appear within a single batch in a
9    /// `/v2/catalog/batch-upsert` request.
10    pub batch_upsert_max_objects_per_batch: Option<i32>,
11    /// The maximum number of objects that may appear across all batches in a
12    /// `/v2/catalog/batch-upsert` request.
13    pub batch_upsert_max_total_objects: Option<i32>,
14    /// The maximum number of object IDs that may appear in a `/v2/catalog/batch-retrieve` request.
15    pub batch_retrieve_max_object_ids: Option<i32>,
16    /// The maximum number of results that may be returned in a page of a `/v2/catalog/search`
17    /// response.
18    pub search_max_page_limit: Option<i32>,
19    /// The maximum number of object IDs that may be included in a single
20    /// `/v2/catalog/batch-delete` request.
21    pub batch_delete_max_object_ids: Option<i32>,
22    /// The maximum number of item IDs that may be included in a single
23    /// `/v2/catalog/update-item-taxes` request.
24    pub update_item_taxes_max_item_ids: Option<i32>,
25    /// The maximum number of tax IDs to be enabled that may be included in a single
26    /// `/v2/catalog/update-item-taxes` request.
27    pub update_item_taxes_max_taxes_to_enable: Option<i32>,
28    /// The maximum number of tax IDs to be disabled that may be included in a single
29    /// `/v2/catalog/update-item-taxes` request.
30    pub update_item_taxes_max_taxes_to_disable: Option<i32>,
31    /// The maximum number of item IDs that may be included in a single
32    /// `/v2/catalog/update-item-modifier-lists` request.
33    pub update_item_modifier_lists_max_item_ids: Option<i32>,
34    /// The maximum number of modifier list IDs to be enabled that may be included in a single
35    /// `/v2/catalog/update-item-modifier-lists` request.
36    pub update_item_modifier_lists_max_modifier_lists_to_enable: Option<i32>,
37    /// The maximum number of modifier list IDs to be disabled that may be included in a single
38    /// `/v2/catalog/update-item-modifier-lists` request.
39    pub update_item_modifier_lists_max_modifier_lists_to_disable: Option<i32>,
40}