1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-25 15:43:08 +00:00

nullable all the fields..

This commit is contained in:
Devin Buhl 2017-01-25 11:35:10 -05:00
parent 95d97c59d7
commit e2c2bdb65b

View file

@ -29,47 +29,47 @@ public class Movie
public class Info
{
public string[] genres { get; set; }
public int tmdb_id { get; set; }
public int? tmdb_id { get; set; }
public string plot { get; set; }
public string tagline { get; set; }
public int year { get; set; }
public int? year { get; set; }
public string original_title { get; set; }
public bool via_imdb { get; set; }
public bool? via_imdb { get; set; }
public string[] directors { get; set; }
public string[] titles { get; set; }
public string imdb { get; set; }
public string mpaa { get; set; }
public bool via_tmdb { get; set; }
public bool? via_tmdb { get; set; }
public string[] actors { get; set; }
public string[] writers { get; set; }
public int runtime { get; set; }
public int? runtime { get; set; }
public string type { get; set; }
public string released { get; set; }
}
public class ReleaseInfo
{
public double size { get; set; }
public int seeders { get; set; }
public double? size { get; set; }
public int? seeders { get; set; }
public string protocol { get; set; }
public string description { get; set; }
public string url { get; set; }
public int age { get; set; }
public int? age { get; set; }
public string id { get; set; }
public int leechers { get; set; }
public int score { get; set; }
public int? leechers { get; set; }
public int? score { get; set; }
public string provider { get; set; }
public int? seed_time { get; set; }
public string provider_extra { get; set; }
public string detail_url { get; set; }
public string type { get; set; }
public double seed_ratio { get; set; }
public double? seed_ratio { get; set; }
public string name { get; set; }
}
public class DownloadInfo
{
public bool status_support { get; set; }
public bool? status_support { get; set; }
public string id { get; set; }
public string downloader { get; set; }
}
@ -83,8 +83,8 @@ public class Release
public string media_id { get; set; }
public string _rev { get; set; }
public string _t { get; set; }
public bool is_3d { get; set; }
public int last_edit { get; set; }
public bool? is_3d { get; set; }
public int? last_edit { get; set; }
public string identifier { get; set; }
public string quality { get; set; }
}