# OperationalStateTrait


```
@Generated(value = ["GoogleHomePlatformCodegen"])
object OperationalStateTrait
```

<br />

*** ** * ** ***

Attributes for OperationalStateTrait.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/javax/annotation/processing/Generated(value = ["GoogleHomePlatformCodegen"]) interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.Attributes : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Attributes for the OperationalState cluster. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.ErrorStateEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` The error states. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.ErrorStateStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Used to indicate the error state of the device when the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.Attributes#operationalState()` attribute is Error. |
| `@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/OperationalStateTrait.ErrorStateStruct.StructFields : 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 struct's fields. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.Feature` |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.OperationCompletion : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` This event is generated when the overall operation ends, successfully or otherwise. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.OperationalError : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` This event is generated when a reportable error condition is detected. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.OperationalStateEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` The operational states. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.OperationalStateStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Used to indicate a possible state of the device. |
| `@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/OperationalStateTrait.OperationalStateStruct.StructFields : 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 struct's fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.PauseCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Pause the device if possible, based on the current operation underway. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.PauseCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Pause command. |
| `@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/OperationalStateTrait.PauseCommand.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. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.PauseCommand.Response : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The result of the completed `Pause` command. |
| `@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/OperationalStateTrait.PauseCommand.Response.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 response fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.ResumeCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Resume operation if the device is in a state where it can be resumed. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.ResumeCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Resume command. |
| `@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/OperationalStateTrait.ResumeCommand.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. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.ResumeCommand.Response : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The result of the completed `Resume` command. |
| `@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/OperationalStateTrait.ResumeCommand.Response.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 response fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.StartCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Start the device if the device is in a state where it can be started. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.StartCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Start command. |
| `@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/OperationalStateTrait.StartCommand.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. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.StartCommand.Response : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The result of the completed `Start` command. |
| `@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/OperationalStateTrait.StartCommand.Response.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 response fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.StopCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Stop the device if possible, based on the current operation underway. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.StopCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Stop command. |
| `@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/OperationalStateTrait.StopCommand.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. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.StopCommand.Response : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The result of the completed `Stop` command. |
| `@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/OperationalStateTrait.StopCommand.Response.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 response fields. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterId` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait#Id()` |

## Public properties

### Id

```
val Id: ClusterId
```