| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System.Collections.Generic; |
| | 9 | | using Azure.Core; |
| | 10 | |
|
| | 11 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 12 | | { |
| | 13 | | /// <summary> Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobOutputStateChange event. </s |
| | 14 | | public partial class MediaJobOutputStateChangeEventData |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of MediaJobOutputStateChangeEventData. </summary> |
| 0 | 17 | | internal MediaJobOutputStateChangeEventData() |
| | 18 | | { |
| 0 | 19 | | JobCorrelationData = new ChangeTrackingDictionary<string, string>(); |
| 0 | 20 | | } |
| | 21 | |
|
| | 22 | | /// <summary> Initializes a new instance of MediaJobOutputStateChangeEventData. </summary> |
| | 23 | | /// <param name="previousState"> The previous state of the Job. </param> |
| | 24 | | /// <param name="output"> Gets the output. </param> |
| | 25 | | /// <param name="jobCorrelationData"> Gets the Job correlation data. </param> |
| 14 | 26 | | internal MediaJobOutputStateChangeEventData(MediaJobState? previousState, MediaJobOutput output, IReadOnlyDictio |
| | 27 | | { |
| 14 | 28 | | PreviousState = previousState; |
| 14 | 29 | | Output = output; |
| 14 | 30 | | JobCorrelationData = jobCorrelationData; |
| 14 | 31 | | } |
| | 32 | |
|
| | 33 | | /// <summary> The previous state of the Job. </summary> |
| 14 | 34 | | public MediaJobState? PreviousState { get; } |
| | 35 | | /// <summary> Gets the output. </summary> |
| 40 | 36 | | public MediaJobOutput Output { get; } |
| | 37 | | /// <summary> Gets the Job correlation data. </summary> |
| 0 | 38 | | public IReadOnlyDictionary<string, string> JobCorrelationData { get; } |
| | 39 | | } |
| | 40 | | } |