# ReferenceDeclaration

# ReferenceDeclaration


```
class ReferenceDeclaration
```

<br />

*** ** * ** ***

Represents a reference declaration. Only valid in a list comprehension expression.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ReferenceDeclaration#ReferenceDeclaration(kotlin.String)(variable: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Create a `ReferenceDeclaration` instance. |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ReferenceDeclaration#equals(kotlin.Any)(other: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ReferenceDeclaration#variable()` The variable name. |

## Public constructors

### ReferenceDeclaration

```
ReferenceDeclaration(variable: String)
```

Create a `ReferenceDeclaration` instance.

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

## Public properties

### variable

```
val variable: String
```

The variable name.