using System.Xml; using System.Xml.Serialization; namespace SabreTools.Data.Models.Listxml { [XmlRoot("input")] public class Input { /// (yes|no) "no" [XmlAttribute("service")] public bool? Service { get; set; } /// (yes|no) "no" [XmlAttribute("tilt")] public bool? Tilt { get; set; } [Required] [XmlAttribute("players")] public long? Players { get; set; } /// Only present in older versions [XmlAttribute("control")] public string? ControlAttr { get; set; } /// Only present in older versions [XmlAttribute("buttons")] public long? Buttons { get; set; } [XmlAttribute("coins")] public long? Coins { get; set; } [XmlElement("control")] public Control[]? Control { get; set; } } }