mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-23 05:40:12 +00:00
Add Biography to TranslationData
And apply the same "hack" that was applied to Name/Title to consolidate it with the Overview property.
This commit is contained in:
parent
2fa2e9df68
commit
6f57eb71fa
@ -18,6 +18,14 @@ namespace TMDbLib.Objects.General
|
||||
[JsonProperty("overview")]
|
||||
public string Overview { get; set; }
|
||||
|
||||
// Private hack to ensure two properties (overview, biography) are deserialized into Overview.
|
||||
// Most of the entities have an overview, but people have a biography.
|
||||
[JsonProperty("biography")]
|
||||
private string Biography
|
||||
{
|
||||
set => Overview = value;
|
||||
}
|
||||
|
||||
[JsonProperty("homepage")]
|
||||
public string HomePage { get; set; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user