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 Details

    • SignalRServiceClientConnectionDisconnectedEventData

      public SignalRServiceClientConnectionDisconnectedEventData()
  • Method Details

    • getTimestamp

      public OffsetDateTime getTimestamp()
      Get the timestamp property: The time at which the event occurred.
      Returns:
      the timestamp value.
    • setTimestamp

      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

      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

      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.