mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
39 lines
935 B
C#
39 lines
935 B
C#
using System.Collections.Generic;
|
|
using System.Windows.Forms;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace NzbDrone.Core.NetImport.Trakt
|
|
{
|
|
public class Ids
|
|
{
|
|
public int trakt { get; set; }
|
|
public string slug { get; set; }
|
|
public string imdb { get; set; }
|
|
public int tmdb { get; set; }
|
|
}
|
|
|
|
public class Movie
|
|
{
|
|
public string title { get; set; }
|
|
public int? year { get; set; }
|
|
public Ids ids { get; set; }
|
|
}
|
|
|
|
public class TraktResponse
|
|
{
|
|
public int? rank { get; set; }
|
|
public string listed_at { get; set; }
|
|
public string type { get; set; }
|
|
|
|
public int? watchers { get; set; }
|
|
|
|
public long? revenue { get; set; }
|
|
|
|
public long? watcher_count { get; set; }
|
|
public long? play_count { get; set; }
|
|
public long? collected_count { get; set; }
|
|
|
|
public Movie movie { get; set; }
|
|
}
|
|
}
|