mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Updated the build system, now using .NET Framework v4.0 for most things
This commit is contained in:
40
CUETools.CTDB.Types/CTDBResponse.cs
Normal file
40
CUETools.CTDB.Types/CTDBResponse.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
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]
|
||||
public CTDBResponseMeta[] metadata;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user