InvalidParameterType

class InvalidParameterType : ValidationIssue


The parameter type is not valid.

Summary

Public constructors

InvalidParameterType(
    node: Node,
    severity: ValidationIssueSeverity,
    id: Int?,
    name: String?,
    expected: String,
    actual: String
)

Create an InvalidParameterType instance.

Public properties

String

The actual parameter type.

String

The expected parameter type.

Int?

The unique ID of the parameter.

String?

The name of the parameter.

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

InvalidParameterType

InvalidParameterType(
    node: Node,
    severity: ValidationIssueSeverity,
    id: Int? = null,
    name: String? = null,
    expected: String,
    actual: String
)

Create an InvalidParameterType instance.

Public properties

actual

val actualString

The actual parameter type.

expected

val expectedString

The expected parameter type.

id

val idInt?

The unique ID of the parameter.

name

val nameString?

The name of the parameter.