AutomationSuggestion

class AutomationSuggestion : HasId


The main representation of an automation suggestion.

Summary

Public constructors

AutomationSuggestion(
    suggestionId: Id,
    suggestionMetadata: SuggestionMetadata,
    suggestionInstance: BaseAutomation
)

Public functions

String
open String

Public properties

open Id

Opaque ID for the object.

Id
BaseAutomation
SuggestionMetadata

Public constructors

AutomationSuggestion

AutomationSuggestion(
    suggestionId: Id,
    suggestionMetadata: SuggestionMetadata,
    suggestionInstance: BaseAutomation
)

Public functions

getSuggestionId

fun getSuggestionId(): String

toString

open fun toString(): String

Public properties

id

open val id: Id

Opaque ID for the object. Used for comparison and HomeObjectsFlow.get.

suggestionId

val suggestionId: Id

suggestionInstance

val suggestionInstance: BaseAutomation

suggestionMetadata

val suggestionMetadata: SuggestionMetadata