ThermostatTrait.AddThermostatSuggestionCommand.Request

class ThermostatTrait.AddThermostatSuggestionCommand.Request : ClusterStruct


Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    presetHandle: ByteArray,
    effectiveTime: UInt?,
    expirationInMinutes: 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

Request

Request(
    presetHandle: ByteArray = ByteArray(0),
    effectiveTime: UInt? = null,
    expirationInMinutes: UShort
)

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

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

Public properties

effectiveTime

val effectiveTimeUInt?

expirationInMinutes

val expirationInMinutesUShort

presetHandle

val presetHandleByteArray