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

#[derive(Debug, Clone, GraphQLObject)]
#[graphql(name = "ApproveCollectionPluginAuthorityV1Args")]
pub struct ApproveCollectionPluginAuthorityV1ArgsGraphQL {
    pub plugin_type: PluginTypeGraphQL,
    pub new_authority: AuthorityGraphQL,
}

impl From<crate::types::ApproveCollectionPluginAuthorityV1Args>
    for ApproveCollectionPluginAuthorityV1ArgsGraphQL
{
    fn from(original: crate::types::ApproveCollectionPluginAuthorityV1Args) -> Self {
        Self {
            plugin_type: original.plugin_type.into(),
            new_authority: original.new_authority.into(),
        }
    }
}
