Add bool Adult to TvShow

The property can be used to determine if a show is an adult orientated show (so a pornographic show).

I re-used the same field name as what is used for movies.
This commit is contained in:
Mikal S 2023-08-31 21:26:19 +02:00 committed by GitHub
parent 2fa2e9df68
commit 51e53319f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,9 @@ namespace TMDbLib.Objects.TvShows
{
public class TvShow
{
[JsonProperty("adult")]
public bool Adult { get; set; }
[JsonProperty("account_states")]
public AccountState AccountStates { get; set; }