# UuidVersion

enum UuidVersion : Enum<Table.UuidVersion>

kotlin.uuid.Uuid instance version.

See also - Version numbers

## Entries

V4
Link copied to clipboard
V4

Unique version 4 UUID returned by Uuid.generateV4.

V7
Link copied to clipboard
V7

Unix Epoch time-based sortable UUID returned by Uuid.generateV7.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<Table.UuidVersion>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): Table.UuidVersion

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<Table.UuidVersion>

Returns an array containing the constants of this enum type, in the order they're declared.