//! This code was AUTOGENERATED using the Codama library.
use juniper::GraphQLEnum;

#[derive(Debug, Clone, GraphQLEnum)]
#[graphql(name = "ExternalValidationResult")]
pub enum ExternalValidationResultGraphQL {
    Approved,
    Rejected,
    Pass,
}

impl From<crate::types::ExternalValidationResult> for ExternalValidationResultGraphQL {
    fn from(original: crate::types::ExternalValidationResult) -> Self {
        match original {
            crate::types::ExternalValidationResult::Approved => Self::Approved,
            crate::types::ExternalValidationResult::Rejected => Self::Rejected,
            crate::types::ExternalValidationResult::Pass => Self::Pass,
        }
    }
}
