ThermostatTrait.AtomicRequestCommand.Response

class ThermostatTrait.AtomicRequestCommand.Response : ClusterStruct


Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Response(
    statusCode: UByte,
    attributeStatus: List<ThermostatTrait.AtomicAttributeStatusStruct>,
    timeout: UShort?
)

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(
    statusCode: UByte,
    attributeStatus: List<ThermostatTrait.AtomicAttributeStatusStruct> = emptyList(),
    timeout: UShort? = 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

statusCode

val statusCodeUByte

timeout

val timeoutUShort?