/
MediaLiveEventConnectionRejectedEventData.cs
44 lines (39 loc) · 1.94 KB
/
MediaLiveEventConnectionRejectedEventData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Encoder connection rejected event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventConnectionRejected event. </summary>
public partial class MediaLiveEventConnectionRejectedEventData
{
/// <summary> Initializes a new instance of <see cref="MediaLiveEventConnectionRejectedEventData"/>. </summary>
internal MediaLiveEventConnectionRejectedEventData()
{
}
/// <summary> Initializes a new instance of <see cref="MediaLiveEventConnectionRejectedEventData"/>. </summary>
/// <param name="ingestUrl"> Gets the ingest URL provided by the live event. </param>
/// <param name="streamId"> Gets the stream Id. </param>
/// <param name="encoderIp"> Gets the remote IP. </param>
/// <param name="encoderPort"> Gets the remote port. </param>
/// <param name="resultCode"> Gets the result code. </param>
internal MediaLiveEventConnectionRejectedEventData(string ingestUrl, string streamId, string encoderIp, string encoderPort, string resultCode)
{
IngestUrl = ingestUrl;
StreamId = streamId;
EncoderIp = encoderIp;
EncoderPort = encoderPort;
ResultCode = resultCode;
}
/// <summary> Gets the ingest URL provided by the live event. </summary>
public string IngestUrl { get; }
/// <summary> Gets the stream Id. </summary>
public string StreamId { get; }
/// <summary> Gets the remote IP. </summary>
public string EncoderIp { get; }
/// <summary> Gets the remote port. </summary>
public string EncoderPort { get; }
/// <summary> Gets the result code. </summary>
public string ResultCode { get; }
}
}