using System.Xml; using System.Xml.Serialization; namespace SabreTools.Models.Listxml { [XmlRoot("m1")] public class M1 { [XmlAttribute("version")] public string? Version { get; set; } [XmlElement("machine", typeof(Machine))] [XmlElement("game", typeof(Game))] public GameBase[]? Game { get; set; } #region DO NOT USE IN PRODUCTION /// Should be empty [XmlAnyAttribute] public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; } /// Should be empty [XmlAnyElement] public object[]? ADDITIONAL_ELEMENTS { get; set; } #endregion } }