# ThermostatTrait.SetpointRaiseLowerCommand.Request

# ThermostatTrait.SetpointRaiseLowerCommand.Request


```
class ThermostatTrait.SetpointRaiseLowerCommand.Request : ClusterStruct
```

<br />

*** ** * ** ***

The request payload for the SetpointRaiseLower 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/ThermostatTrait.SetpointRaiseLowerCommand.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/ThermostatTrait.SetpointRaiseLowerCommand.Request#Request(com.google.home.matter.standard.ThermostatTrait.SetpointRaiseLowerModeEnum,kotlin.Byte)(mode: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.SetpointRaiseLowerModeEnum, amount: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html)` Creates a request payload for the SetpointRaiseLower 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/ThermostatTrait.SetpointRaiseLowerCommand.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/ThermostatTrait.SetpointRaiseLowerCommand.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://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.SetpointRaiseLowerCommand.Request#amount()` The amount (possibly negative) that should be added to the setpoint(s), in steps of 0.1°C. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.SetpointRaiseLowerModeEnum` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.SetpointRaiseLowerCommand.Request#mode()` The setpoint(s) to be adjusted. |

## Public constructors

### Request

```
Request(
    mode: ThermostatTrait.SetpointRaiseLowerModeEnum = SetpointRaiseLowerModeEnum.Heat,
    amount: Byte = 0
)
```

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

### amount

```
val amount: Byte
```

The amount (possibly negative) that should be added to the setpoint(s), in steps of 0.1°C.

### mode

```
val mode: ThermostatTrait.SetpointRaiseLowerModeEnum
```

The setpoint(s) to be adjusted. Valid values are defined by `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.SetpointRaiseLowerModeEnum`.