| | 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 | | /// Encoder connect event data. |
| | 18 | | /// </summary> |
| | 19 | | public partial class MediaLiveEventIncomingStreamReceivedEventData |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the |
| | 23 | | /// MediaLiveEventIncomingStreamReceivedEventData class. |
| | 24 | | /// </summary> |
| 1 | 25 | | public MediaLiveEventIncomingStreamReceivedEventData() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 1 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the |
| | 32 | | /// MediaLiveEventIncomingStreamReceivedEventData class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="ingestUrl">Gets the ingest URL provided by the live |
| | 35 | | /// event.</param> |
| | 36 | | /// <param name="trackType">Gets the type of the track (Audio / |
| | 37 | | /// Video).</param> |
| | 38 | | /// <param name="trackName">Gets the track name.</param> |
| | 39 | | /// <param name="bitrate">Gets the bitrate of the track.</param> |
| | 40 | | /// <param name="encoderIp">Gets the remote IP.</param> |
| | 41 | | /// <param name="encoderPort">Gets the remote port.</param> |
| | 42 | | /// <param name="timestamp">Gets the first timestamp of the data chunk |
| | 43 | | /// received.</param> |
| | 44 | | /// <param name="duration">Gets the duration of the first data |
| | 45 | | /// chunk.</param> |
| | 46 | | /// <param name="timescale">Gets the timescale in which timestamp is |
| | 47 | | /// represented.</param> |
| 0 | 48 | | public MediaLiveEventIncomingStreamReceivedEventData(string ingestUrl = default(string), string trackType = defa |
| | 49 | | { |
| 0 | 50 | | IngestUrl = ingestUrl; |
| 0 | 51 | | TrackType = trackType; |
| 0 | 52 | | TrackName = trackName; |
| 0 | 53 | | Bitrate = bitrate; |
| 0 | 54 | | EncoderIp = encoderIp; |
| 0 | 55 | | EncoderPort = encoderPort; |
| 0 | 56 | | Timestamp = timestamp; |
| 0 | 57 | | Duration = duration; |
| 0 | 58 | | Timescale = timescale; |
| | 59 | | CustomInit(); |
| 0 | 60 | | } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// An initialization method that performs custom operations like setting defaults |
| | 64 | | /// </summary> |
| | 65 | | partial void CustomInit(); |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// Gets the ingest URL provided by the live event. |
| | 69 | | /// </summary> |
| | 70 | | [JsonProperty(PropertyName = "ingestUrl")] |
| 2 | 71 | | public string IngestUrl { get; private set; } |
| | 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 remote IP. |
| | 93 | | /// </summary> |
| | 94 | | [JsonProperty(PropertyName = "encoderIp")] |
| 2 | 95 | | public string EncoderIp { get; private set; } |
| | 96 | |
|
| | 97 | | /// <summary> |
| | 98 | | /// Gets the remote port. |
| | 99 | | /// </summary> |
| | 100 | | [JsonProperty(PropertyName = "encoderPort")] |
| 2 | 101 | | public string EncoderPort { get; private set; } |
| | 102 | |
|
| | 103 | | /// <summary> |
| | 104 | | /// Gets the first timestamp of the data chunk received. |
| | 105 | | /// </summary> |
| | 106 | | [JsonProperty(PropertyName = "timestamp")] |
| 2 | 107 | | public string Timestamp { get; private set; } |
| | 108 | |
|
| | 109 | | /// <summary> |
| | 110 | | /// Gets the duration of the first data chunk. |
| | 111 | | /// </summary> |
| | 112 | | [JsonProperty(PropertyName = "duration")] |
| 2 | 113 | | public string Duration { get; private set; } |
| | 114 | |
|
| | 115 | | /// <summary> |
| | 116 | | /// Gets the timescale in which timestamp is represented. |
| | 117 | | /// </summary> |
| | 118 | | [JsonProperty(PropertyName = "timescale")] |
| 2 | 119 | | public string Timescale { get; private set; } |
| | 120 | |
|
| | 121 | | } |
| | 122 | | } |