InvalidConditionType

class InvalidConditionType : ValidationIssue


The condition type is not valid.

Summary

Public constructors

InvalidConditionType(
    node: Node,
    severity: ValidationIssueSeverity,
    expression: Expression?,
    expected: String,
    actual: String
)

Create an InvalidConditionType instance.

Public properties

String

The actual condition type.

String

The expected condition type.

Expression?

The expression.

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

InvalidConditionType

InvalidConditionType(
    node: Node,
    severity: ValidationIssueSeverity,
    expression: Expression?,
    expected: String,
    actual: String
)

Create an InvalidConditionType instance.

Public properties

actual

val actualString

The actual condition type.

expected

val expectedString

The expected condition type.

expression

val expressionExpression?

The expression.