/*
* TIDAL API
*
* The TIDAL API is a [JSON:API](https://jsonapi.org/)–compliant web API that exposes TIDAL’s music, metadata, and user-related functionality through a consistent, resource-oriented design. More information and API management are available at [developer.tidal.com](developer.tidal.com)
*
* The version of the OpenAPI document: 1.0.36
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
#[serde(default)]
pub struct SearchResultsAttributes {
/// 'did you mean' prompt
#[serde(rename = "didYouMean", skip_serializing_if = "Option::is_none")]
pub did_you_mean: Option<String>,
/// search request unique tracking number
#[serde(rename = "trackingId")]
pub tracking_id: String,
}
impl SearchResultsAttributes {
pub fn new(tracking_id: String) -> SearchResultsAttributes {
SearchResultsAttributes {
did_you_mean: None,
tracking_id,
}
}
}