| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.EventGrid.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Incoming streams out of sync event data. |
| | 18 | | /// </summary> |
| | 19 | | public partial class MediaLiveEventIncomingStreamsOutOfSyncEventData |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the |
| | 23 | | /// MediaLiveEventIncomingStreamsOutOfSyncEventData class. |
| | 24 | | /// </summary> |
| 1 | 25 | | public MediaLiveEventIncomingStreamsOutOfSyncEventData() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 1 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the |
| | 32 | | /// MediaLiveEventIncomingStreamsOutOfSyncEventData class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="minLastTimestamp">Gets the minimum last timestamp |
| | 35 | | /// received.</param> |
| | 36 | | /// <param name="typeOfStreamWithMinLastTimestamp">Gets the type of |
| | 37 | | /// stream with minimum last timestamp.</param> |
| | 38 | | /// <param name="maxLastTimestamp">Gets the maximum timestamp among all |
| | 39 | | /// the tracks (audio or video).</param> |
| | 40 | | /// <param name="typeOfStreamWithMaxLastTimestamp">Gets the type of |
| | 41 | | /// stream with maximum last timestamp.</param> |
| | 42 | | /// <param name="timescaleOfMinLastTimestamp">Gets the timescale in |
| | 43 | | /// which "MinLastTimestamp" is represented.</param> |
| | 44 | | /// <param name="timescaleOfMaxLastTimestamp">Gets the timescale in |
| | 45 | | /// which "MaxLastTimestamp" is represented.</param> |
| 0 | 46 | | public MediaLiveEventIncomingStreamsOutOfSyncEventData(string minLastTimestamp = default(string), string typeOfS |
| | 47 | | { |
| 0 | 48 | | MinLastTimestamp = minLastTimestamp; |
| 0 | 49 | | TypeOfStreamWithMinLastTimestamp = typeOfStreamWithMinLastTimestamp; |
| 0 | 50 | | MaxLastTimestamp = maxLastTimestamp; |
| 0 | 51 | | TypeOfStreamWithMaxLastTimestamp = typeOfStreamWithMaxLastTimestamp; |
| 0 | 52 | | TimescaleOfMinLastTimestamp = timescaleOfMinLastTimestamp; |
| 0 | 53 | | TimescaleOfMaxLastTimestamp = timescaleOfMaxLastTimestamp; |
| | 54 | | CustomInit(); |
| 0 | 55 | | } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// An initialization method that performs custom operations like setting defaults |
| | 59 | | /// </summary> |
| | 60 | | partial void CustomInit(); |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets the minimum last timestamp received. |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "minLastTimestamp")] |
| 2 | 66 | | public string MinLastTimestamp { get; private set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets the type of stream with minimum last timestamp. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "typeOfStreamWithMinLastTimestamp")] |
| 2 | 72 | | public string TypeOfStreamWithMinLastTimestamp { get; private set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets the maximum timestamp among all the tracks (audio or video). |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "maxLastTimestamp")] |
| 2 | 78 | | public string MaxLastTimestamp { get; private set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets the type of stream with maximum last timestamp. |
| | 82 | | /// </summary> |
| | 83 | | [JsonProperty(PropertyName = "typeOfStreamWithMaxLastTimestamp")] |
| 2 | 84 | | public string TypeOfStreamWithMaxLastTimestamp { get; private set; } |
| | 85 | |
|
| | 86 | | /// <summary> |
| | 87 | | /// Gets the timescale in which "MinLastTimestamp" is represented. |
| | 88 | | /// </summary> |
| | 89 | | [JsonProperty(PropertyName = "timescaleOfMinLastTimestamp")] |
| 2 | 90 | | public string TimescaleOfMinLastTimestamp { get; private set; } |
| | 91 | |
|
| | 92 | | /// <summary> |
| | 93 | | /// Gets the timescale in which "MaxLastTimestamp" is represented. |
| | 94 | | /// </summary> |
| | 95 | | [JsonProperty(PropertyName = "timescaleOfMaxLastTimestamp")] |
| 2 | 96 | | public string TimescaleOfMaxLastTimestamp { get; private set; } |
| | 97 | |
|
| | 98 | | } |
| | 99 | | } |