# BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request

# BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request


```
class BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request : ClusterStruct
```

<br />

*** ** * ** ***

The request payload for the EnableDisableAlarm command.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request#Request(com.google.home.matter.standard.BooleanStateConfigurationTrait.AlarmModeBitmap)( alarmsToEnableDisable: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.AlarmModeBitmap )` Creates a request payload for the EnableDisableAlarm command. |

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.AlarmModeBitmap` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.EnableDisableAlarmCommand.Request#alarmsToEnableDisable()` 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

```
@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

### alarmsToEnableDisable

```
val alarmsToEnableDisable: BooleanStateConfigurationTrait.AlarmModeBitmap
```

The alarm modes to enable or disable.