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

#[derive(Debug, Clone, GraphQLEnum)]
#[graphql(name = "UpdateType")]
pub enum UpdateTypeGraphQL {
    Mint,
    Add,
    Remove,
}

impl From<crate::types::UpdateType> for UpdateTypeGraphQL {
    fn from(original: crate::types::UpdateType) -> Self {
        match original {
            crate::types::UpdateType::Mint => Self::Mint,
            crate::types::UpdateType::Add => Self::Add,
            crate::types::UpdateType::Remove => Self::Remove,
        }
    }
}
