use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SearchSuggestionsAttributes {
#[serde(rename = "history", skip_serializing_if = "Option::is_none")]
pub history: Option<Vec<models::SearchSuggestionsHistory>>,
#[serde(rename = "suggestions", skip_serializing_if = "Option::is_none")]
pub suggestions: Option<Vec<models::SearchSuggestionsSuggestions>>,
#[serde(rename = "trackingId")]
pub tracking_id: String,
}
impl SearchSuggestionsAttributes {
pub fn new(tracking_id: String) -> SearchSuggestionsAttributes {
SearchSuggestionsAttributes {
history: None,
suggestions: None,
tracking_id,
}
}
}