InvalidArgumentsForOperator

class InvalidArgumentsForOperator : ValidationIssue


Represents the data type of a value.

Summary

Public constructors

InvalidArgumentsForOperator(
    node: Node,
    severity: ValidationIssueSeverity,
    expression: Expression?,
    operator: String,
    actual: List<String>,
    candidates: List<List<String>>
)

Create an InvalidArgumentsForOperator instance.

Public properties

List<String>

List of supplied arguments.

List<List<String>>

List of allowed argument types.

Expression?

The expression.

String

The operator.

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

InvalidArgumentsForOperator

InvalidArgumentsForOperator(
    node: Node,
    severity: ValidationIssueSeverity,
    expression: Expression?,
    operator: String,
    actual: List<String>,
    candidates: List<List<String>>
)

Create an InvalidArgumentsForOperator instance.

Public properties

actual

val actualList<String>

List of supplied arguments.

candidates

val candidatesList<List<String>>

List of allowed argument types.

expression

val expressionExpression?

The expression.

operator

val operatorString

The operator.