Unknown

class Unknown(val stringValue: String) : EnumValue<Nothing> (source)

An enum value that this code does not know.

Constructors

Link copied to clipboard
constructor(stringValue: String)

Properties

Link copied to clipboard
open override val stringValue: String

The Enum.name of Known.value, or the string the server sent in the case of Unknown.

Link copied to clipboard
open override val value: Nothing? = null

Always null.

Functions

Link copied to clipboard
fun copy(stringValue: String = this.stringValue): EnumValue.Unknown

A copy with the given value replaced.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String