// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Run started by an inbound email.
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct EmailTrigger {
    /// Defaults to `email`.
    #[serde(rename = "type")]
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub type_: Option<String>,
    /// Sender email address, when known
    ///
    /// Defaults to ``.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub sender: Option<String>,
    /// Email subject, when known
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub subject: Option<String>,
}
