square_api_client/models/batch_delete_catalog_objects_request.rs
1//! Request struct for the Batch Delete Catalog Objects API
2
3use serde::Serialize;
4
5/// This is a model class for BatchDeleteCatalogObjectsRequest type.
6#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
7pub struct BatchDeleteCatalogObjectsRequest {
8 pub location_id: Option<String>,
9 /// The IDs of the CatalogObjects to be deleted. When an object is deleted, other objects in the
10 /// graph that depend on that object will be deleted as well (for example, deleting a
11 /// CatalogItem will delete its CatalogItemVariation.
12 pub object_ids: Vec<String>,
13}