sonarr_api_rs/models/
tracked_download_status_message.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct TrackedDownloadStatusMessage {
16 #[serde(rename = "title", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
17 pub title: Option<Option<String>>,
18 #[serde(rename = "messages", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
19 pub messages: Option<Option<Vec<String>>>,
20}
21
22impl TrackedDownloadStatusMessage {
23 pub fn new() -> TrackedDownloadStatusMessage {
24 TrackedDownloadStatusMessage {
25 title: None,
26 messages: None,
27 }
28 }
29}
30