Merge pull request #355 from wwarby/master

Add TV spoken_languages, TV tagline, alternative title type
This commit is contained in:
Michael Bisbjerg 2021-01-24 18:48:21 +01:00 committed by GitHub
commit 8d61234d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 4 deletions

View File

@ -12,5 +12,11 @@ namespace TMDbLib.Objects.General
[JsonProperty("title")]
public string Title { get; set; }
/// <summary>
/// The type of title (e.g. working title, DVD title, modern title)
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
}
}

View File

@ -116,20 +116,26 @@ namespace TMDbLib.Objects.TvShows
[JsonProperty("production_companies")]
public List<ProductionCompany> ProductionCompanies { get; set; }
[JsonProperty("seasons")]
public List<SearchTvSeason> Seasons { get; set; }
[JsonProperty("recommendations")]
public ResultContainer<TvShow> Recommendations { get; set; }
[JsonProperty("reviews")]
public SearchContainer<ReviewBase> Reviews { get; set; }
[JsonProperty("seasons")]
public List<SearchTvSeason> Seasons { get; set; }
[JsonProperty("similar")]
public ResultContainer<TvShow> Similar { get; set; }
[JsonProperty("recommendations")]
public ResultContainer<TvShow> Recommendations { get; set; }
[JsonProperty("spoken_languages")]
public List<SpokenLanguage> SpokenLanguages { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty("tagline")]
public string Tagline { get; set; }
[JsonProperty("translations")]
public TranslationsContainer Translations { get; set; }