# ColorControlTrait.StepColorTemperatureCommand.Request

# ColorControlTrait.StepColorTemperatureCommand.Request


```
class ColorControlTrait.StepColorTemperatureCommand.Request : ClusterStruct
```

<br />

*** ** * ** ***

The request payload for the StepColorTemperature 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/ColorControlTrait.StepColorTemperatureCommand.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/ColorControlTrait.StepColorTemperatureCommand.Request#Request(com.google.home.matter.standard.ColorControlTrait.StepModeEnum,kotlin.UShort,kotlin.UShort,kotlin.UShort,kotlin.UShort,com.google.home.matter.standard.ColorControlTrait.OptionsBitmap,com.google.home.matter.standard.ColorControlTrait.OptionsBitmap)( stepMode: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepModeEnum, stepSize: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, transitionTime: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, colorTemperatureMinimumMireds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, colorTemperatureMaximumMireds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, optionsMask: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.OptionsBitmap, optionsOverride: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.OptionsBitmap )` Creates a request payload for the StepColorTemperature 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/ColorControlTrait.StepColorTemperatureCommand.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/ColorControlTrait.StepColorTemperatureCommand.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/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorTemperatureCommand.Request#colorTemperatureMaximumMireds()` The upper bound of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` attribute for the command. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorTemperatureCommand.Request#colorTemperatureMinimumMireds()` The lower bound of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` attribute for the command. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.OptionsBitmap` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorTemperatureCommand.Request#optionsMask()` Determines which bits in the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#options()` attribute should be overridden by `optionsOverride`. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.OptionsBitmap` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorTemperatureCommand.Request#optionsOverride()` If the corresponding bit in `optionsMask` is set to `1`, the bit set here overrides the corresponding bit in `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#options()` attribute. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepModeEnum` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorTemperatureCommand.Request#stepMode()` The direction in which to move the color temperature. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorTemperatureCommand.Request#stepSize()` The amount of units to move the device's `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` to. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StepColorTemperatureCommand.Request#transitionTime()` The time (in 0.1 seconds) taken to move the device to the new color temperature. |

## Public constructors

### Request

```
Request(
    stepMode: ColorControlTrait.StepModeEnum = StepModeEnum.Up,
    stepSize: UShort,
    transitionTime: UShort,
    colorTemperatureMinimumMireds: UShort,
    colorTemperatureMaximumMireds: UShort,
    optionsMask: ColorControlTrait.OptionsBitmap = OptionsBitmap(),
    optionsOverride: ColorControlTrait.OptionsBitmap = OptionsBitmap()
)
```

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

### colorTemperatureMaximumMireds

```
val colorTemperatureMaximumMireds: UShort
```

The upper bound of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` attribute for the command. This value must be between the `colorTemperatureMireds` and `colorTempPhysicalMaxMireds` attributes. If this value is set to `0`, `colorTempPhysicalMaxMireds` is used as the upper bound.

### colorTemperatureMinimumMireds

```
val colorTemperatureMinimumMireds: UShort
```

The lower bound of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` attribute for the command. This value must be between the `colorTempPhysicalMinMireds` and `colorTemperatureMireds` attributes. If this value is set to `0`, `colorTempPhysicalMinMireds` is used as the lower bound.

### optionsMask

```
val optionsMask: ColorControlTrait.OptionsBitmap
```

Determines which bits in the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#options()` attribute should be overridden by `optionsOverride`.

### optionsOverride

```
val optionsOverride: ColorControlTrait.OptionsBitmap
```

If the corresponding bit in `optionsMask` is set to `1`, the bit set here overrides the corresponding bit in `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#options()` attribute.

### stepMode

```
val stepMode: ColorControlTrait.StepModeEnum
```

The direction in which to move the color temperature. This must be one of the values in ColorControlTrait.HueStepMode.

### stepSize

```
val stepSize: UShort
```

The amount of units to move the device's `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.Attributes#colorTemperatureMireds()` to.

### transitionTime

```
val transitionTime: UShort
```

The time (in 0.1 seconds) taken to move the device to the new color temperature.