Add archive.org deserialization test, fix issues

This commit is contained in:
Matt Nadareski
2023-07-12 17:21:19 -04:00
parent 225be86248
commit a351a02ee1
6 changed files with 336 additions and 8 deletions

View File

@@ -6,7 +6,19 @@ namespace SabreTools.Models.ArchiveDotOrg
[XmlRoot("files")]
public class Files
{
[XmlElement]
[XmlElement("file")]
public File[]? File { 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
}
}