-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
StreamingPolicyContentKey.cs
40 lines (34 loc) · 1.53 KB
/
StreamingPolicyContentKey.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Media.Models
{
/// <summary> Class to specify properties of content key. </summary>
public partial class StreamingPolicyContentKey
{
/// <summary> Initializes a new instance of StreamingPolicyContentKey. </summary>
public StreamingPolicyContentKey()
{
Tracks = new ChangeTrackingList<MediaTrackSelection>();
}
/// <summary> Initializes a new instance of StreamingPolicyContentKey. </summary>
/// <param name="label"> Label can be used to specify Content Key when creating a Streaming Locator. </param>
/// <param name="policyName"> Policy used by Content Key. </param>
/// <param name="tracks"> Tracks which use this content key. </param>
internal StreamingPolicyContentKey(string label, string policyName, IList<MediaTrackSelection> tracks)
{
Label = label;
PolicyName = policyName;
Tracks = tracks;
}
/// <summary> Label can be used to specify Content Key when creating a Streaming Locator. </summary>
public string Label { get; set; }
/// <summary> Policy used by Content Key. </summary>
public string PolicyName { get; set; }
/// <summary> Tracks which use this content key. </summary>
public IList<MediaTrackSelection> Tracks { get; }
}
}