UnsupportedEntityParameterValue

class UnsupportedEntityParameterValue : ValidationIssue


The parameter value is not supported by the entity.

Summary

Public constructors

UnsupportedEntityParameterValue(
    node: Node,
    severity: ValidationIssueSeverity,
    parameterName: String,
    fieldId: Int,
    commandId: String?,
    eventId: String?,
    traitId: String?,
    entityId: String,
    entityType: String?,
    value: Any?,
    valueConstraint: Constraint?
)

Create an UnsupportedEntityParameterValue instance.

Public properties

String?

The unique ID of the command.

String

The unique ID of the entity.

String?

The type of the entity.

String?

The unique ID of the event.

Int

The ID of the field.

String

The name of the parameter.

String?

The unique ID of the trait.

Any?

The value.

Constraint?

The constraint that is violated by value.

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

UnsupportedEntityParameterValue

UnsupportedEntityParameterValue(
    node: Node,
    severity: ValidationIssueSeverity,
    parameterName: String,
    fieldId: Int,
    commandId: String? = null,
    eventId: String? = null,
    traitId: String? = null,
    entityId: String,
    entityType: String? = null,
    value: Any?,
    valueConstraint: Constraint? = null
)

Create an UnsupportedEntityParameterValue instance.

Public properties

commandId

val commandIdString?

The unique ID of the command.

entityId

val entityIdString

The unique ID of the entity.

entityType

val entityTypeString?

The type of the entity.

eventId

val eventIdString?

The unique ID of the event.

fieldId

val fieldIdInt

The ID of the field.

parameterName

val parameterNameString

The name of the parameter.

traitId

val traitIdString?

The unique ID of the trait.

value

val valueAny?

The value.

valueConstraint

val valueConstraintConstraint?

The constraint that is violated by value.