2011-11-15 10:56:49 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
|
|
namespace CUETools.CTDB
|
|
|
|
|
|
{
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
[XmlRoot(ElementName = "ctdb", Namespace = "http://db.cuetools.net/ns/mmd-1.0#")]
|
|
|
|
|
|
public class CTDBSubmitResponse
|
|
|
|
|
|
{
|
|
|
|
|
|
[XmlIgnore]
|
|
|
|
|
|
public bool ParityNeeded
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return this.status == "parity needed";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[XmlAttribute]
|
|
|
|
|
|
public string status { get; set; }
|
|
|
|
|
|
|
2012-01-19 08:18:10 +00:00
|
|
|
|
[XmlAttribute]
|
|
|
|
|
|
public string updateurl { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[XmlAttribute]
|
|
|
|
|
|
public string updatemsg { get; set; }
|
|
|
|
|
|
|
2011-11-15 10:56:49 +00:00
|
|
|
|
[XmlAttribute]
|
|
|
|
|
|
public string message { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[XmlAttribute]
|
|
|
|
|
|
public int npar { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|