warframe_client/models/
event_all_of_message.rs

1/*
2 * WarframeStat.us API
3 *
4 * Simple API for data from the game Warframe. [Parser Docs](https://wfcd.github.io/warframe-worldstate-parser/) [Items Types](https://github.com/WFCD/warframe-items/blob/master/index.d.ts) 
5 *
6 * The version of the OpenAPI document: 2.0.8
7 * Contact: tobiah@protonmail.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct EventAllOfMessage {
16    /// Who commissioned this reward
17    #[serde(rename = "sender", skip_serializing_if = "Option::is_none")]
18    pub sender: Option<String>,
19    /// Title of the in-game mail received for completing the step.
20    #[serde(rename = "subject", skip_serializing_if = "Option::is_none")]
21    pub subject: Option<String>,
22    /// Body of the in-game mail received for completing the step.
23    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
24    pub message: Option<String>,
25    /// Path to sender icon string.
26    #[serde(rename = "senderIcon", skip_serializing_if = "Option::is_none")]
27    pub sender_icon: Option<String>,
28    /// Attachments to the message. Unknown usage.
29    #[serde(rename = "attachments", skip_serializing_if = "Option::is_none")]
30    pub attachments: Option<Vec<String>>,
31}
32
33impl EventAllOfMessage {
34    pub fn new() -> EventAllOfMessage {
35        EventAllOfMessage {
36            sender: None,
37            subject: None,
38            message: None,
39            sender_icon: None,
40            attachments: None,
41        }
42    }
43}
44