MissingRequiredParameters

class MissingRequiredParameters : ValidationIssue


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

Summary

Public constructors

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

Create an MissingRequiredParameters instance.

Public properties

String?

The unique ID of the command.

String?

The unique ID of the event.

List<String>

A list of the names of the missing required parameters.

String?

The unique ID of the trait.

Inherited properties

From com.google.home.automation.ValidationIssue
ValidationIssueType

The type of the validation issue.

Node

The node for which validation is failing.

ValidationIssueSeverity

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 commandIdString?

The unique ID of the command.

eventId

val eventIdString?

The unique ID of the event.

parameterNames

val parameterNamesList<String>

A list of the names of the missing required parameters.

traitId

val traitIdString?

The unique ID of the trait.