VolumeTrait.MoveToVolumeCommand.Request

class VolumeTrait.MoveToVolumeCommand.Request : ClusterStruct


The request payload for the MoveToVolume command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(volumePercent: UByte)

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

UByte

The desired volume percentage setting in the range of 0 to 100.

Public constructors

Request

Request(volumePercent: UByte)

Creates a request payload for the MoveToVolume command.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

volumePercent

val volumePercentUByte

The desired volume percentage setting in the range of 0 to 100.