windmill_api/models/
get_workspace_slack_oauth_config_200_response.rs

1/*
2 * Windmill 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.592.1
7 * Contact: contact@windmill.dev
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 GetWorkspaceSlackOauthConfig200Response {
16    #[serde(rename = "slack_oauth_client_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
17    pub slack_oauth_client_id: Option<Option<String>>,
18    /// Masked with *** if set
19    #[serde(rename = "slack_oauth_client_secret", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
20    pub slack_oauth_client_secret: Option<Option<String>>,
21}
22
23impl GetWorkspaceSlackOauthConfig200Response {
24    pub fn new() -> GetWorkspaceSlackOauthConfig200Response {
25        GetWorkspaceSlackOauthConfig200Response {
26            slack_oauth_client_id: None,
27            slack_oauth_client_secret: None,
28        }
29    }
30}
31