blob: 5105d458ec55125d8435a97590924e43c037b982 [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<*>
)