From 61db15b7343593e07bcd4ceef00ba330988e1d2a Mon Sep 17 00:00:00 2001 From: JasonLiuZhuoCheng Date: Tue, 16 Nov 2021 17:01:02 -0500 Subject: [PATCH] refactor for comments --- src/controller/java/BUILD.gn | 2 + .../java/templates/ClusterInfo-java.zapt | 65 +- .../ClusterInfo-read-interaction.zapt | 57 + .../ClusterInfo-write-interaction.zapt | 51 + src/controller/java/templates/templates.json | 10 + .../devicecontroller/ClusterInfoMapping.java | 8144 +---------------- .../devicecontroller/ClusterReadMapping.java | 6402 +++++++++++++ .../devicecontroller/ClusterWriteMapping.java | 1685 ++++ 8 files changed, 8215 insertions(+), 8201 deletions(-) create mode 100644 src/controller/java/templates/ClusterInfo-read-interaction.zapt create mode 100644 src/controller/java/templates/ClusterInfo-write-interaction.zapt create mode 100644 src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java create mode 100644 src/controller/java/zap-generated/chip/devicecontroller/ClusterWriteMapping.java diff --git a/src/controller/java/BUILD.gn b/src/controller/java/BUILD.gn index 6a1efd413ca8ea..52e7ac01b344f9 100644 --- a/src/controller/java/BUILD.gn +++ b/src/controller/java/BUILD.gn @@ -81,6 +81,8 @@ android_library("java") { "src/chip/devicecontroller/PaseVerifierParams.java", "zap-generated/chip/devicecontroller/ChipClusters.java", "zap-generated/chip/devicecontroller/ClusterInfoMapping.java", + "zap-generated/chip/devicecontroller/ClusterReadMapping.java", + "zap-generated/chip/devicecontroller/ClusterWriteMapping.java", ] javac_flags = [ "-Xlint:deprecation" ] diff --git a/src/controller/java/templates/ClusterInfo-java.zapt b/src/controller/java/templates/ClusterInfo-java.zapt index a2eed98ff96415..5c4ffafccfc532 100644 --- a/src/controller/java/templates/ClusterInfo-java.zapt +++ b/src/controller/java/templates/ClusterInfo-java.zapt @@ -15,6 +15,8 @@ import chip.clusterinfo.DelegatedClusterCallback; import chip.clusterinfo.ClusterCommandCallback; import chip.clusterinfo.CommandResponseInfo; import chip.devicecontroller.ChipClusters.DefaultClusterCallback; +import chip.devicecontroller.ClusterReadMapping; +import chip.devicecontroller.ClusterWriteMapping; public class ClusterInfoMapping { @@ -261,9 +263,9 @@ public class ClusterInfoMapping { Map clusterMap = initializeClusterMap(); Map> commandMap = getCommandMap(); combineCommand(clusterMap, commandMap); - Map> readAttributeMap = getReadAttributeMap(); + Map> readAttributeMap = new ClusterReadMapping().getReadAttributeMap(); combineCommand(clusterMap, readAttributeMap); - Map> writeAttributeMap = getWriteAttributeMap(); + Map> writeAttributeMap = new ClusterWriteMapping().getWriteAttributeMap(); combineCommand(clusterMap, writeAttributeMap); return clusterMap; } @@ -336,65 +338,6 @@ public class ClusterInfoMapping { return commandMap; } - public Map> getReadAttributeMap() { - Map> readAttributeMap = new HashMap<>(); - {{#chip_client_clusters}} - Map read{{asUpperCamelCase name}}InteractionInfo = new LinkedHashMap<>(); - // read attribute - {{#chip_server_cluster_attributes}} - Map read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams = new LinkedHashMap(); - InteractionInfo read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.{{asUpperCamelCase ../name}}Cluster) cluster).read{{asUpperCamelCase name}}Attribute( - {{#if isList}} - (ChipClusters.{{asUpperCamelCase ../name}}Cluster.{{asUpperCamelCase name}}AttributeCallback) callback - {{else}} - (ChipClusters.{{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback) callback - {{/if}} - ); - }, - {{#if isList}} - () -> new Delegated{{asUpperCamelCase name}}AttributeCallback(), - {{else}} - () -> new Delegated{{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback(), - {{/if}} - read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams - ); - read{{asUpperCamelCase ../name}}InteractionInfo.put("read{{asUpperCamelCase name}}Attribute", read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo); - {{/chip_server_cluster_attributes}} - readAttributeMap.put("{{asLowerCamelCase name}}", read{{asUpperCamelCase name}}InteractionInfo); - {{/chip_client_clusters}} - return readAttributeMap; - } - - public Map> getWriteAttributeMap() { - Map> writeAttributeMap = new HashMap<>(); - {{#chip_client_clusters}} - Map write{{asUpperCamelCase name}}InteractionInfo = new LinkedHashMap<>(); - // write attribute - {{#chip_server_cluster_attributes}} - {{#if isWritableAttribute}} - Map write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams = new LinkedHashMap(); - CommandParameterInfo {{asLowerCamelCase ../name}}{{asLowerCamelCase name}}CommandParameterInfo = new CommandParameterInfo("value", {{asJavaBasicType type}}.class); - write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams.put("value",{{asLowerCamelCase ../name}}{{asLowerCamelCase name}}CommandParameterInfo); - InteractionInfo write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.{{asUpperCamelCase ../name}}Cluster) cluster).write{{asUpperCamelCase name}}Attribute( - (DefaultClusterCallback) callback, - ({{asJavaBoxedType type}}) - commandArguments.get("value") - ); - }, - () -> new DelegatedDefaultClusterCallback(), - write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams - ); - write{{asUpperCamelCase ../name}}InteractionInfo.put("write{{asUpperCamelCase name}}Attribute", write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo); - {{/if}} - {{/chip_server_cluster_attributes}} - writeAttributeMap.put("{{asLowerCamelCase name}}", write{{asUpperCamelCase name}}InteractionInfo); - {{/chip_client_clusters}} - return writeAttributeMap; - } } {{/if}} \ No newline at end of file diff --git a/src/controller/java/templates/ClusterInfo-read-interaction.zapt b/src/controller/java/templates/ClusterInfo-read-interaction.zapt new file mode 100644 index 00000000000000..3f7147eac3558b --- /dev/null +++ b/src/controller/java/templates/ClusterInfo-read-interaction.zapt @@ -0,0 +1,57 @@ +{{> header}} +{{#if (chip_has_client_clusters)}} + +package chip.devicecontroller; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.List; +import java.util.HashMap; +import chip.clusterinfo.ClusterInfo; +import chip.clusterinfo.InteractionInfo; +import chip.clusterinfo.CommandParameterInfo; +import chip.clusterinfo.DelegatedClusterCallback; +import chip.clusterinfo.ClusterCommandCallback; +import chip.clusterinfo.CommandResponseInfo; +import chip.devicecontroller.ChipClusters.DefaultClusterCallback; +import chip.devicecontroller.ClusterInfoMapping.DelegatedIntegerAttributeCallback; + + + +public class ClusterReadMapping { + + public Map> getReadAttributeMap() { + ClusterInfoMapping clusterInfoMapping = new ClusterInfoMapping(); + Map> readAttributeMap = new HashMap<>(); + {{#chip_client_clusters}} + Map read{{asUpperCamelCase name}}InteractionInfo = new LinkedHashMap<>(); + {{#chip_server_cluster_attributes}} + Map read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams = new LinkedHashMap(); + InteractionInfo read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.{{asUpperCamelCase ../name}}Cluster) cluster).read{{asUpperCamelCase name}}Attribute( + {{#if isList}} + (ChipClusters.{{asUpperCamelCase ../name}}Cluster.{{asUpperCamelCase name}}AttributeCallback) callback + {{else}} + (ChipClusters.{{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback) callback + {{/if}} + ); + }, + {{#if isList}} + () -> clusterInfoMapping.new Delegated{{asUpperCamelCase name}}AttributeCallback(), + {{else}} + () -> clusterInfoMapping.new Delegated{{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback(), + {{/if}} + read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams + ); + read{{asUpperCamelCase ../name}}InteractionInfo.put("read{{asUpperCamelCase name}}Attribute", read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo); + {{/chip_server_cluster_attributes}} + readAttributeMap.put("{{asLowerCamelCase name}}", read{{asUpperCamelCase name}}InteractionInfo); + {{/chip_client_clusters}} + return readAttributeMap; + } +} + +{{/if}} + diff --git a/src/controller/java/templates/ClusterInfo-write-interaction.zapt b/src/controller/java/templates/ClusterInfo-write-interaction.zapt new file mode 100644 index 00000000000000..6fc1a6fbb72c1d --- /dev/null +++ b/src/controller/java/templates/ClusterInfo-write-interaction.zapt @@ -0,0 +1,51 @@ +{{> header}} +{{#if (chip_has_client_clusters)}} + +package chip.devicecontroller; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.List; +import java.util.HashMap; +import chip.clusterinfo.ClusterInfo; +import chip.clusterinfo.InteractionInfo; +import chip.clusterinfo.CommandParameterInfo; +import chip.clusterinfo.DelegatedClusterCallback; +import chip.clusterinfo.ClusterCommandCallback; +import chip.clusterinfo.CommandResponseInfo; +import chip.devicecontroller.ChipClusters.DefaultClusterCallback; + + +public class ClusterWriteMapping { + public Map> getWriteAttributeMap() { + ClusterInfoMapping clusterInfoMapping = new ClusterInfoMapping(); + Map> writeAttributeMap = new HashMap<>(); + {{#chip_client_clusters}} + Map write{{asUpperCamelCase name}}InteractionInfo = new LinkedHashMap<>(); + {{#chip_server_cluster_attributes}} + {{#if isWritableAttribute}} + Map write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams = new LinkedHashMap(); + CommandParameterInfo {{asLowerCamelCase ../name}}{{asLowerCamelCase name}}CommandParameterInfo = new CommandParameterInfo("value", {{asJavaBasicType type}}.class); + write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams.put("value",{{asLowerCamelCase ../name}}{{asLowerCamelCase name}}CommandParameterInfo); + InteractionInfo write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.{{asUpperCamelCase ../name}}Cluster) cluster).write{{asUpperCamelCase name}}Attribute( + (DefaultClusterCallback) callback, + ({{asJavaBoxedType type}}) + commandArguments.get("value") + ); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams + ); + write{{asUpperCamelCase ../name}}InteractionInfo.put("write{{asUpperCamelCase name}}Attribute", write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo); + {{/if}} + {{/chip_server_cluster_attributes}} + writeAttributeMap.put("{{asLowerCamelCase name}}", write{{asUpperCamelCase name}}InteractionInfo); + {{/chip_client_clusters}} + return writeAttributeMap; + } +} + +{{/if}} \ No newline at end of file diff --git a/src/controller/java/templates/templates.json b/src/controller/java/templates/templates.json index 9adb75e1801f2c..c0fa30fabdb32a 100644 --- a/src/controller/java/templates/templates.json +++ b/src/controller/java/templates/templates.json @@ -55,6 +55,16 @@ "path": "ClusterInfo-java.zapt", "name": "Cluster information mapping for Java", "output": "src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java" + }, + { + "path": "ClusterInfo-read-interaction.zapt", + "name": "Generate read interaction for cluster information map", + "output": "src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java" + }, + { + "path": "ClusterInfo-write-interaction.zapt", + "name": "Generate write interaction for cluster information map", + "output": "src/controller/java/zap-generated/chip/devicecontroller/ClusterWriteMapping.java" } ] } diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java index e32afa53df0cea..da7e000580978b 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java @@ -3120,9 +3120,11 @@ public Map getClusterMap() { Map clusterMap = initializeClusterMap(); Map> commandMap = getCommandMap(); combineCommand(clusterMap, commandMap); - Map> readAttributeMap = getReadAttributeMap(); + Map> readAttributeMap = + new ClusterReadMapping().getReadAttributeMap(); combineCommand(clusterMap, readAttributeMap); - Map> writeAttributeMap = getWriteAttributeMap(); + Map> writeAttributeMap = + new ClusterWriteMapping().getWriteAttributeMap(); combineCommand(clusterMap, writeAttributeMap); return clusterMap; } @@ -8210,8142 +8212,4 @@ public Map> getCommandMap() { commandMap.put("windowCovering", windowCoveringClusterInteractionInfoMap); return commandMap; } - - public Map> getReadAttributeMap() { - Map> readAttributeMap = new HashMap<>(); - Map readAccountLoginInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readAccountLoginClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readAccountLoginClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readAccountLoginClusterRevisionCommandParams); - readAccountLoginInteractionInfo.put( - "readClusterRevisionAttribute", readAccountLoginClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("accountLogin", readAccountLoginInteractionInfo); - Map readAdministratorCommissioningInteractionInfo = - new LinkedHashMap<>(); - // read attribute - Map readAdministratorCommissioningClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readAdministratorCommissioningClusterRevisionCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readClusterRevisionAttribute", - readAdministratorCommissioningClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "administratorCommissioning", readAdministratorCommissioningInteractionInfo); - Map readApplicationBasicInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readApplicationBasicVendorNameCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicVendorNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readApplicationBasicVendorNameCommandParams); - readApplicationBasicInteractionInfo.put( - "readVendorNameAttribute", readApplicationBasicVendorNameAttributeInteractionInfo); - Map readApplicationBasicVendorIdCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicVendorIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readApplicationBasicVendorIdCommandParams); - readApplicationBasicInteractionInfo.put( - "readVendorIdAttribute", readApplicationBasicVendorIdAttributeInteractionInfo); - Map readApplicationBasicApplicationNameCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicApplicationNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readApplicationNameAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readApplicationBasicApplicationNameCommandParams); - readApplicationBasicInteractionInfo.put( - "readApplicationNameAttribute", - readApplicationBasicApplicationNameAttributeInteractionInfo); - Map readApplicationBasicProductIdCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicProductIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readProductIdAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readApplicationBasicProductIdCommandParams); - readApplicationBasicInteractionInfo.put( - "readProductIdAttribute", readApplicationBasicProductIdAttributeInteractionInfo); - Map readApplicationBasicApplicationIdCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicApplicationIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readApplicationIdAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readApplicationBasicApplicationIdCommandParams); - readApplicationBasicInteractionInfo.put( - "readApplicationIdAttribute", readApplicationBasicApplicationIdAttributeInteractionInfo); - Map readApplicationBasicCatalogVendorIdCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicCatalogVendorIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readCatalogVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readApplicationBasicCatalogVendorIdCommandParams); - readApplicationBasicInteractionInfo.put( - "readCatalogVendorIdAttribute", - readApplicationBasicCatalogVendorIdAttributeInteractionInfo); - Map readApplicationBasicApplicationStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicApplicationStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readApplicationStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readApplicationBasicApplicationStatusCommandParams); - readApplicationBasicInteractionInfo.put( - "readApplicationStatusAttribute", - readApplicationBasicApplicationStatusAttributeInteractionInfo); - Map readApplicationBasicClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readApplicationBasicClusterRevisionCommandParams); - readApplicationBasicInteractionInfo.put( - "readClusterRevisionAttribute", - readApplicationBasicClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("applicationBasic", readApplicationBasicInteractionInfo); - Map readApplicationLauncherInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readApplicationLauncherApplicationLauncherListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherApplicationLauncherListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readApplicationLauncherListAttribute( - (ChipClusters.ApplicationLauncherCluster - .ApplicationLauncherListAttributeCallback) - callback); - }, - () -> new DelegatedApplicationLauncherListAttributeCallback(), - readApplicationLauncherApplicationLauncherListCommandParams); - readApplicationLauncherInteractionInfo.put( - "readApplicationLauncherListAttribute", - readApplicationLauncherApplicationLauncherListAttributeInteractionInfo); - Map readApplicationLauncherCatalogVendorIdCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherCatalogVendorIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readCatalogVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readApplicationLauncherCatalogVendorIdCommandParams); - readApplicationLauncherInteractionInfo.put( - "readCatalogVendorIdAttribute", - readApplicationLauncherCatalogVendorIdAttributeInteractionInfo); - Map readApplicationLauncherApplicationIdCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherApplicationIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readApplicationIdAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readApplicationLauncherApplicationIdCommandParams); - readApplicationLauncherInteractionInfo.put( - "readApplicationIdAttribute", readApplicationLauncherApplicationIdAttributeInteractionInfo); - Map readApplicationLauncherClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readApplicationLauncherClusterRevisionCommandParams); - readApplicationLauncherInteractionInfo.put( - "readClusterRevisionAttribute", - readApplicationLauncherClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("applicationLauncher", readApplicationLauncherInteractionInfo); - Map readAudioOutputInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readAudioOutputAudioOutputListCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputAudioOutputListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readAudioOutputListAttribute( - (ChipClusters.AudioOutputCluster.AudioOutputListAttributeCallback) callback); - }, - () -> new DelegatedAudioOutputListAttributeCallback(), - readAudioOutputAudioOutputListCommandParams); - readAudioOutputInteractionInfo.put( - "readAudioOutputListAttribute", readAudioOutputAudioOutputListAttributeInteractionInfo); - Map readAudioOutputCurrentAudioOutputCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputCurrentAudioOutputAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readCurrentAudioOutputAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readAudioOutputCurrentAudioOutputCommandParams); - readAudioOutputInteractionInfo.put( - "readCurrentAudioOutputAttribute", - readAudioOutputCurrentAudioOutputAttributeInteractionInfo); - Map readAudioOutputClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readAudioOutputClusterRevisionCommandParams); - readAudioOutputInteractionInfo.put( - "readClusterRevisionAttribute", readAudioOutputClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("audioOutput", readAudioOutputInteractionInfo); - Map readBarrierControlInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readBarrierControlBarrierMovingStateCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierMovingStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierMovingStateAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierMovingStateCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierMovingStateAttribute", - readBarrierControlBarrierMovingStateAttributeInteractionInfo); - Map readBarrierControlBarrierSafetyStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierSafetyStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierSafetyStatusAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierSafetyStatusCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierSafetyStatusAttribute", - readBarrierControlBarrierSafetyStatusAttributeInteractionInfo); - Map readBarrierControlBarrierCapabilitiesCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierCapabilitiesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierCapabilitiesAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierCapabilitiesCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierCapabilitiesAttribute", - readBarrierControlBarrierCapabilitiesAttributeInteractionInfo); - Map readBarrierControlBarrierPositionCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierPositionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierPositionCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierPositionAttribute", readBarrierControlBarrierPositionAttributeInteractionInfo); - Map readBarrierControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBarrierControlClusterRevisionCommandParams); - readBarrierControlInteractionInfo.put( - "readClusterRevisionAttribute", readBarrierControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("barrierControl", readBarrierControlInteractionInfo); - Map readBasicInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readBasicInteractionModelVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInteractionModelVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readInteractionModelVersionAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBasicInteractionModelVersionCommandParams); - readBasicInteractionInfo.put( - "readInteractionModelVersionAttribute", - readBasicInteractionModelVersionAttributeInteractionInfo); - Map readBasicVendorNameCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicVendorNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicVendorNameCommandParams); - readBasicInteractionInfo.put( - "readVendorNameAttribute", readBasicVendorNameAttributeInteractionInfo); - Map readBasicVendorIDCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicVendorIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBasicVendorIDCommandParams); - readBasicInteractionInfo.put( - "readVendorIDAttribute", readBasicVendorIDAttributeInteractionInfo); - Map readBasicProductNameCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicProductNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readProductNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicProductNameCommandParams); - readBasicInteractionInfo.put( - "readProductNameAttribute", readBasicProductNameAttributeInteractionInfo); - Map readBasicProductIDCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicProductIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readProductIDAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBasicProductIDCommandParams); - readBasicInteractionInfo.put( - "readProductIDAttribute", readBasicProductIDAttributeInteractionInfo); - Map readBasicUserLabelCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicUserLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readUserLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicUserLabelCommandParams); - readBasicInteractionInfo.put( - "readUserLabelAttribute", readBasicUserLabelAttributeInteractionInfo); - Map readBasicLocationCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicLocationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readLocationAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicLocationCommandParams); - readBasicInteractionInfo.put( - "readLocationAttribute", readBasicLocationAttributeInteractionInfo); - Map readBasicHardwareVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicHardwareVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readHardwareVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBasicHardwareVersionCommandParams); - readBasicInteractionInfo.put( - "readHardwareVersionAttribute", readBasicHardwareVersionAttributeInteractionInfo); - Map readBasicHardwareVersionStringCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicHardwareVersionStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readHardwareVersionStringAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicHardwareVersionStringCommandParams); - readBasicInteractionInfo.put( - "readHardwareVersionStringAttribute", - readBasicHardwareVersionStringAttributeInteractionInfo); - Map readBasicSoftwareVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicSoftwareVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readSoftwareVersionAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readBasicSoftwareVersionCommandParams); - readBasicInteractionInfo.put( - "readSoftwareVersionAttribute", readBasicSoftwareVersionAttributeInteractionInfo); - Map readBasicSoftwareVersionStringCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicSoftwareVersionStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readSoftwareVersionStringAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicSoftwareVersionStringCommandParams); - readBasicInteractionInfo.put( - "readSoftwareVersionStringAttribute", - readBasicSoftwareVersionStringAttributeInteractionInfo); - Map readBasicManufacturingDateCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicManufacturingDateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readManufacturingDateAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicManufacturingDateCommandParams); - readBasicInteractionInfo.put( - "readManufacturingDateAttribute", readBasicManufacturingDateAttributeInteractionInfo); - Map readBasicPartNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicPartNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readPartNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicPartNumberCommandParams); - readBasicInteractionInfo.put( - "readPartNumberAttribute", readBasicPartNumberAttributeInteractionInfo); - Map readBasicProductURLCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicProductURLAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readProductURLAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicProductURLCommandParams); - readBasicInteractionInfo.put( - "readProductURLAttribute", readBasicProductURLAttributeInteractionInfo); - Map readBasicProductLabelCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicProductLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readProductLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicProductLabelCommandParams); - readBasicInteractionInfo.put( - "readProductLabelAttribute", readBasicProductLabelAttributeInteractionInfo); - Map readBasicSerialNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicSerialNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readSerialNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBasicSerialNumberCommandParams); - readBasicInteractionInfo.put( - "readSerialNumberAttribute", readBasicSerialNumberAttributeInteractionInfo); - Map readBasicLocalConfigDisabledCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicLocalConfigDisabledAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readLocalConfigDisabledAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readBasicLocalConfigDisabledCommandParams); - readBasicInteractionInfo.put( - "readLocalConfigDisabledAttribute", readBasicLocalConfigDisabledAttributeInteractionInfo); - Map readBasicReachableCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicReachableAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readReachableAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readBasicReachableCommandParams); - readBasicInteractionInfo.put( - "readReachableAttribute", readBasicReachableAttributeInteractionInfo); - Map readBasicClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBasicClusterRevisionCommandParams); - readBasicInteractionInfo.put( - "readClusterRevisionAttribute", readBasicClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("basic", readBasicInteractionInfo); - Map readBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readBinaryInputBasicOutOfServiceCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicOutOfServiceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readOutOfServiceAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readBinaryInputBasicOutOfServiceCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readOutOfServiceAttribute", readBinaryInputBasicOutOfServiceAttributeInteractionInfo); - Map readBinaryInputBasicPresentValueCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicPresentValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readPresentValueAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readBinaryInputBasicPresentValueCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readPresentValueAttribute", readBinaryInputBasicPresentValueAttributeInteractionInfo); - Map readBinaryInputBasicStatusFlagsCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicStatusFlagsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readStatusFlagsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBinaryInputBasicStatusFlagsCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readStatusFlagsAttribute", readBinaryInputBasicStatusFlagsAttributeInteractionInfo); - Map readBinaryInputBasicClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBinaryInputBasicClusterRevisionCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readClusterRevisionAttribute", - readBinaryInputBasicClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("binaryInputBasic", readBinaryInputBasicInteractionInfo); - Map readBindingInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readBindingClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBindingClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBindingClusterRevisionCommandParams); - readBindingInteractionInfo.put( - "readClusterRevisionAttribute", readBindingClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("binding", readBindingInteractionInfo); - Map readBooleanStateInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readBooleanStateStateValueCommandParams = - new LinkedHashMap(); - InteractionInfo readBooleanStateStateValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster) - .readStateValueAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readBooleanStateStateValueCommandParams); - readBooleanStateInteractionInfo.put( - "readStateValueAttribute", readBooleanStateStateValueAttributeInteractionInfo); - Map readBooleanStateClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBooleanStateClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBooleanStateClusterRevisionCommandParams); - readBooleanStateInteractionInfo.put( - "readClusterRevisionAttribute", readBooleanStateClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("booleanState", readBooleanStateInteractionInfo); - Map readBridgedActionsInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readBridgedActionsActionListCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedActionsActionListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedActionsCluster) cluster) - .readActionListAttribute( - (ChipClusters.BridgedActionsCluster.ActionListAttributeCallback) callback); - }, - () -> new DelegatedActionListAttributeCallback(), - readBridgedActionsActionListCommandParams); - readBridgedActionsInteractionInfo.put( - "readActionListAttribute", readBridgedActionsActionListAttributeInteractionInfo); - Map readBridgedActionsEndpointListCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedActionsEndpointListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedActionsCluster) cluster) - .readEndpointListAttribute( - (ChipClusters.BridgedActionsCluster.EndpointListAttributeCallback) callback); - }, - () -> new DelegatedEndpointListAttributeCallback(), - readBridgedActionsEndpointListCommandParams); - readBridgedActionsInteractionInfo.put( - "readEndpointListAttribute", readBridgedActionsEndpointListAttributeInteractionInfo); - Map readBridgedActionsSetupUrlCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedActionsSetupUrlAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedActionsCluster) cluster) - .readSetupUrlAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedActionsSetupUrlCommandParams); - readBridgedActionsInteractionInfo.put( - "readSetupUrlAttribute", readBridgedActionsSetupUrlAttributeInteractionInfo); - Map readBridgedActionsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedActionsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedActionsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBridgedActionsClusterRevisionCommandParams); - readBridgedActionsInteractionInfo.put( - "readClusterRevisionAttribute", readBridgedActionsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("bridgedActions", readBridgedActionsInteractionInfo); - Map readBridgedDeviceBasicInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readBridgedDeviceBasicVendorNameCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicVendorNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicVendorNameCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readVendorNameAttribute", readBridgedDeviceBasicVendorNameAttributeInteractionInfo); - Map readBridgedDeviceBasicVendorIDCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicVendorIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBridgedDeviceBasicVendorIDCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readVendorIDAttribute", readBridgedDeviceBasicVendorIDAttributeInteractionInfo); - Map readBridgedDeviceBasicProductNameCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicProductNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readProductNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicProductNameCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readProductNameAttribute", readBridgedDeviceBasicProductNameAttributeInteractionInfo); - Map readBridgedDeviceBasicUserLabelCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicUserLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readUserLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicUserLabelCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readUserLabelAttribute", readBridgedDeviceBasicUserLabelAttributeInteractionInfo); - Map readBridgedDeviceBasicHardwareVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicHardwareVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readHardwareVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBridgedDeviceBasicHardwareVersionCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readHardwareVersionAttribute", - readBridgedDeviceBasicHardwareVersionAttributeInteractionInfo); - Map readBridgedDeviceBasicHardwareVersionStringCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicHardwareVersionStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readHardwareVersionStringAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicHardwareVersionStringCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readHardwareVersionStringAttribute", - readBridgedDeviceBasicHardwareVersionStringAttributeInteractionInfo); - Map readBridgedDeviceBasicSoftwareVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicSoftwareVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readSoftwareVersionAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readBridgedDeviceBasicSoftwareVersionCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readSoftwareVersionAttribute", - readBridgedDeviceBasicSoftwareVersionAttributeInteractionInfo); - Map readBridgedDeviceBasicSoftwareVersionStringCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicSoftwareVersionStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readSoftwareVersionStringAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicSoftwareVersionStringCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readSoftwareVersionStringAttribute", - readBridgedDeviceBasicSoftwareVersionStringAttributeInteractionInfo); - Map readBridgedDeviceBasicManufacturingDateCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicManufacturingDateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readManufacturingDateAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicManufacturingDateCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readManufacturingDateAttribute", - readBridgedDeviceBasicManufacturingDateAttributeInteractionInfo); - Map readBridgedDeviceBasicPartNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicPartNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readPartNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicPartNumberCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readPartNumberAttribute", readBridgedDeviceBasicPartNumberAttributeInteractionInfo); - Map readBridgedDeviceBasicProductURLCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicProductURLAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readProductURLAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicProductURLCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readProductURLAttribute", readBridgedDeviceBasicProductURLAttributeInteractionInfo); - Map readBridgedDeviceBasicProductLabelCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicProductLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readProductLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicProductLabelCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readProductLabelAttribute", readBridgedDeviceBasicProductLabelAttributeInteractionInfo); - Map readBridgedDeviceBasicSerialNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicSerialNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readSerialNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicSerialNumberCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readSerialNumberAttribute", readBridgedDeviceBasicSerialNumberAttributeInteractionInfo); - Map readBridgedDeviceBasicReachableCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicReachableAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readReachableAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readBridgedDeviceBasicReachableCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readReachableAttribute", readBridgedDeviceBasicReachableAttributeInteractionInfo); - Map readBridgedDeviceBasicClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readBridgedDeviceBasicClusterRevisionCommandParams); - readBridgedDeviceBasicInteractionInfo.put( - "readClusterRevisionAttribute", - readBridgedDeviceBasicClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("bridgedDeviceBasic", readBridgedDeviceBasicInteractionInfo); - Map readColorControlInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readColorControlCurrentHueCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCurrentHueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCurrentHueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlCurrentHueCommandParams); - readColorControlInteractionInfo.put( - "readCurrentHueAttribute", readColorControlCurrentHueAttributeInteractionInfo); - Map readColorControlCurrentSaturationCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCurrentSaturationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCurrentSaturationAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlCurrentSaturationCommandParams); - readColorControlInteractionInfo.put( - "readCurrentSaturationAttribute", - readColorControlCurrentSaturationAttributeInteractionInfo); - Map readColorControlRemainingTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlRemainingTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readRemainingTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlRemainingTimeCommandParams); - readColorControlInteractionInfo.put( - "readRemainingTimeAttribute", readColorControlRemainingTimeAttributeInteractionInfo); - Map readColorControlCurrentXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCurrentXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCurrentXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlCurrentXCommandParams); - readColorControlInteractionInfo.put( - "readCurrentXAttribute", readColorControlCurrentXAttributeInteractionInfo); - Map readColorControlCurrentYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCurrentYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCurrentYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlCurrentYCommandParams); - readColorControlInteractionInfo.put( - "readCurrentYAttribute", readColorControlCurrentYAttributeInteractionInfo); - Map readColorControlDriftCompensationCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlDriftCompensationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readDriftCompensationAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlDriftCompensationCommandParams); - readColorControlInteractionInfo.put( - "readDriftCompensationAttribute", - readColorControlDriftCompensationAttributeInteractionInfo); - Map readColorControlCompensationTextCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCompensationTextAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCompensationTextAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readColorControlCompensationTextCommandParams); - readColorControlInteractionInfo.put( - "readCompensationTextAttribute", readColorControlCompensationTextAttributeInteractionInfo); - Map readColorControlColorTemperatureCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorTemperatureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorTemperatureAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorTemperatureCommandParams); - readColorControlInteractionInfo.put( - "readColorTemperatureAttribute", readColorControlColorTemperatureAttributeInteractionInfo); - Map readColorControlColorModeCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorModeCommandParams); - readColorControlInteractionInfo.put( - "readColorModeAttribute", readColorControlColorModeAttributeInteractionInfo); - Map readColorControlColorControlOptionsCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorControlOptionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorControlOptionsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorControlOptionsCommandParams); - readColorControlInteractionInfo.put( - "readColorControlOptionsAttribute", - readColorControlColorControlOptionsAttributeInteractionInfo); - Map readColorControlNumberOfPrimariesCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlNumberOfPrimariesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readNumberOfPrimariesAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlNumberOfPrimariesCommandParams); - readColorControlInteractionInfo.put( - "readNumberOfPrimariesAttribute", - readColorControlNumberOfPrimariesAttributeInteractionInfo); - Map readColorControlPrimary1XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary1XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary1XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary1XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary1XAttribute", readColorControlPrimary1XAttributeInteractionInfo); - Map readColorControlPrimary1YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary1YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary1YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary1YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary1YAttribute", readColorControlPrimary1YAttributeInteractionInfo); - Map readColorControlPrimary1IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary1IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary1IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary1IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary1IntensityAttribute", - readColorControlPrimary1IntensityAttributeInteractionInfo); - Map readColorControlPrimary2XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary2XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary2XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary2XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary2XAttribute", readColorControlPrimary2XAttributeInteractionInfo); - Map readColorControlPrimary2YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary2YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary2YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary2YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary2YAttribute", readColorControlPrimary2YAttributeInteractionInfo); - Map readColorControlPrimary2IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary2IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary2IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary2IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary2IntensityAttribute", - readColorControlPrimary2IntensityAttributeInteractionInfo); - Map readColorControlPrimary3XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary3XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary3XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary3XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary3XAttribute", readColorControlPrimary3XAttributeInteractionInfo); - Map readColorControlPrimary3YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary3YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary3YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary3YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary3YAttribute", readColorControlPrimary3YAttributeInteractionInfo); - Map readColorControlPrimary3IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary3IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary3IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary3IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary3IntensityAttribute", - readColorControlPrimary3IntensityAttributeInteractionInfo); - Map readColorControlPrimary4XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary4XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary4XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary4XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary4XAttribute", readColorControlPrimary4XAttributeInteractionInfo); - Map readColorControlPrimary4YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary4YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary4YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary4YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary4YAttribute", readColorControlPrimary4YAttributeInteractionInfo); - Map readColorControlPrimary4IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary4IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary4IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary4IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary4IntensityAttribute", - readColorControlPrimary4IntensityAttributeInteractionInfo); - Map readColorControlPrimary5XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary5XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary5XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary5XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary5XAttribute", readColorControlPrimary5XAttributeInteractionInfo); - Map readColorControlPrimary5YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary5YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary5YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary5YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary5YAttribute", readColorControlPrimary5YAttributeInteractionInfo); - Map readColorControlPrimary5IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary5IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary5IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary5IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary5IntensityAttribute", - readColorControlPrimary5IntensityAttributeInteractionInfo); - Map readColorControlPrimary6XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary6XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary6XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary6XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary6XAttribute", readColorControlPrimary6XAttributeInteractionInfo); - Map readColorControlPrimary6YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary6YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary6YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary6YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary6YAttribute", readColorControlPrimary6YAttributeInteractionInfo); - Map readColorControlPrimary6IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary6IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary6IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlPrimary6IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary6IntensityAttribute", - readColorControlPrimary6IntensityAttributeInteractionInfo); - Map readColorControlWhitePointXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlWhitePointXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readWhitePointXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlWhitePointXCommandParams); - readColorControlInteractionInfo.put( - "readWhitePointXAttribute", readColorControlWhitePointXAttributeInteractionInfo); - Map readColorControlWhitePointYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlWhitePointYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readWhitePointYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlWhitePointYCommandParams); - readColorControlInteractionInfo.put( - "readWhitePointYAttribute", readColorControlWhitePointYAttributeInteractionInfo); - Map readColorControlColorPointRXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointRXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointRXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorPointRXCommandParams); - readColorControlInteractionInfo.put( - "readColorPointRXAttribute", readColorControlColorPointRXAttributeInteractionInfo); - Map readColorControlColorPointRYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointRYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointRYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorPointRYCommandParams); - readColorControlInteractionInfo.put( - "readColorPointRYAttribute", readColorControlColorPointRYAttributeInteractionInfo); - Map readColorControlColorPointRIntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointRIntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointRIntensityAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorPointRIntensityCommandParams); - readColorControlInteractionInfo.put( - "readColorPointRIntensityAttribute", - readColorControlColorPointRIntensityAttributeInteractionInfo); - Map readColorControlColorPointGXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointGXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointGXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorPointGXCommandParams); - readColorControlInteractionInfo.put( - "readColorPointGXAttribute", readColorControlColorPointGXAttributeInteractionInfo); - Map readColorControlColorPointGYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointGYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointGYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorPointGYCommandParams); - readColorControlInteractionInfo.put( - "readColorPointGYAttribute", readColorControlColorPointGYAttributeInteractionInfo); - Map readColorControlColorPointGIntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointGIntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointGIntensityAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorPointGIntensityCommandParams); - readColorControlInteractionInfo.put( - "readColorPointGIntensityAttribute", - readColorControlColorPointGIntensityAttributeInteractionInfo); - Map readColorControlColorPointBXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointBXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointBXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorPointBXCommandParams); - readColorControlInteractionInfo.put( - "readColorPointBXAttribute", readColorControlColorPointBXAttributeInteractionInfo); - Map readColorControlColorPointBYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointBYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointBYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorPointBYCommandParams); - readColorControlInteractionInfo.put( - "readColorPointBYAttribute", readColorControlColorPointBYAttributeInteractionInfo); - Map readColorControlColorPointBIntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointBIntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointBIntensityAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorPointBIntensityCommandParams); - readColorControlInteractionInfo.put( - "readColorPointBIntensityAttribute", - readColorControlColorPointBIntensityAttributeInteractionInfo); - Map readColorControlEnhancedCurrentHueCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlEnhancedCurrentHueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readEnhancedCurrentHueAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlEnhancedCurrentHueCommandParams); - readColorControlInteractionInfo.put( - "readEnhancedCurrentHueAttribute", - readColorControlEnhancedCurrentHueAttributeInteractionInfo); - Map readColorControlEnhancedColorModeCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlEnhancedColorModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readEnhancedColorModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlEnhancedColorModeCommandParams); - readColorControlInteractionInfo.put( - "readEnhancedColorModeAttribute", - readColorControlEnhancedColorModeAttributeInteractionInfo); - Map readColorControlColorLoopActiveCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopActiveAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopActiveAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorLoopActiveCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopActiveAttribute", readColorControlColorLoopActiveAttributeInteractionInfo); - Map readColorControlColorLoopDirectionCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopDirectionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopDirectionAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorLoopDirectionCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopDirectionAttribute", - readColorControlColorLoopDirectionAttributeInteractionInfo); - Map readColorControlColorLoopTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorLoopTimeCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopTimeAttribute", readColorControlColorLoopTimeAttributeInteractionInfo); - Map readColorControlColorLoopStartEnhancedHueCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopStartEnhancedHueAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorLoopStartEnhancedHueCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopStartEnhancedHueAttribute", - readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo); - Map readColorControlColorLoopStoredEnhancedHueCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopStoredEnhancedHueAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorLoopStoredEnhancedHueCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopStoredEnhancedHueAttribute", - readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo); - Map readColorControlColorCapabilitiesCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorCapabilitiesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorCapabilitiesAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorCapabilitiesCommandParams); - readColorControlInteractionInfo.put( - "readColorCapabilitiesAttribute", - readColorControlColorCapabilitiesAttributeInteractionInfo); - Map readColorControlColorTempPhysicalMinCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorTempPhysicalMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorTempPhysicalMinAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorTempPhysicalMinCommandParams); - readColorControlInteractionInfo.put( - "readColorTempPhysicalMinAttribute", - readColorControlColorTempPhysicalMinAttributeInteractionInfo); - Map readColorControlColorTempPhysicalMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorTempPhysicalMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorTempPhysicalMaxAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlColorTempPhysicalMaxCommandParams); - readColorControlInteractionInfo.put( - "readColorTempPhysicalMaxAttribute", - readColorControlColorTempPhysicalMaxAttributeInteractionInfo); - Map readColorControlCoupleColorTempToLevelMinMiredsCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCoupleColorTempToLevelMinMiredsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlCoupleColorTempToLevelMinMiredsCommandParams); - readColorControlInteractionInfo.put( - "readCoupleColorTempToLevelMinMiredsAttribute", - readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo); - Map readColorControlStartUpColorTemperatureMiredsCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readStartUpColorTemperatureMiredsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlStartUpColorTemperatureMiredsCommandParams); - readColorControlInteractionInfo.put( - "readStartUpColorTemperatureMiredsAttribute", - readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); - Map readColorControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readColorControlClusterRevisionCommandParams); - readColorControlInteractionInfo.put( - "readClusterRevisionAttribute", readColorControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("colorControl", readColorControlInteractionInfo); - Map readContentLauncherInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readContentLauncherAcceptsHeaderListCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherAcceptsHeaderListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readAcceptsHeaderListAttribute( - (ChipClusters.ContentLauncherCluster.AcceptsHeaderListAttributeCallback) - callback); - }, - () -> new DelegatedAcceptsHeaderListAttributeCallback(), - readContentLauncherAcceptsHeaderListCommandParams); - readContentLauncherInteractionInfo.put( - "readAcceptsHeaderListAttribute", - readContentLauncherAcceptsHeaderListAttributeInteractionInfo); - Map readContentLauncherSupportedStreamingTypesCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherSupportedStreamingTypesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readSupportedStreamingTypesAttribute( - (ChipClusters.ContentLauncherCluster.SupportedStreamingTypesAttributeCallback) - callback); - }, - () -> new DelegatedSupportedStreamingTypesAttributeCallback(), - readContentLauncherSupportedStreamingTypesCommandParams); - readContentLauncherInteractionInfo.put( - "readSupportedStreamingTypesAttribute", - readContentLauncherSupportedStreamingTypesAttributeInteractionInfo); - Map readContentLauncherClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readContentLauncherClusterRevisionCommandParams); - readContentLauncherInteractionInfo.put( - "readClusterRevisionAttribute", readContentLauncherClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("contentLauncher", readContentLauncherInteractionInfo); - Map readDescriptorInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readDescriptorDeviceListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorDeviceListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readDeviceListAttribute( - (ChipClusters.DescriptorCluster.DeviceListAttributeCallback) callback); - }, - () -> new DelegatedDeviceListAttributeCallback(), - readDescriptorDeviceListCommandParams); - readDescriptorInteractionInfo.put( - "readDeviceListAttribute", readDescriptorDeviceListAttributeInteractionInfo); - Map readDescriptorServerListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorServerListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readServerListAttribute( - (ChipClusters.DescriptorCluster.ServerListAttributeCallback) callback); - }, - () -> new DelegatedServerListAttributeCallback(), - readDescriptorServerListCommandParams); - readDescriptorInteractionInfo.put( - "readServerListAttribute", readDescriptorServerListAttributeInteractionInfo); - Map readDescriptorClientListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorClientListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readClientListAttribute( - (ChipClusters.DescriptorCluster.ClientListAttributeCallback) callback); - }, - () -> new DelegatedClientListAttributeCallback(), - readDescriptorClientListCommandParams); - readDescriptorInteractionInfo.put( - "readClientListAttribute", readDescriptorClientListAttributeInteractionInfo); - Map readDescriptorPartsListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorPartsListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readPartsListAttribute( - (ChipClusters.DescriptorCluster.PartsListAttributeCallback) callback); - }, - () -> new DelegatedPartsListAttributeCallback(), - readDescriptorPartsListCommandParams); - readDescriptorInteractionInfo.put( - "readPartsListAttribute", readDescriptorPartsListAttributeInteractionInfo); - Map readDescriptorClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readDescriptorClusterRevisionCommandParams); - readDescriptorInteractionInfo.put( - "readClusterRevisionAttribute", readDescriptorClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("descriptor", readDescriptorInteractionInfo); - Map readDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); - // read attribute - readAttributeMap.put("diagnosticLogs", readDiagnosticLogsInteractionInfo); - Map readDoorLockInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readDoorLockLockStateCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockLockStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readLockStateAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readDoorLockLockStateCommandParams); - readDoorLockInteractionInfo.put( - "readLockStateAttribute", readDoorLockLockStateAttributeInteractionInfo); - Map readDoorLockLockTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockLockTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readLockTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readDoorLockLockTypeCommandParams); - readDoorLockInteractionInfo.put( - "readLockTypeAttribute", readDoorLockLockTypeAttributeInteractionInfo); - Map readDoorLockActuatorEnabledCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockActuatorEnabledAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readActuatorEnabledAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readDoorLockActuatorEnabledCommandParams); - readDoorLockInteractionInfo.put( - "readActuatorEnabledAttribute", readDoorLockActuatorEnabledAttributeInteractionInfo); - Map readDoorLockClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readDoorLockClusterRevisionCommandParams); - readDoorLockInteractionInfo.put( - "readClusterRevisionAttribute", readDoorLockClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("doorLock", readDoorLockInteractionInfo); - Map readElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readElectricalMeasurementMeasurementTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasurementTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasurementTypeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readElectricalMeasurementMeasurementTypeCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasurementTypeAttribute", - readElectricalMeasurementMeasurementTypeAttributeInteractionInfo); - Map readElectricalMeasurementTotalActivePowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementTotalActivePowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readTotalActivePowerAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readElectricalMeasurementTotalActivePowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readTotalActivePowerAttribute", - readElectricalMeasurementTotalActivePowerAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageAttribute", readElectricalMeasurementRmsVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMinAttribute", - readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMaxAttribute", - readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentAttribute", readElectricalMeasurementRmsCurrentAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMinAttribute", - readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMaxAttribute", - readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerAttribute", readElectricalMeasurementActivePowerAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerMinAttribute", - readElectricalMeasurementActivePowerMinAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerMaxAttribute", - readElectricalMeasurementActivePowerMaxAttributeInteractionInfo); - Map readElectricalMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readElectricalMeasurementClusterRevisionCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readElectricalMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("electricalMeasurement", readElectricalMeasurementInteractionInfo); - Map readEthernetNetworkDiagnosticsInteractionInfo = - new LinkedHashMap<>(); - // read attribute - Map readEthernetNetworkDiagnosticsPHYRateCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readPHYRateAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readEthernetNetworkDiagnosticsPHYRateCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readPHYRateAttribute", readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsFullDuplexCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readFullDuplexAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readEthernetNetworkDiagnosticsFullDuplexCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readFullDuplexAttribute", - readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsPacketRxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readPacketRxCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsPacketRxCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readPacketRxCountAttribute", - readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsPacketTxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readPacketTxCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsPacketTxCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readPacketTxCountAttribute", - readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsTxErrCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readTxErrCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsTxErrCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readTxErrCountAttribute", - readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsCollisionCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readCollisionCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsCollisionCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readCollisionCountAttribute", - readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsOverrunCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsOverrunCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readOverrunCountAttribute", - readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsCarrierDetectCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readCarrierDetectAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readEthernetNetworkDiagnosticsCarrierDetectCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readCarrierDetectAttribute", - readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsTimeSinceResetCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readTimeSinceResetAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsTimeSinceResetCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readTimeSinceResetAttribute", - readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readEthernetNetworkDiagnosticsClusterRevisionCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "ethernetNetworkDiagnostics", readEthernetNetworkDiagnosticsInteractionInfo); - Map readFixedLabelInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readFixedLabelLabelListCommandParams = - new LinkedHashMap(); - InteractionInfo readFixedLabelLabelListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster) - .readLabelListAttribute( - (ChipClusters.FixedLabelCluster.LabelListAttributeCallback) callback); - }, - () -> new DelegatedLabelListAttributeCallback(), - readFixedLabelLabelListCommandParams); - readFixedLabelInteractionInfo.put( - "readLabelListAttribute", readFixedLabelLabelListAttributeInteractionInfo); - Map readFixedLabelClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readFixedLabelClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readFixedLabelClusterRevisionCommandParams); - readFixedLabelInteractionInfo.put( - "readClusterRevisionAttribute", readFixedLabelClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("fixedLabel", readFixedLabelInteractionInfo); - Map readFlowMeasurementInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readFlowMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readFlowMeasurementMeasuredValueCommandParams); - readFlowMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", readFlowMeasurementMeasuredValueAttributeInteractionInfo); - Map readFlowMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readFlowMeasurementMinMeasuredValueCommandParams); - readFlowMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readFlowMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readFlowMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readFlowMeasurementMaxMeasuredValueCommandParams); - readFlowMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readFlowMeasurementToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readFlowMeasurementToleranceCommandParams); - readFlowMeasurementInteractionInfo.put( - "readToleranceAttribute", readFlowMeasurementToleranceAttributeInteractionInfo); - Map readFlowMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readFlowMeasurementClusterRevisionCommandParams); - readFlowMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", readFlowMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("flowMeasurement", readFlowMeasurementInteractionInfo); - Map readGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readGeneralCommissioningBreadcrumbCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningBreadcrumbAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readBreadcrumbAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readGeneralCommissioningBreadcrumbCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readBreadcrumbAttribute", readGeneralCommissioningBreadcrumbAttributeInteractionInfo); - Map - readGeneralCommissioningBasicCommissioningInfoListCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningBasicCommissioningInfoListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readBasicCommissioningInfoListAttribute( - (ChipClusters.GeneralCommissioningCluster - .BasicCommissioningInfoListAttributeCallback) - callback); - }, - () -> new DelegatedBasicCommissioningInfoListAttributeCallback(), - readGeneralCommissioningBasicCommissioningInfoListCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readBasicCommissioningInfoListAttribute", - readGeneralCommissioningBasicCommissioningInfoListAttributeInteractionInfo); - Map readGeneralCommissioningClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readGeneralCommissioningClusterRevisionCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readClusterRevisionAttribute", - readGeneralCommissioningClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("generalCommissioning", readGeneralCommissioningInteractionInfo); - Map readGeneralDiagnosticsInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readGeneralDiagnosticsNetworkInterfacesCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readNetworkInterfacesAttribute( - (ChipClusters.GeneralDiagnosticsCluster.NetworkInterfacesAttributeCallback) - callback); - }, - () -> new DelegatedNetworkInterfacesAttributeCallback(), - readGeneralDiagnosticsNetworkInterfacesCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readNetworkInterfacesAttribute", - readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo); - Map readGeneralDiagnosticsRebootCountCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsRebootCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readRebootCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readGeneralDiagnosticsRebootCountCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readRebootCountAttribute", readGeneralDiagnosticsRebootCountAttributeInteractionInfo); - Map readGeneralDiagnosticsUpTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsUpTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readUpTimeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readGeneralDiagnosticsUpTimeCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readUpTimeAttribute", readGeneralDiagnosticsUpTimeAttributeInteractionInfo); - Map readGeneralDiagnosticsTotalOperationalHoursCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readTotalOperationalHoursAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readGeneralDiagnosticsTotalOperationalHoursCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readTotalOperationalHoursAttribute", - readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo); - Map readGeneralDiagnosticsBootReasonsCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsBootReasonsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readBootReasonsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readGeneralDiagnosticsBootReasonsCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readBootReasonsAttribute", readGeneralDiagnosticsBootReasonsAttributeInteractionInfo); - Map readGeneralDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readGeneralDiagnosticsClusterRevisionCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("generalDiagnostics", readGeneralDiagnosticsInteractionInfo); - Map readGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readGroupKeyManagementGroupsCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementGroupsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readGroupsAttribute( - (ChipClusters.GroupKeyManagementCluster.GroupsAttributeCallback) callback); - }, - () -> new DelegatedGroupsAttributeCallback(), - readGroupKeyManagementGroupsCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readGroupsAttribute", readGroupKeyManagementGroupsAttributeInteractionInfo); - Map readGroupKeyManagementGroupKeysCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementGroupKeysAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readGroupKeysAttribute( - (ChipClusters.GroupKeyManagementCluster.GroupKeysAttributeCallback) callback); - }, - () -> new DelegatedGroupKeysAttributeCallback(), - readGroupKeyManagementGroupKeysCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readGroupKeysAttribute", readGroupKeyManagementGroupKeysAttributeInteractionInfo); - Map readGroupKeyManagementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readGroupKeyManagementClusterRevisionCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readClusterRevisionAttribute", - readGroupKeyManagementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("groupKeyManagement", readGroupKeyManagementInteractionInfo); - Map readGroupsInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readGroupsNameSupportCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupsNameSupportAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .readNameSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readGroupsNameSupportCommandParams); - readGroupsInteractionInfo.put( - "readNameSupportAttribute", readGroupsNameSupportAttributeInteractionInfo); - Map readGroupsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readGroupsClusterRevisionCommandParams); - readGroupsInteractionInfo.put( - "readClusterRevisionAttribute", readGroupsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("groups", readGroupsInteractionInfo); - Map readIdentifyInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readIdentifyIdentifyTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyIdentifyTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readIdentifyTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readIdentifyIdentifyTimeCommandParams); - readIdentifyInteractionInfo.put( - "readIdentifyTimeAttribute", readIdentifyIdentifyTimeAttributeInteractionInfo); - Map readIdentifyIdentifyTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyIdentifyTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readIdentifyTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readIdentifyIdentifyTypeCommandParams); - readIdentifyInteractionInfo.put( - "readIdentifyTypeAttribute", readIdentifyIdentifyTypeAttributeInteractionInfo); - Map readIdentifyClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readIdentifyClusterRevisionCommandParams); - readIdentifyInteractionInfo.put( - "readClusterRevisionAttribute", readIdentifyClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("identify", readIdentifyInteractionInfo); - Map readIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readIlluminanceMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementMeasuredValueCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", - readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo); - Map readIlluminanceMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementMinMeasuredValueCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readIlluminanceMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementMaxMeasuredValueCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readIlluminanceMeasurementToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementToleranceCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readToleranceAttribute", readIlluminanceMeasurementToleranceAttributeInteractionInfo); - Map readIlluminanceMeasurementLightSensorTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readLightSensorTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementLightSensorTypeCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readLightSensorTypeAttribute", - readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo); - Map readIlluminanceMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementClusterRevisionCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("illuminanceMeasurement", readIlluminanceMeasurementInteractionInfo); - Map readKeypadInputInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readKeypadInputClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readKeypadInputClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readKeypadInputClusterRevisionCommandParams); - readKeypadInputInteractionInfo.put( - "readClusterRevisionAttribute", readKeypadInputClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("keypadInput", readKeypadInputInteractionInfo); - Map readLevelControlInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readLevelControlCurrentLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlCurrentLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readCurrentLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlCurrentLevelCommandParams); - readLevelControlInteractionInfo.put( - "readCurrentLevelAttribute", readLevelControlCurrentLevelAttributeInteractionInfo); - Map readLevelControlRemainingTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlRemainingTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readRemainingTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlRemainingTimeCommandParams); - readLevelControlInteractionInfo.put( - "readRemainingTimeAttribute", readLevelControlRemainingTimeAttributeInteractionInfo); - Map readLevelControlMinLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlMinLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readMinLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlMinLevelCommandParams); - readLevelControlInteractionInfo.put( - "readMinLevelAttribute", readLevelControlMinLevelAttributeInteractionInfo); - Map readLevelControlMaxLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlMaxLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readMaxLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlMaxLevelCommandParams); - readLevelControlInteractionInfo.put( - "readMaxLevelAttribute", readLevelControlMaxLevelAttributeInteractionInfo); - Map readLevelControlCurrentFrequencyCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlCurrentFrequencyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readCurrentFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlCurrentFrequencyCommandParams); - readLevelControlInteractionInfo.put( - "readCurrentFrequencyAttribute", readLevelControlCurrentFrequencyAttributeInteractionInfo); - Map readLevelControlMinFrequencyCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlMinFrequencyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readMinFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlMinFrequencyCommandParams); - readLevelControlInteractionInfo.put( - "readMinFrequencyAttribute", readLevelControlMinFrequencyAttributeInteractionInfo); - Map readLevelControlMaxFrequencyCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlMaxFrequencyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readMaxFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlMaxFrequencyCommandParams); - readLevelControlInteractionInfo.put( - "readMaxFrequencyAttribute", readLevelControlMaxFrequencyAttributeInteractionInfo); - Map readLevelControlOptionsCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOptionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOptionsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlOptionsCommandParams); - readLevelControlInteractionInfo.put( - "readOptionsAttribute", readLevelControlOptionsAttributeInteractionInfo); - Map readLevelControlOnOffTransitionTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOnOffTransitionTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOnOffTransitionTimeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlOnOffTransitionTimeCommandParams); - readLevelControlInteractionInfo.put( - "readOnOffTransitionTimeAttribute", - readLevelControlOnOffTransitionTimeAttributeInteractionInfo); - Map readLevelControlOnLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOnLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOnLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlOnLevelCommandParams); - readLevelControlInteractionInfo.put( - "readOnLevelAttribute", readLevelControlOnLevelAttributeInteractionInfo); - Map readLevelControlOnTransitionTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOnTransitionTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOnTransitionTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlOnTransitionTimeCommandParams); - readLevelControlInteractionInfo.put( - "readOnTransitionTimeAttribute", readLevelControlOnTransitionTimeAttributeInteractionInfo); - Map readLevelControlOffTransitionTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOffTransitionTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOffTransitionTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlOffTransitionTimeCommandParams); - readLevelControlInteractionInfo.put( - "readOffTransitionTimeAttribute", - readLevelControlOffTransitionTimeAttributeInteractionInfo); - Map readLevelControlDefaultMoveRateCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlDefaultMoveRateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readDefaultMoveRateAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlDefaultMoveRateCommandParams); - readLevelControlInteractionInfo.put( - "readDefaultMoveRateAttribute", readLevelControlDefaultMoveRateAttributeInteractionInfo); - Map readLevelControlStartUpCurrentLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlStartUpCurrentLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readStartUpCurrentLevelAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlStartUpCurrentLevelCommandParams); - readLevelControlInteractionInfo.put( - "readStartUpCurrentLevelAttribute", - readLevelControlStartUpCurrentLevelAttributeInteractionInfo); - Map readLevelControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLevelControlClusterRevisionCommandParams); - readLevelControlInteractionInfo.put( - "readClusterRevisionAttribute", readLevelControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("levelControl", readLevelControlInteractionInfo); - Map readLowPowerInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readLowPowerClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readLowPowerClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readLowPowerClusterRevisionCommandParams); - readLowPowerInteractionInfo.put( - "readClusterRevisionAttribute", readLowPowerClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("lowPower", readLowPowerInteractionInfo); - Map readMediaInputInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readMediaInputMediaInputListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputMediaInputListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readMediaInputListAttribute( - (ChipClusters.MediaInputCluster.MediaInputListAttributeCallback) callback); - }, - () -> new DelegatedMediaInputListAttributeCallback(), - readMediaInputMediaInputListCommandParams); - readMediaInputInteractionInfo.put( - "readMediaInputListAttribute", readMediaInputMediaInputListAttributeInteractionInfo); - Map readMediaInputCurrentMediaInputCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputCurrentMediaInputAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readCurrentMediaInputAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readMediaInputCurrentMediaInputCommandParams); - readMediaInputInteractionInfo.put( - "readCurrentMediaInputAttribute", readMediaInputCurrentMediaInputAttributeInteractionInfo); - Map readMediaInputClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readMediaInputClusterRevisionCommandParams); - readMediaInputInteractionInfo.put( - "readClusterRevisionAttribute", readMediaInputClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("mediaInput", readMediaInputInteractionInfo); - Map readMediaPlaybackInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readMediaPlaybackPlaybackStateCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackPlaybackStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readPlaybackStateAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readMediaPlaybackPlaybackStateCommandParams); - readMediaPlaybackInteractionInfo.put( - "readPlaybackStateAttribute", readMediaPlaybackPlaybackStateAttributeInteractionInfo); - Map readMediaPlaybackStartTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackStartTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readStartTimeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readMediaPlaybackStartTimeCommandParams); - readMediaPlaybackInteractionInfo.put( - "readStartTimeAttribute", readMediaPlaybackStartTimeAttributeInteractionInfo); - Map readMediaPlaybackDurationCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackDurationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readDurationAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readMediaPlaybackDurationCommandParams); - readMediaPlaybackInteractionInfo.put( - "readDurationAttribute", readMediaPlaybackDurationAttributeInteractionInfo); - Map readMediaPlaybackPositionUpdatedAtCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackPositionUpdatedAtAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readPositionUpdatedAtAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readMediaPlaybackPositionUpdatedAtCommandParams); - readMediaPlaybackInteractionInfo.put( - "readPositionUpdatedAtAttribute", - readMediaPlaybackPositionUpdatedAtAttributeInteractionInfo); - Map readMediaPlaybackPositionCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackPositionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readPositionAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readMediaPlaybackPositionCommandParams); - readMediaPlaybackInteractionInfo.put( - "readPositionAttribute", readMediaPlaybackPositionAttributeInteractionInfo); - Map readMediaPlaybackPlaybackSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackPlaybackSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readPlaybackSpeedAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readMediaPlaybackPlaybackSpeedCommandParams); - readMediaPlaybackInteractionInfo.put( - "readPlaybackSpeedAttribute", readMediaPlaybackPlaybackSpeedAttributeInteractionInfo); - Map readMediaPlaybackSeekRangeEndCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackSeekRangeEndAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readSeekRangeEndAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readMediaPlaybackSeekRangeEndCommandParams); - readMediaPlaybackInteractionInfo.put( - "readSeekRangeEndAttribute", readMediaPlaybackSeekRangeEndAttributeInteractionInfo); - Map readMediaPlaybackSeekRangeStartCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackSeekRangeStartAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readSeekRangeStartAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readMediaPlaybackSeekRangeStartCommandParams); - readMediaPlaybackInteractionInfo.put( - "readSeekRangeStartAttribute", readMediaPlaybackSeekRangeStartAttributeInteractionInfo); - Map readMediaPlaybackClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readMediaPlaybackClusterRevisionCommandParams); - readMediaPlaybackInteractionInfo.put( - "readClusterRevisionAttribute", readMediaPlaybackClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("mediaPlayback", readMediaPlaybackInteractionInfo); - Map readModeSelectInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readModeSelectCurrentModeCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectCurrentModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readCurrentModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readModeSelectCurrentModeCommandParams); - readModeSelectInteractionInfo.put( - "readCurrentModeAttribute", readModeSelectCurrentModeAttributeInteractionInfo); - Map readModeSelectSupportedModesCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectSupportedModesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readSupportedModesAttribute( - (ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback) callback); - }, - () -> new DelegatedSupportedModesAttributeCallback(), - readModeSelectSupportedModesCommandParams); - readModeSelectInteractionInfo.put( - "readSupportedModesAttribute", readModeSelectSupportedModesAttributeInteractionInfo); - Map readModeSelectOnModeCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectOnModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readOnModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readModeSelectOnModeCommandParams); - readModeSelectInteractionInfo.put( - "readOnModeAttribute", readModeSelectOnModeAttributeInteractionInfo); - Map readModeSelectStartUpModeCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectStartUpModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readStartUpModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readModeSelectStartUpModeCommandParams); - readModeSelectInteractionInfo.put( - "readStartUpModeAttribute", readModeSelectStartUpModeAttributeInteractionInfo); - Map readModeSelectDescriptionCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectDescriptionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readModeSelectDescriptionCommandParams); - readModeSelectInteractionInfo.put( - "readDescriptionAttribute", readModeSelectDescriptionAttributeInteractionInfo); - Map readModeSelectClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readModeSelectClusterRevisionCommandParams); - readModeSelectInteractionInfo.put( - "readClusterRevisionAttribute", readModeSelectClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("modeSelect", readModeSelectInteractionInfo); - Map readNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readNetworkCommissioningFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readNetworkCommissioningFeatureMapCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readFeatureMapAttribute", readNetworkCommissioningFeatureMapAttributeInteractionInfo); - Map readNetworkCommissioningClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readNetworkCommissioningClusterRevisionCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readClusterRevisionAttribute", - readNetworkCommissioningClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("networkCommissioning", readNetworkCommissioningInteractionInfo); - Map readOtaSoftwareUpdateProviderInteractionInfo = - new LinkedHashMap<>(); - // read attribute - Map readOtaSoftwareUpdateProviderClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOtaSoftwareUpdateProviderClusterRevisionCommandParams); - readOtaSoftwareUpdateProviderInteractionInfo.put( - "readClusterRevisionAttribute", - readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("otaSoftwareUpdateProvider", readOtaSoftwareUpdateProviderInteractionInfo); - Map readOtaSoftwareUpdateRequestorInteractionInfo = - new LinkedHashMap<>(); - // read attribute - Map - readOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorDefaultOtaProviderAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readDefaultOtaProviderAttribute( - (ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readDefaultOtaProviderAttribute", - readOtaSoftwareUpdateRequestorDefaultOtaProviderAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readUpdatePossibleAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readUpdatePossibleAttribute", - readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOtaSoftwareUpdateRequestorClusterRevisionCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readClusterRevisionAttribute", - readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "otaSoftwareUpdateRequestor", readOtaSoftwareUpdateRequestorInteractionInfo); - Map readOccupancySensingInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readOccupancySensingOccupancyCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingOccupancyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readOccupancyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOccupancySensingOccupancyCommandParams); - readOccupancySensingInteractionInfo.put( - "readOccupancyAttribute", readOccupancySensingOccupancyAttributeInteractionInfo); - Map readOccupancySensingOccupancySensorTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingOccupancySensorTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readOccupancySensorTypeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOccupancySensingOccupancySensorTypeCommandParams); - readOccupancySensingInteractionInfo.put( - "readOccupancySensorTypeAttribute", - readOccupancySensingOccupancySensorTypeAttributeInteractionInfo); - Map readOccupancySensingOccupancySensorTypeBitmapCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readOccupancySensorTypeBitmapAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOccupancySensingOccupancySensorTypeBitmapCommandParams); - readOccupancySensingInteractionInfo.put( - "readOccupancySensorTypeBitmapAttribute", - readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo); - Map readOccupancySensingClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOccupancySensingClusterRevisionCommandParams); - readOccupancySensingInteractionInfo.put( - "readClusterRevisionAttribute", - readOccupancySensingClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("occupancySensing", readOccupancySensingInteractionInfo); - Map readOnOffInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readOnOffOnOffCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffOnOffAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readOnOffAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readOnOffOnOffCommandParams); - readOnOffInteractionInfo.put("readOnOffAttribute", readOnOffOnOffAttributeInteractionInfo); - Map readOnOffGlobalSceneControlCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffGlobalSceneControlAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readGlobalSceneControlAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readOnOffGlobalSceneControlCommandParams); - readOnOffInteractionInfo.put( - "readGlobalSceneControlAttribute", readOnOffGlobalSceneControlAttributeInteractionInfo); - Map readOnOffOnTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffOnTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readOnTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOnOffOnTimeCommandParams); - readOnOffInteractionInfo.put("readOnTimeAttribute", readOnOffOnTimeAttributeInteractionInfo); - Map readOnOffOffWaitTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffOffWaitTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readOffWaitTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOnOffOffWaitTimeCommandParams); - readOnOffInteractionInfo.put( - "readOffWaitTimeAttribute", readOnOffOffWaitTimeAttributeInteractionInfo); - Map readOnOffStartUpOnOffCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffStartUpOnOffAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readStartUpOnOffAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOnOffStartUpOnOffCommandParams); - readOnOffInteractionInfo.put( - "readStartUpOnOffAttribute", readOnOffStartUpOnOffAttributeInteractionInfo); - Map readOnOffFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readOnOffFeatureMapCommandParams); - readOnOffInteractionInfo.put( - "readFeatureMapAttribute", readOnOffFeatureMapAttributeInteractionInfo); - Map readOnOffClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOnOffClusterRevisionCommandParams); - readOnOffInteractionInfo.put( - "readClusterRevisionAttribute", readOnOffClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("onOff", readOnOffInteractionInfo); - Map readOnOffSwitchConfigurationInteractionInfo = - new LinkedHashMap<>(); - // read attribute - Map readOnOffSwitchConfigurationSwitchTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readSwitchTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOnOffSwitchConfigurationSwitchTypeCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readSwitchTypeAttribute", readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo); - Map readOnOffSwitchConfigurationSwitchActionsCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readSwitchActionsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOnOffSwitchConfigurationSwitchActionsCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readSwitchActionsAttribute", - readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); - Map readOnOffSwitchConfigurationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOnOffSwitchConfigurationClusterRevisionCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readClusterRevisionAttribute", - readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("onOffSwitchConfiguration", readOnOffSwitchConfigurationInteractionInfo); - Map readOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readOperationalCredentialsFabricsListCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsFabricsListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readFabricsListAttribute( - (ChipClusters.OperationalCredentialsCluster.FabricsListAttributeCallback) - callback); - }, - () -> new DelegatedFabricsListAttributeCallback(), - readOperationalCredentialsFabricsListCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readFabricsListAttribute", readOperationalCredentialsFabricsListAttributeInteractionInfo); - Map readOperationalCredentialsSupportedFabricsCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsSupportedFabricsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readSupportedFabricsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOperationalCredentialsSupportedFabricsCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readSupportedFabricsAttribute", - readOperationalCredentialsSupportedFabricsAttributeInteractionInfo); - Map readOperationalCredentialsCommissionedFabricsCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readCommissionedFabricsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOperationalCredentialsCommissionedFabricsCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readCommissionedFabricsAttribute", - readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo); - Map - readOperationalCredentialsTrustedRootCertificatesCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readTrustedRootCertificatesAttribute( - (ChipClusters.OperationalCredentialsCluster - .TrustedRootCertificatesAttributeCallback) - callback); - }, - () -> new DelegatedTrustedRootCertificatesAttributeCallback(), - readOperationalCredentialsTrustedRootCertificatesCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readTrustedRootCertificatesAttribute", - readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo); - Map readOperationalCredentialsCurrentFabricIndexCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readCurrentFabricIndexAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOperationalCredentialsCurrentFabricIndexCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readCurrentFabricIndexAttribute", - readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo); - Map readOperationalCredentialsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readOperationalCredentialsClusterRevisionCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readClusterRevisionAttribute", - readOperationalCredentialsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("operationalCredentials", readOperationalCredentialsInteractionInfo); - Map readPowerSourceInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readPowerSourceStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPowerSourceStatusCommandParams); - readPowerSourceInteractionInfo.put( - "readStatusAttribute", readPowerSourceStatusAttributeInteractionInfo); - Map readPowerSourceOrderCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceOrderAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readOrderAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPowerSourceOrderCommandParams); - readPowerSourceInteractionInfo.put( - "readOrderAttribute", readPowerSourceOrderAttributeInteractionInfo); - Map readPowerSourceDescriptionCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceDescriptionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readPowerSourceDescriptionCommandParams); - readPowerSourceInteractionInfo.put( - "readDescriptionAttribute", readPowerSourceDescriptionAttributeInteractionInfo); - Map readPowerSourceBatteryVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatteryVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatteryVoltageAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readPowerSourceBatteryVoltageCommandParams); - readPowerSourceInteractionInfo.put( - "readBatteryVoltageAttribute", readPowerSourceBatteryVoltageAttributeInteractionInfo); - Map readPowerSourceBatteryPercentRemainingCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatteryPercentRemainingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatteryPercentRemainingAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPowerSourceBatteryPercentRemainingCommandParams); - readPowerSourceInteractionInfo.put( - "readBatteryPercentRemainingAttribute", - readPowerSourceBatteryPercentRemainingAttributeInteractionInfo); - Map readPowerSourceBatteryTimeRemainingCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatteryTimeRemainingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatteryTimeRemainingAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readPowerSourceBatteryTimeRemainingCommandParams); - readPowerSourceInteractionInfo.put( - "readBatteryTimeRemainingAttribute", - readPowerSourceBatteryTimeRemainingAttributeInteractionInfo); - Map readPowerSourceBatteryChargeLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatteryChargeLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatteryChargeLevelAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPowerSourceBatteryChargeLevelCommandParams); - readPowerSourceInteractionInfo.put( - "readBatteryChargeLevelAttribute", - readPowerSourceBatteryChargeLevelAttributeInteractionInfo); - Map readPowerSourceActiveBatteryFaultsCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceActiveBatteryFaultsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readActiveBatteryFaultsAttribute( - (ChipClusters.PowerSourceCluster.ActiveBatteryFaultsAttributeCallback) - callback); - }, - () -> new DelegatedActiveBatteryFaultsAttributeCallback(), - readPowerSourceActiveBatteryFaultsCommandParams); - readPowerSourceInteractionInfo.put( - "readActiveBatteryFaultsAttribute", - readPowerSourceActiveBatteryFaultsAttributeInteractionInfo); - Map readPowerSourceBatteryChargeStateCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatteryChargeStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatteryChargeStateAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPowerSourceBatteryChargeStateCommandParams); - readPowerSourceInteractionInfo.put( - "readBatteryChargeStateAttribute", - readPowerSourceBatteryChargeStateAttributeInteractionInfo); - Map readPowerSourceFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readPowerSourceFeatureMapCommandParams); - readPowerSourceInteractionInfo.put( - "readFeatureMapAttribute", readPowerSourceFeatureMapAttributeInteractionInfo); - Map readPowerSourceClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPowerSourceClusterRevisionCommandParams); - readPowerSourceInteractionInfo.put( - "readClusterRevisionAttribute", readPowerSourceClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("powerSource", readPowerSourceInteractionInfo); - Map readPressureMeasurementInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readPressureMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPressureMeasurementMeasuredValueCommandParams); - readPressureMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", readPressureMeasurementMeasuredValueAttributeInteractionInfo); - Map readPressureMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPressureMeasurementMinMeasuredValueCommandParams); - readPressureMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readPressureMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readPressureMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPressureMeasurementMaxMeasuredValueCommandParams); - readPressureMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readPressureMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPressureMeasurementClusterRevisionCommandParams); - readPressureMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readPressureMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("pressureMeasurement", readPressureMeasurementInteractionInfo); - Map readPumpConfigurationAndControlInteractionInfo = - new LinkedHashMap<>(); - // read attribute - Map readPumpConfigurationAndControlMaxPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMaxPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxPressureAttribute", - readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxSpeedAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMaxSpeedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxSpeedAttribute", readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxFlowCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxFlowAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMaxFlowCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxFlowAttribute", readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinConstPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMinConstPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinConstPressureAttribute", - readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxConstPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMaxConstPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxConstPressureAttribute", - readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinCompPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinCompPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMinCompPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinCompPressureAttribute", - readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxCompPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxCompPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMaxCompPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxCompPressureAttribute", - readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinConstSpeedAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMinConstSpeedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinConstSpeedAttribute", - readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxConstSpeedAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMaxConstSpeedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxConstSpeedAttribute", - readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstFlowCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinConstFlowAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMinConstFlowCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinConstFlowAttribute", - readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstFlowCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxConstFlowAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMaxConstFlowCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxConstFlowAttribute", - readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstTempCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinConstTempAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMinConstTempCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinConstTempAttribute", - readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstTempCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxConstTempAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlMaxConstTempCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxConstTempAttribute", - readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo); - Map readPumpConfigurationAndControlPumpStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readPumpStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlPumpStatusCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readPumpStatusAttribute", - readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo); - Map - readPumpConfigurationAndControlEffectiveOperationModeCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readEffectiveOperationModeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlEffectiveOperationModeCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readEffectiveOperationModeAttribute", - readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo); - Map - readPumpConfigurationAndControlEffectiveControlModeCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readEffectiveControlModeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlEffectiveControlModeCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readEffectiveControlModeAttribute", - readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo); - Map readPumpConfigurationAndControlCapacityCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlCapacityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readCapacityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlCapacityCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readCapacityAttribute", readPumpConfigurationAndControlCapacityAttributeInteractionInfo); - Map readPumpConfigurationAndControlSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readSpeedAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlSpeedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readSpeedAttribute", readPumpConfigurationAndControlSpeedAttributeInteractionInfo); - Map - readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readLifetimeEnergyConsumedAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readLifetimeEnergyConsumedAttribute", - readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo); - Map readPumpConfigurationAndControlOperationModeCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlOperationModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readOperationModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlOperationModeCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readOperationModeAttribute", - readPumpConfigurationAndControlOperationModeAttributeInteractionInfo); - Map readPumpConfigurationAndControlControlModeCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlControlModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readControlModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlControlModeCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readControlModeAttribute", - readPumpConfigurationAndControlControlModeAttributeInteractionInfo); - Map readPumpConfigurationAndControlAlarmMaskCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlAlarmMaskAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readAlarmMaskAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlAlarmMaskCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readAlarmMaskAttribute", readPumpConfigurationAndControlAlarmMaskAttributeInteractionInfo); - Map readPumpConfigurationAndControlFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readPumpConfigurationAndControlFeatureMapCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readFeatureMapAttribute", - readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo); - Map readPumpConfigurationAndControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlClusterRevisionCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readClusterRevisionAttribute", - readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "pumpConfigurationAndControl", readPumpConfigurationAndControlInteractionInfo); - Map readRelativeHumidityMeasurementInteractionInfo = - new LinkedHashMap<>(); - // read attribute - Map readRelativeHumidityMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readRelativeHumidityMeasurementMeasuredValueCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", - readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo); - Map readRelativeHumidityMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readRelativeHumidityMeasurementMinMeasuredValueCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readRelativeHumidityMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readRelativeHumidityMeasurementMaxMeasuredValueCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readRelativeHumidityMeasurementToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readRelativeHumidityMeasurementToleranceCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readToleranceAttribute", readRelativeHumidityMeasurementToleranceAttributeInteractionInfo); - Map readRelativeHumidityMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readRelativeHumidityMeasurementClusterRevisionCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "relativeHumidityMeasurement", readRelativeHumidityMeasurementInteractionInfo); - Map readScenesInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readScenesSceneCountCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesSceneCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readSceneCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readScenesSceneCountCommandParams); - readScenesInteractionInfo.put( - "readSceneCountAttribute", readScenesSceneCountAttributeInteractionInfo); - Map readScenesCurrentSceneCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesCurrentSceneAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readCurrentSceneAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readScenesCurrentSceneCommandParams); - readScenesInteractionInfo.put( - "readCurrentSceneAttribute", readScenesCurrentSceneAttributeInteractionInfo); - Map readScenesCurrentGroupCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesCurrentGroupAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readCurrentGroupAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readScenesCurrentGroupCommandParams); - readScenesInteractionInfo.put( - "readCurrentGroupAttribute", readScenesCurrentGroupAttributeInteractionInfo); - Map readScenesSceneValidCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesSceneValidAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readSceneValidAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readScenesSceneValidCommandParams); - readScenesInteractionInfo.put( - "readSceneValidAttribute", readScenesSceneValidAttributeInteractionInfo); - Map readScenesNameSupportCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesNameSupportAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readNameSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readScenesNameSupportCommandParams); - readScenesInteractionInfo.put( - "readNameSupportAttribute", readScenesNameSupportAttributeInteractionInfo); - Map readScenesClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readScenesClusterRevisionCommandParams); - readScenesInteractionInfo.put( - "readClusterRevisionAttribute", readScenesClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("scenes", readScenesInteractionInfo); - Map readSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readSoftwareDiagnosticsThreadMetricsCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readThreadMetricsAttribute( - (ChipClusters.SoftwareDiagnosticsCluster.ThreadMetricsAttributeCallback) - callback); - }, - () -> new DelegatedThreadMetricsAttributeCallback(), - readSoftwareDiagnosticsThreadMetricsCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readThreadMetricsAttribute", readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo); - Map readSoftwareDiagnosticsCurrentHeapFreeCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readCurrentHeapFreeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsCurrentHeapFreeCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readCurrentHeapFreeAttribute", - readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo); - Map readSoftwareDiagnosticsCurrentHeapUsedCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readCurrentHeapUsedAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsCurrentHeapUsedCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readCurrentHeapUsedAttribute", - readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo); - Map readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readCurrentHeapHighWatermarkAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readCurrentHeapHighWatermarkAttribute", - readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo); - Map readSoftwareDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readSoftwareDiagnosticsClusterRevisionCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("softwareDiagnostics", readSoftwareDiagnosticsInteractionInfo); - Map readSwitchInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readSwitchNumberOfPositionsCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchNumberOfPositionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readNumberOfPositionsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readSwitchNumberOfPositionsCommandParams); - readSwitchInteractionInfo.put( - "readNumberOfPositionsAttribute", readSwitchNumberOfPositionsAttributeInteractionInfo); - Map readSwitchCurrentPositionCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchCurrentPositionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readCurrentPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readSwitchCurrentPositionCommandParams); - readSwitchInteractionInfo.put( - "readCurrentPositionAttribute", readSwitchCurrentPositionAttributeInteractionInfo); - Map readSwitchMultiPressMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchMultiPressMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readMultiPressMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readSwitchMultiPressMaxCommandParams); - readSwitchInteractionInfo.put( - "readMultiPressMaxAttribute", readSwitchMultiPressMaxAttributeInteractionInfo); - Map readSwitchFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readSwitchFeatureMapCommandParams); - readSwitchInteractionInfo.put( - "readFeatureMapAttribute", readSwitchFeatureMapAttributeInteractionInfo); - Map readSwitchClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readSwitchClusterRevisionCommandParams); - readSwitchInteractionInfo.put( - "readClusterRevisionAttribute", readSwitchClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("switch", readSwitchInteractionInfo); - Map readTvChannelInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readTvChannelTvChannelListCommandParams = - new LinkedHashMap(); - InteractionInfo readTvChannelTvChannelListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TvChannelCluster) cluster) - .readTvChannelListAttribute( - (ChipClusters.TvChannelCluster.TvChannelListAttributeCallback) callback); - }, - () -> new DelegatedTvChannelListAttributeCallback(), - readTvChannelTvChannelListCommandParams); - readTvChannelInteractionInfo.put( - "readTvChannelListAttribute", readTvChannelTvChannelListAttributeInteractionInfo); - Map readTvChannelTvChannelLineupCommandParams = - new LinkedHashMap(); - InteractionInfo readTvChannelTvChannelLineupAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TvChannelCluster) cluster) - .readTvChannelLineupAttribute( - (ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readTvChannelTvChannelLineupCommandParams); - readTvChannelInteractionInfo.put( - "readTvChannelLineupAttribute", readTvChannelTvChannelLineupAttributeInteractionInfo); - Map readTvChannelCurrentTvChannelCommandParams = - new LinkedHashMap(); - InteractionInfo readTvChannelCurrentTvChannelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TvChannelCluster) cluster) - .readCurrentTvChannelAttribute( - (ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readTvChannelCurrentTvChannelCommandParams); - readTvChannelInteractionInfo.put( - "readCurrentTvChannelAttribute", readTvChannelCurrentTvChannelAttributeInteractionInfo); - Map readTvChannelClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readTvChannelClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TvChannelCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTvChannelClusterRevisionCommandParams); - readTvChannelInteractionInfo.put( - "readClusterRevisionAttribute", readTvChannelClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("tvChannel", readTvChannelInteractionInfo); - Map readTargetNavigatorInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readTargetNavigatorTargetNavigatorListCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorTargetNavigatorListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readTargetNavigatorListAttribute( - (ChipClusters.TargetNavigatorCluster.TargetNavigatorListAttributeCallback) - callback); - }, - () -> new DelegatedTargetNavigatorListAttributeCallback(), - readTargetNavigatorTargetNavigatorListCommandParams); - readTargetNavigatorInteractionInfo.put( - "readTargetNavigatorListAttribute", - readTargetNavigatorTargetNavigatorListAttributeInteractionInfo); - Map readTargetNavigatorClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTargetNavigatorClusterRevisionCommandParams); - readTargetNavigatorInteractionInfo.put( - "readClusterRevisionAttribute", readTargetNavigatorClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("targetNavigator", readTargetNavigatorInteractionInfo); - Map readTemperatureMeasurementInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readTemperatureMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTemperatureMeasurementMeasuredValueCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", - readTemperatureMeasurementMeasuredValueAttributeInteractionInfo); - Map readTemperatureMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTemperatureMeasurementMinMeasuredValueCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readTemperatureMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTemperatureMeasurementMaxMeasuredValueCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readTemperatureMeasurementToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTemperatureMeasurementToleranceCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readToleranceAttribute", readTemperatureMeasurementToleranceAttributeInteractionInfo); - Map readTemperatureMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTemperatureMeasurementClusterRevisionCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readTemperatureMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("temperatureMeasurement", readTemperatureMeasurementInteractionInfo); - Map readTestClusterInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readTestClusterBooleanCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterBooleanAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readBooleanAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readTestClusterBooleanCommandParams); - readTestClusterInteractionInfo.put( - "readBooleanAttribute", readTestClusterBooleanAttributeInteractionInfo); - Map readTestClusterBitmap8CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterBitmap8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readBitmap8Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterBitmap8CommandParams); - readTestClusterInteractionInfo.put( - "readBitmap8Attribute", readTestClusterBitmap8AttributeInteractionInfo); - Map readTestClusterBitmap16CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterBitmap16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readBitmap16Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterBitmap16CommandParams); - readTestClusterInteractionInfo.put( - "readBitmap16Attribute", readTestClusterBitmap16AttributeInteractionInfo); - Map readTestClusterBitmap32CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterBitmap32AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readBitmap32Attribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterBitmap32CommandParams); - readTestClusterInteractionInfo.put( - "readBitmap32Attribute", readTestClusterBitmap32AttributeInteractionInfo); - Map readTestClusterBitmap64CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterBitmap64AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readBitmap64Attribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterBitmap64CommandParams); - readTestClusterInteractionInfo.put( - "readBitmap64Attribute", readTestClusterBitmap64AttributeInteractionInfo); - Map readTestClusterInt8uCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readInt8uAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterInt8uCommandParams); - readTestClusterInteractionInfo.put( - "readInt8uAttribute", readTestClusterInt8uAttributeInteractionInfo); - Map readTestClusterInt16uCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterInt16uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readInt16uAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterInt16uCommandParams); - readTestClusterInteractionInfo.put( - "readInt16uAttribute", readTestClusterInt16uAttributeInteractionInfo); - Map readTestClusterInt32uCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterInt32uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readInt32uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterInt32uCommandParams); - readTestClusterInteractionInfo.put( - "readInt32uAttribute", readTestClusterInt32uAttributeInteractionInfo); - Map readTestClusterInt64uCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterInt64uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readInt64uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterInt64uCommandParams); - readTestClusterInteractionInfo.put( - "readInt64uAttribute", readTestClusterInt64uAttributeInteractionInfo); - Map readTestClusterInt8sCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterInt8sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readInt8sAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterInt8sCommandParams); - readTestClusterInteractionInfo.put( - "readInt8sAttribute", readTestClusterInt8sAttributeInteractionInfo); - Map readTestClusterInt16sCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterInt16sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readInt16sAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterInt16sCommandParams); - readTestClusterInteractionInfo.put( - "readInt16sAttribute", readTestClusterInt16sAttributeInteractionInfo); - Map readTestClusterInt32sCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterInt32sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readInt32sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterInt32sCommandParams); - readTestClusterInteractionInfo.put( - "readInt32sAttribute", readTestClusterInt32sAttributeInteractionInfo); - Map readTestClusterInt64sCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterInt64sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readInt64sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterInt64sCommandParams); - readTestClusterInteractionInfo.put( - "readInt64sAttribute", readTestClusterInt64sAttributeInteractionInfo); - Map readTestClusterEnum8CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterEnum8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readEnum8Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterEnum8CommandParams); - readTestClusterInteractionInfo.put( - "readEnum8Attribute", readTestClusterEnum8AttributeInteractionInfo); - Map readTestClusterEnum16CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterEnum16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readEnum16Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterEnum16CommandParams); - readTestClusterInteractionInfo.put( - "readEnum16Attribute", readTestClusterEnum16AttributeInteractionInfo); - Map readTestClusterOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readOctetStringAttribute((ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readTestClusterOctetStringCommandParams); - readTestClusterInteractionInfo.put( - "readOctetStringAttribute", readTestClusterOctetStringAttributeInteractionInfo); - Map readTestClusterListInt8uCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterListInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readListInt8uAttribute( - (ChipClusters.TestClusterCluster.ListInt8uAttributeCallback) callback); - }, - () -> new DelegatedListInt8uAttributeCallback(), - readTestClusterListInt8uCommandParams); - readTestClusterInteractionInfo.put( - "readListInt8uAttribute", readTestClusterListInt8uAttributeInteractionInfo); - Map readTestClusterListOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterListOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readListOctetStringAttribute( - (ChipClusters.TestClusterCluster.ListOctetStringAttributeCallback) callback); - }, - () -> new DelegatedListOctetStringAttributeCallback(), - readTestClusterListOctetStringCommandParams); - readTestClusterInteractionInfo.put( - "readListOctetStringAttribute", readTestClusterListOctetStringAttributeInteractionInfo); - Map readTestClusterListStructOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterListStructOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readListStructOctetStringAttribute( - (ChipClusters.TestClusterCluster.ListStructOctetStringAttributeCallback) - callback); - }, - () -> new DelegatedListStructOctetStringAttributeCallback(), - readTestClusterListStructOctetStringCommandParams); - readTestClusterInteractionInfo.put( - "readListStructOctetStringAttribute", - readTestClusterListStructOctetStringAttributeInteractionInfo); - Map readTestClusterLongOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterLongOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readLongOctetStringAttribute( - (ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readTestClusterLongOctetStringCommandParams); - readTestClusterInteractionInfo.put( - "readLongOctetStringAttribute", readTestClusterLongOctetStringAttributeInteractionInfo); - Map readTestClusterCharStringCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterCharStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readCharStringAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readTestClusterCharStringCommandParams); - readTestClusterInteractionInfo.put( - "readCharStringAttribute", readTestClusterCharStringAttributeInteractionInfo); - Map readTestClusterLongCharStringCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterLongCharStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readLongCharStringAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readTestClusterLongCharStringCommandParams); - readTestClusterInteractionInfo.put( - "readLongCharStringAttribute", readTestClusterLongCharStringAttributeInteractionInfo); - Map readTestClusterEpochUsCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterEpochUsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readEpochUsAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterEpochUsCommandParams); - readTestClusterInteractionInfo.put( - "readEpochUsAttribute", readTestClusterEpochUsAttributeInteractionInfo); - Map readTestClusterEpochSCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterEpochSAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readEpochSAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterEpochSCommandParams); - readTestClusterInteractionInfo.put( - "readEpochSAttribute", readTestClusterEpochSAttributeInteractionInfo); - Map readTestClusterVendorIdCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterVendorIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterVendorIdCommandParams); - readTestClusterInteractionInfo.put( - "readVendorIdAttribute", readTestClusterVendorIdAttributeInteractionInfo); - Map readTestClusterListNullablesAndOptionalsStructCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterListNullablesAndOptionalsStructAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readListNullablesAndOptionalsStructAttribute( - (ChipClusters.TestClusterCluster - .ListNullablesAndOptionalsStructAttributeCallback) - callback); - }, - () -> new DelegatedListNullablesAndOptionalsStructAttributeCallback(), - readTestClusterListNullablesAndOptionalsStructCommandParams); - readTestClusterInteractionInfo.put( - "readListNullablesAndOptionalsStructAttribute", - readTestClusterListNullablesAndOptionalsStructAttributeInteractionInfo); - Map readTestClusterUnsupportedCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterUnsupportedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readUnsupportedAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readTestClusterUnsupportedCommandParams); - readTestClusterInteractionInfo.put( - "readUnsupportedAttribute", readTestClusterUnsupportedAttributeInteractionInfo); - Map readTestClusterNullableBooleanCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableBooleanAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableBooleanAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, - () -> new DelegatedBooleanAttributeCallback(), - readTestClusterNullableBooleanCommandParams); - readTestClusterInteractionInfo.put( - "readNullableBooleanAttribute", readTestClusterNullableBooleanAttributeInteractionInfo); - Map readTestClusterNullableBitmap8CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableBitmap8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableBitmap8Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterNullableBitmap8CommandParams); - readTestClusterInteractionInfo.put( - "readNullableBitmap8Attribute", readTestClusterNullableBitmap8AttributeInteractionInfo); - Map readTestClusterNullableBitmap16CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableBitmap16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableBitmap16Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterNullableBitmap16CommandParams); - readTestClusterInteractionInfo.put( - "readNullableBitmap16Attribute", readTestClusterNullableBitmap16AttributeInteractionInfo); - Map readTestClusterNullableBitmap32CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableBitmap32AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableBitmap32Attribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterNullableBitmap32CommandParams); - readTestClusterInteractionInfo.put( - "readNullableBitmap32Attribute", readTestClusterNullableBitmap32AttributeInteractionInfo); - Map readTestClusterNullableBitmap64CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableBitmap64AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableBitmap64Attribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterNullableBitmap64CommandParams); - readTestClusterInteractionInfo.put( - "readNullableBitmap64Attribute", readTestClusterNullableBitmap64AttributeInteractionInfo); - Map readTestClusterNullableInt8uCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableInt8uAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterNullableInt8uCommandParams); - readTestClusterInteractionInfo.put( - "readNullableInt8uAttribute", readTestClusterNullableInt8uAttributeInteractionInfo); - Map readTestClusterNullableInt16uCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableInt16uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableInt16uAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterNullableInt16uCommandParams); - readTestClusterInteractionInfo.put( - "readNullableInt16uAttribute", readTestClusterNullableInt16uAttributeInteractionInfo); - Map readTestClusterNullableInt32uCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableInt32uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableInt32uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterNullableInt32uCommandParams); - readTestClusterInteractionInfo.put( - "readNullableInt32uAttribute", readTestClusterNullableInt32uAttributeInteractionInfo); - Map readTestClusterNullableInt64uCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableInt64uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableInt64uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterNullableInt64uCommandParams); - readTestClusterInteractionInfo.put( - "readNullableInt64uAttribute", readTestClusterNullableInt64uAttributeInteractionInfo); - Map readTestClusterNullableInt8sCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableInt8sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableInt8sAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterNullableInt8sCommandParams); - readTestClusterInteractionInfo.put( - "readNullableInt8sAttribute", readTestClusterNullableInt8sAttributeInteractionInfo); - Map readTestClusterNullableInt16sCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableInt16sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableInt16sAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterNullableInt16sCommandParams); - readTestClusterInteractionInfo.put( - "readNullableInt16sAttribute", readTestClusterNullableInt16sAttributeInteractionInfo); - Map readTestClusterNullableInt32sCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableInt32sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableInt32sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterNullableInt32sCommandParams); - readTestClusterInteractionInfo.put( - "readNullableInt32sAttribute", readTestClusterNullableInt32sAttributeInteractionInfo); - Map readTestClusterNullableInt64sCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableInt64sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableInt64sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readTestClusterNullableInt64sCommandParams); - readTestClusterInteractionInfo.put( - "readNullableInt64sAttribute", readTestClusterNullableInt64sAttributeInteractionInfo); - Map readTestClusterNullableEnum8CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableEnum8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableEnum8Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterNullableEnum8CommandParams); - readTestClusterInteractionInfo.put( - "readNullableEnum8Attribute", readTestClusterNullableEnum8AttributeInteractionInfo); - Map readTestClusterNullableEnum16CommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableEnum16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableEnum16Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterNullableEnum16CommandParams); - readTestClusterInteractionInfo.put( - "readNullableEnum16Attribute", readTestClusterNullableEnum16AttributeInteractionInfo); - Map readTestClusterNullableOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableOctetStringAttribute( - (ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readTestClusterNullableOctetStringCommandParams); - readTestClusterInteractionInfo.put( - "readNullableOctetStringAttribute", - readTestClusterNullableOctetStringAttributeInteractionInfo); - Map readTestClusterNullableCharStringCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterNullableCharStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readNullableCharStringAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readTestClusterNullableCharStringCommandParams); - readTestClusterInteractionInfo.put( - "readNullableCharStringAttribute", - readTestClusterNullableCharStringAttributeInteractionInfo); - Map readTestClusterClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readTestClusterClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readTestClusterClusterRevisionCommandParams); - readTestClusterInteractionInfo.put( - "readClusterRevisionAttribute", readTestClusterClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("testCluster", readTestClusterInteractionInfo); - Map readThermostatInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readThermostatLocalTemperatureCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatLocalTemperatureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readLocalTemperatureAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatLocalTemperatureCommandParams); - readThermostatInteractionInfo.put( - "readLocalTemperatureAttribute", readThermostatLocalTemperatureAttributeInteractionInfo); - Map readThermostatAbsMinHeatSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAbsMinHeatSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatAbsMinHeatSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readAbsMinHeatSetpointLimitAttribute", - readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatAbsMaxHeatSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAbsMaxHeatSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatAbsMaxHeatSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readAbsMaxHeatSetpointLimitAttribute", - readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatAbsMinCoolSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAbsMinCoolSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatAbsMinCoolSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readAbsMinCoolSetpointLimitAttribute", - readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatAbsMaxCoolSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAbsMaxCoolSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatAbsMaxCoolSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readAbsMaxCoolSetpointLimitAttribute", - readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatOccupiedCoolingSetpointCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatOccupiedCoolingSetpointAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readOccupiedCoolingSetpointAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatOccupiedCoolingSetpointCommandParams); - readThermostatInteractionInfo.put( - "readOccupiedCoolingSetpointAttribute", - readThermostatOccupiedCoolingSetpointAttributeInteractionInfo); - Map readThermostatOccupiedHeatingSetpointCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatOccupiedHeatingSetpointAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readOccupiedHeatingSetpointAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatOccupiedHeatingSetpointCommandParams); - readThermostatInteractionInfo.put( - "readOccupiedHeatingSetpointAttribute", - readThermostatOccupiedHeatingSetpointAttributeInteractionInfo); - Map readThermostatMinHeatSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMinHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMinHeatSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatMinHeatSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readMinHeatSetpointLimitAttribute", - readThermostatMinHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatMaxHeatSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMaxHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMaxHeatSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatMaxHeatSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readMaxHeatSetpointLimitAttribute", - readThermostatMaxHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatMinCoolSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMinCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMinCoolSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatMinCoolSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readMinCoolSetpointLimitAttribute", - readThermostatMinCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatMaxCoolSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMaxCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMaxCoolSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatMaxCoolSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readMaxCoolSetpointLimitAttribute", - readThermostatMaxCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatMinSetpointDeadBandCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMinSetpointDeadBandAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMinSetpointDeadBandAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatMinSetpointDeadBandCommandParams); - readThermostatInteractionInfo.put( - "readMinSetpointDeadBandAttribute", - readThermostatMinSetpointDeadBandAttributeInteractionInfo); - Map readThermostatControlSequenceOfOperationCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatControlSequenceOfOperationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readControlSequenceOfOperationAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatControlSequenceOfOperationCommandParams); - readThermostatInteractionInfo.put( - "readControlSequenceOfOperationAttribute", - readThermostatControlSequenceOfOperationAttributeInteractionInfo); - Map readThermostatSystemModeCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatSystemModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readSystemModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatSystemModeCommandParams); - readThermostatInteractionInfo.put( - "readSystemModeAttribute", readThermostatSystemModeAttributeInteractionInfo); - Map readThermostatStartOfWeekCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatStartOfWeekAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readStartOfWeekAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatStartOfWeekCommandParams); - readThermostatInteractionInfo.put( - "readStartOfWeekAttribute", readThermostatStartOfWeekAttributeInteractionInfo); - Map readThermostatNumberOfWeeklyTransitionsCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readNumberOfWeeklyTransitionsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatNumberOfWeeklyTransitionsCommandParams); - readThermostatInteractionInfo.put( - "readNumberOfWeeklyTransitionsAttribute", - readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo); - Map readThermostatNumberOfDailyTransitionsCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatNumberOfDailyTransitionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readNumberOfDailyTransitionsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatNumberOfDailyTransitionsCommandParams); - readThermostatInteractionInfo.put( - "readNumberOfDailyTransitionsAttribute", - readThermostatNumberOfDailyTransitionsAttributeInteractionInfo); - Map readThermostatFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThermostatFeatureMapCommandParams); - readThermostatInteractionInfo.put( - "readFeatureMapAttribute", readThermostatFeatureMapAttributeInteractionInfo); - Map readThermostatClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatClusterRevisionCommandParams); - readThermostatInteractionInfo.put( - "readClusterRevisionAttribute", readThermostatClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("thermostat", readThermostatInteractionInfo); - Map readThermostatUserInterfaceConfigurationInteractionInfo = - new LinkedHashMap<>(); - // read attribute - Map - readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = - new LinkedHashMap(); - InteractionInfo - readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readTemperatureDisplayModeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readTemperatureDisplayModeAttribute", - readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readKeypadLockoutAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readKeypadLockoutAttribute", - readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = - new LinkedHashMap(); - InteractionInfo - readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readScheduleProgrammingVisibilityAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readScheduleProgrammingVisibilityAttribute", - readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo - readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readClusterRevisionAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationClusterRevisionCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readClusterRevisionAttribute", - readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "thermostatUserInterfaceConfiguration", - readThermostatUserInterfaceConfigurationInteractionInfo); - Map readThreadNetworkDiagnosticsInteractionInfo = - new LinkedHashMap<>(); - // read attribute - Map readThreadNetworkDiagnosticsChannelCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsChannelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readChannelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsChannelCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readChannelAttribute", readThreadNetworkDiagnosticsChannelAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRoutingRoleCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRoutingRoleAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsRoutingRoleCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRoutingRoleAttribute", - readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsNetworkNameCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readNetworkNameAttribute((ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readThreadNetworkDiagnosticsNetworkNameCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readNetworkNameAttribute", - readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPanIdCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readPanIdAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsPanIdCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readPanIdAttribute", readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsExtendedPanIdCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readExtendedPanIdAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsExtendedPanIdCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readExtendedPanIdAttribute", - readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readMeshLocalPrefixAttribute( - (ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readMeshLocalPrefixAttribute", - readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsOverrunCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsOverrunCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readOverrunCountAttribute", - readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsNeighborTableListCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsNeighborTableListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readNeighborTableListAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .NeighborTableListAttributeCallback) - callback); - }, - () -> new DelegatedNeighborTableListAttributeCallback(), - readThreadNetworkDiagnosticsNeighborTableListCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readNeighborTableListAttribute", - readThreadNetworkDiagnosticsNeighborTableListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRouteTableListCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRouteTableListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRouteTableListAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableListAttributeCallback) - callback); - }, - () -> new DelegatedRouteTableListAttributeCallback(), - readThreadNetworkDiagnosticsRouteTableListCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRouteTableListAttribute", - readThreadNetworkDiagnosticsRouteTableListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPartitionIdCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readPartitionIdAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsPartitionIdCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readPartitionIdAttribute", - readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsWeightingCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readWeightingAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsWeightingCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readWeightingAttribute", readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsDataVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readDataVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsDataVersionCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readDataVersionAttribute", - readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsStableDataVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readStableDataVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsStableDataVersionCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readStableDataVersionAttribute", - readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsLeaderRouterIdCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readLeaderRouterIdAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsLeaderRouterIdCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readLeaderRouterIdAttribute", - readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsDetachedRoleCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readDetachedRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsDetachedRoleCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readDetachedRoleCountAttribute", - readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsChildRoleCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readChildRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsChildRoleCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readChildRoleCountAttribute", - readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRouterRoleCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRouterRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsRouterRoleCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRouterRoleCountAttribute", - readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsLeaderRoleCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readLeaderRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsLeaderRoleCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readLeaderRoleCountAttribute", - readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsAttachAttemptCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readAttachAttemptCountAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsAttachAttemptCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readAttachAttemptCountAttribute", - readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readPartitionIdChangeCountAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readPartitionIdChangeCountAttribute", - readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams = - new LinkedHashMap(); - InteractionInfo - readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readBetterPartitionAttachAttemptCountAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readBetterPartitionAttachAttemptCountAttribute", - readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsParentChangeCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readParentChangeCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsParentChangeCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readParentChangeCountAttribute", - readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxTotalCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxTotalCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxTotalCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxTotalCountAttribute", - readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxUnicastCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxUnicastCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxUnicastCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxUnicastCountAttribute", - readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxBroadcastCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxBroadcastCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxBroadcastCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxBroadcastCountAttribute", - readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxAckRequestedCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxAckRequestedCountAttribute", - readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxAckedCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxAckedCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxAckedCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxAckedCountAttribute", - readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxNoAckRequestedCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxNoAckRequestedCountAttribute", - readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxDataCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxDataCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxDataCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxDataCountAttribute", - readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxDataPollCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxDataPollCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxDataPollCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxDataPollCountAttribute", - readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxBeaconCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxBeaconCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxBeaconCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxBeaconCountAttribute", - readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxBeaconRequestCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxBeaconRequestCountAttribute", - readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxOtherCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxOtherCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxOtherCountAttribute", - readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxRetryCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxRetryCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxRetryCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxRetryCountAttribute", - readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams = - new LinkedHashMap(); - InteractionInfo - readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxDirectMaxRetryExpiryCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxDirectMaxRetryExpiryCountAttribute", - readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams = - new LinkedHashMap(); - InteractionInfo - readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxIndirectMaxRetryExpiryCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxIndirectMaxRetryExpiryCountAttribute", - readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxErrCcaCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxErrCcaCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxErrCcaCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxErrCcaCountAttribute", - readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxErrAbortCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxErrAbortCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxErrAbortCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxErrAbortCountAttribute", - readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxErrBusyChannelCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxErrBusyChannelCountAttribute", - readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxTotalCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxTotalCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxTotalCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxTotalCountAttribute", - readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxUnicastCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxUnicastCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxUnicastCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxUnicastCountAttribute", - readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxBroadcastCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxBroadcastCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxBroadcastCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxBroadcastCountAttribute", - readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDataCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxDataCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDataCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxDataCountAttribute", - readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDataPollCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxDataPollCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDataPollCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxDataPollCountAttribute", - readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxBeaconCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxBeaconCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxBeaconCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxBeaconCountAttribute", - readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxBeaconRequestCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxBeaconRequestCountAttribute", - readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxOtherCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxOtherCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxOtherCountAttribute", - readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxAddressFilteredCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxAddressFilteredCountAttribute", - readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxDestAddrFilteredCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxDestAddrFilteredCountAttribute", - readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxDuplicatedCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxDuplicatedCountAttribute", - readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrNoFrameCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrNoFrameCountAttribute", - readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrUnknownNeighborCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrUnknownNeighborCountAttribute", - readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrInvalidSrcAddrCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrInvalidSrcAddrCountAttribute", - readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrSecCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrSecCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrSecCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrSecCountAttribute", - readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrFcsCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrFcsCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrFcsCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrFcsCountAttribute", - readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrOtherCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrOtherCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrOtherCountAttribute", - readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsActiveTimestampCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readActiveTimestampAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsActiveTimestampCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readActiveTimestampAttribute", - readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPendingTimestampCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readPendingTimestampAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsPendingTimestampCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readPendingTimestampAttribute", - readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsDelayCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readDelayAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsDelayCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readDelayAttribute", readThreadNetworkDiagnosticsDelayAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsSecurityPolicyCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsSecurityPolicyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readSecurityPolicyAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.SecurityPolicyAttributeCallback) - callback); - }, - () -> new DelegatedSecurityPolicyAttributeCallback(), - readThreadNetworkDiagnosticsSecurityPolicyCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readSecurityPolicyAttribute", - readThreadNetworkDiagnosticsSecurityPolicyAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsChannelMaskCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsChannelMaskAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readChannelMaskAttribute((ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readThreadNetworkDiagnosticsChannelMaskCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readChannelMaskAttribute", - readThreadNetworkDiagnosticsChannelMaskAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsOperationalDatasetComponentsCommandParams = - new LinkedHashMap(); - InteractionInfo - readThreadNetworkDiagnosticsOperationalDatasetComponentsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readOperationalDatasetComponentsAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .OperationalDatasetComponentsAttributeCallback) - callback); - }, - () -> new DelegatedOperationalDatasetComponentsAttributeCallback(), - readThreadNetworkDiagnosticsOperationalDatasetComponentsCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readOperationalDatasetComponentsAttribute", - readThreadNetworkDiagnosticsOperationalDatasetComponentsAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readActiveNetworkFaultsListAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .ActiveNetworkFaultsListAttributeCallback) - callback); - }, - () -> new DelegatedActiveNetworkFaultsListAttributeCallback(), - readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readActiveNetworkFaultsListAttribute", - readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsClusterRevisionCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("threadNetworkDiagnostics", readThreadNetworkDiagnosticsInteractionInfo); - Map readWakeOnLanInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readWakeOnLanWakeOnLanMacAddressCommandParams = - new LinkedHashMap(); - InteractionInfo readWakeOnLanWakeOnLanMacAddressAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster) - .readWakeOnLanMacAddressAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, - () -> new DelegatedCharStringAttributeCallback(), - readWakeOnLanWakeOnLanMacAddressCommandParams); - readWakeOnLanInteractionInfo.put( - "readWakeOnLanMacAddressAttribute", - readWakeOnLanWakeOnLanMacAddressAttributeInteractionInfo); - Map readWakeOnLanClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readWakeOnLanClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWakeOnLanClusterRevisionCommandParams); - readWakeOnLanInteractionInfo.put( - "readClusterRevisionAttribute", readWakeOnLanClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("wakeOnLan", readWakeOnLanInteractionInfo); - Map readWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readWiFiNetworkDiagnosticsBssidCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readBssidAttribute((ChipClusters.OctetStringAttributeCallback) callback); - }, - () -> new DelegatedOctetStringAttributeCallback(), - readWiFiNetworkDiagnosticsBssidCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readBssidAttribute", readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsSecurityTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readSecurityTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWiFiNetworkDiagnosticsSecurityTypeCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readSecurityTypeAttribute", - readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsWiFiVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readWiFiVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWiFiNetworkDiagnosticsWiFiVersionCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readWiFiVersionAttribute", readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsChannelNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readChannelNumberAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWiFiNetworkDiagnosticsChannelNumberCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readChannelNumberAttribute", - readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsRssiCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readRssiAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWiFiNetworkDiagnosticsRssiCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readRssiAttribute", readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsBeaconLostCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readBeaconLostCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsBeaconLostCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readBeaconLostCountAttribute", - readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsBeaconRxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readBeaconRxCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsBeaconRxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readBeaconRxCountAttribute", - readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo); - Map - readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readPacketMulticastRxCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readPacketMulticastRxCountAttribute", - readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo); - Map - readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readPacketMulticastTxCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readPacketMulticastTxCountAttribute", - readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readPacketUnicastRxCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readPacketUnicastRxCountAttribute", - readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readPacketUnicastTxCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readPacketUnicastTxCountAttribute", - readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readCurrentMaxRateAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readCurrentMaxRateAttribute", - readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsOverrunCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsOverrunCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readOverrunCountAttribute", - readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWiFiNetworkDiagnosticsClusterRevisionCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("wiFiNetworkDiagnostics", readWiFiNetworkDiagnosticsInteractionInfo); - Map readWindowCoveringInteractionInfo = new LinkedHashMap<>(); - // read attribute - Map readWindowCoveringTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringTypeCommandParams); - readWindowCoveringInteractionInfo.put( - "readTypeAttribute", readWindowCoveringTypeAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionLiftCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionLiftAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionLiftAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringCurrentPositionLiftCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionLiftAttribute", - readWindowCoveringCurrentPositionLiftAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionTiltCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionTiltAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionTiltAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringCurrentPositionTiltCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionTiltAttribute", - readWindowCoveringCurrentPositionTiltAttributeInteractionInfo); - Map readWindowCoveringConfigStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringConfigStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readConfigStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringConfigStatusCommandParams); - readWindowCoveringInteractionInfo.put( - "readConfigStatusAttribute", readWindowCoveringConfigStatusAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionLiftPercentageCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionLiftPercentageAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringCurrentPositionLiftPercentageCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionLiftPercentageAttribute", - readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionTiltPercentageCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionTiltPercentageAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringCurrentPositionTiltPercentageCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionTiltPercentageAttribute", - readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo); - Map readWindowCoveringOperationalStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringOperationalStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readOperationalStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringOperationalStatusCommandParams); - readWindowCoveringInteractionInfo.put( - "readOperationalStatusAttribute", - readWindowCoveringOperationalStatusAttributeInteractionInfo); - Map - readWindowCoveringTargetPositionLiftPercent100thsCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readTargetPositionLiftPercent100thsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringTargetPositionLiftPercent100thsCommandParams); - readWindowCoveringInteractionInfo.put( - "readTargetPositionLiftPercent100thsAttribute", - readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo); - Map - readWindowCoveringTargetPositionTiltPercent100thsCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readTargetPositionTiltPercent100thsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringTargetPositionTiltPercent100thsCommandParams); - readWindowCoveringInteractionInfo.put( - "readTargetPositionTiltPercent100thsAttribute", - readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo); - Map readWindowCoveringEndProductTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringEndProductTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readEndProductTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringEndProductTypeCommandParams); - readWindowCoveringInteractionInfo.put( - "readEndProductTypeAttribute", readWindowCoveringEndProductTypeAttributeInteractionInfo); - Map - readWindowCoveringCurrentPositionLiftPercent100thsCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionLiftPercent100thsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringCurrentPositionLiftPercent100thsCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionLiftPercent100thsAttribute", - readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo); - Map - readWindowCoveringCurrentPositionTiltPercent100thsCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionTiltPercent100thsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringCurrentPositionTiltPercent100thsCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionTiltPercent100thsAttribute", - readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo); - Map readWindowCoveringInstalledOpenLimitLiftCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readInstalledOpenLimitLiftAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledOpenLimitLiftCommandParams); - readWindowCoveringInteractionInfo.put( - "readInstalledOpenLimitLiftAttribute", - readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo); - Map readWindowCoveringInstalledClosedLimitLiftCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readInstalledClosedLimitLiftAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledClosedLimitLiftCommandParams); - readWindowCoveringInteractionInfo.put( - "readInstalledClosedLimitLiftAttribute", - readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo); - Map readWindowCoveringInstalledOpenLimitTiltCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readInstalledOpenLimitTiltAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledOpenLimitTiltCommandParams); - readWindowCoveringInteractionInfo.put( - "readInstalledOpenLimitTiltAttribute", - readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo); - Map readWindowCoveringInstalledClosedLimitTiltCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readInstalledClosedLimitTiltAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledClosedLimitTiltCommandParams); - readWindowCoveringInteractionInfo.put( - "readInstalledClosedLimitTiltAttribute", - readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo); - Map readWindowCoveringModeCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringModeCommandParams); - readWindowCoveringInteractionInfo.put( - "readModeAttribute", readWindowCoveringModeAttributeInteractionInfo); - Map readWindowCoveringSafetyStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringSafetyStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readSafetyStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringSafetyStatusCommandParams); - readWindowCoveringInteractionInfo.put( - "readSafetyStatusAttribute", readWindowCoveringSafetyStatusAttributeInteractionInfo); - Map readWindowCoveringFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new DelegatedLongAttributeCallback(), - readWindowCoveringFeatureMapCommandParams); - readWindowCoveringInteractionInfo.put( - "readFeatureMapAttribute", readWindowCoveringFeatureMapAttributeInteractionInfo); - Map readWindowCoveringClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new DelegatedIntegerAttributeCallback(), - readWindowCoveringClusterRevisionCommandParams); - readWindowCoveringInteractionInfo.put( - "readClusterRevisionAttribute", readWindowCoveringClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("windowCovering", readWindowCoveringInteractionInfo); - return readAttributeMap; - } - - public Map> getWriteAttributeMap() { - Map> writeAttributeMap = new HashMap<>(); - Map writeAccountLoginInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("accountLogin", writeAccountLoginInteractionInfo); - Map writeAdministratorCommissioningInteractionInfo = - new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put( - "administratorCommissioning", writeAdministratorCommissioningInteractionInfo); - Map writeApplicationBasicInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("applicationBasic", writeApplicationBasicInteractionInfo); - Map writeApplicationLauncherInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("applicationLauncher", writeApplicationLauncherInteractionInfo); - Map writeAudioOutputInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("audioOutput", writeAudioOutputInteractionInfo); - Map writeBarrierControlInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("barrierControl", writeBarrierControlInteractionInfo); - Map writeBasicInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeBasicUserLabelCommandParams = - new LinkedHashMap(); - CommandParameterInfo basicuserLabelCommandParameterInfo = - new CommandParameterInfo("value", String.class); - writeBasicUserLabelCommandParams.put("value", basicuserLabelCommandParameterInfo); - InteractionInfo writeBasicUserLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .writeUserLabelAttribute( - (DefaultClusterCallback) callback, (String) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeBasicUserLabelCommandParams); - writeBasicInteractionInfo.put( - "writeUserLabelAttribute", writeBasicUserLabelAttributeInteractionInfo); - Map writeBasicLocationCommandParams = - new LinkedHashMap(); - CommandParameterInfo basiclocationCommandParameterInfo = - new CommandParameterInfo("value", String.class); - writeBasicLocationCommandParams.put("value", basiclocationCommandParameterInfo); - InteractionInfo writeBasicLocationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .writeLocationAttribute( - (DefaultClusterCallback) callback, (String) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeBasicLocationCommandParams); - writeBasicInteractionInfo.put( - "writeLocationAttribute", writeBasicLocationAttributeInteractionInfo); - Map writeBasicLocalConfigDisabledCommandParams = - new LinkedHashMap(); - CommandParameterInfo basiclocalConfigDisabledCommandParameterInfo = - new CommandParameterInfo("value", boolean.class); - writeBasicLocalConfigDisabledCommandParams.put( - "value", basiclocalConfigDisabledCommandParameterInfo); - InteractionInfo writeBasicLocalConfigDisabledAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicCluster) cluster) - .writeLocalConfigDisabledAttribute( - (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeBasicLocalConfigDisabledCommandParams); - writeBasicInteractionInfo.put( - "writeLocalConfigDisabledAttribute", writeBasicLocalConfigDisabledAttributeInteractionInfo); - writeAttributeMap.put("basic", writeBasicInteractionInfo); - Map writeBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeBinaryInputBasicOutOfServiceCommandParams = - new LinkedHashMap(); - CommandParameterInfo binaryInputBasicoutOfServiceCommandParameterInfo = - new CommandParameterInfo("value", boolean.class); - writeBinaryInputBasicOutOfServiceCommandParams.put( - "value", binaryInputBasicoutOfServiceCommandParameterInfo); - InteractionInfo writeBinaryInputBasicOutOfServiceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .writeOutOfServiceAttribute( - (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeBinaryInputBasicOutOfServiceCommandParams); - writeBinaryInputBasicInteractionInfo.put( - "writeOutOfServiceAttribute", writeBinaryInputBasicOutOfServiceAttributeInteractionInfo); - Map writeBinaryInputBasicPresentValueCommandParams = - new LinkedHashMap(); - CommandParameterInfo binaryInputBasicpresentValueCommandParameterInfo = - new CommandParameterInfo("value", boolean.class); - writeBinaryInputBasicPresentValueCommandParams.put( - "value", binaryInputBasicpresentValueCommandParameterInfo); - InteractionInfo writeBinaryInputBasicPresentValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .writePresentValueAttribute( - (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeBinaryInputBasicPresentValueCommandParams); - writeBinaryInputBasicInteractionInfo.put( - "writePresentValueAttribute", writeBinaryInputBasicPresentValueAttributeInteractionInfo); - writeAttributeMap.put("binaryInputBasic", writeBinaryInputBasicInteractionInfo); - Map writeBindingInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("binding", writeBindingInteractionInfo); - Map writeBooleanStateInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("booleanState", writeBooleanStateInteractionInfo); - Map writeBridgedActionsInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("bridgedActions", writeBridgedActionsInteractionInfo); - Map writeBridgedDeviceBasicInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeBridgedDeviceBasicUserLabelCommandParams = - new LinkedHashMap(); - CommandParameterInfo bridgedDeviceBasicuserLabelCommandParameterInfo = - new CommandParameterInfo("value", String.class); - writeBridgedDeviceBasicUserLabelCommandParams.put( - "value", bridgedDeviceBasicuserLabelCommandParameterInfo); - InteractionInfo writeBridgedDeviceBasicUserLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicCluster) cluster) - .writeUserLabelAttribute( - (DefaultClusterCallback) callback, (String) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeBridgedDeviceBasicUserLabelCommandParams); - writeBridgedDeviceBasicInteractionInfo.put( - "writeUserLabelAttribute", writeBridgedDeviceBasicUserLabelAttributeInteractionInfo); - writeAttributeMap.put("bridgedDeviceBasic", writeBridgedDeviceBasicInteractionInfo); - Map writeColorControlInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeColorControlColorControlOptionsCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorControlOptionsCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorControlOptionsCommandParams.put( - "value", colorControlcolorControlOptionsCommandParameterInfo); - InteractionInfo writeColorControlColorControlOptionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorControlOptionsAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorControlOptionsCommandParams); - writeColorControlInteractionInfo.put( - "writeColorControlOptionsAttribute", - writeColorControlColorControlOptionsAttributeInteractionInfo); - Map writeColorControlWhitePointXCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlwhitePointXCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlWhitePointXCommandParams.put( - "value", colorControlwhitePointXCommandParameterInfo); - InteractionInfo writeColorControlWhitePointXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeWhitePointXAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlWhitePointXCommandParams); - writeColorControlInteractionInfo.put( - "writeWhitePointXAttribute", writeColorControlWhitePointXAttributeInteractionInfo); - Map writeColorControlWhitePointYCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlwhitePointYCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlWhitePointYCommandParams.put( - "value", colorControlwhitePointYCommandParameterInfo); - InteractionInfo writeColorControlWhitePointYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeWhitePointYAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlWhitePointYCommandParams); - writeColorControlInteractionInfo.put( - "writeWhitePointYAttribute", writeColorControlWhitePointYAttributeInteractionInfo); - Map writeColorControlColorPointRXCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorPointRXCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorPointRXCommandParams.put( - "value", colorControlcolorPointRXCommandParameterInfo); - InteractionInfo writeColorControlColorPointRXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorPointRXAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorPointRXCommandParams); - writeColorControlInteractionInfo.put( - "writeColorPointRXAttribute", writeColorControlColorPointRXAttributeInteractionInfo); - Map writeColorControlColorPointRYCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorPointRYCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorPointRYCommandParams.put( - "value", colorControlcolorPointRYCommandParameterInfo); - InteractionInfo writeColorControlColorPointRYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorPointRYAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorPointRYCommandParams); - writeColorControlInteractionInfo.put( - "writeColorPointRYAttribute", writeColorControlColorPointRYAttributeInteractionInfo); - Map writeColorControlColorPointRIntensityCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorPointRIntensityCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorPointRIntensityCommandParams.put( - "value", colorControlcolorPointRIntensityCommandParameterInfo); - InteractionInfo writeColorControlColorPointRIntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorPointRIntensityAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorPointRIntensityCommandParams); - writeColorControlInteractionInfo.put( - "writeColorPointRIntensityAttribute", - writeColorControlColorPointRIntensityAttributeInteractionInfo); - Map writeColorControlColorPointGXCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorPointGXCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorPointGXCommandParams.put( - "value", colorControlcolorPointGXCommandParameterInfo); - InteractionInfo writeColorControlColorPointGXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorPointGXAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorPointGXCommandParams); - writeColorControlInteractionInfo.put( - "writeColorPointGXAttribute", writeColorControlColorPointGXAttributeInteractionInfo); - Map writeColorControlColorPointGYCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorPointGYCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorPointGYCommandParams.put( - "value", colorControlcolorPointGYCommandParameterInfo); - InteractionInfo writeColorControlColorPointGYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorPointGYAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorPointGYCommandParams); - writeColorControlInteractionInfo.put( - "writeColorPointGYAttribute", writeColorControlColorPointGYAttributeInteractionInfo); - Map writeColorControlColorPointGIntensityCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorPointGIntensityCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorPointGIntensityCommandParams.put( - "value", colorControlcolorPointGIntensityCommandParameterInfo); - InteractionInfo writeColorControlColorPointGIntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorPointGIntensityAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorPointGIntensityCommandParams); - writeColorControlInteractionInfo.put( - "writeColorPointGIntensityAttribute", - writeColorControlColorPointGIntensityAttributeInteractionInfo); - Map writeColorControlColorPointBXCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorPointBXCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorPointBXCommandParams.put( - "value", colorControlcolorPointBXCommandParameterInfo); - InteractionInfo writeColorControlColorPointBXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorPointBXAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorPointBXCommandParams); - writeColorControlInteractionInfo.put( - "writeColorPointBXAttribute", writeColorControlColorPointBXAttributeInteractionInfo); - Map writeColorControlColorPointBYCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorPointBYCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorPointBYCommandParams.put( - "value", colorControlcolorPointBYCommandParameterInfo); - InteractionInfo writeColorControlColorPointBYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorPointBYAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorPointBYCommandParams); - writeColorControlInteractionInfo.put( - "writeColorPointBYAttribute", writeColorControlColorPointBYAttributeInteractionInfo); - Map writeColorControlColorPointBIntensityCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorPointBIntensityCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlColorPointBIntensityCommandParams.put( - "value", colorControlcolorPointBIntensityCommandParameterInfo); - InteractionInfo writeColorControlColorPointBIntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeColorPointBIntensityAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlColorPointBIntensityCommandParams); - writeColorControlInteractionInfo.put( - "writeColorPointBIntensityAttribute", - writeColorControlColorPointBIntensityAttributeInteractionInfo); - Map writeColorControlStartUpColorTemperatureMiredsCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlstartUpColorTemperatureMiredsCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeColorControlStartUpColorTemperatureMiredsCommandParams.put( - "value", colorControlstartUpColorTemperatureMiredsCommandParameterInfo); - InteractionInfo writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .writeStartUpColorTemperatureMiredsAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeColorControlStartUpColorTemperatureMiredsCommandParams); - writeColorControlInteractionInfo.put( - "writeStartUpColorTemperatureMiredsAttribute", - writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); - writeAttributeMap.put("colorControl", writeColorControlInteractionInfo); - Map writeContentLauncherInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("contentLauncher", writeContentLauncherInteractionInfo); - Map writeDescriptorInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("descriptor", writeDescriptorInteractionInfo); - Map writeDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("diagnosticLogs", writeDiagnosticLogsInteractionInfo); - Map writeDoorLockInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("doorLock", writeDoorLockInteractionInfo); - Map writeElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("electricalMeasurement", writeElectricalMeasurementInteractionInfo); - Map writeEthernetNetworkDiagnosticsInteractionInfo = - new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put( - "ethernetNetworkDiagnostics", writeEthernetNetworkDiagnosticsInteractionInfo); - Map writeFixedLabelInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("fixedLabel", writeFixedLabelInteractionInfo); - Map writeFlowMeasurementInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("flowMeasurement", writeFlowMeasurementInteractionInfo); - Map writeGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeGeneralCommissioningBreadcrumbCommandParams = - new LinkedHashMap(); - CommandParameterInfo generalCommissioningbreadcrumbCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeGeneralCommissioningBreadcrumbCommandParams.put( - "value", generalCommissioningbreadcrumbCommandParameterInfo); - InteractionInfo writeGeneralCommissioningBreadcrumbAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .writeBreadcrumbAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeGeneralCommissioningBreadcrumbCommandParams); - writeGeneralCommissioningInteractionInfo.put( - "writeBreadcrumbAttribute", writeGeneralCommissioningBreadcrumbAttributeInteractionInfo); - writeAttributeMap.put("generalCommissioning", writeGeneralCommissioningInteractionInfo); - Map writeGeneralDiagnosticsInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("generalDiagnostics", writeGeneralDiagnosticsInteractionInfo); - Map writeGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("groupKeyManagement", writeGroupKeyManagementInteractionInfo); - Map writeGroupsInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("groups", writeGroupsInteractionInfo); - Map writeIdentifyInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeIdentifyIdentifyTimeCommandParams = - new LinkedHashMap(); - CommandParameterInfo identifyidentifyTimeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeIdentifyIdentifyTimeCommandParams.put("value", identifyidentifyTimeCommandParameterInfo); - InteractionInfo writeIdentifyIdentifyTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .writeIdentifyTimeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeIdentifyIdentifyTimeCommandParams); - writeIdentifyInteractionInfo.put( - "writeIdentifyTimeAttribute", writeIdentifyIdentifyTimeAttributeInteractionInfo); - writeAttributeMap.put("identify", writeIdentifyInteractionInfo); - Map writeIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("illuminanceMeasurement", writeIlluminanceMeasurementInteractionInfo); - Map writeKeypadInputInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("keypadInput", writeKeypadInputInteractionInfo); - Map writeLevelControlInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeLevelControlOptionsCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControloptionsCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeLevelControlOptionsCommandParams.put("value", levelControloptionsCommandParameterInfo); - InteractionInfo writeLevelControlOptionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .writeOptionsAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeLevelControlOptionsCommandParams); - writeLevelControlInteractionInfo.put( - "writeOptionsAttribute", writeLevelControlOptionsAttributeInteractionInfo); - Map writeLevelControlOnOffTransitionTimeCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlonOffTransitionTimeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeLevelControlOnOffTransitionTimeCommandParams.put( - "value", levelControlonOffTransitionTimeCommandParameterInfo); - InteractionInfo writeLevelControlOnOffTransitionTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .writeOnOffTransitionTimeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeLevelControlOnOffTransitionTimeCommandParams); - writeLevelControlInteractionInfo.put( - "writeOnOffTransitionTimeAttribute", - writeLevelControlOnOffTransitionTimeAttributeInteractionInfo); - Map writeLevelControlOnLevelCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlonLevelCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeLevelControlOnLevelCommandParams.put("value", levelControlonLevelCommandParameterInfo); - InteractionInfo writeLevelControlOnLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .writeOnLevelAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeLevelControlOnLevelCommandParams); - writeLevelControlInteractionInfo.put( - "writeOnLevelAttribute", writeLevelControlOnLevelAttributeInteractionInfo); - Map writeLevelControlOnTransitionTimeCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlonTransitionTimeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeLevelControlOnTransitionTimeCommandParams.put( - "value", levelControlonTransitionTimeCommandParameterInfo); - InteractionInfo writeLevelControlOnTransitionTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .writeOnTransitionTimeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeLevelControlOnTransitionTimeCommandParams); - writeLevelControlInteractionInfo.put( - "writeOnTransitionTimeAttribute", - writeLevelControlOnTransitionTimeAttributeInteractionInfo); - Map writeLevelControlOffTransitionTimeCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControloffTransitionTimeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeLevelControlOffTransitionTimeCommandParams.put( - "value", levelControloffTransitionTimeCommandParameterInfo); - InteractionInfo writeLevelControlOffTransitionTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .writeOffTransitionTimeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeLevelControlOffTransitionTimeCommandParams); - writeLevelControlInteractionInfo.put( - "writeOffTransitionTimeAttribute", - writeLevelControlOffTransitionTimeAttributeInteractionInfo); - Map writeLevelControlDefaultMoveRateCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControldefaultMoveRateCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeLevelControlDefaultMoveRateCommandParams.put( - "value", levelControldefaultMoveRateCommandParameterInfo); - InteractionInfo writeLevelControlDefaultMoveRateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .writeDefaultMoveRateAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeLevelControlDefaultMoveRateCommandParams); - writeLevelControlInteractionInfo.put( - "writeDefaultMoveRateAttribute", writeLevelControlDefaultMoveRateAttributeInteractionInfo); - Map writeLevelControlStartUpCurrentLevelCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlstartUpCurrentLevelCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeLevelControlStartUpCurrentLevelCommandParams.put( - "value", levelControlstartUpCurrentLevelCommandParameterInfo); - InteractionInfo writeLevelControlStartUpCurrentLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .writeStartUpCurrentLevelAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeLevelControlStartUpCurrentLevelCommandParams); - writeLevelControlInteractionInfo.put( - "writeStartUpCurrentLevelAttribute", - writeLevelControlStartUpCurrentLevelAttributeInteractionInfo); - writeAttributeMap.put("levelControl", writeLevelControlInteractionInfo); - Map writeLowPowerInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("lowPower", writeLowPowerInteractionInfo); - Map writeMediaInputInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("mediaInput", writeMediaInputInteractionInfo); - Map writeMediaPlaybackInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("mediaPlayback", writeMediaPlaybackInteractionInfo); - Map writeModeSelectInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeModeSelectOnModeCommandParams = - new LinkedHashMap(); - CommandParameterInfo modeSelectonModeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeModeSelectOnModeCommandParams.put("value", modeSelectonModeCommandParameterInfo); - InteractionInfo writeModeSelectOnModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .writeOnModeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeModeSelectOnModeCommandParams); - writeModeSelectInteractionInfo.put( - "writeOnModeAttribute", writeModeSelectOnModeAttributeInteractionInfo); - writeAttributeMap.put("modeSelect", writeModeSelectInteractionInfo); - Map writeNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("networkCommissioning", writeNetworkCommissioningInteractionInfo); - Map writeOtaSoftwareUpdateProviderInteractionInfo = - new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put( - "otaSoftwareUpdateProvider", writeOtaSoftwareUpdateProviderInteractionInfo); - Map writeOtaSoftwareUpdateRequestorInteractionInfo = - new LinkedHashMap<>(); - // write attribute - Map - writeOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams = - new LinkedHashMap(); - CommandParameterInfo otaSoftwareUpdateRequestordefaultOtaProviderCommandParameterInfo = - new CommandParameterInfo("value", byte[].class); - writeOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams.put( - "value", otaSoftwareUpdateRequestordefaultOtaProviderCommandParameterInfo); - InteractionInfo writeOtaSoftwareUpdateRequestorDefaultOtaProviderAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .writeDefaultOtaProviderAttribute( - (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams); - writeOtaSoftwareUpdateRequestorInteractionInfo.put( - "writeDefaultOtaProviderAttribute", - writeOtaSoftwareUpdateRequestorDefaultOtaProviderAttributeInteractionInfo); - writeAttributeMap.put( - "otaSoftwareUpdateRequestor", writeOtaSoftwareUpdateRequestorInteractionInfo); - Map writeOccupancySensingInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("occupancySensing", writeOccupancySensingInteractionInfo); - Map writeOnOffInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeOnOffOnTimeCommandParams = - new LinkedHashMap(); - CommandParameterInfo onOffonTimeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeOnOffOnTimeCommandParams.put("value", onOffonTimeCommandParameterInfo); - InteractionInfo writeOnOffOnTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .writeOnTimeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeOnOffOnTimeCommandParams); - writeOnOffInteractionInfo.put("writeOnTimeAttribute", writeOnOffOnTimeAttributeInteractionInfo); - Map writeOnOffOffWaitTimeCommandParams = - new LinkedHashMap(); - CommandParameterInfo onOffoffWaitTimeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeOnOffOffWaitTimeCommandParams.put("value", onOffoffWaitTimeCommandParameterInfo); - InteractionInfo writeOnOffOffWaitTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .writeOffWaitTimeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeOnOffOffWaitTimeCommandParams); - writeOnOffInteractionInfo.put( - "writeOffWaitTimeAttribute", writeOnOffOffWaitTimeAttributeInteractionInfo); - Map writeOnOffStartUpOnOffCommandParams = - new LinkedHashMap(); - CommandParameterInfo onOffstartUpOnOffCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeOnOffStartUpOnOffCommandParams.put("value", onOffstartUpOnOffCommandParameterInfo); - InteractionInfo writeOnOffStartUpOnOffAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .writeStartUpOnOffAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeOnOffStartUpOnOffCommandParams); - writeOnOffInteractionInfo.put( - "writeStartUpOnOffAttribute", writeOnOffStartUpOnOffAttributeInteractionInfo); - writeAttributeMap.put("onOff", writeOnOffInteractionInfo); - Map writeOnOffSwitchConfigurationInteractionInfo = - new LinkedHashMap<>(); - // write attribute - Map writeOnOffSwitchConfigurationSwitchActionsCommandParams = - new LinkedHashMap(); - CommandParameterInfo onOffSwitchConfigurationswitchActionsCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeOnOffSwitchConfigurationSwitchActionsCommandParams.put( - "value", onOffSwitchConfigurationswitchActionsCommandParameterInfo); - InteractionInfo writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .writeSwitchActionsAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeOnOffSwitchConfigurationSwitchActionsCommandParams); - writeOnOffSwitchConfigurationInteractionInfo.put( - "writeSwitchActionsAttribute", - writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); - writeAttributeMap.put("onOffSwitchConfiguration", writeOnOffSwitchConfigurationInteractionInfo); - Map writeOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("operationalCredentials", writeOperationalCredentialsInteractionInfo); - Map writePowerSourceInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("powerSource", writePowerSourceInteractionInfo); - Map writePressureMeasurementInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("pressureMeasurement", writePressureMeasurementInteractionInfo); - Map writePumpConfigurationAndControlInteractionInfo = - new LinkedHashMap<>(); - // write attribute - Map writePumpConfigurationAndControlOperationModeCommandParams = - new LinkedHashMap(); - CommandParameterInfo pumpConfigurationAndControloperationModeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writePumpConfigurationAndControlOperationModeCommandParams.put( - "value", pumpConfigurationAndControloperationModeCommandParameterInfo); - InteractionInfo writePumpConfigurationAndControlOperationModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .writeOperationModeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writePumpConfigurationAndControlOperationModeCommandParams); - writePumpConfigurationAndControlInteractionInfo.put( - "writeOperationModeAttribute", - writePumpConfigurationAndControlOperationModeAttributeInteractionInfo); - Map writePumpConfigurationAndControlControlModeCommandParams = - new LinkedHashMap(); - CommandParameterInfo pumpConfigurationAndControlcontrolModeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writePumpConfigurationAndControlControlModeCommandParams.put( - "value", pumpConfigurationAndControlcontrolModeCommandParameterInfo); - InteractionInfo writePumpConfigurationAndControlControlModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .writeControlModeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writePumpConfigurationAndControlControlModeCommandParams); - writePumpConfigurationAndControlInteractionInfo.put( - "writeControlModeAttribute", - writePumpConfigurationAndControlControlModeAttributeInteractionInfo); - writeAttributeMap.put( - "pumpConfigurationAndControl", writePumpConfigurationAndControlInteractionInfo); - Map writeRelativeHumidityMeasurementInteractionInfo = - new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put( - "relativeHumidityMeasurement", writeRelativeHumidityMeasurementInteractionInfo); - Map writeScenesInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("scenes", writeScenesInteractionInfo); - Map writeSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("softwareDiagnostics", writeSoftwareDiagnosticsInteractionInfo); - Map writeSwitchInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("switch", writeSwitchInteractionInfo); - Map writeTvChannelInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("tvChannel", writeTvChannelInteractionInfo); - Map writeTargetNavigatorInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("targetNavigator", writeTargetNavigatorInteractionInfo); - Map writeTemperatureMeasurementInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("temperatureMeasurement", writeTemperatureMeasurementInteractionInfo); - Map writeTestClusterInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeTestClusterBooleanCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterbooleanCommandParameterInfo = - new CommandParameterInfo("value", boolean.class); - writeTestClusterBooleanCommandParams.put("value", testClusterbooleanCommandParameterInfo); - InteractionInfo writeTestClusterBooleanAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeBooleanAttribute( - (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterBooleanCommandParams); - writeTestClusterInteractionInfo.put( - "writeBooleanAttribute", writeTestClusterBooleanAttributeInteractionInfo); - Map writeTestClusterBitmap8CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterbitmap8CommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterBitmap8CommandParams.put("value", testClusterbitmap8CommandParameterInfo); - InteractionInfo writeTestClusterBitmap8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeBitmap8Attribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterBitmap8CommandParams); - writeTestClusterInteractionInfo.put( - "writeBitmap8Attribute", writeTestClusterBitmap8AttributeInteractionInfo); - Map writeTestClusterBitmap16CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterbitmap16CommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterBitmap16CommandParams.put("value", testClusterbitmap16CommandParameterInfo); - InteractionInfo writeTestClusterBitmap16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeBitmap16Attribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterBitmap16CommandParams); - writeTestClusterInteractionInfo.put( - "writeBitmap16Attribute", writeTestClusterBitmap16AttributeInteractionInfo); - Map writeTestClusterBitmap32CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterbitmap32CommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterBitmap32CommandParams.put("value", testClusterbitmap32CommandParameterInfo); - InteractionInfo writeTestClusterBitmap32AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeBitmap32Attribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterBitmap32CommandParams); - writeTestClusterInteractionInfo.put( - "writeBitmap32Attribute", writeTestClusterBitmap32AttributeInteractionInfo); - Map writeTestClusterBitmap64CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterbitmap64CommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterBitmap64CommandParams.put("value", testClusterbitmap64CommandParameterInfo); - InteractionInfo writeTestClusterBitmap64AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeBitmap64Attribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterBitmap64CommandParams); - writeTestClusterInteractionInfo.put( - "writeBitmap64Attribute", writeTestClusterBitmap64AttributeInteractionInfo); - Map writeTestClusterInt8uCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterint8uCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterInt8uCommandParams.put("value", testClusterint8uCommandParameterInfo); - InteractionInfo writeTestClusterInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeInt8uAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterInt8uCommandParams); - writeTestClusterInteractionInfo.put( - "writeInt8uAttribute", writeTestClusterInt8uAttributeInteractionInfo); - Map writeTestClusterInt16uCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterint16uCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterInt16uCommandParams.put("value", testClusterint16uCommandParameterInfo); - InteractionInfo writeTestClusterInt16uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeInt16uAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterInt16uCommandParams); - writeTestClusterInteractionInfo.put( - "writeInt16uAttribute", writeTestClusterInt16uAttributeInteractionInfo); - Map writeTestClusterInt32uCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterint32uCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterInt32uCommandParams.put("value", testClusterint32uCommandParameterInfo); - InteractionInfo writeTestClusterInt32uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeInt32uAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterInt32uCommandParams); - writeTestClusterInteractionInfo.put( - "writeInt32uAttribute", writeTestClusterInt32uAttributeInteractionInfo); - Map writeTestClusterInt64uCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterint64uCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterInt64uCommandParams.put("value", testClusterint64uCommandParameterInfo); - InteractionInfo writeTestClusterInt64uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeInt64uAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterInt64uCommandParams); - writeTestClusterInteractionInfo.put( - "writeInt64uAttribute", writeTestClusterInt64uAttributeInteractionInfo); - Map writeTestClusterInt8sCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterint8sCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterInt8sCommandParams.put("value", testClusterint8sCommandParameterInfo); - InteractionInfo writeTestClusterInt8sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeInt8sAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterInt8sCommandParams); - writeTestClusterInteractionInfo.put( - "writeInt8sAttribute", writeTestClusterInt8sAttributeInteractionInfo); - Map writeTestClusterInt16sCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterint16sCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterInt16sCommandParams.put("value", testClusterint16sCommandParameterInfo); - InteractionInfo writeTestClusterInt16sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeInt16sAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterInt16sCommandParams); - writeTestClusterInteractionInfo.put( - "writeInt16sAttribute", writeTestClusterInt16sAttributeInteractionInfo); - Map writeTestClusterInt32sCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterint32sCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterInt32sCommandParams.put("value", testClusterint32sCommandParameterInfo); - InteractionInfo writeTestClusterInt32sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeInt32sAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterInt32sCommandParams); - writeTestClusterInteractionInfo.put( - "writeInt32sAttribute", writeTestClusterInt32sAttributeInteractionInfo); - Map writeTestClusterInt64sCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterint64sCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterInt64sCommandParams.put("value", testClusterint64sCommandParameterInfo); - InteractionInfo writeTestClusterInt64sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeInt64sAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterInt64sCommandParams); - writeTestClusterInteractionInfo.put( - "writeInt64sAttribute", writeTestClusterInt64sAttributeInteractionInfo); - Map writeTestClusterEnum8CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterenum8CommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterEnum8CommandParams.put("value", testClusterenum8CommandParameterInfo); - InteractionInfo writeTestClusterEnum8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeEnum8Attribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterEnum8CommandParams); - writeTestClusterInteractionInfo.put( - "writeEnum8Attribute", writeTestClusterEnum8AttributeInteractionInfo); - Map writeTestClusterEnum16CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterenum16CommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterEnum16CommandParams.put("value", testClusterenum16CommandParameterInfo); - InteractionInfo writeTestClusterEnum16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeEnum16Attribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterEnum16CommandParams); - writeTestClusterInteractionInfo.put( - "writeEnum16Attribute", writeTestClusterEnum16AttributeInteractionInfo); - Map writeTestClusterOctetStringCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusteroctetStringCommandParameterInfo = - new CommandParameterInfo("value", byte[].class); - writeTestClusterOctetStringCommandParams.put( - "value", testClusteroctetStringCommandParameterInfo); - InteractionInfo writeTestClusterOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeOctetStringAttribute( - (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterOctetStringCommandParams); - writeTestClusterInteractionInfo.put( - "writeOctetStringAttribute", writeTestClusterOctetStringAttributeInteractionInfo); - Map writeTestClusterLongOctetStringCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterlongOctetStringCommandParameterInfo = - new CommandParameterInfo("value", byte[].class); - writeTestClusterLongOctetStringCommandParams.put( - "value", testClusterlongOctetStringCommandParameterInfo); - InteractionInfo writeTestClusterLongOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeLongOctetStringAttribute( - (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterLongOctetStringCommandParams); - writeTestClusterInteractionInfo.put( - "writeLongOctetStringAttribute", writeTestClusterLongOctetStringAttributeInteractionInfo); - Map writeTestClusterCharStringCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClustercharStringCommandParameterInfo = - new CommandParameterInfo("value", String.class); - writeTestClusterCharStringCommandParams.put("value", testClustercharStringCommandParameterInfo); - InteractionInfo writeTestClusterCharStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeCharStringAttribute( - (DefaultClusterCallback) callback, (String) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterCharStringCommandParams); - writeTestClusterInteractionInfo.put( - "writeCharStringAttribute", writeTestClusterCharStringAttributeInteractionInfo); - Map writeTestClusterLongCharStringCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterlongCharStringCommandParameterInfo = - new CommandParameterInfo("value", String.class); - writeTestClusterLongCharStringCommandParams.put( - "value", testClusterlongCharStringCommandParameterInfo); - InteractionInfo writeTestClusterLongCharStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeLongCharStringAttribute( - (DefaultClusterCallback) callback, (String) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterLongCharStringCommandParams); - writeTestClusterInteractionInfo.put( - "writeLongCharStringAttribute", writeTestClusterLongCharStringAttributeInteractionInfo); - Map writeTestClusterEpochUsCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterepochUsCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterEpochUsCommandParams.put("value", testClusterepochUsCommandParameterInfo); - InteractionInfo writeTestClusterEpochUsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeEpochUsAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterEpochUsCommandParams); - writeTestClusterInteractionInfo.put( - "writeEpochUsAttribute", writeTestClusterEpochUsAttributeInteractionInfo); - Map writeTestClusterEpochSCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterepochSCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterEpochSCommandParams.put("value", testClusterepochSCommandParameterInfo); - InteractionInfo writeTestClusterEpochSAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeEpochSAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterEpochSCommandParams); - writeTestClusterInteractionInfo.put( - "writeEpochSAttribute", writeTestClusterEpochSAttributeInteractionInfo); - Map writeTestClusterVendorIdCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClustervendorIdCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterVendorIdCommandParams.put("value", testClustervendorIdCommandParameterInfo); - InteractionInfo writeTestClusterVendorIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeVendorIdAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterVendorIdCommandParams); - writeTestClusterInteractionInfo.put( - "writeVendorIdAttribute", writeTestClusterVendorIdAttributeInteractionInfo); - Map writeTestClusterUnsupportedCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusterunsupportedCommandParameterInfo = - new CommandParameterInfo("value", boolean.class); - writeTestClusterUnsupportedCommandParams.put( - "value", testClusterunsupportedCommandParameterInfo); - InteractionInfo writeTestClusterUnsupportedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeUnsupportedAttribute( - (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterUnsupportedCommandParams); - writeTestClusterInteractionInfo.put( - "writeUnsupportedAttribute", writeTestClusterUnsupportedAttributeInteractionInfo); - Map writeTestClusterNullableBooleanCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableBooleanCommandParameterInfo = - new CommandParameterInfo("value", boolean.class); - writeTestClusterNullableBooleanCommandParams.put( - "value", testClusternullableBooleanCommandParameterInfo); - InteractionInfo writeTestClusterNullableBooleanAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableBooleanAttribute( - (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableBooleanCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableBooleanAttribute", writeTestClusterNullableBooleanAttributeInteractionInfo); - Map writeTestClusterNullableBitmap8CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableBitmap8CommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterNullableBitmap8CommandParams.put( - "value", testClusternullableBitmap8CommandParameterInfo); - InteractionInfo writeTestClusterNullableBitmap8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableBitmap8Attribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableBitmap8CommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableBitmap8Attribute", writeTestClusterNullableBitmap8AttributeInteractionInfo); - Map writeTestClusterNullableBitmap16CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableBitmap16CommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterNullableBitmap16CommandParams.put( - "value", testClusternullableBitmap16CommandParameterInfo); - InteractionInfo writeTestClusterNullableBitmap16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableBitmap16Attribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableBitmap16CommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableBitmap16Attribute", writeTestClusterNullableBitmap16AttributeInteractionInfo); - Map writeTestClusterNullableBitmap32CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableBitmap32CommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterNullableBitmap32CommandParams.put( - "value", testClusternullableBitmap32CommandParameterInfo); - InteractionInfo writeTestClusterNullableBitmap32AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableBitmap32Attribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableBitmap32CommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableBitmap32Attribute", writeTestClusterNullableBitmap32AttributeInteractionInfo); - Map writeTestClusterNullableBitmap64CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableBitmap64CommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterNullableBitmap64CommandParams.put( - "value", testClusternullableBitmap64CommandParameterInfo); - InteractionInfo writeTestClusterNullableBitmap64AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableBitmap64Attribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableBitmap64CommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableBitmap64Attribute", writeTestClusterNullableBitmap64AttributeInteractionInfo); - Map writeTestClusterNullableInt8uCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableInt8uCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterNullableInt8uCommandParams.put( - "value", testClusternullableInt8uCommandParameterInfo); - InteractionInfo writeTestClusterNullableInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableInt8uAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableInt8uCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableInt8uAttribute", writeTestClusterNullableInt8uAttributeInteractionInfo); - Map writeTestClusterNullableInt16uCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableInt16uCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterNullableInt16uCommandParams.put( - "value", testClusternullableInt16uCommandParameterInfo); - InteractionInfo writeTestClusterNullableInt16uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableInt16uAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableInt16uCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableInt16uAttribute", writeTestClusterNullableInt16uAttributeInteractionInfo); - Map writeTestClusterNullableInt32uCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableInt32uCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterNullableInt32uCommandParams.put( - "value", testClusternullableInt32uCommandParameterInfo); - InteractionInfo writeTestClusterNullableInt32uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableInt32uAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableInt32uCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableInt32uAttribute", writeTestClusterNullableInt32uAttributeInteractionInfo); - Map writeTestClusterNullableInt64uCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableInt64uCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterNullableInt64uCommandParams.put( - "value", testClusternullableInt64uCommandParameterInfo); - InteractionInfo writeTestClusterNullableInt64uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableInt64uAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableInt64uCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableInt64uAttribute", writeTestClusterNullableInt64uAttributeInteractionInfo); - Map writeTestClusterNullableInt8sCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableInt8sCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterNullableInt8sCommandParams.put( - "value", testClusternullableInt8sCommandParameterInfo); - InteractionInfo writeTestClusterNullableInt8sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableInt8sAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableInt8sCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableInt8sAttribute", writeTestClusterNullableInt8sAttributeInteractionInfo); - Map writeTestClusterNullableInt16sCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableInt16sCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterNullableInt16sCommandParams.put( - "value", testClusternullableInt16sCommandParameterInfo); - InteractionInfo writeTestClusterNullableInt16sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableInt16sAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableInt16sCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableInt16sAttribute", writeTestClusterNullableInt16sAttributeInteractionInfo); - Map writeTestClusterNullableInt32sCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableInt32sCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterNullableInt32sCommandParams.put( - "value", testClusternullableInt32sCommandParameterInfo); - InteractionInfo writeTestClusterNullableInt32sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableInt32sAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableInt32sCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableInt32sAttribute", writeTestClusterNullableInt32sAttributeInteractionInfo); - Map writeTestClusterNullableInt64sCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableInt64sCommandParameterInfo = - new CommandParameterInfo("value", long.class); - writeTestClusterNullableInt64sCommandParams.put( - "value", testClusternullableInt64sCommandParameterInfo); - InteractionInfo writeTestClusterNullableInt64sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableInt64sAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableInt64sCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableInt64sAttribute", writeTestClusterNullableInt64sAttributeInteractionInfo); - Map writeTestClusterNullableEnum8CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableEnum8CommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterNullableEnum8CommandParams.put( - "value", testClusternullableEnum8CommandParameterInfo); - InteractionInfo writeTestClusterNullableEnum8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableEnum8Attribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableEnum8CommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableEnum8Attribute", writeTestClusterNullableEnum8AttributeInteractionInfo); - Map writeTestClusterNullableEnum16CommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableEnum16CommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeTestClusterNullableEnum16CommandParams.put( - "value", testClusternullableEnum16CommandParameterInfo); - InteractionInfo writeTestClusterNullableEnum16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableEnum16Attribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableEnum16CommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableEnum16Attribute", writeTestClusterNullableEnum16AttributeInteractionInfo); - Map writeTestClusterNullableOctetStringCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableOctetStringCommandParameterInfo = - new CommandParameterInfo("value", byte[].class); - writeTestClusterNullableOctetStringCommandParams.put( - "value", testClusternullableOctetStringCommandParameterInfo); - InteractionInfo writeTestClusterNullableOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableOctetStringAttribute( - (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableOctetStringCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableOctetStringAttribute", - writeTestClusterNullableOctetStringAttributeInteractionInfo); - Map writeTestClusterNullableCharStringCommandParams = - new LinkedHashMap(); - CommandParameterInfo testClusternullableCharStringCommandParameterInfo = - new CommandParameterInfo("value", String.class); - writeTestClusterNullableCharStringCommandParams.put( - "value", testClusternullableCharStringCommandParameterInfo); - InteractionInfo writeTestClusterNullableCharStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TestClusterCluster) cluster) - .writeNullableCharStringAttribute( - (DefaultClusterCallback) callback, (String) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeTestClusterNullableCharStringCommandParams); - writeTestClusterInteractionInfo.put( - "writeNullableCharStringAttribute", - writeTestClusterNullableCharStringAttributeInteractionInfo); - writeAttributeMap.put("testCluster", writeTestClusterInteractionInfo); - Map writeThermostatInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeThermostatOccupiedCoolingSetpointCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatoccupiedCoolingSetpointCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatOccupiedCoolingSetpointCommandParams.put( - "value", thermostatoccupiedCoolingSetpointCommandParameterInfo); - InteractionInfo writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .writeOccupiedCoolingSetpointAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatOccupiedCoolingSetpointCommandParams); - writeThermostatInteractionInfo.put( - "writeOccupiedCoolingSetpointAttribute", - writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo); - Map writeThermostatOccupiedHeatingSetpointCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatoccupiedHeatingSetpointCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatOccupiedHeatingSetpointCommandParams.put( - "value", thermostatoccupiedHeatingSetpointCommandParameterInfo); - InteractionInfo writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .writeOccupiedHeatingSetpointAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatOccupiedHeatingSetpointCommandParams); - writeThermostatInteractionInfo.put( - "writeOccupiedHeatingSetpointAttribute", - writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo); - Map writeThermostatMinHeatSetpointLimitCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatminHeatSetpointLimitCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatMinHeatSetpointLimitCommandParams.put( - "value", thermostatminHeatSetpointLimitCommandParameterInfo); - InteractionInfo writeThermostatMinHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .writeMinHeatSetpointLimitAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatMinHeatSetpointLimitCommandParams); - writeThermostatInteractionInfo.put( - "writeMinHeatSetpointLimitAttribute", - writeThermostatMinHeatSetpointLimitAttributeInteractionInfo); - Map writeThermostatMaxHeatSetpointLimitCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatmaxHeatSetpointLimitCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatMaxHeatSetpointLimitCommandParams.put( - "value", thermostatmaxHeatSetpointLimitCommandParameterInfo); - InteractionInfo writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .writeMaxHeatSetpointLimitAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatMaxHeatSetpointLimitCommandParams); - writeThermostatInteractionInfo.put( - "writeMaxHeatSetpointLimitAttribute", - writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo); - Map writeThermostatMinCoolSetpointLimitCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatminCoolSetpointLimitCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatMinCoolSetpointLimitCommandParams.put( - "value", thermostatminCoolSetpointLimitCommandParameterInfo); - InteractionInfo writeThermostatMinCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .writeMinCoolSetpointLimitAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatMinCoolSetpointLimitCommandParams); - writeThermostatInteractionInfo.put( - "writeMinCoolSetpointLimitAttribute", - writeThermostatMinCoolSetpointLimitAttributeInteractionInfo); - Map writeThermostatMaxCoolSetpointLimitCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatmaxCoolSetpointLimitCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatMaxCoolSetpointLimitCommandParams.put( - "value", thermostatmaxCoolSetpointLimitCommandParameterInfo); - InteractionInfo writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .writeMaxCoolSetpointLimitAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatMaxCoolSetpointLimitCommandParams); - writeThermostatInteractionInfo.put( - "writeMaxCoolSetpointLimitAttribute", - writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo); - Map writeThermostatMinSetpointDeadBandCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatminSetpointDeadBandCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatMinSetpointDeadBandCommandParams.put( - "value", thermostatminSetpointDeadBandCommandParameterInfo); - InteractionInfo writeThermostatMinSetpointDeadBandAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .writeMinSetpointDeadBandAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatMinSetpointDeadBandCommandParams); - writeThermostatInteractionInfo.put( - "writeMinSetpointDeadBandAttribute", - writeThermostatMinSetpointDeadBandAttributeInteractionInfo); - Map writeThermostatControlSequenceOfOperationCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatcontrolSequenceOfOperationCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatControlSequenceOfOperationCommandParams.put( - "value", thermostatcontrolSequenceOfOperationCommandParameterInfo); - InteractionInfo writeThermostatControlSequenceOfOperationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .writeControlSequenceOfOperationAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatControlSequenceOfOperationCommandParams); - writeThermostatInteractionInfo.put( - "writeControlSequenceOfOperationAttribute", - writeThermostatControlSequenceOfOperationAttributeInteractionInfo); - Map writeThermostatSystemModeCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatsystemModeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatSystemModeCommandParams.put("value", thermostatsystemModeCommandParameterInfo); - InteractionInfo writeThermostatSystemModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .writeSystemModeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatSystemModeCommandParams); - writeThermostatInteractionInfo.put( - "writeSystemModeAttribute", writeThermostatSystemModeAttributeInteractionInfo); - writeAttributeMap.put("thermostat", writeThermostatInteractionInfo); - Map writeThermostatUserInterfaceConfigurationInteractionInfo = - new LinkedHashMap<>(); - // write attribute - Map - writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = - new LinkedHashMap(); - CommandParameterInfo - thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams.put( - "value", thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo); - InteractionInfo - writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .writeTemperatureDisplayModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams); - writeThermostatUserInterfaceConfigurationInteractionInfo.put( - "writeTemperatureDisplayModeAttribute", - writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); - Map - writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatUserInterfaceConfigurationkeypadLockoutCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams.put( - "value", thermostatUserInterfaceConfigurationkeypadLockoutCommandParameterInfo); - InteractionInfo writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .writeKeypadLockoutAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams); - writeThermostatUserInterfaceConfigurationInteractionInfo.put( - "writeKeypadLockoutAttribute", - writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); - Map - writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = - new LinkedHashMap(); - CommandParameterInfo - thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams.put( - "value", - thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo); - InteractionInfo - writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .writeScheduleProgrammingVisibilityAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams); - writeThermostatUserInterfaceConfigurationInteractionInfo.put( - "writeScheduleProgrammingVisibilityAttribute", - writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); - writeAttributeMap.put( - "thermostatUserInterfaceConfiguration", - writeThermostatUserInterfaceConfigurationInteractionInfo); - Map writeThreadNetworkDiagnosticsInteractionInfo = - new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("threadNetworkDiagnostics", writeThreadNetworkDiagnosticsInteractionInfo); - Map writeWakeOnLanInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("wakeOnLan", writeWakeOnLanInteractionInfo); - Map writeWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); - // write attribute - writeAttributeMap.put("wiFiNetworkDiagnostics", writeWiFiNetworkDiagnosticsInteractionInfo); - Map writeWindowCoveringInteractionInfo = new LinkedHashMap<>(); - // write attribute - Map writeWindowCoveringModeCommandParams = - new LinkedHashMap(); - CommandParameterInfo windowCoveringmodeCommandParameterInfo = - new CommandParameterInfo("value", int.class); - writeWindowCoveringModeCommandParams.put("value", windowCoveringmodeCommandParameterInfo); - InteractionInfo writeWindowCoveringModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .writeModeAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new DelegatedDefaultClusterCallback(), - writeWindowCoveringModeCommandParams); - writeWindowCoveringInteractionInfo.put( - "writeModeAttribute", writeWindowCoveringModeAttributeInteractionInfo); - writeAttributeMap.put("windowCovering", writeWindowCoveringInteractionInfo); - return writeAttributeMap; - } } diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java new file mode 100644 index 00000000000000..b61659b2e20100 --- /dev/null +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java @@ -0,0 +1,6402 @@ +/* + * + * Copyright (c) 2021 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS GENERATED BY ZAP + +package chip.devicecontroller; + +import chip.clusterinfo.CommandParameterInfo; +import chip.clusterinfo.InteractionInfo; +import chip.devicecontroller.ClusterInfoMapping.DelegatedIntegerAttributeCallback; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; + +public class ClusterReadMapping { + + public Map> getReadAttributeMap() { + ClusterInfoMapping clusterInfoMapping = new ClusterInfoMapping(); + Map> readAttributeMap = new HashMap<>(); + Map readAccountLoginInteractionInfo = new LinkedHashMap<>(); + Map readAccountLoginClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readAccountLoginClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readAccountLoginClusterRevisionCommandParams); + readAccountLoginInteractionInfo.put( + "readClusterRevisionAttribute", readAccountLoginClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("accountLogin", readAccountLoginInteractionInfo); + Map readAdministratorCommissioningInteractionInfo = + new LinkedHashMap<>(); + Map readAdministratorCommissioningClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readAdministratorCommissioningClusterRevisionCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readClusterRevisionAttribute", + readAdministratorCommissioningClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "administratorCommissioning", readAdministratorCommissioningInteractionInfo); + Map readApplicationBasicInteractionInfo = new LinkedHashMap<>(); + Map readApplicationBasicVendorNameCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicVendorNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readApplicationBasicVendorNameCommandParams); + readApplicationBasicInteractionInfo.put( + "readVendorNameAttribute", readApplicationBasicVendorNameAttributeInteractionInfo); + Map readApplicationBasicVendorIdCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicVendorIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readApplicationBasicVendorIdCommandParams); + readApplicationBasicInteractionInfo.put( + "readVendorIdAttribute", readApplicationBasicVendorIdAttributeInteractionInfo); + Map readApplicationBasicApplicationNameCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicApplicationNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readApplicationNameAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readApplicationBasicApplicationNameCommandParams); + readApplicationBasicInteractionInfo.put( + "readApplicationNameAttribute", + readApplicationBasicApplicationNameAttributeInteractionInfo); + Map readApplicationBasicProductIdCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicProductIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readProductIdAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readApplicationBasicProductIdCommandParams); + readApplicationBasicInteractionInfo.put( + "readProductIdAttribute", readApplicationBasicProductIdAttributeInteractionInfo); + Map readApplicationBasicApplicationIdCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicApplicationIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readApplicationIdAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readApplicationBasicApplicationIdCommandParams); + readApplicationBasicInteractionInfo.put( + "readApplicationIdAttribute", readApplicationBasicApplicationIdAttributeInteractionInfo); + Map readApplicationBasicCatalogVendorIdCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicCatalogVendorIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readCatalogVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readApplicationBasicCatalogVendorIdCommandParams); + readApplicationBasicInteractionInfo.put( + "readCatalogVendorIdAttribute", + readApplicationBasicCatalogVendorIdAttributeInteractionInfo); + Map readApplicationBasicApplicationStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicApplicationStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readApplicationStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readApplicationBasicApplicationStatusCommandParams); + readApplicationBasicInteractionInfo.put( + "readApplicationStatusAttribute", + readApplicationBasicApplicationStatusAttributeInteractionInfo); + Map readApplicationBasicClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readApplicationBasicClusterRevisionCommandParams); + readApplicationBasicInteractionInfo.put( + "readClusterRevisionAttribute", + readApplicationBasicClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("applicationBasic", readApplicationBasicInteractionInfo); + Map readApplicationLauncherInteractionInfo = new LinkedHashMap<>(); + Map readApplicationLauncherApplicationLauncherListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherApplicationLauncherListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readApplicationLauncherListAttribute( + (ChipClusters.ApplicationLauncherCluster + .ApplicationLauncherListAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedApplicationLauncherListAttributeCallback(), + readApplicationLauncherApplicationLauncherListCommandParams); + readApplicationLauncherInteractionInfo.put( + "readApplicationLauncherListAttribute", + readApplicationLauncherApplicationLauncherListAttributeInteractionInfo); + Map readApplicationLauncherCatalogVendorIdCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherCatalogVendorIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readCatalogVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readApplicationLauncherCatalogVendorIdCommandParams); + readApplicationLauncherInteractionInfo.put( + "readCatalogVendorIdAttribute", + readApplicationLauncherCatalogVendorIdAttributeInteractionInfo); + Map readApplicationLauncherApplicationIdCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherApplicationIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readApplicationIdAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readApplicationLauncherApplicationIdCommandParams); + readApplicationLauncherInteractionInfo.put( + "readApplicationIdAttribute", readApplicationLauncherApplicationIdAttributeInteractionInfo); + Map readApplicationLauncherClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readApplicationLauncherClusterRevisionCommandParams); + readApplicationLauncherInteractionInfo.put( + "readClusterRevisionAttribute", + readApplicationLauncherClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("applicationLauncher", readApplicationLauncherInteractionInfo); + Map readAudioOutputInteractionInfo = new LinkedHashMap<>(); + Map readAudioOutputAudioOutputListCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputAudioOutputListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readAudioOutputListAttribute( + (ChipClusters.AudioOutputCluster.AudioOutputListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedAudioOutputListAttributeCallback(), + readAudioOutputAudioOutputListCommandParams); + readAudioOutputInteractionInfo.put( + "readAudioOutputListAttribute", readAudioOutputAudioOutputListAttributeInteractionInfo); + Map readAudioOutputCurrentAudioOutputCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputCurrentAudioOutputAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readCurrentAudioOutputAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readAudioOutputCurrentAudioOutputCommandParams); + readAudioOutputInteractionInfo.put( + "readCurrentAudioOutputAttribute", + readAudioOutputCurrentAudioOutputAttributeInteractionInfo); + Map readAudioOutputClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readAudioOutputClusterRevisionCommandParams); + readAudioOutputInteractionInfo.put( + "readClusterRevisionAttribute", readAudioOutputClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("audioOutput", readAudioOutputInteractionInfo); + Map readBarrierControlInteractionInfo = new LinkedHashMap<>(); + Map readBarrierControlBarrierMovingStateCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierMovingStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierMovingStateAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierMovingStateCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierMovingStateAttribute", + readBarrierControlBarrierMovingStateAttributeInteractionInfo); + Map readBarrierControlBarrierSafetyStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierSafetyStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierSafetyStatusAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierSafetyStatusCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierSafetyStatusAttribute", + readBarrierControlBarrierSafetyStatusAttributeInteractionInfo); + Map readBarrierControlBarrierCapabilitiesCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCapabilitiesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierCapabilitiesAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCapabilitiesCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierCapabilitiesAttribute", + readBarrierControlBarrierCapabilitiesAttributeInteractionInfo); + Map readBarrierControlBarrierPositionCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierPositionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierPositionCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierPositionAttribute", readBarrierControlBarrierPositionAttributeInteractionInfo); + Map readBarrierControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBarrierControlClusterRevisionCommandParams); + readBarrierControlInteractionInfo.put( + "readClusterRevisionAttribute", readBarrierControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("barrierControl", readBarrierControlInteractionInfo); + Map readBasicInteractionInfo = new LinkedHashMap<>(); + Map readBasicInteractionModelVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInteractionModelVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readInteractionModelVersionAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBasicInteractionModelVersionCommandParams); + readBasicInteractionInfo.put( + "readInteractionModelVersionAttribute", + readBasicInteractionModelVersionAttributeInteractionInfo); + Map readBasicVendorNameCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicVendorNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicVendorNameCommandParams); + readBasicInteractionInfo.put( + "readVendorNameAttribute", readBasicVendorNameAttributeInteractionInfo); + Map readBasicVendorIDCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicVendorIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBasicVendorIDCommandParams); + readBasicInteractionInfo.put( + "readVendorIDAttribute", readBasicVendorIDAttributeInteractionInfo); + Map readBasicProductNameCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicProductNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readProductNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicProductNameCommandParams); + readBasicInteractionInfo.put( + "readProductNameAttribute", readBasicProductNameAttributeInteractionInfo); + Map readBasicProductIDCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicProductIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readProductIDAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBasicProductIDCommandParams); + readBasicInteractionInfo.put( + "readProductIDAttribute", readBasicProductIDAttributeInteractionInfo); + Map readBasicUserLabelCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicUserLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readUserLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicUserLabelCommandParams); + readBasicInteractionInfo.put( + "readUserLabelAttribute", readBasicUserLabelAttributeInteractionInfo); + Map readBasicLocationCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicLocationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readLocationAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicLocationCommandParams); + readBasicInteractionInfo.put( + "readLocationAttribute", readBasicLocationAttributeInteractionInfo); + Map readBasicHardwareVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicHardwareVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readHardwareVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBasicHardwareVersionCommandParams); + readBasicInteractionInfo.put( + "readHardwareVersionAttribute", readBasicHardwareVersionAttributeInteractionInfo); + Map readBasicHardwareVersionStringCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicHardwareVersionStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readHardwareVersionStringAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicHardwareVersionStringCommandParams); + readBasicInteractionInfo.put( + "readHardwareVersionStringAttribute", + readBasicHardwareVersionStringAttributeInteractionInfo); + Map readBasicSoftwareVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicSoftwareVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readSoftwareVersionAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readBasicSoftwareVersionCommandParams); + readBasicInteractionInfo.put( + "readSoftwareVersionAttribute", readBasicSoftwareVersionAttributeInteractionInfo); + Map readBasicSoftwareVersionStringCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicSoftwareVersionStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readSoftwareVersionStringAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicSoftwareVersionStringCommandParams); + readBasicInteractionInfo.put( + "readSoftwareVersionStringAttribute", + readBasicSoftwareVersionStringAttributeInteractionInfo); + Map readBasicManufacturingDateCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicManufacturingDateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readManufacturingDateAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicManufacturingDateCommandParams); + readBasicInteractionInfo.put( + "readManufacturingDateAttribute", readBasicManufacturingDateAttributeInteractionInfo); + Map readBasicPartNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicPartNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readPartNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicPartNumberCommandParams); + readBasicInteractionInfo.put( + "readPartNumberAttribute", readBasicPartNumberAttributeInteractionInfo); + Map readBasicProductURLCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicProductURLAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readProductURLAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicProductURLCommandParams); + readBasicInteractionInfo.put( + "readProductURLAttribute", readBasicProductURLAttributeInteractionInfo); + Map readBasicProductLabelCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicProductLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readProductLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicProductLabelCommandParams); + readBasicInteractionInfo.put( + "readProductLabelAttribute", readBasicProductLabelAttributeInteractionInfo); + Map readBasicSerialNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicSerialNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readSerialNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBasicSerialNumberCommandParams); + readBasicInteractionInfo.put( + "readSerialNumberAttribute", readBasicSerialNumberAttributeInteractionInfo); + Map readBasicLocalConfigDisabledCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicLocalConfigDisabledAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readLocalConfigDisabledAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readBasicLocalConfigDisabledCommandParams); + readBasicInteractionInfo.put( + "readLocalConfigDisabledAttribute", readBasicLocalConfigDisabledAttributeInteractionInfo); + Map readBasicReachableCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicReachableAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readReachableAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readBasicReachableCommandParams); + readBasicInteractionInfo.put( + "readReachableAttribute", readBasicReachableAttributeInteractionInfo); + Map readBasicClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBasicClusterRevisionCommandParams); + readBasicInteractionInfo.put( + "readClusterRevisionAttribute", readBasicClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("basic", readBasicInteractionInfo); + Map readBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); + Map readBinaryInputBasicOutOfServiceCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicOutOfServiceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readOutOfServiceAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readBinaryInputBasicOutOfServiceCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readOutOfServiceAttribute", readBinaryInputBasicOutOfServiceAttributeInteractionInfo); + Map readBinaryInputBasicPresentValueCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicPresentValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readPresentValueAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readBinaryInputBasicPresentValueCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readPresentValueAttribute", readBinaryInputBasicPresentValueAttributeInteractionInfo); + Map readBinaryInputBasicStatusFlagsCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicStatusFlagsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readStatusFlagsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBinaryInputBasicStatusFlagsCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readStatusFlagsAttribute", readBinaryInputBasicStatusFlagsAttributeInteractionInfo); + Map readBinaryInputBasicClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBinaryInputBasicClusterRevisionCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readClusterRevisionAttribute", + readBinaryInputBasicClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("binaryInputBasic", readBinaryInputBasicInteractionInfo); + Map readBindingInteractionInfo = new LinkedHashMap<>(); + Map readBindingClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBindingClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBindingClusterRevisionCommandParams); + readBindingInteractionInfo.put( + "readClusterRevisionAttribute", readBindingClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("binding", readBindingInteractionInfo); + Map readBooleanStateInteractionInfo = new LinkedHashMap<>(); + Map readBooleanStateStateValueCommandParams = + new LinkedHashMap(); + InteractionInfo readBooleanStateStateValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster) + .readStateValueAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readBooleanStateStateValueCommandParams); + readBooleanStateInteractionInfo.put( + "readStateValueAttribute", readBooleanStateStateValueAttributeInteractionInfo); + Map readBooleanStateClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBooleanStateClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBooleanStateClusterRevisionCommandParams); + readBooleanStateInteractionInfo.put( + "readClusterRevisionAttribute", readBooleanStateClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("booleanState", readBooleanStateInteractionInfo); + Map readBridgedActionsInteractionInfo = new LinkedHashMap<>(); + Map readBridgedActionsActionListCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedActionsActionListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedActionsCluster) cluster) + .readActionListAttribute( + (ChipClusters.BridgedActionsCluster.ActionListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedActionListAttributeCallback(), + readBridgedActionsActionListCommandParams); + readBridgedActionsInteractionInfo.put( + "readActionListAttribute", readBridgedActionsActionListAttributeInteractionInfo); + Map readBridgedActionsEndpointListCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedActionsEndpointListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedActionsCluster) cluster) + .readEndpointListAttribute( + (ChipClusters.BridgedActionsCluster.EndpointListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedEndpointListAttributeCallback(), + readBridgedActionsEndpointListCommandParams); + readBridgedActionsInteractionInfo.put( + "readEndpointListAttribute", readBridgedActionsEndpointListAttributeInteractionInfo); + Map readBridgedActionsSetupUrlCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedActionsSetupUrlAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedActionsCluster) cluster) + .readSetupUrlAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedActionsSetupUrlCommandParams); + readBridgedActionsInteractionInfo.put( + "readSetupUrlAttribute", readBridgedActionsSetupUrlAttributeInteractionInfo); + Map readBridgedActionsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedActionsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedActionsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBridgedActionsClusterRevisionCommandParams); + readBridgedActionsInteractionInfo.put( + "readClusterRevisionAttribute", readBridgedActionsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("bridgedActions", readBridgedActionsInteractionInfo); + Map readBridgedDeviceBasicInteractionInfo = new LinkedHashMap<>(); + Map readBridgedDeviceBasicVendorNameCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicVendorNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicVendorNameCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readVendorNameAttribute", readBridgedDeviceBasicVendorNameAttributeInteractionInfo); + Map readBridgedDeviceBasicVendorIDCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicVendorIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBridgedDeviceBasicVendorIDCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readVendorIDAttribute", readBridgedDeviceBasicVendorIDAttributeInteractionInfo); + Map readBridgedDeviceBasicProductNameCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicProductNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readProductNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicProductNameCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readProductNameAttribute", readBridgedDeviceBasicProductNameAttributeInteractionInfo); + Map readBridgedDeviceBasicUserLabelCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicUserLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readUserLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicUserLabelCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readUserLabelAttribute", readBridgedDeviceBasicUserLabelAttributeInteractionInfo); + Map readBridgedDeviceBasicHardwareVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicHardwareVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readHardwareVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBridgedDeviceBasicHardwareVersionCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readHardwareVersionAttribute", + readBridgedDeviceBasicHardwareVersionAttributeInteractionInfo); + Map readBridgedDeviceBasicHardwareVersionStringCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicHardwareVersionStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readHardwareVersionStringAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicHardwareVersionStringCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readHardwareVersionStringAttribute", + readBridgedDeviceBasicHardwareVersionStringAttributeInteractionInfo); + Map readBridgedDeviceBasicSoftwareVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicSoftwareVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readSoftwareVersionAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readBridgedDeviceBasicSoftwareVersionCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readSoftwareVersionAttribute", + readBridgedDeviceBasicSoftwareVersionAttributeInteractionInfo); + Map readBridgedDeviceBasicSoftwareVersionStringCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicSoftwareVersionStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readSoftwareVersionStringAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicSoftwareVersionStringCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readSoftwareVersionStringAttribute", + readBridgedDeviceBasicSoftwareVersionStringAttributeInteractionInfo); + Map readBridgedDeviceBasicManufacturingDateCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicManufacturingDateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readManufacturingDateAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicManufacturingDateCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readManufacturingDateAttribute", + readBridgedDeviceBasicManufacturingDateAttributeInteractionInfo); + Map readBridgedDeviceBasicPartNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicPartNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readPartNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicPartNumberCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readPartNumberAttribute", readBridgedDeviceBasicPartNumberAttributeInteractionInfo); + Map readBridgedDeviceBasicProductURLCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicProductURLAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readProductURLAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicProductURLCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readProductURLAttribute", readBridgedDeviceBasicProductURLAttributeInteractionInfo); + Map readBridgedDeviceBasicProductLabelCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicProductLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readProductLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicProductLabelCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readProductLabelAttribute", readBridgedDeviceBasicProductLabelAttributeInteractionInfo); + Map readBridgedDeviceBasicSerialNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicSerialNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readSerialNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readBridgedDeviceBasicSerialNumberCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readSerialNumberAttribute", readBridgedDeviceBasicSerialNumberAttributeInteractionInfo); + Map readBridgedDeviceBasicReachableCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicReachableAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readReachableAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readBridgedDeviceBasicReachableCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readReachableAttribute", readBridgedDeviceBasicReachableAttributeInteractionInfo); + Map readBridgedDeviceBasicClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readBridgedDeviceBasicClusterRevisionCommandParams); + readBridgedDeviceBasicInteractionInfo.put( + "readClusterRevisionAttribute", + readBridgedDeviceBasicClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("bridgedDeviceBasic", readBridgedDeviceBasicInteractionInfo); + Map readColorControlInteractionInfo = new LinkedHashMap<>(); + Map readColorControlCurrentHueCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCurrentHueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCurrentHueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlCurrentHueCommandParams); + readColorControlInteractionInfo.put( + "readCurrentHueAttribute", readColorControlCurrentHueAttributeInteractionInfo); + Map readColorControlCurrentSaturationCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCurrentSaturationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCurrentSaturationAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlCurrentSaturationCommandParams); + readColorControlInteractionInfo.put( + "readCurrentSaturationAttribute", + readColorControlCurrentSaturationAttributeInteractionInfo); + Map readColorControlRemainingTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlRemainingTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readRemainingTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlRemainingTimeCommandParams); + readColorControlInteractionInfo.put( + "readRemainingTimeAttribute", readColorControlRemainingTimeAttributeInteractionInfo); + Map readColorControlCurrentXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCurrentXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCurrentXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlCurrentXCommandParams); + readColorControlInteractionInfo.put( + "readCurrentXAttribute", readColorControlCurrentXAttributeInteractionInfo); + Map readColorControlCurrentYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCurrentYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCurrentYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlCurrentYCommandParams); + readColorControlInteractionInfo.put( + "readCurrentYAttribute", readColorControlCurrentYAttributeInteractionInfo); + Map readColorControlDriftCompensationCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlDriftCompensationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readDriftCompensationAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlDriftCompensationCommandParams); + readColorControlInteractionInfo.put( + "readDriftCompensationAttribute", + readColorControlDriftCompensationAttributeInteractionInfo); + Map readColorControlCompensationTextCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCompensationTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCompensationTextAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readColorControlCompensationTextCommandParams); + readColorControlInteractionInfo.put( + "readCompensationTextAttribute", readColorControlCompensationTextAttributeInteractionInfo); + Map readColorControlColorTemperatureCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorTemperatureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorTemperatureAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorTemperatureCommandParams); + readColorControlInteractionInfo.put( + "readColorTemperatureAttribute", readColorControlColorTemperatureAttributeInteractionInfo); + Map readColorControlColorModeCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorModeCommandParams); + readColorControlInteractionInfo.put( + "readColorModeAttribute", readColorControlColorModeAttributeInteractionInfo); + Map readColorControlColorControlOptionsCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorControlOptionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorControlOptionsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorControlOptionsCommandParams); + readColorControlInteractionInfo.put( + "readColorControlOptionsAttribute", + readColorControlColorControlOptionsAttributeInteractionInfo); + Map readColorControlNumberOfPrimariesCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlNumberOfPrimariesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readNumberOfPrimariesAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlNumberOfPrimariesCommandParams); + readColorControlInteractionInfo.put( + "readNumberOfPrimariesAttribute", + readColorControlNumberOfPrimariesAttributeInteractionInfo); + Map readColorControlPrimary1XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary1XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary1XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary1XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary1XAttribute", readColorControlPrimary1XAttributeInteractionInfo); + Map readColorControlPrimary1YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary1YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary1YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary1YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary1YAttribute", readColorControlPrimary1YAttributeInteractionInfo); + Map readColorControlPrimary1IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary1IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary1IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary1IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary1IntensityAttribute", + readColorControlPrimary1IntensityAttributeInteractionInfo); + Map readColorControlPrimary2XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary2XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary2XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary2XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary2XAttribute", readColorControlPrimary2XAttributeInteractionInfo); + Map readColorControlPrimary2YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary2YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary2YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary2YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary2YAttribute", readColorControlPrimary2YAttributeInteractionInfo); + Map readColorControlPrimary2IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary2IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary2IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary2IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary2IntensityAttribute", + readColorControlPrimary2IntensityAttributeInteractionInfo); + Map readColorControlPrimary3XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary3XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary3XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary3XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary3XAttribute", readColorControlPrimary3XAttributeInteractionInfo); + Map readColorControlPrimary3YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary3YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary3YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary3YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary3YAttribute", readColorControlPrimary3YAttributeInteractionInfo); + Map readColorControlPrimary3IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary3IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary3IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary3IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary3IntensityAttribute", + readColorControlPrimary3IntensityAttributeInteractionInfo); + Map readColorControlPrimary4XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary4XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary4XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary4XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary4XAttribute", readColorControlPrimary4XAttributeInteractionInfo); + Map readColorControlPrimary4YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary4YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary4YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary4YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary4YAttribute", readColorControlPrimary4YAttributeInteractionInfo); + Map readColorControlPrimary4IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary4IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary4IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary4IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary4IntensityAttribute", + readColorControlPrimary4IntensityAttributeInteractionInfo); + Map readColorControlPrimary5XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary5XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary5XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary5XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary5XAttribute", readColorControlPrimary5XAttributeInteractionInfo); + Map readColorControlPrimary5YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary5YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary5YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary5YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary5YAttribute", readColorControlPrimary5YAttributeInteractionInfo); + Map readColorControlPrimary5IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary5IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary5IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary5IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary5IntensityAttribute", + readColorControlPrimary5IntensityAttributeInteractionInfo); + Map readColorControlPrimary6XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary6XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary6XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary6XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary6XAttribute", readColorControlPrimary6XAttributeInteractionInfo); + Map readColorControlPrimary6YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary6YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary6YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary6YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary6YAttribute", readColorControlPrimary6YAttributeInteractionInfo); + Map readColorControlPrimary6IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary6IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary6IntensityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlPrimary6IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary6IntensityAttribute", + readColorControlPrimary6IntensityAttributeInteractionInfo); + Map readColorControlWhitePointXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlWhitePointXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readWhitePointXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlWhitePointXCommandParams); + readColorControlInteractionInfo.put( + "readWhitePointXAttribute", readColorControlWhitePointXAttributeInteractionInfo); + Map readColorControlWhitePointYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlWhitePointYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readWhitePointYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlWhitePointYCommandParams); + readColorControlInteractionInfo.put( + "readWhitePointYAttribute", readColorControlWhitePointYAttributeInteractionInfo); + Map readColorControlColorPointRXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointRXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointRXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorPointRXCommandParams); + readColorControlInteractionInfo.put( + "readColorPointRXAttribute", readColorControlColorPointRXAttributeInteractionInfo); + Map readColorControlColorPointRYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointRYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointRYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorPointRYCommandParams); + readColorControlInteractionInfo.put( + "readColorPointRYAttribute", readColorControlColorPointRYAttributeInteractionInfo); + Map readColorControlColorPointRIntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointRIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointRIntensityAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorPointRIntensityCommandParams); + readColorControlInteractionInfo.put( + "readColorPointRIntensityAttribute", + readColorControlColorPointRIntensityAttributeInteractionInfo); + Map readColorControlColorPointGXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointGXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointGXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorPointGXCommandParams); + readColorControlInteractionInfo.put( + "readColorPointGXAttribute", readColorControlColorPointGXAttributeInteractionInfo); + Map readColorControlColorPointGYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointGYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointGYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorPointGYCommandParams); + readColorControlInteractionInfo.put( + "readColorPointGYAttribute", readColorControlColorPointGYAttributeInteractionInfo); + Map readColorControlColorPointGIntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointGIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointGIntensityAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorPointGIntensityCommandParams); + readColorControlInteractionInfo.put( + "readColorPointGIntensityAttribute", + readColorControlColorPointGIntensityAttributeInteractionInfo); + Map readColorControlColorPointBXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointBXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointBXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorPointBXCommandParams); + readColorControlInteractionInfo.put( + "readColorPointBXAttribute", readColorControlColorPointBXAttributeInteractionInfo); + Map readColorControlColorPointBYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointBYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointBYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorPointBYCommandParams); + readColorControlInteractionInfo.put( + "readColorPointBYAttribute", readColorControlColorPointBYAttributeInteractionInfo); + Map readColorControlColorPointBIntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointBIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointBIntensityAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorPointBIntensityCommandParams); + readColorControlInteractionInfo.put( + "readColorPointBIntensityAttribute", + readColorControlColorPointBIntensityAttributeInteractionInfo); + Map readColorControlEnhancedCurrentHueCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlEnhancedCurrentHueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readEnhancedCurrentHueAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlEnhancedCurrentHueCommandParams); + readColorControlInteractionInfo.put( + "readEnhancedCurrentHueAttribute", + readColorControlEnhancedCurrentHueAttributeInteractionInfo); + Map readColorControlEnhancedColorModeCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlEnhancedColorModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readEnhancedColorModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlEnhancedColorModeCommandParams); + readColorControlInteractionInfo.put( + "readEnhancedColorModeAttribute", + readColorControlEnhancedColorModeAttributeInteractionInfo); + Map readColorControlColorLoopActiveCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopActiveAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopActiveAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorLoopActiveCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopActiveAttribute", readColorControlColorLoopActiveAttributeInteractionInfo); + Map readColorControlColorLoopDirectionCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopDirectionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopDirectionAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorLoopDirectionCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopDirectionAttribute", + readColorControlColorLoopDirectionAttributeInteractionInfo); + Map readColorControlColorLoopTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorLoopTimeCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopTimeAttribute", readColorControlColorLoopTimeAttributeInteractionInfo); + Map readColorControlColorLoopStartEnhancedHueCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopStartEnhancedHueAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorLoopStartEnhancedHueCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopStartEnhancedHueAttribute", + readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo); + Map readColorControlColorLoopStoredEnhancedHueCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopStoredEnhancedHueAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorLoopStoredEnhancedHueCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopStoredEnhancedHueAttribute", + readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo); + Map readColorControlColorCapabilitiesCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorCapabilitiesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorCapabilitiesAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorCapabilitiesCommandParams); + readColorControlInteractionInfo.put( + "readColorCapabilitiesAttribute", + readColorControlColorCapabilitiesAttributeInteractionInfo); + Map readColorControlColorTempPhysicalMinCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorTempPhysicalMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorTempPhysicalMinAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorTempPhysicalMinCommandParams); + readColorControlInteractionInfo.put( + "readColorTempPhysicalMinAttribute", + readColorControlColorTempPhysicalMinAttributeInteractionInfo); + Map readColorControlColorTempPhysicalMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorTempPhysicalMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorTempPhysicalMaxAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlColorTempPhysicalMaxCommandParams); + readColorControlInteractionInfo.put( + "readColorTempPhysicalMaxAttribute", + readColorControlColorTempPhysicalMaxAttributeInteractionInfo); + Map readColorControlCoupleColorTempToLevelMinMiredsCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCoupleColorTempToLevelMinMiredsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlCoupleColorTempToLevelMinMiredsCommandParams); + readColorControlInteractionInfo.put( + "readCoupleColorTempToLevelMinMiredsAttribute", + readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo); + Map readColorControlStartUpColorTemperatureMiredsCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readStartUpColorTemperatureMiredsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlStartUpColorTemperatureMiredsCommandParams); + readColorControlInteractionInfo.put( + "readStartUpColorTemperatureMiredsAttribute", + readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); + Map readColorControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readColorControlClusterRevisionCommandParams); + readColorControlInteractionInfo.put( + "readClusterRevisionAttribute", readColorControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("colorControl", readColorControlInteractionInfo); + Map readContentLauncherInteractionInfo = new LinkedHashMap<>(); + Map readContentLauncherAcceptsHeaderListCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherAcceptsHeaderListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readAcceptsHeaderListAttribute( + (ChipClusters.ContentLauncherCluster.AcceptsHeaderListAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedAcceptsHeaderListAttributeCallback(), + readContentLauncherAcceptsHeaderListCommandParams); + readContentLauncherInteractionInfo.put( + "readAcceptsHeaderListAttribute", + readContentLauncherAcceptsHeaderListAttributeInteractionInfo); + Map readContentLauncherSupportedStreamingTypesCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherSupportedStreamingTypesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readSupportedStreamingTypesAttribute( + (ChipClusters.ContentLauncherCluster.SupportedStreamingTypesAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedSupportedStreamingTypesAttributeCallback(), + readContentLauncherSupportedStreamingTypesCommandParams); + readContentLauncherInteractionInfo.put( + "readSupportedStreamingTypesAttribute", + readContentLauncherSupportedStreamingTypesAttributeInteractionInfo); + Map readContentLauncherClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readContentLauncherClusterRevisionCommandParams); + readContentLauncherInteractionInfo.put( + "readClusterRevisionAttribute", readContentLauncherClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("contentLauncher", readContentLauncherInteractionInfo); + Map readDescriptorInteractionInfo = new LinkedHashMap<>(); + Map readDescriptorDeviceListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorDeviceListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readDeviceListAttribute( + (ChipClusters.DescriptorCluster.DeviceListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedDeviceListAttributeCallback(), + readDescriptorDeviceListCommandParams); + readDescriptorInteractionInfo.put( + "readDeviceListAttribute", readDescriptorDeviceListAttributeInteractionInfo); + Map readDescriptorServerListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorServerListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readServerListAttribute( + (ChipClusters.DescriptorCluster.ServerListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedServerListAttributeCallback(), + readDescriptorServerListCommandParams); + readDescriptorInteractionInfo.put( + "readServerListAttribute", readDescriptorServerListAttributeInteractionInfo); + Map readDescriptorClientListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorClientListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readClientListAttribute( + (ChipClusters.DescriptorCluster.ClientListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedClientListAttributeCallback(), + readDescriptorClientListCommandParams); + readDescriptorInteractionInfo.put( + "readClientListAttribute", readDescriptorClientListAttributeInteractionInfo); + Map readDescriptorPartsListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorPartsListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readPartsListAttribute( + (ChipClusters.DescriptorCluster.PartsListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedPartsListAttributeCallback(), + readDescriptorPartsListCommandParams); + readDescriptorInteractionInfo.put( + "readPartsListAttribute", readDescriptorPartsListAttributeInteractionInfo); + Map readDescriptorClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readDescriptorClusterRevisionCommandParams); + readDescriptorInteractionInfo.put( + "readClusterRevisionAttribute", readDescriptorClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("descriptor", readDescriptorInteractionInfo); + Map readDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); + readAttributeMap.put("diagnosticLogs", readDiagnosticLogsInteractionInfo); + Map readDoorLockInteractionInfo = new LinkedHashMap<>(); + Map readDoorLockLockStateCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockLockStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readLockStateAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readDoorLockLockStateCommandParams); + readDoorLockInteractionInfo.put( + "readLockStateAttribute", readDoorLockLockStateAttributeInteractionInfo); + Map readDoorLockLockTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockLockTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readLockTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readDoorLockLockTypeCommandParams); + readDoorLockInteractionInfo.put( + "readLockTypeAttribute", readDoorLockLockTypeAttributeInteractionInfo); + Map readDoorLockActuatorEnabledCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockActuatorEnabledAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readActuatorEnabledAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readDoorLockActuatorEnabledCommandParams); + readDoorLockInteractionInfo.put( + "readActuatorEnabledAttribute", readDoorLockActuatorEnabledAttributeInteractionInfo); + Map readDoorLockClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readDoorLockClusterRevisionCommandParams); + readDoorLockInteractionInfo.put( + "readClusterRevisionAttribute", readDoorLockClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("doorLock", readDoorLockInteractionInfo); + Map readElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readElectricalMeasurementMeasurementTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasurementTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasurementTypeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readElectricalMeasurementMeasurementTypeCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasurementTypeAttribute", + readElectricalMeasurementMeasurementTypeAttributeInteractionInfo); + Map readElectricalMeasurementTotalActivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalActivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readTotalActivePowerAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalActivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readTotalActivePowerAttribute", + readElectricalMeasurementTotalActivePowerAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageAttribute", readElectricalMeasurementRmsVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMinAttribute", + readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMaxAttribute", + readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentAttribute", readElectricalMeasurementRmsCurrentAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMinAttribute", + readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMaxAttribute", + readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerAttribute", readElectricalMeasurementActivePowerAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMinAttribute", + readElectricalMeasurementActivePowerMinAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMaxAttribute", + readElectricalMeasurementActivePowerMaxAttributeInteractionInfo); + Map readElectricalMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readElectricalMeasurementClusterRevisionCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readElectricalMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("electricalMeasurement", readElectricalMeasurementInteractionInfo); + Map readEthernetNetworkDiagnosticsInteractionInfo = + new LinkedHashMap<>(); + Map readEthernetNetworkDiagnosticsPHYRateCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readPHYRateAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readEthernetNetworkDiagnosticsPHYRateCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readPHYRateAttribute", readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsFullDuplexCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readFullDuplexAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readEthernetNetworkDiagnosticsFullDuplexCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readFullDuplexAttribute", + readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsPacketRxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readPacketRxCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsPacketRxCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readPacketRxCountAttribute", + readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsPacketTxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readPacketTxCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsPacketTxCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readPacketTxCountAttribute", + readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsTxErrCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readTxErrCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsTxErrCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readTxErrCountAttribute", + readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsCollisionCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readCollisionCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsCollisionCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readCollisionCountAttribute", + readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsOverrunCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsOverrunCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readOverrunCountAttribute", + readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsCarrierDetectCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readCarrierDetectAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readEthernetNetworkDiagnosticsCarrierDetectCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readCarrierDetectAttribute", + readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsTimeSinceResetCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readTimeSinceResetAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsTimeSinceResetCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readTimeSinceResetAttribute", + readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readEthernetNetworkDiagnosticsClusterRevisionCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "ethernetNetworkDiagnostics", readEthernetNetworkDiagnosticsInteractionInfo); + Map readFixedLabelInteractionInfo = new LinkedHashMap<>(); + Map readFixedLabelLabelListCommandParams = + new LinkedHashMap(); + InteractionInfo readFixedLabelLabelListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster) + .readLabelListAttribute( + (ChipClusters.FixedLabelCluster.LabelListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLabelListAttributeCallback(), + readFixedLabelLabelListCommandParams); + readFixedLabelInteractionInfo.put( + "readLabelListAttribute", readFixedLabelLabelListAttributeInteractionInfo); + Map readFixedLabelClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readFixedLabelClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readFixedLabelClusterRevisionCommandParams); + readFixedLabelInteractionInfo.put( + "readClusterRevisionAttribute", readFixedLabelClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("fixedLabel", readFixedLabelInteractionInfo); + Map readFlowMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readFlowMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readFlowMeasurementMeasuredValueCommandParams); + readFlowMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", readFlowMeasurementMeasuredValueAttributeInteractionInfo); + Map readFlowMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readFlowMeasurementMinMeasuredValueCommandParams); + readFlowMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readFlowMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readFlowMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readFlowMeasurementMaxMeasuredValueCommandParams); + readFlowMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readFlowMeasurementToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readFlowMeasurementToleranceCommandParams); + readFlowMeasurementInteractionInfo.put( + "readToleranceAttribute", readFlowMeasurementToleranceAttributeInteractionInfo); + Map readFlowMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readFlowMeasurementClusterRevisionCommandParams); + readFlowMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", readFlowMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("flowMeasurement", readFlowMeasurementInteractionInfo); + Map readGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); + Map readGeneralCommissioningBreadcrumbCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningBreadcrumbAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readBreadcrumbAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readGeneralCommissioningBreadcrumbCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readBreadcrumbAttribute", readGeneralCommissioningBreadcrumbAttributeInteractionInfo); + Map + readGeneralCommissioningBasicCommissioningInfoListCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningBasicCommissioningInfoListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readBasicCommissioningInfoListAttribute( + (ChipClusters.GeneralCommissioningCluster + .BasicCommissioningInfoListAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedBasicCommissioningInfoListAttributeCallback(), + readGeneralCommissioningBasicCommissioningInfoListCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readBasicCommissioningInfoListAttribute", + readGeneralCommissioningBasicCommissioningInfoListAttributeInteractionInfo); + Map readGeneralCommissioningClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readGeneralCommissioningClusterRevisionCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readClusterRevisionAttribute", + readGeneralCommissioningClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("generalCommissioning", readGeneralCommissioningInteractionInfo); + Map readGeneralDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readGeneralDiagnosticsNetworkInterfacesCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readNetworkInterfacesAttribute( + (ChipClusters.GeneralDiagnosticsCluster.NetworkInterfacesAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedNetworkInterfacesAttributeCallback(), + readGeneralDiagnosticsNetworkInterfacesCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readNetworkInterfacesAttribute", + readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo); + Map readGeneralDiagnosticsRebootCountCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsRebootCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readRebootCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readGeneralDiagnosticsRebootCountCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readRebootCountAttribute", readGeneralDiagnosticsRebootCountAttributeInteractionInfo); + Map readGeneralDiagnosticsUpTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsUpTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readUpTimeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readGeneralDiagnosticsUpTimeCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readUpTimeAttribute", readGeneralDiagnosticsUpTimeAttributeInteractionInfo); + Map readGeneralDiagnosticsTotalOperationalHoursCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readTotalOperationalHoursAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readGeneralDiagnosticsTotalOperationalHoursCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readTotalOperationalHoursAttribute", + readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo); + Map readGeneralDiagnosticsBootReasonsCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsBootReasonsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readBootReasonsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readGeneralDiagnosticsBootReasonsCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readBootReasonsAttribute", readGeneralDiagnosticsBootReasonsAttributeInteractionInfo); + Map readGeneralDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readGeneralDiagnosticsClusterRevisionCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("generalDiagnostics", readGeneralDiagnosticsInteractionInfo); + Map readGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); + Map readGroupKeyManagementGroupsCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementGroupsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readGroupsAttribute( + (ChipClusters.GroupKeyManagementCluster.GroupsAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedGroupsAttributeCallback(), + readGroupKeyManagementGroupsCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readGroupsAttribute", readGroupKeyManagementGroupsAttributeInteractionInfo); + Map readGroupKeyManagementGroupKeysCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementGroupKeysAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readGroupKeysAttribute( + (ChipClusters.GroupKeyManagementCluster.GroupKeysAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedGroupKeysAttributeCallback(), + readGroupKeyManagementGroupKeysCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readGroupKeysAttribute", readGroupKeyManagementGroupKeysAttributeInteractionInfo); + Map readGroupKeyManagementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readGroupKeyManagementClusterRevisionCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readClusterRevisionAttribute", + readGroupKeyManagementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("groupKeyManagement", readGroupKeyManagementInteractionInfo); + Map readGroupsInteractionInfo = new LinkedHashMap<>(); + Map readGroupsNameSupportCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupsNameSupportAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .readNameSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readGroupsNameSupportCommandParams); + readGroupsInteractionInfo.put( + "readNameSupportAttribute", readGroupsNameSupportAttributeInteractionInfo); + Map readGroupsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readGroupsClusterRevisionCommandParams); + readGroupsInteractionInfo.put( + "readClusterRevisionAttribute", readGroupsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("groups", readGroupsInteractionInfo); + Map readIdentifyInteractionInfo = new LinkedHashMap<>(); + Map readIdentifyIdentifyTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyIdentifyTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readIdentifyTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readIdentifyIdentifyTimeCommandParams); + readIdentifyInteractionInfo.put( + "readIdentifyTimeAttribute", readIdentifyIdentifyTimeAttributeInteractionInfo); + Map readIdentifyIdentifyTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyIdentifyTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readIdentifyTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readIdentifyIdentifyTypeCommandParams); + readIdentifyInteractionInfo.put( + "readIdentifyTypeAttribute", readIdentifyIdentifyTypeAttributeInteractionInfo); + Map readIdentifyClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readIdentifyClusterRevisionCommandParams); + readIdentifyInteractionInfo.put( + "readClusterRevisionAttribute", readIdentifyClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("identify", readIdentifyInteractionInfo); + Map readIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readIlluminanceMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementMeasuredValueCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", + readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo); + Map readIlluminanceMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementMinMeasuredValueCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readIlluminanceMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementMaxMeasuredValueCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readIlluminanceMeasurementToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementToleranceCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readToleranceAttribute", readIlluminanceMeasurementToleranceAttributeInteractionInfo); + Map readIlluminanceMeasurementLightSensorTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readLightSensorTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementLightSensorTypeCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readLightSensorTypeAttribute", + readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo); + Map readIlluminanceMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementClusterRevisionCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("illuminanceMeasurement", readIlluminanceMeasurementInteractionInfo); + Map readKeypadInputInteractionInfo = new LinkedHashMap<>(); + Map readKeypadInputClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readKeypadInputClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readKeypadInputClusterRevisionCommandParams); + readKeypadInputInteractionInfo.put( + "readClusterRevisionAttribute", readKeypadInputClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("keypadInput", readKeypadInputInteractionInfo); + Map readLevelControlInteractionInfo = new LinkedHashMap<>(); + Map readLevelControlCurrentLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlCurrentLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readCurrentLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlCurrentLevelCommandParams); + readLevelControlInteractionInfo.put( + "readCurrentLevelAttribute", readLevelControlCurrentLevelAttributeInteractionInfo); + Map readLevelControlRemainingTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlRemainingTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readRemainingTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlRemainingTimeCommandParams); + readLevelControlInteractionInfo.put( + "readRemainingTimeAttribute", readLevelControlRemainingTimeAttributeInteractionInfo); + Map readLevelControlMinLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlMinLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readMinLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlMinLevelCommandParams); + readLevelControlInteractionInfo.put( + "readMinLevelAttribute", readLevelControlMinLevelAttributeInteractionInfo); + Map readLevelControlMaxLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlMaxLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readMaxLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlMaxLevelCommandParams); + readLevelControlInteractionInfo.put( + "readMaxLevelAttribute", readLevelControlMaxLevelAttributeInteractionInfo); + Map readLevelControlCurrentFrequencyCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlCurrentFrequencyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readCurrentFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlCurrentFrequencyCommandParams); + readLevelControlInteractionInfo.put( + "readCurrentFrequencyAttribute", readLevelControlCurrentFrequencyAttributeInteractionInfo); + Map readLevelControlMinFrequencyCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlMinFrequencyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readMinFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlMinFrequencyCommandParams); + readLevelControlInteractionInfo.put( + "readMinFrequencyAttribute", readLevelControlMinFrequencyAttributeInteractionInfo); + Map readLevelControlMaxFrequencyCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlMaxFrequencyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readMaxFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlMaxFrequencyCommandParams); + readLevelControlInteractionInfo.put( + "readMaxFrequencyAttribute", readLevelControlMaxFrequencyAttributeInteractionInfo); + Map readLevelControlOptionsCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOptionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOptionsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlOptionsCommandParams); + readLevelControlInteractionInfo.put( + "readOptionsAttribute", readLevelControlOptionsAttributeInteractionInfo); + Map readLevelControlOnOffTransitionTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOnOffTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOnOffTransitionTimeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlOnOffTransitionTimeCommandParams); + readLevelControlInteractionInfo.put( + "readOnOffTransitionTimeAttribute", + readLevelControlOnOffTransitionTimeAttributeInteractionInfo); + Map readLevelControlOnLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOnLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOnLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlOnLevelCommandParams); + readLevelControlInteractionInfo.put( + "readOnLevelAttribute", readLevelControlOnLevelAttributeInteractionInfo); + Map readLevelControlOnTransitionTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOnTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOnTransitionTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlOnTransitionTimeCommandParams); + readLevelControlInteractionInfo.put( + "readOnTransitionTimeAttribute", readLevelControlOnTransitionTimeAttributeInteractionInfo); + Map readLevelControlOffTransitionTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOffTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOffTransitionTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlOffTransitionTimeCommandParams); + readLevelControlInteractionInfo.put( + "readOffTransitionTimeAttribute", + readLevelControlOffTransitionTimeAttributeInteractionInfo); + Map readLevelControlDefaultMoveRateCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlDefaultMoveRateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readDefaultMoveRateAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlDefaultMoveRateCommandParams); + readLevelControlInteractionInfo.put( + "readDefaultMoveRateAttribute", readLevelControlDefaultMoveRateAttributeInteractionInfo); + Map readLevelControlStartUpCurrentLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlStartUpCurrentLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readStartUpCurrentLevelAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlStartUpCurrentLevelCommandParams); + readLevelControlInteractionInfo.put( + "readStartUpCurrentLevelAttribute", + readLevelControlStartUpCurrentLevelAttributeInteractionInfo); + Map readLevelControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLevelControlClusterRevisionCommandParams); + readLevelControlInteractionInfo.put( + "readClusterRevisionAttribute", readLevelControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("levelControl", readLevelControlInteractionInfo); + Map readLowPowerInteractionInfo = new LinkedHashMap<>(); + Map readLowPowerClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readLowPowerClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readLowPowerClusterRevisionCommandParams); + readLowPowerInteractionInfo.put( + "readClusterRevisionAttribute", readLowPowerClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("lowPower", readLowPowerInteractionInfo); + Map readMediaInputInteractionInfo = new LinkedHashMap<>(); + Map readMediaInputMediaInputListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputMediaInputListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readMediaInputListAttribute( + (ChipClusters.MediaInputCluster.MediaInputListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedMediaInputListAttributeCallback(), + readMediaInputMediaInputListCommandParams); + readMediaInputInteractionInfo.put( + "readMediaInputListAttribute", readMediaInputMediaInputListAttributeInteractionInfo); + Map readMediaInputCurrentMediaInputCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputCurrentMediaInputAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readCurrentMediaInputAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readMediaInputCurrentMediaInputCommandParams); + readMediaInputInteractionInfo.put( + "readCurrentMediaInputAttribute", readMediaInputCurrentMediaInputAttributeInteractionInfo); + Map readMediaInputClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readMediaInputClusterRevisionCommandParams); + readMediaInputInteractionInfo.put( + "readClusterRevisionAttribute", readMediaInputClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("mediaInput", readMediaInputInteractionInfo); + Map readMediaPlaybackInteractionInfo = new LinkedHashMap<>(); + Map readMediaPlaybackPlaybackStateCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackPlaybackStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readPlaybackStateAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readMediaPlaybackPlaybackStateCommandParams); + readMediaPlaybackInteractionInfo.put( + "readPlaybackStateAttribute", readMediaPlaybackPlaybackStateAttributeInteractionInfo); + Map readMediaPlaybackStartTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackStartTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readStartTimeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readMediaPlaybackStartTimeCommandParams); + readMediaPlaybackInteractionInfo.put( + "readStartTimeAttribute", readMediaPlaybackStartTimeAttributeInteractionInfo); + Map readMediaPlaybackDurationCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackDurationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readDurationAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readMediaPlaybackDurationCommandParams); + readMediaPlaybackInteractionInfo.put( + "readDurationAttribute", readMediaPlaybackDurationAttributeInteractionInfo); + Map readMediaPlaybackPositionUpdatedAtCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackPositionUpdatedAtAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readPositionUpdatedAtAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readMediaPlaybackPositionUpdatedAtCommandParams); + readMediaPlaybackInteractionInfo.put( + "readPositionUpdatedAtAttribute", + readMediaPlaybackPositionUpdatedAtAttributeInteractionInfo); + Map readMediaPlaybackPositionCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackPositionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readPositionAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readMediaPlaybackPositionCommandParams); + readMediaPlaybackInteractionInfo.put( + "readPositionAttribute", readMediaPlaybackPositionAttributeInteractionInfo); + Map readMediaPlaybackPlaybackSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackPlaybackSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readPlaybackSpeedAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readMediaPlaybackPlaybackSpeedCommandParams); + readMediaPlaybackInteractionInfo.put( + "readPlaybackSpeedAttribute", readMediaPlaybackPlaybackSpeedAttributeInteractionInfo); + Map readMediaPlaybackSeekRangeEndCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackSeekRangeEndAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readSeekRangeEndAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readMediaPlaybackSeekRangeEndCommandParams); + readMediaPlaybackInteractionInfo.put( + "readSeekRangeEndAttribute", readMediaPlaybackSeekRangeEndAttributeInteractionInfo); + Map readMediaPlaybackSeekRangeStartCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackSeekRangeStartAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readSeekRangeStartAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readMediaPlaybackSeekRangeStartCommandParams); + readMediaPlaybackInteractionInfo.put( + "readSeekRangeStartAttribute", readMediaPlaybackSeekRangeStartAttributeInteractionInfo); + Map readMediaPlaybackClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readMediaPlaybackClusterRevisionCommandParams); + readMediaPlaybackInteractionInfo.put( + "readClusterRevisionAttribute", readMediaPlaybackClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("mediaPlayback", readMediaPlaybackInteractionInfo); + Map readModeSelectInteractionInfo = new LinkedHashMap<>(); + Map readModeSelectCurrentModeCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectCurrentModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readCurrentModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readModeSelectCurrentModeCommandParams); + readModeSelectInteractionInfo.put( + "readCurrentModeAttribute", readModeSelectCurrentModeAttributeInteractionInfo); + Map readModeSelectSupportedModesCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectSupportedModesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readSupportedModesAttribute( + (ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedSupportedModesAttributeCallback(), + readModeSelectSupportedModesCommandParams); + readModeSelectInteractionInfo.put( + "readSupportedModesAttribute", readModeSelectSupportedModesAttributeInteractionInfo); + Map readModeSelectOnModeCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectOnModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readOnModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readModeSelectOnModeCommandParams); + readModeSelectInteractionInfo.put( + "readOnModeAttribute", readModeSelectOnModeAttributeInteractionInfo); + Map readModeSelectStartUpModeCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectStartUpModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readStartUpModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readModeSelectStartUpModeCommandParams); + readModeSelectInteractionInfo.put( + "readStartUpModeAttribute", readModeSelectStartUpModeAttributeInteractionInfo); + Map readModeSelectDescriptionCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectDescriptionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readModeSelectDescriptionCommandParams); + readModeSelectInteractionInfo.put( + "readDescriptionAttribute", readModeSelectDescriptionAttributeInteractionInfo); + Map readModeSelectClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readModeSelectClusterRevisionCommandParams); + readModeSelectInteractionInfo.put( + "readClusterRevisionAttribute", readModeSelectClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("modeSelect", readModeSelectInteractionInfo); + Map readNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); + Map readNetworkCommissioningFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readNetworkCommissioningFeatureMapCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readFeatureMapAttribute", readNetworkCommissioningFeatureMapAttributeInteractionInfo); + Map readNetworkCommissioningClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readNetworkCommissioningClusterRevisionCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readClusterRevisionAttribute", + readNetworkCommissioningClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("networkCommissioning", readNetworkCommissioningInteractionInfo); + Map readOtaSoftwareUpdateProviderInteractionInfo = + new LinkedHashMap<>(); + Map readOtaSoftwareUpdateProviderClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOtaSoftwareUpdateProviderClusterRevisionCommandParams); + readOtaSoftwareUpdateProviderInteractionInfo.put( + "readClusterRevisionAttribute", + readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("otaSoftwareUpdateProvider", readOtaSoftwareUpdateProviderInteractionInfo); + Map readOtaSoftwareUpdateRequestorInteractionInfo = + new LinkedHashMap<>(); + Map + readOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorDefaultOtaProviderAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readDefaultOtaProviderAttribute( + (ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readDefaultOtaProviderAttribute", + readOtaSoftwareUpdateRequestorDefaultOtaProviderAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readUpdatePossibleAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readUpdatePossibleAttribute", + readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOtaSoftwareUpdateRequestorClusterRevisionCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readClusterRevisionAttribute", + readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "otaSoftwareUpdateRequestor", readOtaSoftwareUpdateRequestorInteractionInfo); + Map readOccupancySensingInteractionInfo = new LinkedHashMap<>(); + Map readOccupancySensingOccupancyCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingOccupancyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readOccupancyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOccupancySensingOccupancyCommandParams); + readOccupancySensingInteractionInfo.put( + "readOccupancyAttribute", readOccupancySensingOccupancyAttributeInteractionInfo); + Map readOccupancySensingOccupancySensorTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingOccupancySensorTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readOccupancySensorTypeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOccupancySensingOccupancySensorTypeCommandParams); + readOccupancySensingInteractionInfo.put( + "readOccupancySensorTypeAttribute", + readOccupancySensingOccupancySensorTypeAttributeInteractionInfo); + Map readOccupancySensingOccupancySensorTypeBitmapCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readOccupancySensorTypeBitmapAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOccupancySensingOccupancySensorTypeBitmapCommandParams); + readOccupancySensingInteractionInfo.put( + "readOccupancySensorTypeBitmapAttribute", + readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo); + Map readOccupancySensingClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOccupancySensingClusterRevisionCommandParams); + readOccupancySensingInteractionInfo.put( + "readClusterRevisionAttribute", + readOccupancySensingClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("occupancySensing", readOccupancySensingInteractionInfo); + Map readOnOffInteractionInfo = new LinkedHashMap<>(); + Map readOnOffOnOffCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffOnOffAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readOnOffAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readOnOffOnOffCommandParams); + readOnOffInteractionInfo.put("readOnOffAttribute", readOnOffOnOffAttributeInteractionInfo); + Map readOnOffGlobalSceneControlCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffGlobalSceneControlAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readGlobalSceneControlAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readOnOffGlobalSceneControlCommandParams); + readOnOffInteractionInfo.put( + "readGlobalSceneControlAttribute", readOnOffGlobalSceneControlAttributeInteractionInfo); + Map readOnOffOnTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffOnTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readOnTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOnOffOnTimeCommandParams); + readOnOffInteractionInfo.put("readOnTimeAttribute", readOnOffOnTimeAttributeInteractionInfo); + Map readOnOffOffWaitTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffOffWaitTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readOffWaitTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOnOffOffWaitTimeCommandParams); + readOnOffInteractionInfo.put( + "readOffWaitTimeAttribute", readOnOffOffWaitTimeAttributeInteractionInfo); + Map readOnOffStartUpOnOffCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffStartUpOnOffAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readStartUpOnOffAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOnOffStartUpOnOffCommandParams); + readOnOffInteractionInfo.put( + "readStartUpOnOffAttribute", readOnOffStartUpOnOffAttributeInteractionInfo); + Map readOnOffFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readOnOffFeatureMapCommandParams); + readOnOffInteractionInfo.put( + "readFeatureMapAttribute", readOnOffFeatureMapAttributeInteractionInfo); + Map readOnOffClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOnOffClusterRevisionCommandParams); + readOnOffInteractionInfo.put( + "readClusterRevisionAttribute", readOnOffClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("onOff", readOnOffInteractionInfo); + Map readOnOffSwitchConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map readOnOffSwitchConfigurationSwitchTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readSwitchTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOnOffSwitchConfigurationSwitchTypeCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readSwitchTypeAttribute", readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo); + Map readOnOffSwitchConfigurationSwitchActionsCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readSwitchActionsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOnOffSwitchConfigurationSwitchActionsCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readSwitchActionsAttribute", + readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); + Map readOnOffSwitchConfigurationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOnOffSwitchConfigurationClusterRevisionCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readClusterRevisionAttribute", + readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("onOffSwitchConfiguration", readOnOffSwitchConfigurationInteractionInfo); + Map readOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); + Map readOperationalCredentialsFabricsListCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsFabricsListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readFabricsListAttribute( + (ChipClusters.OperationalCredentialsCluster.FabricsListAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedFabricsListAttributeCallback(), + readOperationalCredentialsFabricsListCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readFabricsListAttribute", readOperationalCredentialsFabricsListAttributeInteractionInfo); + Map readOperationalCredentialsSupportedFabricsCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsSupportedFabricsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readSupportedFabricsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOperationalCredentialsSupportedFabricsCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readSupportedFabricsAttribute", + readOperationalCredentialsSupportedFabricsAttributeInteractionInfo); + Map readOperationalCredentialsCommissionedFabricsCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readCommissionedFabricsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOperationalCredentialsCommissionedFabricsCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readCommissionedFabricsAttribute", + readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo); + Map + readOperationalCredentialsTrustedRootCertificatesCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readTrustedRootCertificatesAttribute( + (ChipClusters.OperationalCredentialsCluster + .TrustedRootCertificatesAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedTrustedRootCertificatesAttributeCallback(), + readOperationalCredentialsTrustedRootCertificatesCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readTrustedRootCertificatesAttribute", + readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo); + Map readOperationalCredentialsCurrentFabricIndexCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readCurrentFabricIndexAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOperationalCredentialsCurrentFabricIndexCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readCurrentFabricIndexAttribute", + readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo); + Map readOperationalCredentialsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readOperationalCredentialsClusterRevisionCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readClusterRevisionAttribute", + readOperationalCredentialsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("operationalCredentials", readOperationalCredentialsInteractionInfo); + Map readPowerSourceInteractionInfo = new LinkedHashMap<>(); + Map readPowerSourceStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPowerSourceStatusCommandParams); + readPowerSourceInteractionInfo.put( + "readStatusAttribute", readPowerSourceStatusAttributeInteractionInfo); + Map readPowerSourceOrderCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceOrderAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readOrderAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPowerSourceOrderCommandParams); + readPowerSourceInteractionInfo.put( + "readOrderAttribute", readPowerSourceOrderAttributeInteractionInfo); + Map readPowerSourceDescriptionCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceDescriptionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readPowerSourceDescriptionCommandParams); + readPowerSourceInteractionInfo.put( + "readDescriptionAttribute", readPowerSourceDescriptionAttributeInteractionInfo); + Map readPowerSourceBatteryVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatteryVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatteryVoltageAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readPowerSourceBatteryVoltageCommandParams); + readPowerSourceInteractionInfo.put( + "readBatteryVoltageAttribute", readPowerSourceBatteryVoltageAttributeInteractionInfo); + Map readPowerSourceBatteryPercentRemainingCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatteryPercentRemainingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatteryPercentRemainingAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPowerSourceBatteryPercentRemainingCommandParams); + readPowerSourceInteractionInfo.put( + "readBatteryPercentRemainingAttribute", + readPowerSourceBatteryPercentRemainingAttributeInteractionInfo); + Map readPowerSourceBatteryTimeRemainingCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatteryTimeRemainingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatteryTimeRemainingAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readPowerSourceBatteryTimeRemainingCommandParams); + readPowerSourceInteractionInfo.put( + "readBatteryTimeRemainingAttribute", + readPowerSourceBatteryTimeRemainingAttributeInteractionInfo); + Map readPowerSourceBatteryChargeLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatteryChargeLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatteryChargeLevelAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPowerSourceBatteryChargeLevelCommandParams); + readPowerSourceInteractionInfo.put( + "readBatteryChargeLevelAttribute", + readPowerSourceBatteryChargeLevelAttributeInteractionInfo); + Map readPowerSourceActiveBatteryFaultsCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceActiveBatteryFaultsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readActiveBatteryFaultsAttribute( + (ChipClusters.PowerSourceCluster.ActiveBatteryFaultsAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedActiveBatteryFaultsAttributeCallback(), + readPowerSourceActiveBatteryFaultsCommandParams); + readPowerSourceInteractionInfo.put( + "readActiveBatteryFaultsAttribute", + readPowerSourceActiveBatteryFaultsAttributeInteractionInfo); + Map readPowerSourceBatteryChargeStateCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatteryChargeStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatteryChargeStateAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPowerSourceBatteryChargeStateCommandParams); + readPowerSourceInteractionInfo.put( + "readBatteryChargeStateAttribute", + readPowerSourceBatteryChargeStateAttributeInteractionInfo); + Map readPowerSourceFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readPowerSourceFeatureMapCommandParams); + readPowerSourceInteractionInfo.put( + "readFeatureMapAttribute", readPowerSourceFeatureMapAttributeInteractionInfo); + Map readPowerSourceClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPowerSourceClusterRevisionCommandParams); + readPowerSourceInteractionInfo.put( + "readClusterRevisionAttribute", readPowerSourceClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("powerSource", readPowerSourceInteractionInfo); + Map readPressureMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readPressureMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPressureMeasurementMeasuredValueCommandParams); + readPressureMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", readPressureMeasurementMeasuredValueAttributeInteractionInfo); + Map readPressureMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPressureMeasurementMinMeasuredValueCommandParams); + readPressureMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readPressureMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readPressureMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPressureMeasurementMaxMeasuredValueCommandParams); + readPressureMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readPressureMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPressureMeasurementClusterRevisionCommandParams); + readPressureMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readPressureMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("pressureMeasurement", readPressureMeasurementInteractionInfo); + Map readPumpConfigurationAndControlInteractionInfo = + new LinkedHashMap<>(); + Map readPumpConfigurationAndControlMaxPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMaxPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxPressureAttribute", + readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxSpeedAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMaxSpeedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxSpeedAttribute", readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxFlowCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxFlowAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMaxFlowCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxFlowAttribute", readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinConstPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMinConstPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinConstPressureAttribute", + readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxConstPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMaxConstPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxConstPressureAttribute", + readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinCompPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinCompPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMinCompPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinCompPressureAttribute", + readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxCompPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxCompPressureAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMaxCompPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxCompPressureAttribute", + readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinConstSpeedAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMinConstSpeedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinConstSpeedAttribute", + readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxConstSpeedAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMaxConstSpeedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxConstSpeedAttribute", + readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstFlowCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinConstFlowAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMinConstFlowCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinConstFlowAttribute", + readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstFlowCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxConstFlowAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMaxConstFlowCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxConstFlowAttribute", + readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstTempCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinConstTempAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMinConstTempCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinConstTempAttribute", + readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstTempCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxConstTempAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlMaxConstTempCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxConstTempAttribute", + readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo); + Map readPumpConfigurationAndControlPumpStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readPumpStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlPumpStatusCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readPumpStatusAttribute", + readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo); + Map + readPumpConfigurationAndControlEffectiveOperationModeCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readEffectiveOperationModeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlEffectiveOperationModeCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readEffectiveOperationModeAttribute", + readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo); + Map + readPumpConfigurationAndControlEffectiveControlModeCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readEffectiveControlModeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlEffectiveControlModeCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readEffectiveControlModeAttribute", + readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo); + Map readPumpConfigurationAndControlCapacityCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlCapacityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readCapacityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlCapacityCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readCapacityAttribute", readPumpConfigurationAndControlCapacityAttributeInteractionInfo); + Map readPumpConfigurationAndControlSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readSpeedAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlSpeedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readSpeedAttribute", readPumpConfigurationAndControlSpeedAttributeInteractionInfo); + Map + readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readLifetimeEnergyConsumedAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readLifetimeEnergyConsumedAttribute", + readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo); + Map readPumpConfigurationAndControlOperationModeCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlOperationModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readOperationModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlOperationModeCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readOperationModeAttribute", + readPumpConfigurationAndControlOperationModeAttributeInteractionInfo); + Map readPumpConfigurationAndControlControlModeCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlControlModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readControlModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlControlModeCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readControlModeAttribute", + readPumpConfigurationAndControlControlModeAttributeInteractionInfo); + Map readPumpConfigurationAndControlAlarmMaskCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlAlarmMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readAlarmMaskAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlAlarmMaskCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readAlarmMaskAttribute", readPumpConfigurationAndControlAlarmMaskAttributeInteractionInfo); + Map readPumpConfigurationAndControlFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readPumpConfigurationAndControlFeatureMapCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readFeatureMapAttribute", + readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo); + Map readPumpConfigurationAndControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlClusterRevisionCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readClusterRevisionAttribute", + readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "pumpConfigurationAndControl", readPumpConfigurationAndControlInteractionInfo); + Map readRelativeHumidityMeasurementInteractionInfo = + new LinkedHashMap<>(); + Map readRelativeHumidityMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readRelativeHumidityMeasurementMeasuredValueCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", + readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo); + Map readRelativeHumidityMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readRelativeHumidityMeasurementMinMeasuredValueCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readRelativeHumidityMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readRelativeHumidityMeasurementMaxMeasuredValueCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readRelativeHumidityMeasurementToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readRelativeHumidityMeasurementToleranceCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readToleranceAttribute", readRelativeHumidityMeasurementToleranceAttributeInteractionInfo); + Map readRelativeHumidityMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readRelativeHumidityMeasurementClusterRevisionCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "relativeHumidityMeasurement", readRelativeHumidityMeasurementInteractionInfo); + Map readScenesInteractionInfo = new LinkedHashMap<>(); + Map readScenesSceneCountCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesSceneCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readSceneCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readScenesSceneCountCommandParams); + readScenesInteractionInfo.put( + "readSceneCountAttribute", readScenesSceneCountAttributeInteractionInfo); + Map readScenesCurrentSceneCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesCurrentSceneAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readCurrentSceneAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readScenesCurrentSceneCommandParams); + readScenesInteractionInfo.put( + "readCurrentSceneAttribute", readScenesCurrentSceneAttributeInteractionInfo); + Map readScenesCurrentGroupCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesCurrentGroupAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readCurrentGroupAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readScenesCurrentGroupCommandParams); + readScenesInteractionInfo.put( + "readCurrentGroupAttribute", readScenesCurrentGroupAttributeInteractionInfo); + Map readScenesSceneValidCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesSceneValidAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readSceneValidAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readScenesSceneValidCommandParams); + readScenesInteractionInfo.put( + "readSceneValidAttribute", readScenesSceneValidAttributeInteractionInfo); + Map readScenesNameSupportCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesNameSupportAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readNameSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readScenesNameSupportCommandParams); + readScenesInteractionInfo.put( + "readNameSupportAttribute", readScenesNameSupportAttributeInteractionInfo); + Map readScenesClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readScenesClusterRevisionCommandParams); + readScenesInteractionInfo.put( + "readClusterRevisionAttribute", readScenesClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("scenes", readScenesInteractionInfo); + Map readSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readSoftwareDiagnosticsThreadMetricsCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readThreadMetricsAttribute( + (ChipClusters.SoftwareDiagnosticsCluster.ThreadMetricsAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedThreadMetricsAttributeCallback(), + readSoftwareDiagnosticsThreadMetricsCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readThreadMetricsAttribute", readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo); + Map readSoftwareDiagnosticsCurrentHeapFreeCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readCurrentHeapFreeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsCurrentHeapFreeCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readCurrentHeapFreeAttribute", + readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo); + Map readSoftwareDiagnosticsCurrentHeapUsedCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readCurrentHeapUsedAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsCurrentHeapUsedCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readCurrentHeapUsedAttribute", + readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo); + Map readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readCurrentHeapHighWatermarkAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readCurrentHeapHighWatermarkAttribute", + readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo); + Map readSoftwareDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readSoftwareDiagnosticsClusterRevisionCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("softwareDiagnostics", readSoftwareDiagnosticsInteractionInfo); + Map readSwitchInteractionInfo = new LinkedHashMap<>(); + Map readSwitchNumberOfPositionsCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchNumberOfPositionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readNumberOfPositionsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readSwitchNumberOfPositionsCommandParams); + readSwitchInteractionInfo.put( + "readNumberOfPositionsAttribute", readSwitchNumberOfPositionsAttributeInteractionInfo); + Map readSwitchCurrentPositionCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchCurrentPositionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readCurrentPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readSwitchCurrentPositionCommandParams); + readSwitchInteractionInfo.put( + "readCurrentPositionAttribute", readSwitchCurrentPositionAttributeInteractionInfo); + Map readSwitchMultiPressMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchMultiPressMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readMultiPressMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readSwitchMultiPressMaxCommandParams); + readSwitchInteractionInfo.put( + "readMultiPressMaxAttribute", readSwitchMultiPressMaxAttributeInteractionInfo); + Map readSwitchFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readSwitchFeatureMapCommandParams); + readSwitchInteractionInfo.put( + "readFeatureMapAttribute", readSwitchFeatureMapAttributeInteractionInfo); + Map readSwitchClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readSwitchClusterRevisionCommandParams); + readSwitchInteractionInfo.put( + "readClusterRevisionAttribute", readSwitchClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("switch", readSwitchInteractionInfo); + Map readTvChannelInteractionInfo = new LinkedHashMap<>(); + Map readTvChannelTvChannelListCommandParams = + new LinkedHashMap(); + InteractionInfo readTvChannelTvChannelListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TvChannelCluster) cluster) + .readTvChannelListAttribute( + (ChipClusters.TvChannelCluster.TvChannelListAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedTvChannelListAttributeCallback(), + readTvChannelTvChannelListCommandParams); + readTvChannelInteractionInfo.put( + "readTvChannelListAttribute", readTvChannelTvChannelListAttributeInteractionInfo); + Map readTvChannelTvChannelLineupCommandParams = + new LinkedHashMap(); + InteractionInfo readTvChannelTvChannelLineupAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TvChannelCluster) cluster) + .readTvChannelLineupAttribute( + (ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readTvChannelTvChannelLineupCommandParams); + readTvChannelInteractionInfo.put( + "readTvChannelLineupAttribute", readTvChannelTvChannelLineupAttributeInteractionInfo); + Map readTvChannelCurrentTvChannelCommandParams = + new LinkedHashMap(); + InteractionInfo readTvChannelCurrentTvChannelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TvChannelCluster) cluster) + .readCurrentTvChannelAttribute( + (ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readTvChannelCurrentTvChannelCommandParams); + readTvChannelInteractionInfo.put( + "readCurrentTvChannelAttribute", readTvChannelCurrentTvChannelAttributeInteractionInfo); + Map readTvChannelClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readTvChannelClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TvChannelCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTvChannelClusterRevisionCommandParams); + readTvChannelInteractionInfo.put( + "readClusterRevisionAttribute", readTvChannelClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("tvChannel", readTvChannelInteractionInfo); + Map readTargetNavigatorInteractionInfo = new LinkedHashMap<>(); + Map readTargetNavigatorTargetNavigatorListCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorTargetNavigatorListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readTargetNavigatorListAttribute( + (ChipClusters.TargetNavigatorCluster.TargetNavigatorListAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedTargetNavigatorListAttributeCallback(), + readTargetNavigatorTargetNavigatorListCommandParams); + readTargetNavigatorInteractionInfo.put( + "readTargetNavigatorListAttribute", + readTargetNavigatorTargetNavigatorListAttributeInteractionInfo); + Map readTargetNavigatorClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTargetNavigatorClusterRevisionCommandParams); + readTargetNavigatorInteractionInfo.put( + "readClusterRevisionAttribute", readTargetNavigatorClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("targetNavigator", readTargetNavigatorInteractionInfo); + Map readTemperatureMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readTemperatureMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTemperatureMeasurementMeasuredValueCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", + readTemperatureMeasurementMeasuredValueAttributeInteractionInfo); + Map readTemperatureMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readMinMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTemperatureMeasurementMinMeasuredValueCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readTemperatureMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTemperatureMeasurementMaxMeasuredValueCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readTemperatureMeasurementToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTemperatureMeasurementToleranceCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readToleranceAttribute", readTemperatureMeasurementToleranceAttributeInteractionInfo); + Map readTemperatureMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTemperatureMeasurementClusterRevisionCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readTemperatureMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("temperatureMeasurement", readTemperatureMeasurementInteractionInfo); + Map readTestClusterInteractionInfo = new LinkedHashMap<>(); + Map readTestClusterBooleanCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readBooleanAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readTestClusterBooleanCommandParams); + readTestClusterInteractionInfo.put( + "readBooleanAttribute", readTestClusterBooleanAttributeInteractionInfo); + Map readTestClusterBitmap8CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterBitmap8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readBitmap8Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterBitmap8CommandParams); + readTestClusterInteractionInfo.put( + "readBitmap8Attribute", readTestClusterBitmap8AttributeInteractionInfo); + Map readTestClusterBitmap16CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterBitmap16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readBitmap16Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterBitmap16CommandParams); + readTestClusterInteractionInfo.put( + "readBitmap16Attribute", readTestClusterBitmap16AttributeInteractionInfo); + Map readTestClusterBitmap32CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterBitmap32AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readBitmap32Attribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterBitmap32CommandParams); + readTestClusterInteractionInfo.put( + "readBitmap32Attribute", readTestClusterBitmap32AttributeInteractionInfo); + Map readTestClusterBitmap64CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterBitmap64AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readBitmap64Attribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterBitmap64CommandParams); + readTestClusterInteractionInfo.put( + "readBitmap64Attribute", readTestClusterBitmap64AttributeInteractionInfo); + Map readTestClusterInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readInt8uAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterInt8uCommandParams); + readTestClusterInteractionInfo.put( + "readInt8uAttribute", readTestClusterInt8uAttributeInteractionInfo); + Map readTestClusterInt16uCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readInt16uAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterInt16uCommandParams); + readTestClusterInteractionInfo.put( + "readInt16uAttribute", readTestClusterInt16uAttributeInteractionInfo); + Map readTestClusterInt32uCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterInt32uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readInt32uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterInt32uCommandParams); + readTestClusterInteractionInfo.put( + "readInt32uAttribute", readTestClusterInt32uAttributeInteractionInfo); + Map readTestClusterInt64uCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterInt64uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readInt64uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterInt64uCommandParams); + readTestClusterInteractionInfo.put( + "readInt64uAttribute", readTestClusterInt64uAttributeInteractionInfo); + Map readTestClusterInt8sCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readInt8sAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterInt8sCommandParams); + readTestClusterInteractionInfo.put( + "readInt8sAttribute", readTestClusterInt8sAttributeInteractionInfo); + Map readTestClusterInt16sCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readInt16sAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterInt16sCommandParams); + readTestClusterInteractionInfo.put( + "readInt16sAttribute", readTestClusterInt16sAttributeInteractionInfo); + Map readTestClusterInt32sCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterInt32sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readInt32sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterInt32sCommandParams); + readTestClusterInteractionInfo.put( + "readInt32sAttribute", readTestClusterInt32sAttributeInteractionInfo); + Map readTestClusterInt64sCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterInt64sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readInt64sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterInt64sCommandParams); + readTestClusterInteractionInfo.put( + "readInt64sAttribute", readTestClusterInt64sAttributeInteractionInfo); + Map readTestClusterEnum8CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterEnum8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readEnum8Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterEnum8CommandParams); + readTestClusterInteractionInfo.put( + "readEnum8Attribute", readTestClusterEnum8AttributeInteractionInfo); + Map readTestClusterEnum16CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterEnum16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readEnum16Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterEnum16CommandParams); + readTestClusterInteractionInfo.put( + "readEnum16Attribute", readTestClusterEnum16AttributeInteractionInfo); + Map readTestClusterOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readOctetStringAttribute((ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readTestClusterOctetStringCommandParams); + readTestClusterInteractionInfo.put( + "readOctetStringAttribute", readTestClusterOctetStringAttributeInteractionInfo); + Map readTestClusterListInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterListInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readListInt8uAttribute( + (ChipClusters.TestClusterCluster.ListInt8uAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedListInt8uAttributeCallback(), + readTestClusterListInt8uCommandParams); + readTestClusterInteractionInfo.put( + "readListInt8uAttribute", readTestClusterListInt8uAttributeInteractionInfo); + Map readTestClusterListOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterListOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readListOctetStringAttribute( + (ChipClusters.TestClusterCluster.ListOctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedListOctetStringAttributeCallback(), + readTestClusterListOctetStringCommandParams); + readTestClusterInteractionInfo.put( + "readListOctetStringAttribute", readTestClusterListOctetStringAttributeInteractionInfo); + Map readTestClusterListStructOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterListStructOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readListStructOctetStringAttribute( + (ChipClusters.TestClusterCluster.ListStructOctetStringAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedListStructOctetStringAttributeCallback(), + readTestClusterListStructOctetStringCommandParams); + readTestClusterInteractionInfo.put( + "readListStructOctetStringAttribute", + readTestClusterListStructOctetStringAttributeInteractionInfo); + Map readTestClusterLongOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterLongOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readLongOctetStringAttribute( + (ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readTestClusterLongOctetStringCommandParams); + readTestClusterInteractionInfo.put( + "readLongOctetStringAttribute", readTestClusterLongOctetStringAttributeInteractionInfo); + Map readTestClusterCharStringCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readCharStringAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readTestClusterCharStringCommandParams); + readTestClusterInteractionInfo.put( + "readCharStringAttribute", readTestClusterCharStringAttributeInteractionInfo); + Map readTestClusterLongCharStringCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterLongCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readLongCharStringAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readTestClusterLongCharStringCommandParams); + readTestClusterInteractionInfo.put( + "readLongCharStringAttribute", readTestClusterLongCharStringAttributeInteractionInfo); + Map readTestClusterEpochUsCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterEpochUsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readEpochUsAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterEpochUsCommandParams); + readTestClusterInteractionInfo.put( + "readEpochUsAttribute", readTestClusterEpochUsAttributeInteractionInfo); + Map readTestClusterEpochSCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterEpochSAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readEpochSAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterEpochSCommandParams); + readTestClusterInteractionInfo.put( + "readEpochSAttribute", readTestClusterEpochSAttributeInteractionInfo); + Map readTestClusterVendorIdCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterVendorIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterVendorIdCommandParams); + readTestClusterInteractionInfo.put( + "readVendorIdAttribute", readTestClusterVendorIdAttributeInteractionInfo); + Map readTestClusterListNullablesAndOptionalsStructCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterListNullablesAndOptionalsStructAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readListNullablesAndOptionalsStructAttribute( + (ChipClusters.TestClusterCluster + .ListNullablesAndOptionalsStructAttributeCallback) + callback); + }, + () -> + clusterInfoMapping.new DelegatedListNullablesAndOptionalsStructAttributeCallback(), + readTestClusterListNullablesAndOptionalsStructCommandParams); + readTestClusterInteractionInfo.put( + "readListNullablesAndOptionalsStructAttribute", + readTestClusterListNullablesAndOptionalsStructAttributeInteractionInfo); + Map readTestClusterUnsupportedCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterUnsupportedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readUnsupportedAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readTestClusterUnsupportedCommandParams); + readTestClusterInteractionInfo.put( + "readUnsupportedAttribute", readTestClusterUnsupportedAttributeInteractionInfo); + Map readTestClusterNullableBooleanCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableBooleanAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedBooleanAttributeCallback(), + readTestClusterNullableBooleanCommandParams); + readTestClusterInteractionInfo.put( + "readNullableBooleanAttribute", readTestClusterNullableBooleanAttributeInteractionInfo); + Map readTestClusterNullableBitmap8CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableBitmap8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableBitmap8Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterNullableBitmap8CommandParams); + readTestClusterInteractionInfo.put( + "readNullableBitmap8Attribute", readTestClusterNullableBitmap8AttributeInteractionInfo); + Map readTestClusterNullableBitmap16CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableBitmap16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableBitmap16Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterNullableBitmap16CommandParams); + readTestClusterInteractionInfo.put( + "readNullableBitmap16Attribute", readTestClusterNullableBitmap16AttributeInteractionInfo); + Map readTestClusterNullableBitmap32CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableBitmap32AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableBitmap32Attribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterNullableBitmap32CommandParams); + readTestClusterInteractionInfo.put( + "readNullableBitmap32Attribute", readTestClusterNullableBitmap32AttributeInteractionInfo); + Map readTestClusterNullableBitmap64CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableBitmap64AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableBitmap64Attribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterNullableBitmap64CommandParams); + readTestClusterInteractionInfo.put( + "readNullableBitmap64Attribute", readTestClusterNullableBitmap64AttributeInteractionInfo); + Map readTestClusterNullableInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableInt8uAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterNullableInt8uCommandParams); + readTestClusterInteractionInfo.put( + "readNullableInt8uAttribute", readTestClusterNullableInt8uAttributeInteractionInfo); + Map readTestClusterNullableInt16uCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableInt16uAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterNullableInt16uCommandParams); + readTestClusterInteractionInfo.put( + "readNullableInt16uAttribute", readTestClusterNullableInt16uAttributeInteractionInfo); + Map readTestClusterNullableInt32uCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableInt32uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableInt32uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterNullableInt32uCommandParams); + readTestClusterInteractionInfo.put( + "readNullableInt32uAttribute", readTestClusterNullableInt32uAttributeInteractionInfo); + Map readTestClusterNullableInt64uCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableInt64uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableInt64uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterNullableInt64uCommandParams); + readTestClusterInteractionInfo.put( + "readNullableInt64uAttribute", readTestClusterNullableInt64uAttributeInteractionInfo); + Map readTestClusterNullableInt8sCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableInt8sAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterNullableInt8sCommandParams); + readTestClusterInteractionInfo.put( + "readNullableInt8sAttribute", readTestClusterNullableInt8sAttributeInteractionInfo); + Map readTestClusterNullableInt16sCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableInt16sAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterNullableInt16sCommandParams); + readTestClusterInteractionInfo.put( + "readNullableInt16sAttribute", readTestClusterNullableInt16sAttributeInteractionInfo); + Map readTestClusterNullableInt32sCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableInt32sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableInt32sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterNullableInt32sCommandParams); + readTestClusterInteractionInfo.put( + "readNullableInt32sAttribute", readTestClusterNullableInt32sAttributeInteractionInfo); + Map readTestClusterNullableInt64sCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableInt64sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableInt64sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readTestClusterNullableInt64sCommandParams); + readTestClusterInteractionInfo.put( + "readNullableInt64sAttribute", readTestClusterNullableInt64sAttributeInteractionInfo); + Map readTestClusterNullableEnum8CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableEnum8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableEnum8Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterNullableEnum8CommandParams); + readTestClusterInteractionInfo.put( + "readNullableEnum8Attribute", readTestClusterNullableEnum8AttributeInteractionInfo); + Map readTestClusterNullableEnum16CommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableEnum16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableEnum16Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterNullableEnum16CommandParams); + readTestClusterInteractionInfo.put( + "readNullableEnum16Attribute", readTestClusterNullableEnum16AttributeInteractionInfo); + Map readTestClusterNullableOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableOctetStringAttribute( + (ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readTestClusterNullableOctetStringCommandParams); + readTestClusterInteractionInfo.put( + "readNullableOctetStringAttribute", + readTestClusterNullableOctetStringAttributeInteractionInfo); + Map readTestClusterNullableCharStringCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterNullableCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readNullableCharStringAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readTestClusterNullableCharStringCommandParams); + readTestClusterInteractionInfo.put( + "readNullableCharStringAttribute", + readTestClusterNullableCharStringAttributeInteractionInfo); + Map readTestClusterClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readTestClusterClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readTestClusterClusterRevisionCommandParams); + readTestClusterInteractionInfo.put( + "readClusterRevisionAttribute", readTestClusterClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("testCluster", readTestClusterInteractionInfo); + Map readThermostatInteractionInfo = new LinkedHashMap<>(); + Map readThermostatLocalTemperatureCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatLocalTemperatureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readLocalTemperatureAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatLocalTemperatureCommandParams); + readThermostatInteractionInfo.put( + "readLocalTemperatureAttribute", readThermostatLocalTemperatureAttributeInteractionInfo); + Map readThermostatAbsMinHeatSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAbsMinHeatSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatAbsMinHeatSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readAbsMinHeatSetpointLimitAttribute", + readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatAbsMaxHeatSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAbsMaxHeatSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatAbsMaxHeatSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readAbsMaxHeatSetpointLimitAttribute", + readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatAbsMinCoolSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAbsMinCoolSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatAbsMinCoolSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readAbsMinCoolSetpointLimitAttribute", + readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatAbsMaxCoolSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAbsMaxCoolSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatAbsMaxCoolSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readAbsMaxCoolSetpointLimitAttribute", + readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatOccupiedCoolingSetpointCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatOccupiedCoolingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readOccupiedCoolingSetpointAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatOccupiedCoolingSetpointCommandParams); + readThermostatInteractionInfo.put( + "readOccupiedCoolingSetpointAttribute", + readThermostatOccupiedCoolingSetpointAttributeInteractionInfo); + Map readThermostatOccupiedHeatingSetpointCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatOccupiedHeatingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readOccupiedHeatingSetpointAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatOccupiedHeatingSetpointCommandParams); + readThermostatInteractionInfo.put( + "readOccupiedHeatingSetpointAttribute", + readThermostatOccupiedHeatingSetpointAttributeInteractionInfo); + Map readThermostatMinHeatSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMinHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMinHeatSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatMinHeatSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readMinHeatSetpointLimitAttribute", + readThermostatMinHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatMaxHeatSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMaxHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMaxHeatSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatMaxHeatSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readMaxHeatSetpointLimitAttribute", + readThermostatMaxHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatMinCoolSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMinCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMinCoolSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatMinCoolSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readMinCoolSetpointLimitAttribute", + readThermostatMinCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatMaxCoolSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMaxCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMaxCoolSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatMaxCoolSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readMaxCoolSetpointLimitAttribute", + readThermostatMaxCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatMinSetpointDeadBandCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMinSetpointDeadBandAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMinSetpointDeadBandAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatMinSetpointDeadBandCommandParams); + readThermostatInteractionInfo.put( + "readMinSetpointDeadBandAttribute", + readThermostatMinSetpointDeadBandAttributeInteractionInfo); + Map readThermostatControlSequenceOfOperationCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatControlSequenceOfOperationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readControlSequenceOfOperationAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatControlSequenceOfOperationCommandParams); + readThermostatInteractionInfo.put( + "readControlSequenceOfOperationAttribute", + readThermostatControlSequenceOfOperationAttributeInteractionInfo); + Map readThermostatSystemModeCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatSystemModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readSystemModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatSystemModeCommandParams); + readThermostatInteractionInfo.put( + "readSystemModeAttribute", readThermostatSystemModeAttributeInteractionInfo); + Map readThermostatStartOfWeekCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatStartOfWeekAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readStartOfWeekAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatStartOfWeekCommandParams); + readThermostatInteractionInfo.put( + "readStartOfWeekAttribute", readThermostatStartOfWeekAttributeInteractionInfo); + Map readThermostatNumberOfWeeklyTransitionsCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readNumberOfWeeklyTransitionsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatNumberOfWeeklyTransitionsCommandParams); + readThermostatInteractionInfo.put( + "readNumberOfWeeklyTransitionsAttribute", + readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo); + Map readThermostatNumberOfDailyTransitionsCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatNumberOfDailyTransitionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readNumberOfDailyTransitionsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatNumberOfDailyTransitionsCommandParams); + readThermostatInteractionInfo.put( + "readNumberOfDailyTransitionsAttribute", + readThermostatNumberOfDailyTransitionsAttributeInteractionInfo); + Map readThermostatFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThermostatFeatureMapCommandParams); + readThermostatInteractionInfo.put( + "readFeatureMapAttribute", readThermostatFeatureMapAttributeInteractionInfo); + Map readThermostatClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatClusterRevisionCommandParams); + readThermostatInteractionInfo.put( + "readClusterRevisionAttribute", readThermostatClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("thermostat", readThermostatInteractionInfo); + Map readThermostatUserInterfaceConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map + readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = + new LinkedHashMap(); + InteractionInfo + readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readTemperatureDisplayModeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readTemperatureDisplayModeAttribute", + readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readKeypadLockoutAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readKeypadLockoutAttribute", + readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = + new LinkedHashMap(); + InteractionInfo + readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readScheduleProgrammingVisibilityAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readScheduleProgrammingVisibilityAttribute", + readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo + readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readClusterRevisionAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationClusterRevisionCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readClusterRevisionAttribute", + readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "thermostatUserInterfaceConfiguration", + readThermostatUserInterfaceConfigurationInteractionInfo); + Map readThreadNetworkDiagnosticsInteractionInfo = + new LinkedHashMap<>(); + Map readThreadNetworkDiagnosticsChannelCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsChannelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readChannelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsChannelCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readChannelAttribute", readThreadNetworkDiagnosticsChannelAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRoutingRoleCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRoutingRoleAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsRoutingRoleCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRoutingRoleAttribute", + readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsNetworkNameCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readNetworkNameAttribute((ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readThreadNetworkDiagnosticsNetworkNameCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readNetworkNameAttribute", + readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPanIdCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readPanIdAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsPanIdCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readPanIdAttribute", readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsExtendedPanIdCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readExtendedPanIdAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsExtendedPanIdCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readExtendedPanIdAttribute", + readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readMeshLocalPrefixAttribute( + (ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readMeshLocalPrefixAttribute", + readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsOverrunCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsOverrunCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readOverrunCountAttribute", + readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsNeighborTableListCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsNeighborTableListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readNeighborTableListAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .NeighborTableListAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedNeighborTableListAttributeCallback(), + readThreadNetworkDiagnosticsNeighborTableListCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readNeighborTableListAttribute", + readThreadNetworkDiagnosticsNeighborTableListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRouteTableListCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRouteTableListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRouteTableListAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableListAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedRouteTableListAttributeCallback(), + readThreadNetworkDiagnosticsRouteTableListCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRouteTableListAttribute", + readThreadNetworkDiagnosticsRouteTableListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPartitionIdCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readPartitionIdAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsPartitionIdCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readPartitionIdAttribute", + readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsWeightingCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readWeightingAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsWeightingCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readWeightingAttribute", readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsDataVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readDataVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsDataVersionCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readDataVersionAttribute", + readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsStableDataVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readStableDataVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsStableDataVersionCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readStableDataVersionAttribute", + readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsLeaderRouterIdCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readLeaderRouterIdAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsLeaderRouterIdCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readLeaderRouterIdAttribute", + readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsDetachedRoleCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readDetachedRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsDetachedRoleCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readDetachedRoleCountAttribute", + readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsChildRoleCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readChildRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsChildRoleCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readChildRoleCountAttribute", + readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRouterRoleCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRouterRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsRouterRoleCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRouterRoleCountAttribute", + readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsLeaderRoleCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readLeaderRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsLeaderRoleCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readLeaderRoleCountAttribute", + readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsAttachAttemptCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readAttachAttemptCountAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsAttachAttemptCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readAttachAttemptCountAttribute", + readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readPartitionIdChangeCountAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readPartitionIdChangeCountAttribute", + readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams = + new LinkedHashMap(); + InteractionInfo + readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readBetterPartitionAttachAttemptCountAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readBetterPartitionAttachAttemptCountAttribute", + readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsParentChangeCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readParentChangeCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsParentChangeCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readParentChangeCountAttribute", + readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxTotalCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxTotalCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxTotalCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxTotalCountAttribute", + readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxUnicastCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxUnicastCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxUnicastCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxUnicastCountAttribute", + readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxBroadcastCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxBroadcastCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxBroadcastCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxBroadcastCountAttribute", + readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxAckRequestedCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxAckRequestedCountAttribute", + readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxAckedCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxAckedCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxAckedCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxAckedCountAttribute", + readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxNoAckRequestedCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxNoAckRequestedCountAttribute", + readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxDataCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxDataCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxDataCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxDataCountAttribute", + readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxDataPollCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxDataPollCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxDataPollCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxDataPollCountAttribute", + readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxBeaconCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxBeaconCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxBeaconCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxBeaconCountAttribute", + readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxBeaconRequestCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxBeaconRequestCountAttribute", + readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxOtherCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxOtherCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxOtherCountAttribute", + readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxRetryCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxRetryCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxRetryCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxRetryCountAttribute", + readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams = + new LinkedHashMap(); + InteractionInfo + readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxDirectMaxRetryExpiryCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxDirectMaxRetryExpiryCountAttribute", + readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams = + new LinkedHashMap(); + InteractionInfo + readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxIndirectMaxRetryExpiryCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxIndirectMaxRetryExpiryCountAttribute", + readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxErrCcaCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxErrCcaCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxErrCcaCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxErrCcaCountAttribute", + readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxErrAbortCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxErrAbortCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxErrAbortCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxErrAbortCountAttribute", + readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxErrBusyChannelCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxErrBusyChannelCountAttribute", + readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxTotalCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxTotalCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxTotalCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxTotalCountAttribute", + readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxUnicastCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxUnicastCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxUnicastCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxUnicastCountAttribute", + readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxBroadcastCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxBroadcastCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxBroadcastCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxBroadcastCountAttribute", + readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDataCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxDataCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDataCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxDataCountAttribute", + readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDataPollCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxDataPollCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDataPollCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxDataPollCountAttribute", + readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxBeaconCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxBeaconCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxBeaconCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxBeaconCountAttribute", + readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxBeaconRequestCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxBeaconRequestCountAttribute", + readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxOtherCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxOtherCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxOtherCountAttribute", + readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxAddressFilteredCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxAddressFilteredCountAttribute", + readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxDestAddrFilteredCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxDestAddrFilteredCountAttribute", + readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxDuplicatedCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxDuplicatedCountAttribute", + readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrNoFrameCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrNoFrameCountAttribute", + readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrUnknownNeighborCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrUnknownNeighborCountAttribute", + readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrInvalidSrcAddrCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrInvalidSrcAddrCountAttribute", + readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrSecCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrSecCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrSecCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrSecCountAttribute", + readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrFcsCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrFcsCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrFcsCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrFcsCountAttribute", + readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrOtherCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrOtherCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrOtherCountAttribute", + readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsActiveTimestampCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readActiveTimestampAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsActiveTimestampCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readActiveTimestampAttribute", + readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPendingTimestampCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readPendingTimestampAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsPendingTimestampCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readPendingTimestampAttribute", + readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsDelayCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readDelayAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsDelayCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readDelayAttribute", readThreadNetworkDiagnosticsDelayAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsSecurityPolicyCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsSecurityPolicyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readSecurityPolicyAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.SecurityPolicyAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedSecurityPolicyAttributeCallback(), + readThreadNetworkDiagnosticsSecurityPolicyCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readSecurityPolicyAttribute", + readThreadNetworkDiagnosticsSecurityPolicyAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsChannelMaskCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsChannelMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readChannelMaskAttribute((ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readThreadNetworkDiagnosticsChannelMaskCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readChannelMaskAttribute", + readThreadNetworkDiagnosticsChannelMaskAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsOperationalDatasetComponentsCommandParams = + new LinkedHashMap(); + InteractionInfo + readThreadNetworkDiagnosticsOperationalDatasetComponentsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readOperationalDatasetComponentsAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .OperationalDatasetComponentsAttributeCallback) + callback); + }, + () -> + clusterInfoMapping.new DelegatedOperationalDatasetComponentsAttributeCallback(), + readThreadNetworkDiagnosticsOperationalDatasetComponentsCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readOperationalDatasetComponentsAttribute", + readThreadNetworkDiagnosticsOperationalDatasetComponentsAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readActiveNetworkFaultsListAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .ActiveNetworkFaultsListAttributeCallback) + callback); + }, + () -> clusterInfoMapping.new DelegatedActiveNetworkFaultsListAttributeCallback(), + readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readActiveNetworkFaultsListAttribute", + readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsClusterRevisionCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("threadNetworkDiagnostics", readThreadNetworkDiagnosticsInteractionInfo); + Map readWakeOnLanInteractionInfo = new LinkedHashMap<>(); + Map readWakeOnLanWakeOnLanMacAddressCommandParams = + new LinkedHashMap(); + InteractionInfo readWakeOnLanWakeOnLanMacAddressAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster) + .readWakeOnLanMacAddressAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedCharStringAttributeCallback(), + readWakeOnLanWakeOnLanMacAddressCommandParams); + readWakeOnLanInteractionInfo.put( + "readWakeOnLanMacAddressAttribute", + readWakeOnLanWakeOnLanMacAddressAttributeInteractionInfo); + Map readWakeOnLanClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readWakeOnLanClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWakeOnLanClusterRevisionCommandParams); + readWakeOnLanInteractionInfo.put( + "readClusterRevisionAttribute", readWakeOnLanClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("wakeOnLan", readWakeOnLanInteractionInfo); + Map readWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readWiFiNetworkDiagnosticsBssidCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readBssidAttribute((ChipClusters.OctetStringAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedOctetStringAttributeCallback(), + readWiFiNetworkDiagnosticsBssidCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readBssidAttribute", readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsSecurityTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readSecurityTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWiFiNetworkDiagnosticsSecurityTypeCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readSecurityTypeAttribute", + readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsWiFiVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readWiFiVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWiFiNetworkDiagnosticsWiFiVersionCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readWiFiVersionAttribute", readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsChannelNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readChannelNumberAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWiFiNetworkDiagnosticsChannelNumberCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readChannelNumberAttribute", + readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsRssiCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readRssiAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWiFiNetworkDiagnosticsRssiCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readRssiAttribute", readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsBeaconLostCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readBeaconLostCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsBeaconLostCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readBeaconLostCountAttribute", + readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsBeaconRxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readBeaconRxCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsBeaconRxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readBeaconRxCountAttribute", + readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo); + Map + readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readPacketMulticastRxCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readPacketMulticastRxCountAttribute", + readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo); + Map + readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readPacketMulticastTxCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readPacketMulticastTxCountAttribute", + readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readPacketUnicastRxCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readPacketUnicastRxCountAttribute", + readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readPacketUnicastTxCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readPacketUnicastTxCountAttribute", + readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readCurrentMaxRateAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readCurrentMaxRateAttribute", + readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsOverrunCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsOverrunCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readOverrunCountAttribute", + readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWiFiNetworkDiagnosticsClusterRevisionCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("wiFiNetworkDiagnostics", readWiFiNetworkDiagnosticsInteractionInfo); + Map readWindowCoveringInteractionInfo = new LinkedHashMap<>(); + Map readWindowCoveringTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringTypeCommandParams); + readWindowCoveringInteractionInfo.put( + "readTypeAttribute", readWindowCoveringTypeAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionLiftCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionLiftAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionLiftAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringCurrentPositionLiftCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionLiftAttribute", + readWindowCoveringCurrentPositionLiftAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionTiltCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionTiltAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionTiltAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringCurrentPositionTiltCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionTiltAttribute", + readWindowCoveringCurrentPositionTiltAttributeInteractionInfo); + Map readWindowCoveringConfigStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringConfigStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readConfigStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringConfigStatusCommandParams); + readWindowCoveringInteractionInfo.put( + "readConfigStatusAttribute", readWindowCoveringConfigStatusAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionLiftPercentageCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionLiftPercentageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringCurrentPositionLiftPercentageCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionLiftPercentageAttribute", + readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionTiltPercentageCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionTiltPercentageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringCurrentPositionTiltPercentageCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionTiltPercentageAttribute", + readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo); + Map readWindowCoveringOperationalStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringOperationalStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readOperationalStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringOperationalStatusCommandParams); + readWindowCoveringInteractionInfo.put( + "readOperationalStatusAttribute", + readWindowCoveringOperationalStatusAttributeInteractionInfo); + Map + readWindowCoveringTargetPositionLiftPercent100thsCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readTargetPositionLiftPercent100thsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringTargetPositionLiftPercent100thsCommandParams); + readWindowCoveringInteractionInfo.put( + "readTargetPositionLiftPercent100thsAttribute", + readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo); + Map + readWindowCoveringTargetPositionTiltPercent100thsCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readTargetPositionTiltPercent100thsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringTargetPositionTiltPercent100thsCommandParams); + readWindowCoveringInteractionInfo.put( + "readTargetPositionTiltPercent100thsAttribute", + readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo); + Map readWindowCoveringEndProductTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringEndProductTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readEndProductTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringEndProductTypeCommandParams); + readWindowCoveringInteractionInfo.put( + "readEndProductTypeAttribute", readWindowCoveringEndProductTypeAttributeInteractionInfo); + Map + readWindowCoveringCurrentPositionLiftPercent100thsCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionLiftPercent100thsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringCurrentPositionLiftPercent100thsCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionLiftPercent100thsAttribute", + readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo); + Map + readWindowCoveringCurrentPositionTiltPercent100thsCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionTiltPercent100thsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringCurrentPositionTiltPercent100thsCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionTiltPercent100thsAttribute", + readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo); + Map readWindowCoveringInstalledOpenLimitLiftCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readInstalledOpenLimitLiftAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledOpenLimitLiftCommandParams); + readWindowCoveringInteractionInfo.put( + "readInstalledOpenLimitLiftAttribute", + readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo); + Map readWindowCoveringInstalledClosedLimitLiftCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readInstalledClosedLimitLiftAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledClosedLimitLiftCommandParams); + readWindowCoveringInteractionInfo.put( + "readInstalledClosedLimitLiftAttribute", + readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo); + Map readWindowCoveringInstalledOpenLimitTiltCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readInstalledOpenLimitTiltAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledOpenLimitTiltCommandParams); + readWindowCoveringInteractionInfo.put( + "readInstalledOpenLimitTiltAttribute", + readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo); + Map readWindowCoveringInstalledClosedLimitTiltCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readInstalledClosedLimitTiltAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledClosedLimitTiltCommandParams); + readWindowCoveringInteractionInfo.put( + "readInstalledClosedLimitTiltAttribute", + readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo); + Map readWindowCoveringModeCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringModeCommandParams); + readWindowCoveringInteractionInfo.put( + "readModeAttribute", readWindowCoveringModeAttributeInteractionInfo); + Map readWindowCoveringSafetyStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringSafetyStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readSafetyStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringSafetyStatusCommandParams); + readWindowCoveringInteractionInfo.put( + "readSafetyStatusAttribute", readWindowCoveringSafetyStatusAttributeInteractionInfo); + Map readWindowCoveringFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedLongAttributeCallback(), + readWindowCoveringFeatureMapCommandParams); + readWindowCoveringInteractionInfo.put( + "readFeatureMapAttribute", readWindowCoveringFeatureMapAttributeInteractionInfo); + Map readWindowCoveringClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> clusterInfoMapping.new DelegatedIntegerAttributeCallback(), + readWindowCoveringClusterRevisionCommandParams); + readWindowCoveringInteractionInfo.put( + "readClusterRevisionAttribute", readWindowCoveringClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("windowCovering", readWindowCoveringInteractionInfo); + return readAttributeMap; + } +} diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterWriteMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterWriteMapping.java new file mode 100644 index 00000000000000..b11df888f11365 --- /dev/null +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterWriteMapping.java @@ -0,0 +1,1685 @@ +/* + * + * Copyright (c) 2021 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS GENERATED BY ZAP + +package chip.devicecontroller; + +import chip.clusterinfo.CommandParameterInfo; +import chip.clusterinfo.InteractionInfo; +import chip.devicecontroller.ChipClusters.DefaultClusterCallback; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; + +public class ClusterWriteMapping { + public Map> getWriteAttributeMap() { + ClusterInfoMapping clusterInfoMapping = new ClusterInfoMapping(); + Map> writeAttributeMap = new HashMap<>(); + Map writeAccountLoginInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("accountLogin", writeAccountLoginInteractionInfo); + Map writeAdministratorCommissioningInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put( + "administratorCommissioning", writeAdministratorCommissioningInteractionInfo); + Map writeApplicationBasicInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("applicationBasic", writeApplicationBasicInteractionInfo); + Map writeApplicationLauncherInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("applicationLauncher", writeApplicationLauncherInteractionInfo); + Map writeAudioOutputInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("audioOutput", writeAudioOutputInteractionInfo); + Map writeBarrierControlInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("barrierControl", writeBarrierControlInteractionInfo); + Map writeBasicInteractionInfo = new LinkedHashMap<>(); + Map writeBasicUserLabelCommandParams = + new LinkedHashMap(); + CommandParameterInfo basicuserLabelCommandParameterInfo = + new CommandParameterInfo("value", String.class); + writeBasicUserLabelCommandParams.put("value", basicuserLabelCommandParameterInfo); + InteractionInfo writeBasicUserLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .writeUserLabelAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeBasicUserLabelCommandParams); + writeBasicInteractionInfo.put( + "writeUserLabelAttribute", writeBasicUserLabelAttributeInteractionInfo); + Map writeBasicLocationCommandParams = + new LinkedHashMap(); + CommandParameterInfo basiclocationCommandParameterInfo = + new CommandParameterInfo("value", String.class); + writeBasicLocationCommandParams.put("value", basiclocationCommandParameterInfo); + InteractionInfo writeBasicLocationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .writeLocationAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeBasicLocationCommandParams); + writeBasicInteractionInfo.put( + "writeLocationAttribute", writeBasicLocationAttributeInteractionInfo); + Map writeBasicLocalConfigDisabledCommandParams = + new LinkedHashMap(); + CommandParameterInfo basiclocalConfigDisabledCommandParameterInfo = + new CommandParameterInfo("value", boolean.class); + writeBasicLocalConfigDisabledCommandParams.put( + "value", basiclocalConfigDisabledCommandParameterInfo); + InteractionInfo writeBasicLocalConfigDisabledAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicCluster) cluster) + .writeLocalConfigDisabledAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeBasicLocalConfigDisabledCommandParams); + writeBasicInteractionInfo.put( + "writeLocalConfigDisabledAttribute", writeBasicLocalConfigDisabledAttributeInteractionInfo); + writeAttributeMap.put("basic", writeBasicInteractionInfo); + Map writeBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); + Map writeBinaryInputBasicOutOfServiceCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicoutOfServiceCommandParameterInfo = + new CommandParameterInfo("value", boolean.class); + writeBinaryInputBasicOutOfServiceCommandParams.put( + "value", binaryInputBasicoutOfServiceCommandParameterInfo); + InteractionInfo writeBinaryInputBasicOutOfServiceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeOutOfServiceAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeBinaryInputBasicOutOfServiceCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeOutOfServiceAttribute", writeBinaryInputBasicOutOfServiceAttributeInteractionInfo); + Map writeBinaryInputBasicPresentValueCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicpresentValueCommandParameterInfo = + new CommandParameterInfo("value", boolean.class); + writeBinaryInputBasicPresentValueCommandParams.put( + "value", binaryInputBasicpresentValueCommandParameterInfo); + InteractionInfo writeBinaryInputBasicPresentValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writePresentValueAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeBinaryInputBasicPresentValueCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writePresentValueAttribute", writeBinaryInputBasicPresentValueAttributeInteractionInfo); + writeAttributeMap.put("binaryInputBasic", writeBinaryInputBasicInteractionInfo); + Map writeBindingInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("binding", writeBindingInteractionInfo); + Map writeBooleanStateInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("booleanState", writeBooleanStateInteractionInfo); + Map writeBridgedActionsInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("bridgedActions", writeBridgedActionsInteractionInfo); + Map writeBridgedDeviceBasicInteractionInfo = new LinkedHashMap<>(); + Map writeBridgedDeviceBasicUserLabelCommandParams = + new LinkedHashMap(); + CommandParameterInfo bridgedDeviceBasicuserLabelCommandParameterInfo = + new CommandParameterInfo("value", String.class); + writeBridgedDeviceBasicUserLabelCommandParams.put( + "value", bridgedDeviceBasicuserLabelCommandParameterInfo); + InteractionInfo writeBridgedDeviceBasicUserLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicCluster) cluster) + .writeUserLabelAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeBridgedDeviceBasicUserLabelCommandParams); + writeBridgedDeviceBasicInteractionInfo.put( + "writeUserLabelAttribute", writeBridgedDeviceBasicUserLabelAttributeInteractionInfo); + writeAttributeMap.put("bridgedDeviceBasic", writeBridgedDeviceBasicInteractionInfo); + Map writeColorControlInteractionInfo = new LinkedHashMap<>(); + Map writeColorControlColorControlOptionsCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorControlOptionsCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorControlOptionsCommandParams.put( + "value", colorControlcolorControlOptionsCommandParameterInfo); + InteractionInfo writeColorControlColorControlOptionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorControlOptionsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorControlOptionsCommandParams); + writeColorControlInteractionInfo.put( + "writeColorControlOptionsAttribute", + writeColorControlColorControlOptionsAttributeInteractionInfo); + Map writeColorControlWhitePointXCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlwhitePointXCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlWhitePointXCommandParams.put( + "value", colorControlwhitePointXCommandParameterInfo); + InteractionInfo writeColorControlWhitePointXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeWhitePointXAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlWhitePointXCommandParams); + writeColorControlInteractionInfo.put( + "writeWhitePointXAttribute", writeColorControlWhitePointXAttributeInteractionInfo); + Map writeColorControlWhitePointYCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlwhitePointYCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlWhitePointYCommandParams.put( + "value", colorControlwhitePointYCommandParameterInfo); + InteractionInfo writeColorControlWhitePointYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeWhitePointYAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlWhitePointYCommandParams); + writeColorControlInteractionInfo.put( + "writeWhitePointYAttribute", writeColorControlWhitePointYAttributeInteractionInfo); + Map writeColorControlColorPointRXCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorPointRXCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorPointRXCommandParams.put( + "value", colorControlcolorPointRXCommandParameterInfo); + InteractionInfo writeColorControlColorPointRXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointRXAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorPointRXCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointRXAttribute", writeColorControlColorPointRXAttributeInteractionInfo); + Map writeColorControlColorPointRYCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorPointRYCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorPointRYCommandParams.put( + "value", colorControlcolorPointRYCommandParameterInfo); + InteractionInfo writeColorControlColorPointRYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointRYAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorPointRYCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointRYAttribute", writeColorControlColorPointRYAttributeInteractionInfo); + Map writeColorControlColorPointRIntensityCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorPointRIntensityCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorPointRIntensityCommandParams.put( + "value", colorControlcolorPointRIntensityCommandParameterInfo); + InteractionInfo writeColorControlColorPointRIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointRIntensityAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorPointRIntensityCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointRIntensityAttribute", + writeColorControlColorPointRIntensityAttributeInteractionInfo); + Map writeColorControlColorPointGXCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorPointGXCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorPointGXCommandParams.put( + "value", colorControlcolorPointGXCommandParameterInfo); + InteractionInfo writeColorControlColorPointGXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointGXAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorPointGXCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointGXAttribute", writeColorControlColorPointGXAttributeInteractionInfo); + Map writeColorControlColorPointGYCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorPointGYCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorPointGYCommandParams.put( + "value", colorControlcolorPointGYCommandParameterInfo); + InteractionInfo writeColorControlColorPointGYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointGYAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorPointGYCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointGYAttribute", writeColorControlColorPointGYAttributeInteractionInfo); + Map writeColorControlColorPointGIntensityCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorPointGIntensityCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorPointGIntensityCommandParams.put( + "value", colorControlcolorPointGIntensityCommandParameterInfo); + InteractionInfo writeColorControlColorPointGIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointGIntensityAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorPointGIntensityCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointGIntensityAttribute", + writeColorControlColorPointGIntensityAttributeInteractionInfo); + Map writeColorControlColorPointBXCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorPointBXCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorPointBXCommandParams.put( + "value", colorControlcolorPointBXCommandParameterInfo); + InteractionInfo writeColorControlColorPointBXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointBXAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorPointBXCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointBXAttribute", writeColorControlColorPointBXAttributeInteractionInfo); + Map writeColorControlColorPointBYCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorPointBYCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorPointBYCommandParams.put( + "value", colorControlcolorPointBYCommandParameterInfo); + InteractionInfo writeColorControlColorPointBYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointBYAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorPointBYCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointBYAttribute", writeColorControlColorPointBYAttributeInteractionInfo); + Map writeColorControlColorPointBIntensityCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlcolorPointBIntensityCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlColorPointBIntensityCommandParams.put( + "value", colorControlcolorPointBIntensityCommandParameterInfo); + InteractionInfo writeColorControlColorPointBIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointBIntensityAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlColorPointBIntensityCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointBIntensityAttribute", + writeColorControlColorPointBIntensityAttributeInteractionInfo); + Map writeColorControlStartUpColorTemperatureMiredsCommandParams = + new LinkedHashMap(); + CommandParameterInfo colorControlstartUpColorTemperatureMiredsCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeColorControlStartUpColorTemperatureMiredsCommandParams.put( + "value", colorControlstartUpColorTemperatureMiredsCommandParameterInfo); + InteractionInfo writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeStartUpColorTemperatureMiredsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeColorControlStartUpColorTemperatureMiredsCommandParams); + writeColorControlInteractionInfo.put( + "writeStartUpColorTemperatureMiredsAttribute", + writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); + writeAttributeMap.put("colorControl", writeColorControlInteractionInfo); + Map writeContentLauncherInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("contentLauncher", writeContentLauncherInteractionInfo); + Map writeDescriptorInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("descriptor", writeDescriptorInteractionInfo); + Map writeDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("diagnosticLogs", writeDiagnosticLogsInteractionInfo); + Map writeDoorLockInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("doorLock", writeDoorLockInteractionInfo); + Map writeElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("electricalMeasurement", writeElectricalMeasurementInteractionInfo); + Map writeEthernetNetworkDiagnosticsInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put( + "ethernetNetworkDiagnostics", writeEthernetNetworkDiagnosticsInteractionInfo); + Map writeFixedLabelInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("fixedLabel", writeFixedLabelInteractionInfo); + Map writeFlowMeasurementInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("flowMeasurement", writeFlowMeasurementInteractionInfo); + Map writeGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); + Map writeGeneralCommissioningBreadcrumbCommandParams = + new LinkedHashMap(); + CommandParameterInfo generalCommissioningbreadcrumbCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeGeneralCommissioningBreadcrumbCommandParams.put( + "value", generalCommissioningbreadcrumbCommandParameterInfo); + InteractionInfo writeGeneralCommissioningBreadcrumbAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .writeBreadcrumbAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeGeneralCommissioningBreadcrumbCommandParams); + writeGeneralCommissioningInteractionInfo.put( + "writeBreadcrumbAttribute", writeGeneralCommissioningBreadcrumbAttributeInteractionInfo); + writeAttributeMap.put("generalCommissioning", writeGeneralCommissioningInteractionInfo); + Map writeGeneralDiagnosticsInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("generalDiagnostics", writeGeneralDiagnosticsInteractionInfo); + Map writeGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("groupKeyManagement", writeGroupKeyManagementInteractionInfo); + Map writeGroupsInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("groups", writeGroupsInteractionInfo); + Map writeIdentifyInteractionInfo = new LinkedHashMap<>(); + Map writeIdentifyIdentifyTimeCommandParams = + new LinkedHashMap(); + CommandParameterInfo identifyidentifyTimeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeIdentifyIdentifyTimeCommandParams.put("value", identifyidentifyTimeCommandParameterInfo); + InteractionInfo writeIdentifyIdentifyTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .writeIdentifyTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeIdentifyIdentifyTimeCommandParams); + writeIdentifyInteractionInfo.put( + "writeIdentifyTimeAttribute", writeIdentifyIdentifyTimeAttributeInteractionInfo); + writeAttributeMap.put("identify", writeIdentifyInteractionInfo); + Map writeIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("illuminanceMeasurement", writeIlluminanceMeasurementInteractionInfo); + Map writeKeypadInputInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("keypadInput", writeKeypadInputInteractionInfo); + Map writeLevelControlInteractionInfo = new LinkedHashMap<>(); + Map writeLevelControlOptionsCommandParams = + new LinkedHashMap(); + CommandParameterInfo levelControloptionsCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeLevelControlOptionsCommandParams.put("value", levelControloptionsCommandParameterInfo); + InteractionInfo writeLevelControlOptionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOptionsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeLevelControlOptionsCommandParams); + writeLevelControlInteractionInfo.put( + "writeOptionsAttribute", writeLevelControlOptionsAttributeInteractionInfo); + Map writeLevelControlOnOffTransitionTimeCommandParams = + new LinkedHashMap(); + CommandParameterInfo levelControlonOffTransitionTimeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeLevelControlOnOffTransitionTimeCommandParams.put( + "value", levelControlonOffTransitionTimeCommandParameterInfo); + InteractionInfo writeLevelControlOnOffTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOnOffTransitionTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeLevelControlOnOffTransitionTimeCommandParams); + writeLevelControlInteractionInfo.put( + "writeOnOffTransitionTimeAttribute", + writeLevelControlOnOffTransitionTimeAttributeInteractionInfo); + Map writeLevelControlOnLevelCommandParams = + new LinkedHashMap(); + CommandParameterInfo levelControlonLevelCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeLevelControlOnLevelCommandParams.put("value", levelControlonLevelCommandParameterInfo); + InteractionInfo writeLevelControlOnLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOnLevelAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeLevelControlOnLevelCommandParams); + writeLevelControlInteractionInfo.put( + "writeOnLevelAttribute", writeLevelControlOnLevelAttributeInteractionInfo); + Map writeLevelControlOnTransitionTimeCommandParams = + new LinkedHashMap(); + CommandParameterInfo levelControlonTransitionTimeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeLevelControlOnTransitionTimeCommandParams.put( + "value", levelControlonTransitionTimeCommandParameterInfo); + InteractionInfo writeLevelControlOnTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOnTransitionTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeLevelControlOnTransitionTimeCommandParams); + writeLevelControlInteractionInfo.put( + "writeOnTransitionTimeAttribute", + writeLevelControlOnTransitionTimeAttributeInteractionInfo); + Map writeLevelControlOffTransitionTimeCommandParams = + new LinkedHashMap(); + CommandParameterInfo levelControloffTransitionTimeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeLevelControlOffTransitionTimeCommandParams.put( + "value", levelControloffTransitionTimeCommandParameterInfo); + InteractionInfo writeLevelControlOffTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOffTransitionTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeLevelControlOffTransitionTimeCommandParams); + writeLevelControlInteractionInfo.put( + "writeOffTransitionTimeAttribute", + writeLevelControlOffTransitionTimeAttributeInteractionInfo); + Map writeLevelControlDefaultMoveRateCommandParams = + new LinkedHashMap(); + CommandParameterInfo levelControldefaultMoveRateCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeLevelControlDefaultMoveRateCommandParams.put( + "value", levelControldefaultMoveRateCommandParameterInfo); + InteractionInfo writeLevelControlDefaultMoveRateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeDefaultMoveRateAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeLevelControlDefaultMoveRateCommandParams); + writeLevelControlInteractionInfo.put( + "writeDefaultMoveRateAttribute", writeLevelControlDefaultMoveRateAttributeInteractionInfo); + Map writeLevelControlStartUpCurrentLevelCommandParams = + new LinkedHashMap(); + CommandParameterInfo levelControlstartUpCurrentLevelCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeLevelControlStartUpCurrentLevelCommandParams.put( + "value", levelControlstartUpCurrentLevelCommandParameterInfo); + InteractionInfo writeLevelControlStartUpCurrentLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeStartUpCurrentLevelAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeLevelControlStartUpCurrentLevelCommandParams); + writeLevelControlInteractionInfo.put( + "writeStartUpCurrentLevelAttribute", + writeLevelControlStartUpCurrentLevelAttributeInteractionInfo); + writeAttributeMap.put("levelControl", writeLevelControlInteractionInfo); + Map writeLowPowerInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("lowPower", writeLowPowerInteractionInfo); + Map writeMediaInputInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("mediaInput", writeMediaInputInteractionInfo); + Map writeMediaPlaybackInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("mediaPlayback", writeMediaPlaybackInteractionInfo); + Map writeModeSelectInteractionInfo = new LinkedHashMap<>(); + Map writeModeSelectOnModeCommandParams = + new LinkedHashMap(); + CommandParameterInfo modeSelectonModeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeModeSelectOnModeCommandParams.put("value", modeSelectonModeCommandParameterInfo); + InteractionInfo writeModeSelectOnModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .writeOnModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeModeSelectOnModeCommandParams); + writeModeSelectInteractionInfo.put( + "writeOnModeAttribute", writeModeSelectOnModeAttributeInteractionInfo); + writeAttributeMap.put("modeSelect", writeModeSelectInteractionInfo); + Map writeNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("networkCommissioning", writeNetworkCommissioningInteractionInfo); + Map writeOtaSoftwareUpdateProviderInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put( + "otaSoftwareUpdateProvider", writeOtaSoftwareUpdateProviderInteractionInfo); + Map writeOtaSoftwareUpdateRequestorInteractionInfo = + new LinkedHashMap<>(); + Map + writeOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams = + new LinkedHashMap(); + CommandParameterInfo otaSoftwareUpdateRequestordefaultOtaProviderCommandParameterInfo = + new CommandParameterInfo("value", byte[].class); + writeOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams.put( + "value", otaSoftwareUpdateRequestordefaultOtaProviderCommandParameterInfo); + InteractionInfo writeOtaSoftwareUpdateRequestorDefaultOtaProviderAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .writeDefaultOtaProviderAttribute( + (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeOtaSoftwareUpdateRequestorDefaultOtaProviderCommandParams); + writeOtaSoftwareUpdateRequestorInteractionInfo.put( + "writeDefaultOtaProviderAttribute", + writeOtaSoftwareUpdateRequestorDefaultOtaProviderAttributeInteractionInfo); + writeAttributeMap.put( + "otaSoftwareUpdateRequestor", writeOtaSoftwareUpdateRequestorInteractionInfo); + Map writeOccupancySensingInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("occupancySensing", writeOccupancySensingInteractionInfo); + Map writeOnOffInteractionInfo = new LinkedHashMap<>(); + Map writeOnOffOnTimeCommandParams = + new LinkedHashMap(); + CommandParameterInfo onOffonTimeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeOnOffOnTimeCommandParams.put("value", onOffonTimeCommandParameterInfo); + InteractionInfo writeOnOffOnTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .writeOnTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeOnOffOnTimeCommandParams); + writeOnOffInteractionInfo.put("writeOnTimeAttribute", writeOnOffOnTimeAttributeInteractionInfo); + Map writeOnOffOffWaitTimeCommandParams = + new LinkedHashMap(); + CommandParameterInfo onOffoffWaitTimeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeOnOffOffWaitTimeCommandParams.put("value", onOffoffWaitTimeCommandParameterInfo); + InteractionInfo writeOnOffOffWaitTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .writeOffWaitTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeOnOffOffWaitTimeCommandParams); + writeOnOffInteractionInfo.put( + "writeOffWaitTimeAttribute", writeOnOffOffWaitTimeAttributeInteractionInfo); + Map writeOnOffStartUpOnOffCommandParams = + new LinkedHashMap(); + CommandParameterInfo onOffstartUpOnOffCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeOnOffStartUpOnOffCommandParams.put("value", onOffstartUpOnOffCommandParameterInfo); + InteractionInfo writeOnOffStartUpOnOffAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .writeStartUpOnOffAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeOnOffStartUpOnOffCommandParams); + writeOnOffInteractionInfo.put( + "writeStartUpOnOffAttribute", writeOnOffStartUpOnOffAttributeInteractionInfo); + writeAttributeMap.put("onOff", writeOnOffInteractionInfo); + Map writeOnOffSwitchConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map writeOnOffSwitchConfigurationSwitchActionsCommandParams = + new LinkedHashMap(); + CommandParameterInfo onOffSwitchConfigurationswitchActionsCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeOnOffSwitchConfigurationSwitchActionsCommandParams.put( + "value", onOffSwitchConfigurationswitchActionsCommandParameterInfo); + InteractionInfo writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .writeSwitchActionsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeOnOffSwitchConfigurationSwitchActionsCommandParams); + writeOnOffSwitchConfigurationInteractionInfo.put( + "writeSwitchActionsAttribute", + writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); + writeAttributeMap.put("onOffSwitchConfiguration", writeOnOffSwitchConfigurationInteractionInfo); + Map writeOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("operationalCredentials", writeOperationalCredentialsInteractionInfo); + Map writePowerSourceInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("powerSource", writePowerSourceInteractionInfo); + Map writePressureMeasurementInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("pressureMeasurement", writePressureMeasurementInteractionInfo); + Map writePumpConfigurationAndControlInteractionInfo = + new LinkedHashMap<>(); + Map writePumpConfigurationAndControlOperationModeCommandParams = + new LinkedHashMap(); + CommandParameterInfo pumpConfigurationAndControloperationModeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writePumpConfigurationAndControlOperationModeCommandParams.put( + "value", pumpConfigurationAndControloperationModeCommandParameterInfo); + InteractionInfo writePumpConfigurationAndControlOperationModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .writeOperationModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writePumpConfigurationAndControlOperationModeCommandParams); + writePumpConfigurationAndControlInteractionInfo.put( + "writeOperationModeAttribute", + writePumpConfigurationAndControlOperationModeAttributeInteractionInfo); + Map writePumpConfigurationAndControlControlModeCommandParams = + new LinkedHashMap(); + CommandParameterInfo pumpConfigurationAndControlcontrolModeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writePumpConfigurationAndControlControlModeCommandParams.put( + "value", pumpConfigurationAndControlcontrolModeCommandParameterInfo); + InteractionInfo writePumpConfigurationAndControlControlModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .writeControlModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writePumpConfigurationAndControlControlModeCommandParams); + writePumpConfigurationAndControlInteractionInfo.put( + "writeControlModeAttribute", + writePumpConfigurationAndControlControlModeAttributeInteractionInfo); + writeAttributeMap.put( + "pumpConfigurationAndControl", writePumpConfigurationAndControlInteractionInfo); + Map writeRelativeHumidityMeasurementInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put( + "relativeHumidityMeasurement", writeRelativeHumidityMeasurementInteractionInfo); + Map writeScenesInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("scenes", writeScenesInteractionInfo); + Map writeSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("softwareDiagnostics", writeSoftwareDiagnosticsInteractionInfo); + Map writeSwitchInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("switch", writeSwitchInteractionInfo); + Map writeTvChannelInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("tvChannel", writeTvChannelInteractionInfo); + Map writeTargetNavigatorInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("targetNavigator", writeTargetNavigatorInteractionInfo); + Map writeTemperatureMeasurementInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("temperatureMeasurement", writeTemperatureMeasurementInteractionInfo); + Map writeTestClusterInteractionInfo = new LinkedHashMap<>(); + Map writeTestClusterBooleanCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterbooleanCommandParameterInfo = + new CommandParameterInfo("value", boolean.class); + writeTestClusterBooleanCommandParams.put("value", testClusterbooleanCommandParameterInfo); + InteractionInfo writeTestClusterBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeBooleanAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterBooleanCommandParams); + writeTestClusterInteractionInfo.put( + "writeBooleanAttribute", writeTestClusterBooleanAttributeInteractionInfo); + Map writeTestClusterBitmap8CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterbitmap8CommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterBitmap8CommandParams.put("value", testClusterbitmap8CommandParameterInfo); + InteractionInfo writeTestClusterBitmap8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeBitmap8Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterBitmap8CommandParams); + writeTestClusterInteractionInfo.put( + "writeBitmap8Attribute", writeTestClusterBitmap8AttributeInteractionInfo); + Map writeTestClusterBitmap16CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterbitmap16CommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterBitmap16CommandParams.put("value", testClusterbitmap16CommandParameterInfo); + InteractionInfo writeTestClusterBitmap16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeBitmap16Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterBitmap16CommandParams); + writeTestClusterInteractionInfo.put( + "writeBitmap16Attribute", writeTestClusterBitmap16AttributeInteractionInfo); + Map writeTestClusterBitmap32CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterbitmap32CommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterBitmap32CommandParams.put("value", testClusterbitmap32CommandParameterInfo); + InteractionInfo writeTestClusterBitmap32AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeBitmap32Attribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterBitmap32CommandParams); + writeTestClusterInteractionInfo.put( + "writeBitmap32Attribute", writeTestClusterBitmap32AttributeInteractionInfo); + Map writeTestClusterBitmap64CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterbitmap64CommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterBitmap64CommandParams.put("value", testClusterbitmap64CommandParameterInfo); + InteractionInfo writeTestClusterBitmap64AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeBitmap64Attribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterBitmap64CommandParams); + writeTestClusterInteractionInfo.put( + "writeBitmap64Attribute", writeTestClusterBitmap64AttributeInteractionInfo); + Map writeTestClusterInt8uCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterint8uCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterInt8uCommandParams.put("value", testClusterint8uCommandParameterInfo); + InteractionInfo writeTestClusterInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeInt8uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterInt8uCommandParams); + writeTestClusterInteractionInfo.put( + "writeInt8uAttribute", writeTestClusterInt8uAttributeInteractionInfo); + Map writeTestClusterInt16uCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterint16uCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterInt16uCommandParams.put("value", testClusterint16uCommandParameterInfo); + InteractionInfo writeTestClusterInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeInt16uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterInt16uCommandParams); + writeTestClusterInteractionInfo.put( + "writeInt16uAttribute", writeTestClusterInt16uAttributeInteractionInfo); + Map writeTestClusterInt32uCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterint32uCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterInt32uCommandParams.put("value", testClusterint32uCommandParameterInfo); + InteractionInfo writeTestClusterInt32uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeInt32uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterInt32uCommandParams); + writeTestClusterInteractionInfo.put( + "writeInt32uAttribute", writeTestClusterInt32uAttributeInteractionInfo); + Map writeTestClusterInt64uCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterint64uCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterInt64uCommandParams.put("value", testClusterint64uCommandParameterInfo); + InteractionInfo writeTestClusterInt64uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeInt64uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterInt64uCommandParams); + writeTestClusterInteractionInfo.put( + "writeInt64uAttribute", writeTestClusterInt64uAttributeInteractionInfo); + Map writeTestClusterInt8sCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterint8sCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterInt8sCommandParams.put("value", testClusterint8sCommandParameterInfo); + InteractionInfo writeTestClusterInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeInt8sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterInt8sCommandParams); + writeTestClusterInteractionInfo.put( + "writeInt8sAttribute", writeTestClusterInt8sAttributeInteractionInfo); + Map writeTestClusterInt16sCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterint16sCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterInt16sCommandParams.put("value", testClusterint16sCommandParameterInfo); + InteractionInfo writeTestClusterInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeInt16sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterInt16sCommandParams); + writeTestClusterInteractionInfo.put( + "writeInt16sAttribute", writeTestClusterInt16sAttributeInteractionInfo); + Map writeTestClusterInt32sCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterint32sCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterInt32sCommandParams.put("value", testClusterint32sCommandParameterInfo); + InteractionInfo writeTestClusterInt32sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeInt32sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterInt32sCommandParams); + writeTestClusterInteractionInfo.put( + "writeInt32sAttribute", writeTestClusterInt32sAttributeInteractionInfo); + Map writeTestClusterInt64sCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterint64sCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterInt64sCommandParams.put("value", testClusterint64sCommandParameterInfo); + InteractionInfo writeTestClusterInt64sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeInt64sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterInt64sCommandParams); + writeTestClusterInteractionInfo.put( + "writeInt64sAttribute", writeTestClusterInt64sAttributeInteractionInfo); + Map writeTestClusterEnum8CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterenum8CommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterEnum8CommandParams.put("value", testClusterenum8CommandParameterInfo); + InteractionInfo writeTestClusterEnum8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeEnum8Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterEnum8CommandParams); + writeTestClusterInteractionInfo.put( + "writeEnum8Attribute", writeTestClusterEnum8AttributeInteractionInfo); + Map writeTestClusterEnum16CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterenum16CommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterEnum16CommandParams.put("value", testClusterenum16CommandParameterInfo); + InteractionInfo writeTestClusterEnum16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeEnum16Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterEnum16CommandParams); + writeTestClusterInteractionInfo.put( + "writeEnum16Attribute", writeTestClusterEnum16AttributeInteractionInfo); + Map writeTestClusterOctetStringCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusteroctetStringCommandParameterInfo = + new CommandParameterInfo("value", byte[].class); + writeTestClusterOctetStringCommandParams.put( + "value", testClusteroctetStringCommandParameterInfo); + InteractionInfo writeTestClusterOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeOctetStringAttribute( + (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterOctetStringCommandParams); + writeTestClusterInteractionInfo.put( + "writeOctetStringAttribute", writeTestClusterOctetStringAttributeInteractionInfo); + Map writeTestClusterLongOctetStringCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterlongOctetStringCommandParameterInfo = + new CommandParameterInfo("value", byte[].class); + writeTestClusterLongOctetStringCommandParams.put( + "value", testClusterlongOctetStringCommandParameterInfo); + InteractionInfo writeTestClusterLongOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeLongOctetStringAttribute( + (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterLongOctetStringCommandParams); + writeTestClusterInteractionInfo.put( + "writeLongOctetStringAttribute", writeTestClusterLongOctetStringAttributeInteractionInfo); + Map writeTestClusterCharStringCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClustercharStringCommandParameterInfo = + new CommandParameterInfo("value", String.class); + writeTestClusterCharStringCommandParams.put("value", testClustercharStringCommandParameterInfo); + InteractionInfo writeTestClusterCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeCharStringAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterCharStringCommandParams); + writeTestClusterInteractionInfo.put( + "writeCharStringAttribute", writeTestClusterCharStringAttributeInteractionInfo); + Map writeTestClusterLongCharStringCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterlongCharStringCommandParameterInfo = + new CommandParameterInfo("value", String.class); + writeTestClusterLongCharStringCommandParams.put( + "value", testClusterlongCharStringCommandParameterInfo); + InteractionInfo writeTestClusterLongCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeLongCharStringAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterLongCharStringCommandParams); + writeTestClusterInteractionInfo.put( + "writeLongCharStringAttribute", writeTestClusterLongCharStringAttributeInteractionInfo); + Map writeTestClusterEpochUsCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterepochUsCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterEpochUsCommandParams.put("value", testClusterepochUsCommandParameterInfo); + InteractionInfo writeTestClusterEpochUsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeEpochUsAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterEpochUsCommandParams); + writeTestClusterInteractionInfo.put( + "writeEpochUsAttribute", writeTestClusterEpochUsAttributeInteractionInfo); + Map writeTestClusterEpochSCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterepochSCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterEpochSCommandParams.put("value", testClusterepochSCommandParameterInfo); + InteractionInfo writeTestClusterEpochSAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeEpochSAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterEpochSCommandParams); + writeTestClusterInteractionInfo.put( + "writeEpochSAttribute", writeTestClusterEpochSAttributeInteractionInfo); + Map writeTestClusterVendorIdCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClustervendorIdCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterVendorIdCommandParams.put("value", testClustervendorIdCommandParameterInfo); + InteractionInfo writeTestClusterVendorIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeVendorIdAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterVendorIdCommandParams); + writeTestClusterInteractionInfo.put( + "writeVendorIdAttribute", writeTestClusterVendorIdAttributeInteractionInfo); + Map writeTestClusterUnsupportedCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusterunsupportedCommandParameterInfo = + new CommandParameterInfo("value", boolean.class); + writeTestClusterUnsupportedCommandParams.put( + "value", testClusterunsupportedCommandParameterInfo); + InteractionInfo writeTestClusterUnsupportedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeUnsupportedAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterUnsupportedCommandParams); + writeTestClusterInteractionInfo.put( + "writeUnsupportedAttribute", writeTestClusterUnsupportedAttributeInteractionInfo); + Map writeTestClusterNullableBooleanCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableBooleanCommandParameterInfo = + new CommandParameterInfo("value", boolean.class); + writeTestClusterNullableBooleanCommandParams.put( + "value", testClusternullableBooleanCommandParameterInfo); + InteractionInfo writeTestClusterNullableBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableBooleanAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableBooleanCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableBooleanAttribute", writeTestClusterNullableBooleanAttributeInteractionInfo); + Map writeTestClusterNullableBitmap8CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableBitmap8CommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterNullableBitmap8CommandParams.put( + "value", testClusternullableBitmap8CommandParameterInfo); + InteractionInfo writeTestClusterNullableBitmap8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableBitmap8Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableBitmap8CommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableBitmap8Attribute", writeTestClusterNullableBitmap8AttributeInteractionInfo); + Map writeTestClusterNullableBitmap16CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableBitmap16CommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterNullableBitmap16CommandParams.put( + "value", testClusternullableBitmap16CommandParameterInfo); + InteractionInfo writeTestClusterNullableBitmap16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableBitmap16Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableBitmap16CommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableBitmap16Attribute", writeTestClusterNullableBitmap16AttributeInteractionInfo); + Map writeTestClusterNullableBitmap32CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableBitmap32CommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterNullableBitmap32CommandParams.put( + "value", testClusternullableBitmap32CommandParameterInfo); + InteractionInfo writeTestClusterNullableBitmap32AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableBitmap32Attribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableBitmap32CommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableBitmap32Attribute", writeTestClusterNullableBitmap32AttributeInteractionInfo); + Map writeTestClusterNullableBitmap64CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableBitmap64CommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterNullableBitmap64CommandParams.put( + "value", testClusternullableBitmap64CommandParameterInfo); + InteractionInfo writeTestClusterNullableBitmap64AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableBitmap64Attribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableBitmap64CommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableBitmap64Attribute", writeTestClusterNullableBitmap64AttributeInteractionInfo); + Map writeTestClusterNullableInt8uCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableInt8uCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterNullableInt8uCommandParams.put( + "value", testClusternullableInt8uCommandParameterInfo); + InteractionInfo writeTestClusterNullableInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableInt8uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableInt8uCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableInt8uAttribute", writeTestClusterNullableInt8uAttributeInteractionInfo); + Map writeTestClusterNullableInt16uCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableInt16uCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterNullableInt16uCommandParams.put( + "value", testClusternullableInt16uCommandParameterInfo); + InteractionInfo writeTestClusterNullableInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableInt16uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableInt16uCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableInt16uAttribute", writeTestClusterNullableInt16uAttributeInteractionInfo); + Map writeTestClusterNullableInt32uCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableInt32uCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterNullableInt32uCommandParams.put( + "value", testClusternullableInt32uCommandParameterInfo); + InteractionInfo writeTestClusterNullableInt32uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableInt32uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableInt32uCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableInt32uAttribute", writeTestClusterNullableInt32uAttributeInteractionInfo); + Map writeTestClusterNullableInt64uCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableInt64uCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterNullableInt64uCommandParams.put( + "value", testClusternullableInt64uCommandParameterInfo); + InteractionInfo writeTestClusterNullableInt64uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableInt64uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableInt64uCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableInt64uAttribute", writeTestClusterNullableInt64uAttributeInteractionInfo); + Map writeTestClusterNullableInt8sCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableInt8sCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterNullableInt8sCommandParams.put( + "value", testClusternullableInt8sCommandParameterInfo); + InteractionInfo writeTestClusterNullableInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableInt8sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableInt8sCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableInt8sAttribute", writeTestClusterNullableInt8sAttributeInteractionInfo); + Map writeTestClusterNullableInt16sCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableInt16sCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterNullableInt16sCommandParams.put( + "value", testClusternullableInt16sCommandParameterInfo); + InteractionInfo writeTestClusterNullableInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableInt16sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableInt16sCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableInt16sAttribute", writeTestClusterNullableInt16sAttributeInteractionInfo); + Map writeTestClusterNullableInt32sCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableInt32sCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterNullableInt32sCommandParams.put( + "value", testClusternullableInt32sCommandParameterInfo); + InteractionInfo writeTestClusterNullableInt32sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableInt32sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableInt32sCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableInt32sAttribute", writeTestClusterNullableInt32sAttributeInteractionInfo); + Map writeTestClusterNullableInt64sCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableInt64sCommandParameterInfo = + new CommandParameterInfo("value", long.class); + writeTestClusterNullableInt64sCommandParams.put( + "value", testClusternullableInt64sCommandParameterInfo); + InteractionInfo writeTestClusterNullableInt64sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableInt64sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableInt64sCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableInt64sAttribute", writeTestClusterNullableInt64sAttributeInteractionInfo); + Map writeTestClusterNullableEnum8CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableEnum8CommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterNullableEnum8CommandParams.put( + "value", testClusternullableEnum8CommandParameterInfo); + InteractionInfo writeTestClusterNullableEnum8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableEnum8Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableEnum8CommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableEnum8Attribute", writeTestClusterNullableEnum8AttributeInteractionInfo); + Map writeTestClusterNullableEnum16CommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableEnum16CommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeTestClusterNullableEnum16CommandParams.put( + "value", testClusternullableEnum16CommandParameterInfo); + InteractionInfo writeTestClusterNullableEnum16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableEnum16Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableEnum16CommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableEnum16Attribute", writeTestClusterNullableEnum16AttributeInteractionInfo); + Map writeTestClusterNullableOctetStringCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableOctetStringCommandParameterInfo = + new CommandParameterInfo("value", byte[].class); + writeTestClusterNullableOctetStringCommandParams.put( + "value", testClusternullableOctetStringCommandParameterInfo); + InteractionInfo writeTestClusterNullableOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableOctetStringAttribute( + (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableOctetStringCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableOctetStringAttribute", + writeTestClusterNullableOctetStringAttributeInteractionInfo); + Map writeTestClusterNullableCharStringCommandParams = + new LinkedHashMap(); + CommandParameterInfo testClusternullableCharStringCommandParameterInfo = + new CommandParameterInfo("value", String.class); + writeTestClusterNullableCharStringCommandParams.put( + "value", testClusternullableCharStringCommandParameterInfo); + InteractionInfo writeTestClusterNullableCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TestClusterCluster) cluster) + .writeNullableCharStringAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeTestClusterNullableCharStringCommandParams); + writeTestClusterInteractionInfo.put( + "writeNullableCharStringAttribute", + writeTestClusterNullableCharStringAttributeInteractionInfo); + writeAttributeMap.put("testCluster", writeTestClusterInteractionInfo); + Map writeThermostatInteractionInfo = new LinkedHashMap<>(); + Map writeThermostatOccupiedCoolingSetpointCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatoccupiedCoolingSetpointCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatOccupiedCoolingSetpointCommandParams.put( + "value", thermostatoccupiedCoolingSetpointCommandParameterInfo); + InteractionInfo writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeOccupiedCoolingSetpointAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatOccupiedCoolingSetpointCommandParams); + writeThermostatInteractionInfo.put( + "writeOccupiedCoolingSetpointAttribute", + writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo); + Map writeThermostatOccupiedHeatingSetpointCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatoccupiedHeatingSetpointCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatOccupiedHeatingSetpointCommandParams.put( + "value", thermostatoccupiedHeatingSetpointCommandParameterInfo); + InteractionInfo writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeOccupiedHeatingSetpointAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatOccupiedHeatingSetpointCommandParams); + writeThermostatInteractionInfo.put( + "writeOccupiedHeatingSetpointAttribute", + writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo); + Map writeThermostatMinHeatSetpointLimitCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatminHeatSetpointLimitCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatMinHeatSetpointLimitCommandParams.put( + "value", thermostatminHeatSetpointLimitCommandParameterInfo); + InteractionInfo writeThermostatMinHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMinHeatSetpointLimitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatMinHeatSetpointLimitCommandParams); + writeThermostatInteractionInfo.put( + "writeMinHeatSetpointLimitAttribute", + writeThermostatMinHeatSetpointLimitAttributeInteractionInfo); + Map writeThermostatMaxHeatSetpointLimitCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatmaxHeatSetpointLimitCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatMaxHeatSetpointLimitCommandParams.put( + "value", thermostatmaxHeatSetpointLimitCommandParameterInfo); + InteractionInfo writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMaxHeatSetpointLimitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatMaxHeatSetpointLimitCommandParams); + writeThermostatInteractionInfo.put( + "writeMaxHeatSetpointLimitAttribute", + writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo); + Map writeThermostatMinCoolSetpointLimitCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatminCoolSetpointLimitCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatMinCoolSetpointLimitCommandParams.put( + "value", thermostatminCoolSetpointLimitCommandParameterInfo); + InteractionInfo writeThermostatMinCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMinCoolSetpointLimitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatMinCoolSetpointLimitCommandParams); + writeThermostatInteractionInfo.put( + "writeMinCoolSetpointLimitAttribute", + writeThermostatMinCoolSetpointLimitAttributeInteractionInfo); + Map writeThermostatMaxCoolSetpointLimitCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatmaxCoolSetpointLimitCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatMaxCoolSetpointLimitCommandParams.put( + "value", thermostatmaxCoolSetpointLimitCommandParameterInfo); + InteractionInfo writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMaxCoolSetpointLimitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatMaxCoolSetpointLimitCommandParams); + writeThermostatInteractionInfo.put( + "writeMaxCoolSetpointLimitAttribute", + writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo); + Map writeThermostatMinSetpointDeadBandCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatminSetpointDeadBandCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatMinSetpointDeadBandCommandParams.put( + "value", thermostatminSetpointDeadBandCommandParameterInfo); + InteractionInfo writeThermostatMinSetpointDeadBandAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMinSetpointDeadBandAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatMinSetpointDeadBandCommandParams); + writeThermostatInteractionInfo.put( + "writeMinSetpointDeadBandAttribute", + writeThermostatMinSetpointDeadBandAttributeInteractionInfo); + Map writeThermostatControlSequenceOfOperationCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatcontrolSequenceOfOperationCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatControlSequenceOfOperationCommandParams.put( + "value", thermostatcontrolSequenceOfOperationCommandParameterInfo); + InteractionInfo writeThermostatControlSequenceOfOperationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeControlSequenceOfOperationAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatControlSequenceOfOperationCommandParams); + writeThermostatInteractionInfo.put( + "writeControlSequenceOfOperationAttribute", + writeThermostatControlSequenceOfOperationAttributeInteractionInfo); + Map writeThermostatSystemModeCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatsystemModeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatSystemModeCommandParams.put("value", thermostatsystemModeCommandParameterInfo); + InteractionInfo writeThermostatSystemModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeSystemModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatSystemModeCommandParams); + writeThermostatInteractionInfo.put( + "writeSystemModeAttribute", writeThermostatSystemModeAttributeInteractionInfo); + writeAttributeMap.put("thermostat", writeThermostatInteractionInfo); + Map writeThermostatUserInterfaceConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map + writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = + new LinkedHashMap(); + CommandParameterInfo + thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams.put( + "value", thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo); + InteractionInfo + writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .writeTemperatureDisplayModeAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams); + writeThermostatUserInterfaceConfigurationInteractionInfo.put( + "writeTemperatureDisplayModeAttribute", + writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); + Map + writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = + new LinkedHashMap(); + CommandParameterInfo thermostatUserInterfaceConfigurationkeypadLockoutCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams.put( + "value", thermostatUserInterfaceConfigurationkeypadLockoutCommandParameterInfo); + InteractionInfo writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .writeKeypadLockoutAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams); + writeThermostatUserInterfaceConfigurationInteractionInfo.put( + "writeKeypadLockoutAttribute", + writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); + Map + writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = + new LinkedHashMap(); + CommandParameterInfo + thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams.put( + "value", + thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo); + InteractionInfo + writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .writeScheduleProgrammingVisibilityAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams); + writeThermostatUserInterfaceConfigurationInteractionInfo.put( + "writeScheduleProgrammingVisibilityAttribute", + writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); + writeAttributeMap.put( + "thermostatUserInterfaceConfiguration", + writeThermostatUserInterfaceConfigurationInteractionInfo); + Map writeThreadNetworkDiagnosticsInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put("threadNetworkDiagnostics", writeThreadNetworkDiagnosticsInteractionInfo); + Map writeWakeOnLanInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("wakeOnLan", writeWakeOnLanInteractionInfo); + Map writeWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); + writeAttributeMap.put("wiFiNetworkDiagnostics", writeWiFiNetworkDiagnosticsInteractionInfo); + Map writeWindowCoveringInteractionInfo = new LinkedHashMap<>(); + Map writeWindowCoveringModeCommandParams = + new LinkedHashMap(); + CommandParameterInfo windowCoveringmodeCommandParameterInfo = + new CommandParameterInfo("value", int.class); + writeWindowCoveringModeCommandParams.put("value", windowCoveringmodeCommandParameterInfo); + InteractionInfo writeWindowCoveringModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .writeModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> clusterInfoMapping.new DelegatedDefaultClusterCallback(), + writeWindowCoveringModeCommandParams); + writeWindowCoveringInteractionInfo.put( + "writeModeAttribute", writeWindowCoveringModeAttributeInteractionInfo); + writeAttributeMap.put("windowCovering", writeWindowCoveringInteractionInfo); + return writeAttributeMap; + } +}