# UnitTestingTrait.TestStructArrayArgumentRequestCommand.Request

# UnitTestingTrait.TestStructArrayArgumentRequestCommand.Request


```
class UnitTestingTrait.TestStructArrayArgumentRequestCommand.Request : ClusterStruct
```

<br />

*** ** * ** ***

The request payload for the TestStructArrayArgumentRequest 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.TestStructArrayArgumentRequestCommand.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.TestStructArrayArgumentRequestCommand.Request#Request(kotlin.collections.List,kotlin.collections.List,kotlin.collections.List,kotlin.collections.List,com.google.home.matter.standard.UnitTestingTrait.SimpleEnum,kotlin.Boolean)( arg1: 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.NestedStructList>, arg2: 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>, arg3: 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>, arg4: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html>, arg5: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleEnum, arg6: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html )` Creates a request payload for the TestStructArrayArgumentRequest 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.TestStructArrayArgumentRequestCommand.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.TestStructArrayArgumentRequestCommand.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.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.NestedStructList>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestStructArrayArgumentRequestCommand.Request#arg1()` `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.NestedStructList` list argument. |
| `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.TestStructArrayArgumentRequestCommand.Request#arg2()` `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleStruct` list argument. |
| `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.TestStructArrayArgumentRequestCommand.Request#arg3()` `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.SimpleEnum` list argument. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/UnitTestingTrait.TestStructArrayArgumentRequestCommand.Request#arg4()` boolean list 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.TestStructArrayArgumentRequestCommand.Request#arg5()` `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.TestStructArrayArgumentRequestCommand.Request#arg6()` Boolean argument. |

## Public constructors

### Request

```
Request(
    arg1: List<UnitTestingTrait.NestedStructList> = emptyList(),
    arg2: List<UnitTestingTrait.SimpleStruct> = emptyList(),
    arg3: List<UnitTestingTrait.SimpleEnum> = emptyList(),
    arg4: List<Boolean> = emptyList(),
    arg5: UnitTestingTrait.SimpleEnum = SimpleEnum.Unspecified,
    arg6: Boolean = false
)
```

Creates a request payload for the TestStructArrayArgumentRequest 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: List<UnitTestingTrait.NestedStructList>
```

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

### arg2

```
val arg2: List<UnitTestingTrait.SimpleStruct>
```

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

### arg3

```
val arg3: List<UnitTestingTrait.SimpleEnum>
```

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

### arg4

```
val arg4: List<Boolean>
```

boolean list argument.

### arg5

```
val arg5: UnitTestingTrait.SimpleEnum
```

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

### arg6

```
val arg6: Boolean
```

Boolean argument.