Skip to content

Commit

Permalink
Merge pull request #472 from Miatrix/FixVideoObject
Browse files Browse the repository at this point in the history
Added PublishedAt and Official to Video object
  • Loading branch information
Shadowghost authored Dec 7, 2023
2 parents d23d3b4 + 0543f35 commit c30b9e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion TMDbLib/Objects/General/Video.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Newtonsoft.Json;
using System;
using Newtonsoft.Json;

namespace TMDbLib.Objects.General
{
Expand All @@ -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; }

Expand Down

0 comments on commit c30b9e5

Please sign in to comment.