memos_api/models/
apiv1_workspace_custom_profile.rs

1/*
2 * Memos API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0.0
7 * 
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 Apiv1WorkspaceCustomProfile {
16    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
17    pub title: Option<String>,
18    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
19    pub description: Option<String>,
20    #[serde(rename = "logoUrl", skip_serializing_if = "Option::is_none")]
21    pub logo_url: Option<String>,
22    #[serde(rename = "locale", skip_serializing_if = "Option::is_none")]
23    pub locale: Option<String>,
24    #[serde(rename = "appearance", skip_serializing_if = "Option::is_none")]
25    pub appearance: Option<String>,
26}
27
28impl Apiv1WorkspaceCustomProfile {
29    pub fn new() -> Apiv1WorkspaceCustomProfile {
30        Apiv1WorkspaceCustomProfile {
31            title: None,
32            description: None,
33            logo_url: None,
34            locale: None,
35            appearance: None,
36        }
37    }
38}
39