UserLabelTrait.LabelStruct

class UserLabelTrait.LabelStruct : ClusterStruct


An object describing an endpoint's label.

Summary

Public constructors

LabelStruct(label: String, value: String)

Creates the LabelStruct 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

An endpoint identifier.

String

A discriminator for a label that may have multiple instances.

Public constructors

LabelStruct

LabelStruct(label: String = "", value: String = "")

Creates the LabelStruct class.

Public functions

getDescriptor

open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

open fun getFieldValueById(tagId: UInt): Any?

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

Public properties

label

val labelString

An endpoint identifier.

value

val valueString

A discriminator for a label that may have multiple instances.