2025-09-26 10:20:48 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.Listxml
|
2025-09-26 10:20:48 -04:00
|
|
|
{
|
|
|
|
|
[XmlRoot("confsetting")]
|
|
|
|
|
public class ConfSetting
|
|
|
|
|
{
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlAttribute("name")]
|
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlAttribute("value")]
|
|
|
|
|
public string? Value { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
|
|
|
[XmlAttribute("default")]
|
2026-04-01 16:52:55 -04:00
|
|
|
public bool? Default { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlElement("condition")]
|
|
|
|
|
public Condition? Condition { get; set; }
|
|
|
|
|
}
|
2026-01-27 12:03:01 -05:00
|
|
|
}
|