using System.Xml; using System.Xml.Serialization; namespace SabreTools.Models.Listxml { [XmlRoot("video")] public class Video { /// (raster|vector) [XmlAttribute("screen")] public string Screen { get; set; } /// (vertical|horizontal) [XmlAttribute("orientation")] public string Orientation { get; set; } /// Numeric? [XmlAttribute("width")] public string? Width { get; set; } /// Numeric? [XmlAttribute("height")] public string? Height { get; set; } /// Numeric? [XmlAttribute("aspectx")] public string? AspectX { get; set; } /// Numeric? [XmlAttribute("aspecty")] public string? AspectY { get; set; } /// Numeric? [XmlAttribute("refresh")] public string? Refresh { 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 } }