2023-07-11 23:39:54 -04:00
|
|
|
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; }
|
|
|
|
|
|
2023-08-01 11:48:28 -04:00
|
|
|
/// <remarks>Numeric boolean</remarks>
|
2023-07-11 23:39:54 -04:00
|
|
|
[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; }
|
2023-07-12 21:54:18 -04:00
|
|
|
|
|
|
|
|
#region DO NOT USE IN PRODUCTION
|
|
|
|
|
|
|
|
|
|
/// <remarks>Should be empty</remarks>
|
|
|
|
|
[XmlAnyAttribute]
|
|
|
|
|
public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Should be empty</remarks>
|
|
|
|
|
[XmlAnyElement]
|
|
|
|
|
public object[]? ADDITIONAL_ELEMENTS { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
2023-07-11 23:39:54 -04:00
|
|
|
}
|
|
|
|
|
}
|