# SuggestionMetadata

# SuggestionMetadata


```
class SuggestionMetadata
```

<br />

*** ** * ** ***

Metadata about an automation suggestion.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionMetadata#SuggestionMetadata(kotlin.Int,kotlin.collections.List,com.google.home.automation.SuggestionSource,kotlin.String,kotlin.String,kotlin.String)( rank: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, type: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionType>, source: https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionSource, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, description: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, iconUrl: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html? )` |

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

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionMetadata#description()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionMetadata#iconUrl()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionMetadata#name()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionMetadata#rank()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionSource` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionMetadata#source()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionType>` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuggestionMetadata#type()` |

## Public constructors

### SuggestionMetadata

```
SuggestionMetadata(
    rank: Int,
    type: List<SuggestionType>,
    source: SuggestionSource,
    name: String,
    description: String,
    iconUrl: String? = null
)
```

## Public functions

### toString

```
open fun toString(): String
```

## Public properties

### description

```
val description: String
```

### iconUrl

```
val iconUrl: String?
```

### name

```
val name: String
```

### rank

```
val rank: Int
```

### source

```
val source: SuggestionSource
```

### type

```
val type: List<SuggestionType>
```