Class ServerSentEventResponse
java.lang.Object
org.tailormap.api.viewer.model.ServerSentEventResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.22.0")
public class ServerSentEventResponse
extends Object
implements Serializable
Server Sent Event response. The client can use the `eventType` property to determine the type of event, and the `details` property to get specific event data.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaneventType(ServerSentEventResponse.EventTypeEnum eventType) Event data.Event type@Valid UUIDgetId()optional event identifier (UUIDv7), can be used for event ordering and deduplicationinthashCode()voidsetDetails(Object details) voidvoidtoString()
-
Constructor Details
-
ServerSentEventResponse
public ServerSentEventResponse()
-
-
Method Details
-
eventType
-
getEventType
Event type- Returns:
- eventType
-
setEventType
-
details
-
getDetails
Event data. Can be any JSON object or nothing, but should include at least a `message` property to indicate the status of the event.- Returns:
- details
-
setDetails
-
id
-
getId
optional event identifier (UUIDv7), can be used for event ordering and deduplication- Returns:
- id
-
setId
-
equals
-
hashCode
-
toString
-