# InvalidCustomCameraEventQuery

# InvalidCustomCameraEventQuery


```
class InvalidCustomCameraEventQuery : ValidationIssue
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.home.automation.ValidationIssue](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue) ||
|   | ↳ | [com.google.home.automation.InvalidCustomCameraEventQuery](https://developers.home.google.com/reference/kotlin/com/google/home/automation/InvalidCustomCameraEventQuery) |

*** ** * ** ***

The custom camera event query is invalid.

## Summary

| ### Nested types |
|---|
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/automation/InvalidCustomCameraEventQuery.InvalidQueryReason : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html` |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/InvalidCustomCameraEventQuery#InvalidCustomCameraEventQuery(com.google.home.automation.Node,com.google.home.automation.ValidationIssueSeverity,kotlin.String,com.google.home.automation.InvalidCustomCameraEventQuery.InvalidQueryReason,kotlin.collections.List,kotlin.String)( node: https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node, severity: https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueSeverity, query: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, invalidQueryReason: https://developers.home.google.com/reference/kotlin/com/google/home/automation/InvalidCustomCameraEventQuery.InvalidQueryReason?, correctionSuggestions: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, languageCode: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html )` Create an `InvalidCustomCameraEventQuery` instance. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/InvalidCustomCameraEventQuery#correctionSuggestions()` The correction suggestions for the query. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/InvalidCustomCameraEventQuery.InvalidQueryReason?` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/InvalidCustomCameraEventQuery#invalidQueryReason()` The reason the query is invalid. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/InvalidCustomCameraEventQuery#languageCode()` The language code of the query. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/InvalidCustomCameraEventQuery#query()` The custom camera event query. |

| ### Inherited functions |
|---|
| From [com.google.home.automation.ValidationIssue](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue) |---|---| | `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#toString()()` | |

| ### Inherited properties |
|---|
| From [com.google.home.automation.ValidationIssue](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue) |---|---| | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#issueType()` The type of the validation issue. | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#node()` The node for which validation is failing. | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueSeverity` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#severity()` The severity of the validation issue. | |

## Public constructors

### InvalidCustomCameraEventQuery

```
InvalidCustomCameraEventQuery(
    node: Node,
    severity: ValidationIssueSeverity,
    query: String,
    invalidQueryReason: InvalidCustomCameraEventQuery.InvalidQueryReason? = null,
    correctionSuggestions: List<String>,
    languageCode: String
)
```

Create an `InvalidCustomCameraEventQuery` instance.

## Public properties

### correctionSuggestions

```
val correctionSuggestions: List<String>
```

The correction suggestions for the query.

### invalidQueryReason

```
val invalidQueryReason: InvalidCustomCameraEventQuery.InvalidQueryReason?
```

The reason the query is invalid.

### languageCode

```
val languageCode: String
```

The language code of the query.

### query

```
val query: String
```

The custom camera event query.