Skip to content

Commit

Permalink
Updated TranslationData model
Browse files Browse the repository at this point in the history
Replaced name with title
Added runtime
  • Loading branch information
Almis90 committed Jun 5, 2022
1 parent 5b9e93e commit a86bffb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions TMDbLib/Objects/General/TranslationData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ namespace TMDbLib.Objects.General
{
public class TranslationData
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("title")]
public string Title { get; set; }

[JsonProperty("overview")]
public string Overview { get; set; }
Expand All @@ -15,5 +15,8 @@ public class TranslationData

[JsonProperty("tagline")]
public string Tagline { get; set; }

[JsonProperty("runtime")]
public int Runtime { get; set; }
}
}

0 comments on commit a86bffb

Please sign in to comment.