OutputTypeMismatch

class OutputTypeMismatch : ValidationIssue


An output variable has been defined in multiple nodes with different types.

Summary

Public constructors

OutputTypeMismatch(
    node: Node,
    severity: ValidationIssueSeverity,
    output: String,
    otherNodes: List<Node>
)

Create an OutputTypeMismatch instance.

Public properties

List<Node>

A list of the nodes where the output variable is also defined.

String

The output.

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

OutputTypeMismatch

OutputTypeMismatch(
    node: Node,
    severity: ValidationIssueSeverity,
    output: String,
    otherNodes: List<Node>
)

Create an OutputTypeMismatch instance.

Public properties

otherNodes

val otherNodesList<Node>

A list of the nodes where the output variable is also defined.

output

val outputString

The output.