dtz_core/models/
chat_timeline_inner.rs

1/*
2 * DTZ Core Api
3 *
4 * a generated client for the DTZ Core API
5 *
6 * Contact: jens@apimeister.com
7 * Generated by: https://openapi-generator.tech
8 */
9
10#[allow(unused_imports)]
11use crate::models;
12#[allow(unused_imports)]
13use serde::{Deserialize, Serialize};
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ChatTimelineInner {
17    #[serde(rename = "created", skip_serializing_if = "Option::is_none")]
18    pub created: Option<String>,
19    #[serde(rename = "content", skip_serializing_if = "Option::is_none")]
20    pub content: Option<String>,
21    #[serde(rename = "identityId", skip_serializing_if = "Option::is_none")]
22    pub identity_id: Option<dtz_identifier::IdentityId>,
23}
24
25impl ChatTimelineInner {
26    pub fn new() -> ChatTimelineInner {
27        ChatTimelineInner {
28            created: None,
29            content: None,
30            identity_id: None,
31        }
32    }
33}
34