InvalidParameter

class InvalidParameter : ValidationIssue


The parameter name is not found in the behavior schema. Only one of the following fields is populated: commandId, eventId or traitId.

Summary

Public constructors

InvalidParameter(
    node: Node,
    severity: ValidationIssueSeverity,
    parameterName: String,
    commandId: String?,
    eventId: String?,
    traitId: String?
)

Create an InvalidParameter instance.

Public properties

String?

The unique ID of the command.

String?

The unique ID of the event.

String

The name of the parameter.

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

InvalidParameter

InvalidParameter(
    node: Node,
    severity: ValidationIssueSeverity,
    parameterName: String,
    commandId: String? = null,
    eventId: String? = null,
    traitId: String? = null
)

Create an InvalidParameter instance.

Public properties

commandId

val commandIdString?

The unique ID of the command.

eventId

val eventIdString?

The unique ID of the event.

parameterName

val parameterNameString

The name of the parameter.

traitId

val traitIdString?

The unique ID of the trait.