Files
cuetools.net/CUETools.CTDB/CTDBResponse.cs

41 lines
904 B
C#
Raw Normal View History

using System;
using System.Xml.Serialization;
namespace CUETools.CTDB
{
[Serializable]
[XmlRoot(ElementName = "ctdb", Namespace = "http://db.cuetools.net/ns/mmd-1.0#")]
public class CTDBResponse
{
[XmlIgnore]
public bool ParityNeeded
{
get
{
return this.status == "parity needed";
}
}
[XmlAttribute]
public string status { get; set; }
[XmlAttribute]
public string updateurl { get; set; }
[XmlAttribute]
public string updatemsg { get; set; }
[XmlAttribute]
public string message { get; set; }
[XmlAttribute]
public int npar { get; set; }
[XmlElement]
public CTDBResponseEntry[] entry;
[XmlElement]
2012-01-17 08:04:16 +00:00
public CTDBResponseMeta[] metadata;
}
}