ExtendedColorControlTrait.MoveToColorNameCommand.Request

class ExtendedColorControlTrait.MoveToColorNameCommand.Request : ClusterStruct


The request payload for the MoveToColorName command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(colorName: String)

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

String

Name of the color.

Public constructors

Request

Request(colorName: String = "")

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

colorName

val colorNameString

Name of the color.