ServiceAreaTrait.SelectAreasCommand.Request

class ServiceAreaTrait.SelectAreasCommand.Request : ClusterStruct


The request payload for the SelectAreas command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(newAreas: List<UInt>)

Creates a request payload for the SelectAreas command.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

List<UInt>

The list of areas where the device should attempt to operate.

Public constructors

Request

Request(newAreas: List<UInt> = emptyList())

Creates a request payload for the SelectAreas command.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

newAreas

val newAreasList<UInt>

The list of areas where the device should attempt to operate.