Skip to main content

atrium_api/tools/ozone/communication/
defs.rs

1// @generated - This file is generated by atrium-codegen. DO NOT EDIT.
2//!Definitions for the `tools.ozone.communication.defs` namespace.
3#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
4#[serde(rename_all = "camelCase")]
5pub struct TemplateViewData {
6    ///Subject of the message, used in emails.
7    pub content_markdown: String,
8    pub created_at: crate::types::string::Datetime,
9    pub disabled: bool,
10    pub id: String,
11    ///Message language.
12    #[serde(skip_serializing_if = "core::option::Option::is_none")]
13    pub lang: core::option::Option<crate::types::string::Language>,
14    ///DID of the user who last updated the template.
15    pub last_updated_by: crate::types::string::Did,
16    ///Name of the template.
17    pub name: String,
18    ///Content of the template, can contain markdown and variable placeholders.
19    #[serde(skip_serializing_if = "core::option::Option::is_none")]
20    pub subject: core::option::Option<String>,
21    pub updated_at: crate::types::string::Datetime,
22}
23pub type TemplateView = crate::types::Object<TemplateViewData>;