square_api_client/models/delete_catalog_object_response.rs
1//! Response struct for the Delete Catalog Object API
2
3use serde::Deserialize;
4
5use super::{errors::Error, DateTime};
6
7/// This is a model struct for DeleteCatalogObjectResponse type
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct DeleteCatalogObjectResponse {
10 /// Any errors that occurred during the request.
11 pub errors: Option<Vec<Error>>,
12 /// The IDs of all catalog objects deleted by this request. Multiple IDs may be returned when
13 /// associated objects are also deleted, for example a catalog item variation will be deleted
14 /// (and its ID included in this field) when its parent catalog item is deleted.
15 pub deleted_object_ids: Option<Vec<String>>,
16 /// The database timestamp of this deletion.
17 pub deleted_at: Option<DateTime>,
18}