# ApplicationBasicTrait.Attributes


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

<br />

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

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

*** ** * ** ***

Attributes for the ApplicationBasic 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/ApplicationBasicTrait.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/ApplicationBasicTrait.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/ApplicationBasicTrait.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-short/index.html>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.Attributes#allowedVendorList()` The list of allowed Vendor IDs. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.ApplicationStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.Attributes#application()` The ID of the content app. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.Attributes#applicationName()` The name of the content app. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.Attributes#applicationVersion()` The content app version. |
| `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/ApplicationBasicTrait.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/ApplicationBasicTrait.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/ApplicationBasicTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.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/ApplicationBasicTrait.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-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.Attributes#productId()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.ApplicationStatusEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.Attributes#status()` The app status. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.Attributes#vendorId()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.Attributes#vendorName()` The name of the vendor of the content app. |

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

### allowedVendorList

```
val allowedVendorList: List<UShort>?
```

The list of allowed Vendor IDs.

**Access type:** Read

### application

```
val application: ApplicationBasicTrait.ApplicationStruct?
```

The ID of the content app.

**Access type:** Read

### applicationName

```
val applicationName: String?
```

The name of the content app.

**Access type:** Read

### applicationVersion

```
val applicationVersion: String?
```

The content app version.

**Access type:** Read

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

### productId

```
val productId: UShort?
```

### status

```
val status: ApplicationBasicTrait.ApplicationStatusEnum?
```

The app status. Valid values are defined in `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationBasicTrait.ApplicationStatusEnum`.

**Access type:** Read

### vendorId

```
val vendorId: UShort?
```

### vendorName

```
val vendorName: String?
```

The name of the vendor of the content app.

**Access type:** Read