windmill-api 1.684.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.684.1
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SetWorkspaceSlackOauthConfigRequest {
    #[serde(rename = "slack_oauth_client_id")]
    pub slack_oauth_client_id: String,
    #[serde(rename = "slack_oauth_client_secret")]
    pub slack_oauth_client_secret: String,
}

impl SetWorkspaceSlackOauthConfigRequest {
    pub fn new(slack_oauth_client_id: String, slack_oauth_client_secret: String) -> SetWorkspaceSlackOauthConfigRequest {
        SetWorkspaceSlackOauthConfigRequest {
            slack_oauth_client_id,
            slack_oauth_client_secret,
        }
    }
}