Merge pull request #444 from revam/patch-3

Add Biography to TranslationData
This commit is contained in:
Claus Vium 2023-09-18 08:44:29 +02:00 committed by GitHub
commit f747aa3f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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; }