Improve readability of event code
This commit is contained in:
parent
abd0f9630c
commit
132f026c75
|
@ -11,4 +11,12 @@ import kotlinx.serialization.Serializable
|
||||||
sealed interface Event
|
sealed interface Event
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
data class RemoteConfigSetEvent(val token: String, val name: String, val percentage: Int, val defaultValue: String? = null, val value: String? = null, val hashKey: String? = null, val uuids: Collection<String> = Collections.emptyList()) : Event
|
data class RemoteConfigSetEvent(
|
||||||
|
val token: String,
|
||||||
|
val name: String,
|
||||||
|
val percentage: Int,
|
||||||
|
val defaultValue: String? = null,
|
||||||
|
val value: String? = null,
|
||||||
|
val hashKey: String? = null,
|
||||||
|
val uuids: Collection<String> = Collections.emptyList()
|
||||||
|
) : Event
|
||||||
|
|
Loading…
Reference in New Issue