Skip to content

Commit

Permalink
Adjust property names for GetAdSchedule
Browse files Browse the repository at this point in the history
  • Loading branch information
Syzuna authored Dec 28, 2023
1 parent ad213d4 commit 0320c75
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public class AdSchedule
/// <summary>
/// <para>The length in seconds of the scheduled upcoming ad break.</para>
/// </summary>
[JsonProperty(PropertyName = "length_seconds")]
public int LengthSeconds { get;protected set; }
[JsonProperty(PropertyName = "duration")]
public int Duration { get; protected set; }
/// <summary>
/// <para>The UTC timestamp of the broadcaster’s last ad-break, in RFC3339 format. Empty if the channel has not run an ad or is not live.</para>
/// </summary>
Expand All @@ -35,7 +35,7 @@ public class AdSchedule
/// <summary>
/// <para>The amount of pre-roll free time remaining for the channel in seconds. Returns 0 if they are currently not pre-roll free.</para>
/// </summary>
[JsonProperty(PropertyName = "preroll_free_time_seconds")]
public int PrerollFreeTimeSeconds { get; protected set; }
[JsonProperty(PropertyName = "preroll_free_time")]
public int PrerollFreeTime { get; protected set; }
}
}

0 comments on commit 0320c75

Please sign in to comment.