DishwasherModeTrait.ChangeToModeCommand.Response

class DishwasherModeTrait.ChangeToModeCommand.Response : ClusterStruct


The response of the ChangeToMode command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Response(status: UByte, statusText: String?)

Creates a response payload from the ChangeToMode 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 status of the ChangeToMode command.

String?

Additional, human-readable information about the results of the ChangeToMode command.

Public constructors

Response

Response(status: UByte, statusText: String? = null)

Creates a response payload from the ChangeToMode 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

status

val statusUByte

The status of the ChangeToMode command.

statusText

val statusTextString?

Additional, human-readable information about the results of the ChangeToMode command.