// <copyright file="PresetConfigurationItem.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace Jellyfin.Database.Implementations.DbConfiguration;

using System.Xml.Serialization;

/// <summary>
/// Represents a key-value pair for XML serialization of preset configurations.
/// </summary>
public class PresetConfigurationItem
{
    /// <summary>
    /// Gets or sets the key (name) of the preset.
    /// </summary>
    [XmlElement("key")]
    public string? Key { get; set; }

    /// <summary>
    /// Gets or sets the preset configuration value.
    /// </summary>
    [XmlElement("value")]
    public PresetDatabaseConfiguration? Value { get; set; }
}
