# FilterMonitoringTrait.Attributes

# FilterMonitoringTrait.Attributes


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

<br />

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

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

*** ** * ** ***

Attributes for the FilterMonitoring 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/google/FilterMonitoringTrait.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/google/FilterMonitoringTrait.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/google/FilterMonitoringTrait.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/google/FilterMonitoringTrait.Attributes#attributeList()` A list of the attribute IDs of the attributes supported by the cluster instance. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/google/FilterMonitoringTrait.ChangeIndication?` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/FilterMonitoringTrait.Attributes#changeIndicationCleanliness()` The current requirement to change the filter, based on its cleanliness. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/google/FilterMonitoringTrait.ChangeIndication?` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/FilterMonitoringTrait.Attributes#changeIndicationLifetime()` The current requirement to change the filter, based on its lifetime. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/FilterMonitoringTrait.Attributes#clusterRevision()` The revision of the server cluster specification supported by the cluster instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/FilterMonitoringTrait.Attributes#condition()` The current condition of the filter based on percentage used. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/google/FilterMonitoringTrait.FilterMonitoringFeature` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/FilterMonitoringTrait.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/google/FilterMonitoringTrait.Attributes#generatedCommandList()` A list of server-generated commands (server to client) which are supported by this cluster server instance. |

## 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.

### changeIndicationCleanliness

```
val changeIndicationCleanliness: FilterMonitoringTrait.ChangeIndication?
```

The current requirement to change the filter, based on its cleanliness.

**Access type:** Read

### changeIndicationLifetime

```
val changeIndicationLifetime: FilterMonitoringTrait.ChangeIndication?
```

The current requirement to change the filter, based on its lifetime.

**Access type:** Read

### clusterRevision

```
val clusterRevision: UShort
```

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

### condition

```
val condition: UInt?
```

The current condition of the filter based on percentage used.

**Access type:** Read

### featureMap

```
val featureMap: FilterMonitoringTrait.FilterMonitoringFeature
```

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.