Skip to content

Commit

Permalink
Add missing properties to SearchCollection class
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DineshSolanki committed Feb 14, 2024
1 parent 9587ddb commit 85bba31
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions TMDbLib/Objects/Search/SearchCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand All @@ -12,6 +15,15 @@ public class SearchCollection

[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; }
Expand Down

0 comments on commit 85bba31

Please sign in to comment.