2025-09-26 10:20:48 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.Listxml
|
2025-09-26 10:20:48 -04:00
|
|
|
{
|
|
|
|
|
[XmlRoot("device")]
|
|
|
|
|
public class Device
|
|
|
|
|
{
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlAttribute("type")]
|
|
|
|
|
public string? Type { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("tag")]
|
|
|
|
|
public string? Tag { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("fixed_image")]
|
|
|
|
|
public string? FixedImage { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric boolean</remarks>
|
|
|
|
|
[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; }
|
|
|
|
|
}
|
2026-01-27 12:03:01 -05:00
|
|
|
}
|