use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UndeleteCollectionResponse {
#[serde(rename = "collection_id")]
pub collection_id: String,
#[serde(rename = "excluded_product_ids")]
pub excluded_product_ids: Vec<String>,
#[serde(rename = "message")]
pub message: String,
}
impl UndeleteCollectionResponse {
pub fn new(collection_id: String, excluded_product_ids: Vec<String>, message: String) -> UndeleteCollectionResponse {
UndeleteCollectionResponse {
collection_id,
excluded_product_ids,
message,
}
}
}