| | 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 | | /// Ingest fragment dropped event data. |
| | 18 | | /// </summary> |
| | 19 | | public partial class MediaLiveEventIngestHeartbeatEventData |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the |
| | 23 | | /// MediaLiveEventIngestHeartbeatEventData class. |
| | 24 | | /// </summary> |
| 1 | 25 | | public MediaLiveEventIngestHeartbeatEventData() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 1 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the |
| | 32 | | /// MediaLiveEventIngestHeartbeatEventData class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="trackType">Gets the type of the track (Audio / |
| | 35 | | /// Video).</param> |
| | 36 | | /// <param name="trackName">Gets the track name.</param> |
| | 37 | | /// <param name="bitrate">Gets the bitrate of the track.</param> |
| | 38 | | /// <param name="incomingBitrate">Gets the incoming bitrate.</param> |
| | 39 | | /// <param name="lastTimestamp">Gets the last timestamp.</param> |
| | 40 | | /// <param name="timescale">Gets the timescale of the last |
| | 41 | | /// timestamp.</param> |
| | 42 | | /// <param name="overlapCount">Gets the fragment Overlap count.</param> |
| | 43 | | /// <param name="discontinuityCount">Gets the fragment Discontinuity |
| | 44 | | /// count.</param> |
| | 45 | | /// <param name="nonincreasingCount">Gets Non increasing count.</param> |
| | 46 | | /// <param name="unexpectedBitrate">Gets a value indicating whether |
| | 47 | | /// unexpected bitrate is present or not.</param> |
| | 48 | | /// <param name="state">Gets the state of the live event.</param> |
| | 49 | | /// <param name="healthy">Gets a value indicating whether preview is |
| | 50 | | /// healthy or not.</param> |
| 0 | 51 | | public MediaLiveEventIngestHeartbeatEventData(string trackType = default(string), string trackName = default(str |
| | 52 | | { |
| 0 | 53 | | TrackType = trackType; |
| 0 | 54 | | TrackName = trackName; |
| 0 | 55 | | Bitrate = bitrate; |
| 0 | 56 | | IncomingBitrate = incomingBitrate; |
| 0 | 57 | | LastTimestamp = lastTimestamp; |
| 0 | 58 | | Timescale = timescale; |
| 0 | 59 | | OverlapCount = overlapCount; |
| 0 | 60 | | DiscontinuityCount = discontinuityCount; |
| 0 | 61 | | NonincreasingCount = nonincreasingCount; |
| 0 | 62 | | UnexpectedBitrate = unexpectedBitrate; |
| 0 | 63 | | State = state; |
| 0 | 64 | | Healthy = healthy; |
| | 65 | | CustomInit(); |
| 0 | 66 | | } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// An initialization method that performs custom operations like setting defaults |
| | 70 | | /// </summary> |
| | 71 | | partial void CustomInit(); |
| | 72 | |
|
| | 73 | | /// <summary> |
| | 74 | | /// Gets the type of the track (Audio / Video). |
| | 75 | | /// </summary> |
| | 76 | | [JsonProperty(PropertyName = "trackType")] |
| 2 | 77 | | public string TrackType { get; private set; } |
| | 78 | |
|
| | 79 | | /// <summary> |
| | 80 | | /// Gets the track name. |
| | 81 | | /// </summary> |
| | 82 | | [JsonProperty(PropertyName = "trackName")] |
| 2 | 83 | | public string TrackName { get; private set; } |
| | 84 | |
|
| | 85 | | /// <summary> |
| | 86 | | /// Gets the bitrate of the track. |
| | 87 | | /// </summary> |
| | 88 | | [JsonProperty(PropertyName = "bitrate")] |
| 2 | 89 | | public long? Bitrate { get; private set; } |
| | 90 | |
|
| | 91 | | /// <summary> |
| | 92 | | /// Gets the incoming bitrate. |
| | 93 | | /// </summary> |
| | 94 | | [JsonProperty(PropertyName = "incomingBitrate")] |
| 2 | 95 | | public long? IncomingBitrate { get; private set; } |
| | 96 | |
|
| | 97 | | /// <summary> |
| | 98 | | /// Gets the last timestamp. |
| | 99 | | /// </summary> |
| | 100 | | [JsonProperty(PropertyName = "lastTimestamp")] |
| 2 | 101 | | public string LastTimestamp { get; private set; } |
| | 102 | |
|
| | 103 | | /// <summary> |
| | 104 | | /// Gets the timescale of the last timestamp. |
| | 105 | | /// </summary> |
| | 106 | | [JsonProperty(PropertyName = "timescale")] |
| 2 | 107 | | public string Timescale { get; private set; } |
| | 108 | |
|
| | 109 | | /// <summary> |
| | 110 | | /// Gets the fragment Overlap count. |
| | 111 | | /// </summary> |
| | 112 | | [JsonProperty(PropertyName = "overlapCount")] |
| 2 | 113 | | public long? OverlapCount { get; private set; } |
| | 114 | |
|
| | 115 | | /// <summary> |
| | 116 | | /// Gets the fragment Discontinuity count. |
| | 117 | | /// </summary> |
| | 118 | | [JsonProperty(PropertyName = "discontinuityCount")] |
| 2 | 119 | | public long? DiscontinuityCount { get; private set; } |
| | 120 | |
|
| | 121 | | /// <summary> |
| | 122 | | /// Gets Non increasing count. |
| | 123 | | /// </summary> |
| | 124 | | [JsonProperty(PropertyName = "nonincreasingCount")] |
| 2 | 125 | | public long? NonincreasingCount { get; private set; } |
| | 126 | |
|
| | 127 | | /// <summary> |
| | 128 | | /// Gets a value indicating whether unexpected bitrate is present or |
| | 129 | | /// not. |
| | 130 | | /// </summary> |
| | 131 | | [JsonProperty(PropertyName = "unexpectedBitrate")] |
| 2 | 132 | | public bool? UnexpectedBitrate { get; private set; } |
| | 133 | |
|
| | 134 | | /// <summary> |
| | 135 | | /// Gets the state of the live event. |
| | 136 | | /// </summary> |
| | 137 | | [JsonProperty(PropertyName = "state")] |
| 2 | 138 | | public string State { get; private set; } |
| | 139 | |
|
| | 140 | | /// <summary> |
| | 141 | | /// Gets a value indicating whether preview is healthy or not. |
| | 142 | | /// </summary> |
| | 143 | | [JsonProperty(PropertyName = "healthy")] |
| 2 | 144 | | public bool? Healthy { get; private set; } |
| | 145 | |
|
| | 146 | | } |
| | 147 | | } |