InvalidEvent

class InvalidEvent : ValidationIssue


The event ID is not found in the event schema. The optional expectedBehaviorType indicates it belongs to other schemas.

Summary

Public constructors

InvalidEvent(
    node: Node,
    severity: ValidationIssueSeverity,
    eventId: String,
    expectedBehaviorType: String
)

Create an InvalidEvent instance.

Public properties

String

The unique ID of the event.

String

Description of the expected behavior.

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

InvalidEvent

InvalidEvent(
    node: Node,
    severity: ValidationIssueSeverity,
    eventId: String,
    expectedBehaviorType: String
)

Create an InvalidEvent instance.

Public properties

eventId

val eventIdString

The unique ID of the event.

expectedBehaviorType

val expectedBehaviorTypeString

Description of the expected behavior.