You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
451 B

package com.keylesspalace.tusky.entity
import com.google.gson.annotations.SerializedName
data class StreamEvent (
val event: EventType,
val payload: String
) {
enum class EventType {
UNKNOWN,
@SerializedName("update")
UPDATE,
@SerializedName("notification")
NOTIFICATION,
@SerializedName("delete")
DELETE,
@SerializedName("filters_changed")
FILTERS_CHANGED;
}
}