ReadOnlyAttribute

class ReadOnlyAttribute : ValidationIssue


The attribute is not modifiable without a command, by write.

Summary

Public constructors

ReadOnlyAttribute(
    node: Node,
    severity: ValidationIssueSeverity,
    traitId: String,
    attributeName: String
)

Create an ReadOnlyAttribute instance.

Public properties

String

The name of the attribute.

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

ReadOnlyAttribute

ReadOnlyAttribute(
    node: Node,
    severity: ValidationIssueSeverity,
    traitId: String,
    attributeName: String
)

Create an ReadOnlyAttribute instance.

Public properties

attributeName

val attributeNameString

The name of the attribute.

traitId

val traitIdString

The unique ID of the trait.