UnitTestingTrait.TestStructArrayArgumentRequestCommand.Response

class UnitTestingTrait.TestStructArrayArgumentRequestCommand.Response : ClusterStruct


Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Response(
    arg1: List<UnitTestingTrait.NestedStructList>,
    arg2: List<UnitTestingTrait.SimpleStruct>,
    arg3: List<UnitTestingTrait.SimpleEnum>,
    arg4: List<Boolean>,
    arg5: UnitTestingTrait.SimpleEnum,
    arg6: Boolean
)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public constructors

Response

Response(
    arg1: List<UnitTestingTrait.NestedStructList> = emptyList(),
    arg2: List<UnitTestingTrait.SimpleStruct> = emptyList(),
    arg3: List<UnitTestingTrait.SimpleEnum> = emptyList(),
    arg4: List<Boolean> = emptyList(),
    arg5: UnitTestingTrait.SimpleEnum = SimpleEnum.Unspecified,
    arg6: Boolean = false
)

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.