# DoorLockTrait.DlCredentialRuleMask

# DoorLockTrait.DlCredentialRuleMask


```
data class DoorLockTrait.DlCredentialRuleMask
```

<br />

*** ** * ** ***

Credential rules.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/DoorLockTrait.DlCredentialRuleMask#DlCredentialRuleMask(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 DlCredentialRuleMask 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.DlCredentialRuleMask#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.DlCredentialRuleMask#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.DlCredentialRuleMask#single()` 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.DlCredentialRuleMask#tri()` Three credentials are required to operate the lock. |

## Public constructors

### DlCredentialRuleMask

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

Creates the DlCredentialRuleMask 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
```

One credential is required to operate the lock.

### tri

```
val tri: Boolean
```

Three credentials are required to operate the lock.