Class SignalRServiceClientConnectionDisconnectedEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.SignalRServiceClientConnectionDisconnectedEventData
-
public final class SignalRServiceClientConnectionDisconnectedEventData extends Object
Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionDisconnected event.
-
-
Constructor Summary
Constructors Constructor Description SignalRServiceClientConnectionDisconnectedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConnectionId()
Get the connectionId property: The connection Id of connected client connection.String
getErrorMessage()
Get the errorMessage property: The message of error that cause the client connection disconnected.String
getHubName()
Get the hubName property: The hub of connected client connection.OffsetDateTime
getTimestamp()
Get the timestamp property: The time at which the event occurred.String
getUserId()
Get the userId property: The user Id of connected client connection.SignalRServiceClientConnectionDisconnectedEventData
setConnectionId(String connectionId)
Set the connectionId property: The connection Id of connected client connection.SignalRServiceClientConnectionDisconnectedEventData
setErrorMessage(String errorMessage)
Set the errorMessage property: The message of error that cause the client connection disconnected.SignalRServiceClientConnectionDisconnectedEventData
setHubName(String hubName)
Set the hubName property: The hub of connected client connection.SignalRServiceClientConnectionDisconnectedEventData
setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time at which the event occurred.SignalRServiceClientConnectionDisconnectedEventData
setUserId(String userId)
Set the userId property: The user Id of connected client connection.
-
-
-
Method Detail
-
getTimestamp
public OffsetDateTime getTimestamp()
Get the timestamp property: The time at which the event occurred.- Returns:
- the timestamp value.
-
setTimestamp
public SignalRServiceClientConnectionDisconnectedEventData setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time at which the event occurred.- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the SignalRServiceClientConnectionDisconnectedEventData object itself.
-
getHubName
public String getHubName()
Get the hubName property: The hub of connected client connection.- Returns:
- the hubName value.
-
setHubName
public SignalRServiceClientConnectionDisconnectedEventData setHubName(String hubName)
Set the hubName property: The hub of connected client connection.- Parameters:
hubName
- the hubName value to set.- Returns:
- the SignalRServiceClientConnectionDisconnectedEventData object itself.
-
getConnectionId
public String getConnectionId()
Get the connectionId property: The connection Id of connected client connection.- Returns:
- the connectionId value.
-
setConnectionId
public SignalRServiceClientConnectionDisconnectedEventData setConnectionId(String connectionId)
Set the connectionId property: The connection Id of connected client connection.- Parameters:
connectionId
- the connectionId value to set.- Returns:
- the SignalRServiceClientConnectionDisconnectedEventData object itself.
-
getUserId
public String getUserId()
Get the userId property: The user Id of connected client connection.- Returns:
- the userId value.
-
setUserId
public SignalRServiceClientConnectionDisconnectedEventData setUserId(String userId)
Set the userId property: The user Id of connected client connection.- Parameters:
userId
- the userId value to set.- Returns:
- the SignalRServiceClientConnectionDisconnectedEventData object itself.
-
getErrorMessage
public String getErrorMessage()
Get the errorMessage property: The message of error that cause the client connection disconnected.- Returns:
- the errorMessage value.
-
setErrorMessage
public SignalRServiceClientConnectionDisconnectedEventData setErrorMessage(String errorMessage)
Set the errorMessage property: The message of error that cause the client connection disconnected.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the SignalRServiceClientConnectionDisconnectedEventData object itself.
-
-