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

#[derive(Debug, Clone, GraphQLObject)]
#[graphql(name = "UpdateExternalPluginAdapterV1Args")]
pub struct UpdateExternalPluginAdapterV1ArgsGraphQL {
    pub key: ExternalPluginAdapterKeyGraphQL,
    pub update_info: ExternalPluginAdapterUpdateInfoGraphQL,
}

impl From<crate::types::UpdateExternalPluginAdapterV1Args>
    for UpdateExternalPluginAdapterV1ArgsGraphQL
{
    fn from(original: crate::types::UpdateExternalPluginAdapterV1Args) -> Self {
        Self {
            key: original.key.into(),
            update_info: original.update_info.into(),
        }
    }
}
