square_api_client/models/batch_delete_catalog_objects_response.rs
1//! Response struct for the Batch Delete Catalog Objects API
2
3use serde::Deserialize;
4
5use super::{errors::Error, DateTime};
6
7/// This is a model struct for BatchDeleteCatalogObjectsResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct BatchDeleteCatalogObjectsResponse {
10 /// The IDs of all CatalogObjects deleted by this request.
11 pub deleted_object_ids: Option<Vec<String>>,
12 /// The database timestamp of this deletion.
13 pub deleted_at: Option<DateTime>,
14 /// Any errors that occurred during the request.
15 pub errors: Option<Vec<Error>>,
16}