ZoneManagementTrait.UpdateTwoDCartesianZoneCommand.Request

class ZoneManagementTrait.UpdateTwoDCartesianZoneCommand.Request : ClusterStruct


The request payload for the UpdateTwoDCartesianZone command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Creates a request payload for the UpdateTwoDCartesianZone 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

ZoneManagementTrait.TwoDCartesianZoneStruct

A TwoDCartesianZoneStruct value representing updated zone information.

UShort

The ZoneID of the zone to be updated.

Public constructors

Request

Request(
    zoneId: UShort,
    zone: ZoneManagementTrait.TwoDCartesianZoneStruct = TwoDCartesianZoneStruct()
)

Creates a request payload for the UpdateTwoDCartesianZone 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

zone

val zoneZoneManagementTrait.TwoDCartesianZoneStruct

A TwoDCartesianZoneStruct value representing updated zone information.

zoneId

val zoneIdUShort

The ZoneID of the zone to be updated.