UnsupportedSubNodeType

class UnsupportedSubNodeType : ValidationIssue


The sub-node type is not allowed inside the parent node.

Summary

Public constructors

UnsupportedSubNodeType(
    node: Node,
    severity: ValidationIssueSeverity,
    parentNodeType: String,
    subNodeType: String
)

Create an UnsupportedSubNodeType instance.

Public properties

String

The parent node type.

String

The sub node type.

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

UnsupportedSubNodeType

UnsupportedSubNodeType(
    node: Node,
    severity: ValidationIssueSeverity,
    parentNodeType: String,
    subNodeType: String
)

Create an UnsupportedSubNodeType instance.

Public properties

parentNodeType

val parentNodeTypeString

The parent node type.

subNodeType

val subNodeTypeString

The sub node type.