# MissingRequiredParameters

# MissingRequiredParameters


```
class MissingRequiredParameters : ValidationIssue
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.home.automation.ValidationIssue](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue) ||
|   | ↳ | [com.google.home.automation.MissingRequiredParameters](https://developers.home.google.com/reference/kotlin/com/google/home/automation/MissingRequiredParameters) |

*** ** * ** ***

Required parameters not set. Only one of the following fields is populated: `commandId`, `eventId` or `traitId`.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/MissingRequiredParameters#MissingRequiredParameters(com.google.home.automation.Node,com.google.home.automation.ValidationIssueSeverity,kotlin.collections.List,kotlin.String,kotlin.String,kotlin.String)( node: https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node, severity: https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueSeverity, parameterNames: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, commandId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?, eventId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?, traitId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html? )` Create an `MissingRequiredParameters` instance. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/MissingRequiredParameters#commandId()` The unique ID of the command. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/MissingRequiredParameters#eventId()` The unique ID of the event. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/MissingRequiredParameters#parameterNames()` A list of the names of the missing required parameters. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/MissingRequiredParameters#traitId()` The unique ID of the trait. |

| ### Inherited functions |
|---|
| From [com.google.home.automation.ValidationIssue](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue) |---|---| | `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#toString()()` | |

| ### Inherited properties |
|---|
| From [com.google.home.automation.ValidationIssue](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue) |---|---| | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#issueType()` The type of the validation issue. | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#node()` The node for which validation is failing. | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueSeverity` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#severity()` The severity of the validation issue. | |

## Public constructors

### MissingRequiredParameters

```
MissingRequiredParameters(
    node: Node,
    severity: ValidationIssueSeverity,
    parameterNames: List<String>,
    commandId: String? = null,
    eventId: String? = null,
    traitId: String? = null
)
```

Create an `MissingRequiredParameters` instance.

## Public properties

### commandId

```
val commandId: String?
```

The unique ID of the command.

### eventId

```
val eventId: String?
```

The unique ID of the event.

### parameterNames

```
val parameterNames: List<String>
```

A list of the names of the missing required parameters.

### traitId

```
val traitId: String?
```

The unique ID of the trait.