UnitTestingTrait.TestEmitTestEventRequestCommand.Request

class UnitTestingTrait.TestEmitTestEventRequestCommand.Request : ClusterStruct


The request payload for the TestEmitTestEventRequest command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Creates a request payload for the TestEmitTestEventRequest 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

UByte

Unsigned 8-bit integer argument.

UnitTestingTrait.SimpleEnum

SimpleEnum argument.

Boolean

Boolean argument.

Public constructors

Request

Request(
    arg1: UByte,
    arg2: UnitTestingTrait.SimpleEnum = SimpleEnum.Unspecified,
    arg3: Boolean = false
)

Creates a request payload for the TestEmitTestEventRequest 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 arg1UByte

Unsigned 8-bit integer argument.

arg3

val arg3Boolean

Boolean argument.