mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Models.Listxml
|
|
{
|
|
[XmlRoot("device")]
|
|
public class Device
|
|
{
|
|
[Required]
|
|
[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; }
|
|
|
|
#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
|
|
}
|
|
} |