# ZoneManagementTrait.Attributes


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface ZoneManagementTrait.Attributes : ClusterStruct
```

<br />

Known direct subclasses [ZoneManagement](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagement)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagement` | API for the ZoneManagement trait. |

*** ** * ** ***

Attributes for the ZoneManagement cluster.

## Summary

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#acceptedCommandList()` A list of client-generated commands which are supported by this cluster server instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#attributeList()` A list of the attribute IDs of the attributes supported by the cluster instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#clusterRevision()` The revision of the server cluster specification supported by the cluster instance. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#featureMap()` Whether the server supports zero or more optional cluster features. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#generatedCommandList()` A list of server-generated commands (server to client) which are supported by this cluster server instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#maxUserDefinedZones()` The maximum number of user-defined zones supported. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#maxZones()` The maximum number of zones supported. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#sensitivity()` The sensitivity of the underlying zone triggering detection mechanism. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#sensitivityMax()` The maximum sensitivity level supported. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneTriggerControlStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#triggers()` Specifies all currently defined triggers controlling the generation of `ZoneTriggered` and `ZoneStopped` events. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.TwoDCartesianVertexStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#twoDCartesianMax()` The maximum X and Y points that are allowed for TwoD Cartesian Zones. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneInformationStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.Attributes#zones()` All currently defined zones as a list of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneInformationStruct`. |

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### acceptedCommandList

```
val acceptedCommandList: List<UInt>
```

A list of client-generated commands which are supported by this cluster server instance.

### attributeList

```
val attributeList: List<UInt>
```

A list of the attribute IDs of the attributes supported by the cluster instance.

### clusterRevision

```
val clusterRevision: UShort
```

The revision of the server cluster specification supported by the cluster instance.

### featureMap

```
val featureMap: ZoneManagementTrait.Feature
```

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

### generatedCommandList

```
val generatedCommandList: List<UInt>
```

A list of server-generated commands (server to client) which are supported by this cluster server instance.

### maxUserDefinedZones

```
val maxUserDefinedZones: UByte?
```

The maximum number of user-defined zones supported.

**Access type:** Read

### maxZones

```
val maxZones: UByte?
```

The maximum number of zones supported.

**Access type:** Read

### sensitivity

```
val sensitivity: UByte?
```

The sensitivity of the underlying zone triggering detection mechanism.

**Access type:** Write

### sensitivityMax

```
val sensitivityMax: UByte?
```

The maximum sensitivity level supported.

**Access type:** Read

### triggers

```
val triggers: List<ZoneManagementTrait.ZoneTriggerControlStruct>?
```

Specifies all currently defined triggers controlling the generation of `ZoneTriggered` and `ZoneStopped` events.

**Access type:** Read

### twoDCartesianMax

```
val twoDCartesianMax: ZoneManagementTrait.TwoDCartesianVertexStruct?
```

The maximum X and Y points that are allowed for TwoD Cartesian Zones.

**Access type:** Read

### zones

```
val zones: List<ZoneManagementTrait.ZoneInformationStruct>?
```

All currently defined zones as a list of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneInformationStruct`. Use the commands from this cluster to add, update, or remove entries from this list.

**Access type:** Read