mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-24 23:15:23 -07:00
Add TvSeason and Episode models
This commit is contained in:
parent
24379405cf
commit
8f8c46c5b1
1 changed files with 27 additions and 0 deletions
|
@ -74,6 +74,33 @@ namespace Ombi.Api.TheMovieDb.Models
|
||||||
public int season_number { get; set; }
|
public int season_number { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class TvSeason
|
||||||
|
{
|
||||||
|
public string _id { get; set; }
|
||||||
|
public string air_date { get; set; }
|
||||||
|
public Episode[] episodes { get; set; }
|
||||||
|
public string name { get; set; }
|
||||||
|
public string overview { get; set; }
|
||||||
|
public int id { get; set; }
|
||||||
|
public string poster_path { get; set; }
|
||||||
|
public int season_number { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Episode
|
||||||
|
{
|
||||||
|
public string air_date { get; set; }
|
||||||
|
public Crew[] crew { get; set; }
|
||||||
|
public int episode_number { get; set; }
|
||||||
|
public string name { get; set; }
|
||||||
|
public string overview { get; set; }
|
||||||
|
public int id { get; set; }
|
||||||
|
public string production_code { get; set; }
|
||||||
|
public int season_number { get; set; }
|
||||||
|
public string still_path { get; set; }
|
||||||
|
public float vote_average { get; set; }
|
||||||
|
public int vote_count { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
public class TvExternalIds
|
public class TvExternalIds
|
||||||
{
|
{
|
||||||
[JsonProperty("imdb_id")] public string ImdbId { get; set; }
|
[JsonProperty("imdb_id")] public string ImdbId { get; set; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue