# LockUnlockTrait


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

<br />

*** ** * ** ***

Attributes for LockUnlockTrait.

## 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/google/LockUnlockTrait.Attributes : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Attributes for the LockUnlock cluster. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.Feature` |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.LockCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Lock the device. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.LockCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Lock command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.LockCommand.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. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.LockFollowUp : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Follow up response for the `https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockCommands#lock(kotlin.String)` command. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.LockState : 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 current state of the device. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.LockUnlockErrorFollowUp : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.StatusEnum : 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 status of the lock or unlock command. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.UnlockCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Unlock the device. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.UnlockCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Unlock command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.UnlockCommand.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. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockTrait.UnlockFollowUp : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Follow up response for the `https://developers.home.google.com/reference/kotlin/com/google/home/google/LockUnlockCommands#unlock(kotlin.String)` command. |

| ### 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/google/LockUnlockTrait#Id()` |

## Public properties

### Id

```
val Id: ClusterId
```