# ListConstraint

# ListConstraint


```
class ListConstraint : Constraint
```

<br />

*** ** * ** ***

Represents constraints on elements of a list.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ListConstraint#ListConstraint(com.google.home.automation.Constraint)(elementConstraint: https://developers.home.google.com/reference/kotlin/com/google/home/automation/Constraint)` Create a `ListConstraint` instance. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Constraint` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ListConstraint#elementConstraint()` The allowed values for each element of the list. |

## Public constructors

### ListConstraint

```
ListConstraint(elementConstraint: Constraint)
```

Create a `ListConstraint` instance.

## Public properties

### elementConstraint

```
val elementConstraint: Constraint
```

The allowed values for each element of the list.