# UnitTestingTrait.TestEvent

# UnitTestingTrait.TestEvent


```
interface UnitTestingTrait.TestEvent : ClusterStruct
```

<br />

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

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTesting.TestEventEvent` |   |

*** ** * ** ***

## 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/UnitTestingTrait.TestEvent#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/UnitTestingTrait.TestEvent#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/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestEvent#arg1()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestEvent#arg2()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestEvent#arg3()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestEvent#arg4()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestEvent#arg5()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleEnum>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestEvent#arg6()` |

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

### arg1

```
val arg1: UByte?
```

### arg2

```
val arg2: UnitTestingTrait.SimpleEnum?
```

### arg3

```
val arg3: Boolean?
```

### arg4

```
val arg4: UnitTestingTrait.SimpleStruct?
```

### arg5

```
val arg5: List<UnitTestingTrait.SimpleStruct>?
```

### arg6

```
val arg6: List<UnitTestingTrait.SimpleEnum>?
```