mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-28 02:27:13 +00:00
31 lines
655 B
C#
31 lines
655 B
C#
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Xml.Serialization;
|
|||
|
|
|||
|
namespace NzbDrone.Core.Tvdb
|
|||
|
{
|
|||
|
[XmlRoot(ElementName = "Languages")]
|
|||
|
public class TvdbLanguagesRoot
|
|||
|
{
|
|||
|
public TvdbLanguagesRoot()
|
|||
|
{
|
|||
|
Languages = new List<TvdbLanguage>();
|
|||
|
}
|
|||
|
|
|||
|
[XmlElement(ElementName = "Language")]
|
|||
|
public List<TvdbLanguage> Languages { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public class TvdbLanguage
|
|||
|
{
|
|||
|
[XmlElement]
|
|||
|
public int id { get; set; }
|
|||
|
|
|||
|
[XmlElement]
|
|||
|
public string name { get; set; }
|
|||
|
|
|||
|
[XmlElement]
|
|||
|
public string abbreviation { get; set; }
|
|||
|
}
|
|||
|
}
|