square_api_client/models/update_item_modifier_lists_request.rs
1//! Request struct for the Update Item Modifier Lists API
2
3use serde::Serialize;
4
5/// This is a model struct for UpdateItemModifierListsRequest type.
6#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
7pub struct UpdateItemModifierListsRequest {
8 /// The IDs of the catalog items associated with the CatalogModifierList objects being updated.
9 pub item_ids: Vec<String>,
10 /// The IDs of the CatalogModifierList objects to enable for the CatalogItem. At least one of
11 /// `modifier_lists_to_enable` or `modifier_lists_to_disable` must be specified.
12 pub modifier_lists_to_enable: Option<Vec<String>>,
13 /// The IDs of the CatalogModifierList objects to disable for the CatalogItem. At least one of
14 /// `modifier_lists_to_enable` or `modifier_lists_to_disable` must be specified.
15 pub modifier_lists_to_disable: Option<Vec<String>>,
16}