//! This code was AUTOGENERATED using the Codama library.
use {crate::types::graphql::CompressionProofGraphQL, juniper::GraphQLObject};

#[derive(Debug, Clone, GraphQLObject)]
#[graphql(name = "BurnV1Args")]
pub struct BurnV1ArgsGraphQL {
    pub compression_proof: Option<CompressionProofGraphQL>,
}

impl From<crate::types::BurnV1Args> for BurnV1ArgsGraphQL {
    fn from(original: crate::types::BurnV1Args) -> Self {
        Self {
            compression_proof: original.compression_proof.map(|v| v.into()),
        }
    }
}
