windmill_api/models/
get_workspace_slack_oauth_config_200_response.rs1use 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 #[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