mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 02:07:41 +00:00
36 lines
747 B
C#
36 lines
747 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace NzbDrone.Core.Tvdb
|
|
{
|
|
[XmlRoot(ElementName = "Actors")]
|
|
public class TvdbActorRoot
|
|
{
|
|
public TvdbActorRoot()
|
|
{
|
|
Actors = new List<TvdbActor>();
|
|
}
|
|
|
|
[XmlElement(ElementName = "Actor")]
|
|
public List<TvdbActor> Actors { get; set; }
|
|
}
|
|
|
|
public class TvdbActor
|
|
{
|
|
[XmlElement]
|
|
public int id { get; set; }
|
|
|
|
[XmlElement]
|
|
public string Image { get; set; }
|
|
|
|
[XmlElement]
|
|
public string Name { get; set; }
|
|
|
|
[XmlElement]
|
|
public string Role { get; set; }
|
|
|
|
[XmlElement]
|
|
public int SortOrder { get; set; }
|
|
}
|
|
}
|