| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | | 9 | | { |
| | | 10 | | /// <summary> The event data for a Job output. </summary> |
| | | 11 | | public partial class MediaJobOutput |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of MediaJobOutput. </summary> |
| | | 14 | | /// <param name="progress"> Gets the Job output progress. </param> |
| | | 15 | | /// <param name="state"> Gets the Job output state. </param> |
| | 0 | 16 | | internal MediaJobOutput(long progress, MediaJobState state) |
| | | 17 | | { |
| | 0 | 18 | | Progress = progress; |
| | 0 | 19 | | State = state; |
| | 0 | 20 | | } |
| | | 21 | | |
| | | 22 | | /// <summary> Initializes a new instance of MediaJobOutput. </summary> |
| | | 23 | | /// <param name="odataType"> The discriminator for derived types. </param> |
| | | 24 | | /// <param name="error"> Gets the Job output error. </param> |
| | | 25 | | /// <param name="label"> Gets the Job output label. </param> |
| | | 26 | | /// <param name="progress"> Gets the Job output progress. </param> |
| | | 27 | | /// <param name="state"> Gets the Job output state. </param> |
| | 20 | 28 | | internal MediaJobOutput(string odataType, MediaJobError error, string label, long progress, MediaJobState state) |
| | | 29 | | { |
| | 20 | 30 | | OdataType = odataType; |
| | 20 | 31 | | Error = error; |
| | 20 | 32 | | Label = label; |
| | 20 | 33 | | Progress = progress; |
| | 20 | 34 | | State = state; |
| | 20 | 35 | | } |
| | | 36 | | |
| | | 37 | | /// <summary> The discriminator for derived types. </summary> |
| | 0 | 38 | | internal string OdataType { get; set; } |
| | | 39 | | /// <summary> Gets the Job output error. </summary> |
| | 14 | 40 | | public MediaJobError Error { get; } |
| | | 41 | | /// <summary> Gets the Job output label. </summary> |
| | 0 | 42 | | public string Label { get; } |
| | | 43 | | /// <summary> Gets the Job output progress. </summary> |
| | 6 | 44 | | public long Progress { get; } |
| | | 45 | | /// <summary> Gets the Job output state. </summary> |
| | 20 | 46 | | public MediaJobState State { get; } |
| | | 47 | | } |
| | | 48 | | } |