/
MediaJobOutputProgressEventData.cs
39 lines (33 loc) · 1.63 KB
/
MediaJobOutputProgressEventData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Job Output Progress Event Data. Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobOutputProgress event. </summary>
public partial class MediaJobOutputProgressEventData
{
/// <summary> Initializes a new instance of <see cref="MediaJobOutputProgressEventData"/>. </summary>
internal MediaJobOutputProgressEventData()
{
JobCorrelationData = new ChangeTrackingDictionary<string, string>();
}
/// <summary> Initializes a new instance of <see cref="MediaJobOutputProgressEventData"/>. </summary>
/// <param name="label"> Gets the Job output label. </param>
/// <param name="progress"> Gets the Job output progress. </param>
/// <param name="jobCorrelationData"> Gets the Job correlation data. </param>
internal MediaJobOutputProgressEventData(string label, long? progress, IReadOnlyDictionary<string, string> jobCorrelationData)
{
Label = label;
Progress = progress;
JobCorrelationData = jobCorrelationData;
}
/// <summary> Gets the Job output label. </summary>
public string Label { get; }
/// <summary> Gets the Job output progress. </summary>
public long? Progress { get; }
/// <summary> Gets the Job correlation data. </summary>
public IReadOnlyDictionary<string, string> JobCorrelationData { get; }
}
}