From 0543f35bd6d4fb6be15aa20ef9620a2adb4bc974 Mon Sep 17 00:00:00 2001 From: Miatrix Date: Thu, 7 Dec 2023 05:04:13 -0600 Subject: [PATCH] Added PublishedAt and Official to Video object --- TMDbLib/Objects/General/Video.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/TMDbLib/Objects/General/Video.cs b/TMDbLib/Objects/General/Video.cs index 694aa63f..62c3a458 100644 --- a/TMDbLib/Objects/General/Video.cs +++ b/TMDbLib/Objects/General/Video.cs @@ -1,4 +1,5 @@ -using Newtonsoft.Json; +using System; +using Newtonsoft.Json; namespace TMDbLib.Objects.General { @@ -25,6 +26,12 @@ public class Video [JsonProperty("name")] public string Name { get; set; } + [JsonProperty("official")] + public bool Official { get; set; } + + [JsonProperty("published_at")] + public DateTime PublishedAt { get; set; } + [JsonProperty("site")] public string Site { get; set; }