UnitTestingTrait.TestEnumsRequestCommand.Request

class UnitTestingTrait.TestEnumsRequestCommand.Request : ClusterStruct


The request payload for the TestEnumsRequest command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Creates a request payload for the TestEnumsRequest command.

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

UShort

Unsigned 16-bit integer argument.

UnitTestingTrait.SimpleEnum

SimpleEnum argument.

Public constructors

Request

Request(
    arg1: UShort,
    arg2: UnitTestingTrait.SimpleEnum = SimpleEnum.Unspecified
)

Creates a request payload for the TestEnumsRequest command.

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

arg1

val arg1UShort

Unsigned 16-bit integer argument.