SetOrDont

@Serializable(with = ServiceResultSerializer::class)
sealed class SetOrDont<out T>

Inheritors

Types

Link copied to clipboard
@Serializable
@SerialName(value = "DoNotSet")
data object DoNotSet : SetOrDont<Nothing>
Link copied to clipboard
@Serializable
@SerialName(value = "Set")
data class Set<T>(val value: T) : SetOrDont<T>