blob: bbeace71c66768dce086c7010399cbb9857b9abf [file] [log] [blame]
package com.google.chip.chiptool.clusterclient.clusterinteraction
import chip.clusterinfo.CommandResponseInfo
import java.io.Serializable
/**
* HistoryCommand stores information about each executed command and display necessary information
* for each item in [ClusterInteractionHistoryFragment]
*/
data class HistoryCommand(
val clusterName: String,
val commandName: String,
val parameterList: MutableList<HistoryParameterInfo>,
var responseValue: Map<CommandResponseInfo, Any>?,
var status: String?,
var endpointId: Int,
var deviceId: Long,
) : Serializable
data class HistoryParameterInfo(
val parameterName: String,
val parameterData: String,
val parameterType: Class<*>
)