2023-07-11 23:39:54 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.Listxml
|
|
|
|
|
{
|
|
|
|
|
[XmlRoot("instance")]
|
|
|
|
|
public class Instance
|
|
|
|
|
{
|
2023-08-10 12:09:29 -04:00
|
|
|
[Required]
|
2023-07-11 23:39:54 -04:00
|
|
|
[XmlAttribute("name")]
|
2023-08-10 12:09:29 -04:00
|
|
|
public string? Name { get; set; }
|
2023-07-11 23:39:54 -04:00
|
|
|
|
2023-08-10 12:09:29 -04:00
|
|
|
[Required]
|
2023-07-11 23:39:54 -04:00
|
|
|
[XmlAttribute("briefname")]
|
2023-08-10 12:09:29 -04:00
|
|
|
public string? BriefName { 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
|
|
|
}
|
|
|
|
|
}
|