# DoorLockTrait.DlCredentialRulesSupport

# DoorLockTrait.DlCredentialRulesSupport


```
data class DoorLockTrait.DlCredentialRulesSupport
```

<br />

*** ** * ** ***

Credential rules.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DoorLockTrait.DlCredentialRulesSupport#DlCredentialRulesSupport(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(single: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, dual: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, tri: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Creates the DlCredentialRulesSupport data class. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DoorLockTrait.DlCredentialRulesSupport#toRaw()()` Convert this ClusterBitmap to raw (bytes) format |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DoorLockTrait.DlCredentialRulesSupport#dual()` Two credentials are required to operate the lock. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DoorLockTrait.DlCredentialRulesSupport#single()` Only one credential is required to operate the lock. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DoorLockTrait.DlCredentialRulesSupport#tri()` Three credentials are required to operate the lock. |

## Public constructors

### DlCredentialRulesSupport

```
DlCredentialRulesSupport(
    single: Boolean = false,
    dual: Boolean = false,
    tri: Boolean = false
)
```

Creates the DlCredentialRulesSupport data class.

## Public functions

### toRaw

```
open fun toRaw(): ULong
```

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### dual

```
val dual: Boolean
```

Two credentials are required to operate the lock.

### single

```
val single: Boolean
```

Only one credential is required to operate the lock.

### tri

```
val tri: Boolean
```

Three credentials are required to operate the lock.