# Type

enum Type : Enum<Type>

The value type of the schema.

## Entries

TYPE_UNSPECIFIED
Link copied to clipboard
TYPE_UNSPECIFIED
STRING
Link copied to clipboard
STRING
NUMBER
Link copied to clipboard
NUMBER
INTEGER
Link copied to clipboard
INTEGER
BOOLEAN
Link copied to clipboard
BOOLEAN
ARRAY
Link copied to clipboard
ARRAY
OBJECT
Link copied to clipboard
OBJECT
NULL
Link copied to clipboard
NULL

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<Type>

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): Type

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<Type>

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