mattermost_client/openapi/models/
environment_config_support_settings.rs

1/*
2 * Mattermost API Reference
3 *
4 * There is also a work-in-progress [Postman API reference](https://documenter.getpostman.com/view/4508214/RW8FERUn).
5 *
6 * The version of the OpenAPI document: 4.0.0
7 * Contact: feedback@mattermost.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Default, serde::Serialize, serde::Deserialize)]
12pub struct EnvironmentConfigSupportSettings {
13    #[serde(rename = "TermsOfServiceLink", skip_serializing_if = "Option::is_none")]
14    pub terms_of_service_link: Option<bool>,
15    #[serde(rename = "PrivacyPolicyLink", skip_serializing_if = "Option::is_none")]
16    pub privacy_policy_link: Option<bool>,
17    #[serde(rename = "AboutLink", skip_serializing_if = "Option::is_none")]
18    pub about_link: Option<bool>,
19    #[serde(rename = "HelpLink", skip_serializing_if = "Option::is_none")]
20    pub help_link: Option<bool>,
21    #[serde(rename = "ReportAProblemLink", skip_serializing_if = "Option::is_none")]
22    pub report_a_problem_link: Option<bool>,
23    #[serde(rename = "SupportEmail", skip_serializing_if = "Option::is_none")]
24    pub support_email: Option<bool>,
25}
26
27impl EnvironmentConfigSupportSettings {
28    pub fn new() -> EnvironmentConfigSupportSettings {
29        EnvironmentConfigSupportSettings {
30            terms_of_service_link: None,
31            privacy_policy_link: None,
32            about_link: None,
33            help_link: None,
34            report_a_problem_link: None,
35            support_email: None,
36        }
37    }
38}