Skip to content

Commit

Permalink
Add Tracking ID to Subscribe token
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienLavocat committed Aug 16, 2024
1 parent bb042eb commit fc2e99e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion DolbyIO.Rest/Streaming/Models/SubscribeToken.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
using System;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace DolbyIO.Rest.Streaming.Models;

public sealed class SubscribeTokenTracking
{
[JsonProperty("trackingId")]
public string TrackingId { get; set; }
}

public sealed class SubscribeTokenStream
{
[JsonProperty("streamName")]
Expand Down Expand Up @@ -53,6 +59,9 @@ public sealed class SubscribeToken

[JsonProperty("originCluster")]
public string OriginCluster { get; internal set; }

[JsonProperty("tracking")]
public SubscribeTokenTracking Tracking { get; internal set; }
}

public sealed class UpdateSubscribeToken
Expand Down Expand Up @@ -119,4 +128,7 @@ public sealed class CreateSubscribeToken

[JsonProperty("originCluster", NullValueHandling = NullValueHandling.Ignore)]
public string OriginCluster { get; set; }

[JsonProperty("tracking", NullValueHandling = NullValueHandling.Ignore)]
public SubscribeTokenTracking Tracking { get; set; }
}

0 comments on commit fc2e99e

Please sign in to comment.