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 actual: String

The actual parameter type.

expected

val expected: String

The expected parameter type.

id

val id: Int?

The unique ID of the parameter.

name

val name: String?

The name of the parameter.