// 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 message.
#[derive(Debug, Clone, 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
    pub sender: String,
    /// Email subject line
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub subject: Option<String>,
}
