# UnitTestingTrait.TestEmitTestEventRequestCommand.Request

# UnitTestingTrait.TestEmitTestEventRequestCommand.Request


```
class UnitTestingTrait.TestEmitTestEventRequestCommand.Request : ClusterStruct
```

<br />

*** ** * ** ***

The request payload for the TestEmitTestEventRequest command.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestEmitTestEventRequestCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestEmitTestEventRequestCommand.Request#Request(kotlin.UByte,com.google.home.matter.standard.UnitTestingTrait.SimpleEnum,kotlin.Boolean)(arg1: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html, arg2: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleEnum, arg3: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Creates a request payload for the TestEmitTestEventRequest command. |

| ### 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.TestEmitTestEventRequestCommand.Request#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.TestEmitTestEventRequestCommand.Request#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.TestEmitTestEventRequestCommand.Request#arg1()` Unsigned 8-bit integer argument. |
| `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.TestEmitTestEventRequestCommand.Request#arg2()` `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleEnum` argument. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestEmitTestEventRequestCommand.Request#arg3()` Boolean argument. |

## Public constructors

### Request

```
Request(
    arg1: UByte,
    arg2: UnitTestingTrait.SimpleEnum = SimpleEnum.Unspecified,
    arg3: Boolean = false
)
```

Creates a request payload for the TestEmitTestEventRequest command.

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

Unsigned 8-bit integer argument.

### arg2

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

`https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleEnum` argument.

### arg3

```
val arg3: Boolean
```

Boolean argument.