BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request

class BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request : ClusterStruct


The request payload for the EnableDisableAlarm command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

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

BooleanStateConfigurationTrait.AlarmModeBitmap

The alarm modes to enable or disable.

Public constructors

Request

Request(
    alarmsToEnableDisable: BooleanStateConfigurationTrait.AlarmModeBitmap = AlarmModeBitmap()
)

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

alarmsToEnableDisable

val alarmsToEnableDisableBooleanStateConfigurationTrait.AlarmModeBitmap

The alarm modes to enable or disable.