2023-07-11 23:39:54 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.SoftwareList
|
|
|
|
|
{
|
|
|
|
|
[XmlRoot("disk")]
|
|
|
|
|
public class Disk
|
|
|
|
|
{
|
|
|
|
|
[XmlAttribute("name")]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
2023-08-01 01:04:21 -04:00
|
|
|
[XmlAttribute("md5")]
|
|
|
|
|
public string? MD5 { get; set; }
|
|
|
|
|
|
2023-07-11 23:39:54 -04:00
|
|
|
[XmlAttribute("sha1")]
|
|
|
|
|
public string? SHA1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(baddump|nodump|good) "good"</remarks>
|
|
|
|
|
[XmlAttribute("status")]
|
|
|
|
|
public string? Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
|
|
|
[XmlAttribute("writeable")]
|
|
|
|
|
public string? Writeable { get; set; }
|
2023-07-12 22:38:40 -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
|
|
|
}
|
|
|
|
|
}
|