# ContentLauncherTrait.ParameterStruct

# ContentLauncherTrait.ParameterStruct


```
class ContentLauncherTrait.ParameterStruct : ClusterStruct
```

<br />

*** ** * ** ***

Inputs to a search for content for display or playback.

## 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/ContentLauncherTrait.ParameterStruct.StructFields : 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 struct's fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.ParameterStruct#ParameterStruct(com.google.home.matter.standard.ContentLauncherTrait.ParameterEnum,kotlin.String,com.google.home.matter.serialization.OptionalValue)( type: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.ParameterEnum, value: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, externalIdList: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.AdditionalInfoStruct>> )` Creates the ParameterStruct class. |

| ### 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/ContentLauncherTrait.ParameterStruct#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/ContentLauncherTrait.ParameterStruct#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://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.AdditionalInfoStruct>>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.ParameterStruct#externalIdList()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.ParameterEnum` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.ParameterStruct#type()` The entity type. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.ParameterStruct#value()` The entity value. |

## Public constructors

### ParameterStruct

```
ParameterStruct(
    type: ContentLauncherTrait.ParameterEnum = ParameterEnum.Actor,
    value: String = "",
    externalIdList: OptionalValue<List<ContentLauncherTrait.AdditionalInfoStruct>> = OptionalValue.absent()
)
```

Creates the ParameterStruct class.

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

### externalIdList

```
val externalIdList: OptionalValue<List<ContentLauncherTrait.AdditionalInfoStruct>>
```

### type

```
val type: ContentLauncherTrait.ParameterEnum
```

The entity type.

### value

```
val value: String
```

The entity value.