windmill-api 1.684.0

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.0
 * 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 ExistsEmailLocalPartRequest {
    #[serde(rename = "local_part")]
    pub local_part: String,
    #[serde(rename = "workspaced_local_part", skip_serializing_if = "Option::is_none")]
    pub workspaced_local_part: Option<bool>,
    #[serde(rename = "trigger_path", skip_serializing_if = "Option::is_none")]
    pub trigger_path: Option<String>,
}

impl ExistsEmailLocalPartRequest {
    pub fn new(local_part: String) -> ExistsEmailLocalPartRequest {
        ExistsEmailLocalPartRequest {
            local_part,
            workspaced_local_part: None,
            trigger_path: None,
        }
    }
}