UnitTestingTrait.TestNullableOptionalRequestCommand.Response

class UnitTestingTrait.TestNullableOptionalRequestCommand.Response : ClusterStruct


Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Response(
    wasPresent: Boolean,
    wasNull: Boolean?,
    value: UByte?,
    originalValue: UByte?
)

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(
    wasPresent: Boolean = false,
    wasNull: Boolean? = null,
    value: UByte? = null,
    originalValue: UByte? = null
)

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

originalValue

val originalValueUByte?

value

val valueUByte?

wasNull

val wasNullBoolean?

wasPresent

val wasPresentBoolean