mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
30 lines
718 B
C#
30 lines
718 B
C#
|
|
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; }
|
||
|
|
|
||
|
|
[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; }
|
||
|
|
}
|
||
|
|
}
|