using System.Xml; using System.Xml.Serialization; namespace SabreTools.Models.Listxml { [XmlRoot("display")] public class Display { [XmlAttribute("tag")] public string? Tag { get; set; } /// (raster|vector|lcd|svg|unknown) [Required] [XmlAttribute("type")] public string? Type { get; set; } /// (0|90|180|270) [XmlAttribute("rotate")] public string? Rotate { get; set; } /// (yes|no) "no" [XmlAttribute("flipx")] public string? FlipX { get; set; } /// Numeric [XmlAttribute("width")] public string? Width { get; set; } /// Numeric [XmlAttribute("height")] public string? Height { get; set; } /// Numeric [Required] [XmlAttribute("refresh")] public string? Refresh { get; set; } /// Numeric [XmlAttribute("pixclock")] public string? PixClock { get; set; } /// Numeric [XmlAttribute("htotal")] public string? HTotal { get; set; } /// Numeric [XmlAttribute("hbend")] public string? HBEnd { get; set; } /// Numeric [XmlAttribute("hbstart")] public string? HBStart { get; set; } /// Numeric [XmlAttribute("vtotal")] public string? VTotal { get; set; } /// Numeric [XmlAttribute("vbend")] public string? VBEnd { get; set; } /// Numeric [XmlAttribute("vbstart")] public string? VBStart { 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 } }