using System.Xml; using System.Xml.Serialization; namespace SabreTools.Models.Listxml { [XmlRoot("device")] public class Device { [XmlAttribute("type")] public string Type { get; set; } [XmlAttribute("tag")] public string? Tag { get; set; } [XmlAttribute("fixed_image")] public string? FixedImage { get; set; } [XmlAttribute("mandatory")] public string? Mandatory { get; set; } [XmlAttribute("interface")] public string? Interface { get; set; } [XmlElement("instance")] public Instance? Instance { get; set; } [XmlElement("extension")] public Extension[]? Extension { 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 } }