FillTrait.Level

class FillTrait.Level : ClusterStruct


Level name and its language-specific synonyms.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Level(levelName: String, levelValues: List<FillTrait.LevelSynonym>)

Creates the Level class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

String

Internal name of the level.

List<FillTrait.LevelSynonym>

Synonyms of the level in each supported language.

Public constructors

Level

Level(
    levelName: String = "",
    levelValues: List<FillTrait.LevelSynonym> = emptyList()
)

Creates the Level class.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

levelName

val levelNameString

Internal name of the level. This can be non-user-friendly, and will be shared across all languages.

levelValues

val levelValuesList<FillTrait.LevelSynonym>

Synonyms of the level in each supported language.