mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-26 23:30:23 +00:00
Add missing properties to SearchCollection class
New properties have been added to the SearchCollection class as per TMDB API documentation. These include properties for 'adult', 'original language', 'original name', and 'overview' which were initially missing in the class definition.
This commit is contained in:
parent
9587ddbde4
commit
85bba31928
@ -4,6 +4,9 @@ namespace TMDbLib.Objects.Search
|
||||
{
|
||||
public class SearchCollection
|
||||
{
|
||||
[JsonProperty("adult")]
|
||||
public bool Adult { get; set; }
|
||||
|
||||
[JsonProperty("backdrop_path")]
|
||||
public string BackdropPath { get; set; }
|
||||
|
||||
@ -12,6 +15,15 @@ namespace TMDbLib.Objects.Search
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("original_language")]
|
||||
public string OriginalLanguage { get; set; }
|
||||
|
||||
[JsonProperty("original_name")]
|
||||
public string OriginalName { get; set; }
|
||||
|
||||
[JsonProperty("overview")]
|
||||
public string Overview { get; set; }
|
||||
|
||||
[JsonProperty("poster_path")]
|
||||
public string PosterPath { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user