use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RecommendationsWithoutClicksCtrResponse {
#[serde(rename = "created_at")]
pub created_at: String,
#[serde(rename = "negative_ids", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub negative_ids: Option<Option<Vec<String>>>,
#[serde(rename = "negative_tracking_ids", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub negative_tracking_ids: Option<Option<Vec<String>>>,
#[serde(rename = "positive_ids", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub positive_ids: Option<Option<Vec<String>>>,
#[serde(rename = "positive_tracking_ids", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub positive_tracking_ids: Option<Option<Vec<String>>>,
}
impl RecommendationsWithoutClicksCtrResponse {
pub fn new(created_at: String) -> RecommendationsWithoutClicksCtrResponse {
RecommendationsWithoutClicksCtrResponse {
created_at,
negative_ids: None,
negative_tracking_ids: None,
positive_ids: None,
positive_tracking_ids: None,
}
}
}