| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 11 | | { |
| | 12 | | /// <summary> Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionDiscon |
| | 13 | | public partial class SignalRServiceClientConnectionDisconnectedEventData |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of SignalRServiceClientConnectionDisconnectedEventData. </summary> |
| 0 | 16 | | internal SignalRServiceClientConnectionDisconnectedEventData() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of SignalRServiceClientConnectionDisconnectedEventData. </summary> |
| | 21 | | /// <param name="timestamp"> The time at which the event occurred. </param> |
| | 22 | | /// <param name="hubName"> The hub of connected client connection. </param> |
| | 23 | | /// <param name="connectionId"> The connection Id of connected client connection. </param> |
| | 24 | | /// <param name="userId"> The user Id of connected client connection. </param> |
| | 25 | | /// <param name="errorMessage"> The message of error that cause the client connection disconnected. </param> |
| 0 | 26 | | internal SignalRServiceClientConnectionDisconnectedEventData(DateTimeOffset? timestamp, string hubName, string c |
| | 27 | | { |
| 0 | 28 | | Timestamp = timestamp; |
| 0 | 29 | | HubName = hubName; |
| 0 | 30 | | ConnectionId = connectionId; |
| 0 | 31 | | UserId = userId; |
| 0 | 32 | | ErrorMessage = errorMessage; |
| 0 | 33 | | } |
| | 34 | |
|
| | 35 | | /// <summary> The time at which the event occurred. </summary> |
| 0 | 36 | | public DateTimeOffset? Timestamp { get; } |
| | 37 | | /// <summary> The hub of connected client connection. </summary> |
| 0 | 38 | | public string HubName { get; } |
| | 39 | | /// <summary> The connection Id of connected client connection. </summary> |
| 0 | 40 | | public string ConnectionId { get; } |
| | 41 | | /// <summary> The user Id of connected client connection. </summary> |
| 0 | 42 | | public string UserId { get; } |
| | 43 | | /// <summary> The message of error that cause the client connection disconnected. </summary> |
| 0 | 44 | | public string ErrorMessage { get; } |
| | 45 | | } |
| | 46 | | } |