mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Start adding currently-unused models
This commit is contained in:
94
SabreTools.Models/ArchiveDotOrg/File.cs
Normal file
94
SabreTools.Models/ArchiveDotOrg/File.cs
Normal file
@@ -0,0 +1,94 @@
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace SabreTools.Models.ArchiveDotOrg
|
||||
{
|
||||
[XmlRoot("file")]
|
||||
public class File
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <remarks>Is this a set of defined values?</remarks>
|
||||
[XmlAttribute("source")]
|
||||
public string? Source { get; set; }
|
||||
|
||||
[XmlElement("btih")]
|
||||
public string? BitTorrentMagnetHash { get; set; }
|
||||
|
||||
[XmlElement("mtime")]
|
||||
public long? LastModifiedTime { get; set; }
|
||||
|
||||
[XmlElement("size")]
|
||||
public long? Size { get; set; }
|
||||
|
||||
[XmlElement("md5")]
|
||||
public string? MD5 { get; set; }
|
||||
|
||||
[XmlElement("crc32")]
|
||||
public string? CRC32 { get; set; }
|
||||
|
||||
[XmlElement("sha1")]
|
||||
public string? SHA1 { get; set; }
|
||||
|
||||
[XmlElement("filecount")]
|
||||
public long? FileCount { get; set; }
|
||||
|
||||
/// <remarks>Is this a set of defined values?</remarks>
|
||||
[XmlElement("format")]
|
||||
public string? Format { get; set; }
|
||||
|
||||
[XmlElement("original")]
|
||||
public string? Original { get; set; }
|
||||
|
||||
/// <remarks>Is this a set of defined values?</remarks>
|
||||
[XmlElement("summation")]
|
||||
public string? Summation { get; set; }
|
||||
|
||||
/// <remarks>Is this a set of defined values?</remarks>
|
||||
[XmlElement("rotation")]
|
||||
public long? Rotation { get; set; }
|
||||
|
||||
[XmlElement("hocr_char_to_word_module_version")]
|
||||
public string? hOCRCharToWordModuleVersion { get; set; }
|
||||
|
||||
[XmlElement("hocr_char_to_word_hocr_version")]
|
||||
public string? hOCRCharToWordhOCRVersion { get; set; }
|
||||
|
||||
[XmlElement("ocr_module_version")]
|
||||
public string? TesseractOCRModuleVersion { get; set; }
|
||||
|
||||
[XmlElement("ocr_converted")]
|
||||
public string? TesseractOCRConverted { get; set; }
|
||||
|
||||
[XmlElement("word_conf_0_10")]
|
||||
public long? WordConfidenceInterval0To10 { get; set; }
|
||||
|
||||
[XmlElement("word_conf_11_20")]
|
||||
public long? WordConfidenceInterval11To20 { get; set; }
|
||||
|
||||
[XmlElement("word_conf_21_30")]
|
||||
public long? WordConfidenceInterval21To30 { get; set; }
|
||||
|
||||
[XmlElement("word_conf_31_40")]
|
||||
public long? WordConfidenceInterval31To40 { get; set; }
|
||||
|
||||
[XmlElement("word_conf_41_50")]
|
||||
public long? WordConfidenceInterval41To50 { get; set; }
|
||||
|
||||
[XmlElement("word_conf_51_60")]
|
||||
public long? WordConfidenceInterval51To60 { get; set; }
|
||||
|
||||
[XmlElement("word_conf_61_70")]
|
||||
public long? WordConfidenceInterval61To70 { get; set; }
|
||||
|
||||
[XmlElement("word_conf_71_80")]
|
||||
public long? WordConfidenceInterval71To80 { get; set; }
|
||||
|
||||
[XmlElement("word_conf_81_90")]
|
||||
public long? WordConfidenceInterval81To90 { get; set; }
|
||||
|
||||
[XmlElement("word_conf_91_100")]
|
||||
public long? WordConfidenceInterval91To100 { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user