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

#[derive(Debug, Clone, GraphQLObject)]
#[graphql(name = "Attribute")]
pub struct AttributeGraphQL {
    pub key: String,
    pub value: String,
}

impl From<crate::types::Attribute> for AttributeGraphQL {
    fn from(original: crate::types::Attribute) -> Self {
        Self {
            key: original.key,
            value: original.value,
        }
    }
}
