Skip to main content

NameFormat

enum NameFormat : Enum<NameFormat>

Two different view options for a name. At ->test@example | Dot ->test.example.iota

Entries​

ATAT
DOTDOT

Properties​

NameSummary
entriesval entries: EnumEntries<NameFormat>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
nameval name: String
ordinalval ordinal: Int

Functions​

NameSummary
toDisplayStringfun toDisplayString(): String
Render this type as human-readable text.
valueOffun valueOf(value: String): NameFormat
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.)
valuesfun values(): Array<NameFormat>
Returns an array containing the constants of this enum type, in the order they're declared.

AT​

AT

Properties​

NameSummary
nameval name: String
ordinalval ordinal: Int

Functions​

NameSummary
toDisplayStringfun toDisplayString(): String
Render this type as human-readable text.

DOT​

DOT

Properties​

NameSummary
nameval name: String
ordinalval ordinal: Int

Functions​

NameSummary
toDisplayStringfun toDisplayString(): String
Render this type as human-readable text.