#region ========================================================================= USING =====================================================================================
using System;
#endregion
namespace Lumina.Contracts.Responses.Plugins;
///
/// Represents a metadata provider, either as configured for a media library, or as available for a library type, the way a new library of that type starts.
///
/// The unique identifier of the plugin providing the metadata.
/// The display name of the metadata provider.
/// Whether the metadata provider is enabled for the media library. Always for a provider available for a library type, since a new provider starts disabled.
/// The rank of the metadata provider, determining the order in which providers are tried. For a provider available for a library type, it is the rank a new library starts with, in alphabetical order of the plugin names.
public sealed record LibraryMetadataProviderResponse(
Guid PluginId,
string Name,
bool IsEnabled,
int Rank
);