| | 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 disconnected event data. |
| | 18 | | /// </summary> |
| | 19 | | public partial class MediaLiveEventEncoderDisconnectedEventData |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the |
| | 23 | | /// MediaLiveEventEncoderDisconnectedEventData class. |
| | 24 | | /// </summary> |
| 1 | 25 | | public MediaLiveEventEncoderDisconnectedEventData() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 1 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the |
| | 32 | | /// MediaLiveEventEncoderDisconnectedEventData class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="ingestUrl">Gets the ingest URL provided by the live |
| | 35 | | /// event.</param> |
| | 36 | | /// <param name="streamId">Gets the stream Id.</param> |
| | 37 | | /// <param name="encoderIp">Gets the remote IP.</param> |
| | 38 | | /// <param name="encoderPort">Gets the remote port.</param> |
| | 39 | | /// <param name="resultCode">Gets the result code.</param> |
| 0 | 40 | | public MediaLiveEventEncoderDisconnectedEventData(string ingestUrl = default(string), string streamId = default( |
| | 41 | | { |
| 0 | 42 | | IngestUrl = ingestUrl; |
| 0 | 43 | | StreamId = streamId; |
| 0 | 44 | | EncoderIp = encoderIp; |
| 0 | 45 | | EncoderPort = encoderPort; |
| 0 | 46 | | ResultCode = resultCode; |
| | 47 | | CustomInit(); |
| 0 | 48 | | } |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// An initialization method that performs custom operations like setting defaults |
| | 52 | | /// </summary> |
| | 53 | | partial void CustomInit(); |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// Gets the ingest URL provided by the live event. |
| | 57 | | /// </summary> |
| | 58 | | [JsonProperty(PropertyName = "ingestUrl")] |
| 2 | 59 | | public string IngestUrl { get; private set; } |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// Gets the stream Id. |
| | 63 | | /// </summary> |
| | 64 | | [JsonProperty(PropertyName = "streamId")] |
| 2 | 65 | | public string StreamId { get; private set; } |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// Gets the remote IP. |
| | 69 | | /// </summary> |
| | 70 | | [JsonProperty(PropertyName = "encoderIp")] |
| 2 | 71 | | public string EncoderIp { get; private set; } |
| | 72 | |
|
| | 73 | | /// <summary> |
| | 74 | | /// Gets the remote port. |
| | 75 | | /// </summary> |
| | 76 | | [JsonProperty(PropertyName = "encoderPort")] |
| 2 | 77 | | public string EncoderPort { get; private set; } |
| | 78 | |
|
| | 79 | | /// <summary> |
| | 80 | | /// Gets the result code. |
| | 81 | | /// </summary> |
| | 82 | | [JsonProperty(PropertyName = "resultCode")] |
| 2 | 83 | | public string ResultCode { get; private set; } |
| | 84 | |
|
| | 85 | | } |
| | 86 | | } |