PatchValue

data class PatchValue<out T>

An optional that accepts nullable values. Thus, it can represent two (PatchValue<T>) or three (PatchValue<T>?) states:

  • PatchValue.of(someValue) - value is present and that value is someValue

  • PatchValue.of(null) - value is present and that value is null

  • null - lack of information about value (no update for this field)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val value: T