| /* |
| * |
| * Copyright (c) 2022 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<String, Map<String, InteractionInfo>> getWriteAttributeMap() { |
| Map<String, Map<String, InteractionInfo>> writeAttributeMap = new HashMap<>(); |
| Map<String, InteractionInfo> writeIdentifyInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeIdentifyIdentifyTimeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo identifyidentifyTimeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeIdentifyIdentifyTimeCommandParams.put("value", identifyidentifyTimeCommandParameterInfo); |
| InteractionInfo writeIdentifyIdentifyTimeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.IdentifyCluster) cluster) |
| .writeIdentifyTimeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeIdentifyIdentifyTimeCommandParams); |
| writeIdentifyInteractionInfo.put( |
| "writeIdentifyTimeAttribute", writeIdentifyIdentifyTimeAttributeInteractionInfo); |
| writeAttributeMap.put("identify", writeIdentifyInteractionInfo); |
| Map<String, InteractionInfo> writeGroupsInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("groups", writeGroupsInteractionInfo); |
| Map<String, InteractionInfo> writeScenesInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("scenes", writeScenesInteractionInfo); |
| Map<String, InteractionInfo> writeOnOffInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeOnOffOnTimeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo onOffonTimeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeOnOffOnTimeCommandParams.put("value", onOffonTimeCommandParameterInfo); |
| InteractionInfo writeOnOffOnTimeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.OnOffCluster) cluster) |
| .writeOnTimeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeOnOffOnTimeCommandParams); |
| writeOnOffInteractionInfo.put("writeOnTimeAttribute", writeOnOffOnTimeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeOnOffOffWaitTimeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo onOffoffWaitTimeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeOnOffOffWaitTimeCommandParams.put("value", onOffoffWaitTimeCommandParameterInfo); |
| InteractionInfo writeOnOffOffWaitTimeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.OnOffCluster) cluster) |
| .writeOffWaitTimeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeOnOffOffWaitTimeCommandParams); |
| writeOnOffInteractionInfo.put( |
| "writeOffWaitTimeAttribute", writeOnOffOffWaitTimeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeOnOffStartUpOnOffCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo onOffstartUpOnOffCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeOnOffStartUpOnOffCommandParams.put("value", onOffstartUpOnOffCommandParameterInfo); |
| InteractionInfo writeOnOffStartUpOnOffAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.OnOffCluster) cluster) |
| .writeStartUpOnOffAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeOnOffStartUpOnOffCommandParams); |
| writeOnOffInteractionInfo.put( |
| "writeStartUpOnOffAttribute", writeOnOffStartUpOnOffAttributeInteractionInfo); |
| writeAttributeMap.put("onOff", writeOnOffInteractionInfo); |
| Map<String, InteractionInfo> writeOnOffSwitchConfigurationInteractionInfo = |
| new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeOnOffSwitchConfigurationSwitchActionsCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo onOffSwitchConfigurationswitchActionsCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeOnOffSwitchConfigurationSwitchActionsCommandParams.put( |
| "value", onOffSwitchConfigurationswitchActionsCommandParameterInfo); |
| InteractionInfo writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) |
| .writeSwitchActionsAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeOnOffSwitchConfigurationSwitchActionsCommandParams); |
| writeOnOffSwitchConfigurationInteractionInfo.put( |
| "writeSwitchActionsAttribute", |
| writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); |
| writeAttributeMap.put("onOffSwitchConfiguration", writeOnOffSwitchConfigurationInteractionInfo); |
| Map<String, InteractionInfo> writeLevelControlInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeLevelControlOptionsCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo levelControloptionsCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeLevelControlOptionsCommandParams.put("value", levelControloptionsCommandParameterInfo); |
| InteractionInfo writeLevelControlOptionsAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.LevelControlCluster) cluster) |
| .writeOptionsAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeLevelControlOptionsCommandParams); |
| writeLevelControlInteractionInfo.put( |
| "writeOptionsAttribute", writeLevelControlOptionsAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeLevelControlOnOffTransitionTimeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo levelControlonOffTransitionTimeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeLevelControlOnOffTransitionTimeCommandParams.put( |
| "value", levelControlonOffTransitionTimeCommandParameterInfo); |
| InteractionInfo writeLevelControlOnOffTransitionTimeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.LevelControlCluster) cluster) |
| .writeOnOffTransitionTimeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeLevelControlOnOffTransitionTimeCommandParams); |
| writeLevelControlInteractionInfo.put( |
| "writeOnOffTransitionTimeAttribute", |
| writeLevelControlOnOffTransitionTimeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeLevelControlOnLevelCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo levelControlonLevelCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeLevelControlOnLevelCommandParams.put("value", levelControlonLevelCommandParameterInfo); |
| InteractionInfo writeLevelControlOnLevelAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.LevelControlCluster) cluster) |
| .writeOnLevelAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeLevelControlOnLevelCommandParams); |
| writeLevelControlInteractionInfo.put( |
| "writeOnLevelAttribute", writeLevelControlOnLevelAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeLevelControlOnTransitionTimeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo levelControlonTransitionTimeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeLevelControlOnTransitionTimeCommandParams.put( |
| "value", levelControlonTransitionTimeCommandParameterInfo); |
| InteractionInfo writeLevelControlOnTransitionTimeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.LevelControlCluster) cluster) |
| .writeOnTransitionTimeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeLevelControlOnTransitionTimeCommandParams); |
| writeLevelControlInteractionInfo.put( |
| "writeOnTransitionTimeAttribute", |
| writeLevelControlOnTransitionTimeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeLevelControlOffTransitionTimeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo levelControloffTransitionTimeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeLevelControlOffTransitionTimeCommandParams.put( |
| "value", levelControloffTransitionTimeCommandParameterInfo); |
| InteractionInfo writeLevelControlOffTransitionTimeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.LevelControlCluster) cluster) |
| .writeOffTransitionTimeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeLevelControlOffTransitionTimeCommandParams); |
| writeLevelControlInteractionInfo.put( |
| "writeOffTransitionTimeAttribute", |
| writeLevelControlOffTransitionTimeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeLevelControlDefaultMoveRateCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo levelControldefaultMoveRateCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeLevelControlDefaultMoveRateCommandParams.put( |
| "value", levelControldefaultMoveRateCommandParameterInfo); |
| InteractionInfo writeLevelControlDefaultMoveRateAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.LevelControlCluster) cluster) |
| .writeDefaultMoveRateAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeLevelControlDefaultMoveRateCommandParams); |
| writeLevelControlInteractionInfo.put( |
| "writeDefaultMoveRateAttribute", writeLevelControlDefaultMoveRateAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeLevelControlStartUpCurrentLevelCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo levelControlstartUpCurrentLevelCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeLevelControlStartUpCurrentLevelCommandParams.put( |
| "value", levelControlstartUpCurrentLevelCommandParameterInfo); |
| InteractionInfo writeLevelControlStartUpCurrentLevelAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.LevelControlCluster) cluster) |
| .writeStartUpCurrentLevelAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeLevelControlStartUpCurrentLevelCommandParams); |
| writeLevelControlInteractionInfo.put( |
| "writeStartUpCurrentLevelAttribute", |
| writeLevelControlStartUpCurrentLevelAttributeInteractionInfo); |
| writeAttributeMap.put("levelControl", writeLevelControlInteractionInfo); |
| Map<String, InteractionInfo> writeBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeBinaryInputBasicOutOfServiceCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo binaryInputBasicoutOfServiceCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeBinaryInputBasicOutOfServiceCommandParams.put( |
| "value", binaryInputBasicoutOfServiceCommandParameterInfo); |
| InteractionInfo writeBinaryInputBasicOutOfServiceAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BinaryInputBasicCluster) cluster) |
| .writeOutOfServiceAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBinaryInputBasicOutOfServiceCommandParams); |
| writeBinaryInputBasicInteractionInfo.put( |
| "writeOutOfServiceAttribute", writeBinaryInputBasicOutOfServiceAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBinaryInputBasicPresentValueCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo binaryInputBasicpresentValueCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeBinaryInputBasicPresentValueCommandParams.put( |
| "value", binaryInputBasicpresentValueCommandParameterInfo); |
| InteractionInfo writeBinaryInputBasicPresentValueAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BinaryInputBasicCluster) cluster) |
| .writePresentValueAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBinaryInputBasicPresentValueCommandParams); |
| writeBinaryInputBasicInteractionInfo.put( |
| "writePresentValueAttribute", writeBinaryInputBasicPresentValueAttributeInteractionInfo); |
| writeAttributeMap.put("binaryInputBasic", writeBinaryInputBasicInteractionInfo); |
| Map<String, InteractionInfo> writeDescriptorInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("descriptor", writeDescriptorInteractionInfo); |
| Map<String, InteractionInfo> writeBindingInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("binding", writeBindingInteractionInfo); |
| Map<String, InteractionInfo> writeAccessControlInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("accessControl", writeAccessControlInteractionInfo); |
| Map<String, InteractionInfo> writeActionsInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("actions", writeActionsInteractionInfo); |
| Map<String, InteractionInfo> writeBasicInformationInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeBasicInformationNodeLabelCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo basicInformationnodeLabelCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeBasicInformationNodeLabelCommandParams.put( |
| "value", basicInformationnodeLabelCommandParameterInfo); |
| InteractionInfo writeBasicInformationNodeLabelAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BasicInformationCluster) cluster) |
| .writeNodeLabelAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBasicInformationNodeLabelCommandParams); |
| writeBasicInformationInteractionInfo.put( |
| "writeNodeLabelAttribute", writeBasicInformationNodeLabelAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBasicInformationLocationCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo basicInformationlocationCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeBasicInformationLocationCommandParams.put( |
| "value", basicInformationlocationCommandParameterInfo); |
| InteractionInfo writeBasicInformationLocationAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BasicInformationCluster) cluster) |
| .writeLocationAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBasicInformationLocationCommandParams); |
| writeBasicInformationInteractionInfo.put( |
| "writeLocationAttribute", writeBasicInformationLocationAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBasicInformationLocalConfigDisabledCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo basicInformationlocalConfigDisabledCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeBasicInformationLocalConfigDisabledCommandParams.put( |
| "value", basicInformationlocalConfigDisabledCommandParameterInfo); |
| InteractionInfo writeBasicInformationLocalConfigDisabledAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BasicInformationCluster) cluster) |
| .writeLocalConfigDisabledAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBasicInformationLocalConfigDisabledCommandParams); |
| writeBasicInformationInteractionInfo.put( |
| "writeLocalConfigDisabledAttribute", |
| writeBasicInformationLocalConfigDisabledAttributeInteractionInfo); |
| writeAttributeMap.put("basicInformation", writeBasicInformationInteractionInfo); |
| Map<String, InteractionInfo> writeOtaSoftwareUpdateProviderInteractionInfo = |
| new LinkedHashMap<>(); |
| writeAttributeMap.put( |
| "otaSoftwareUpdateProvider", writeOtaSoftwareUpdateProviderInteractionInfo); |
| Map<String, InteractionInfo> writeOtaSoftwareUpdateRequestorInteractionInfo = |
| new LinkedHashMap<>(); |
| writeAttributeMap.put( |
| "otaSoftwareUpdateRequestor", writeOtaSoftwareUpdateRequestorInteractionInfo); |
| Map<String, InteractionInfo> writeLocalizationConfigurationInteractionInfo = |
| new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeLocalizationConfigurationActiveLocaleCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo localizationConfigurationactiveLocaleCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeLocalizationConfigurationActiveLocaleCommandParams.put( |
| "value", localizationConfigurationactiveLocaleCommandParameterInfo); |
| InteractionInfo writeLocalizationConfigurationActiveLocaleAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.LocalizationConfigurationCluster) cluster) |
| .writeActiveLocaleAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeLocalizationConfigurationActiveLocaleCommandParams); |
| writeLocalizationConfigurationInteractionInfo.put( |
| "writeActiveLocaleAttribute", |
| writeLocalizationConfigurationActiveLocaleAttributeInteractionInfo); |
| writeAttributeMap.put( |
| "localizationConfiguration", writeLocalizationConfigurationInteractionInfo); |
| Map<String, InteractionInfo> writeTimeFormatLocalizationInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeTimeFormatLocalizationHourFormatCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo timeFormatLocalizationhourFormatCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeTimeFormatLocalizationHourFormatCommandParams.put( |
| "value", timeFormatLocalizationhourFormatCommandParameterInfo); |
| InteractionInfo writeTimeFormatLocalizationHourFormatAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.TimeFormatLocalizationCluster) cluster) |
| .writeHourFormatAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeTimeFormatLocalizationHourFormatCommandParams); |
| writeTimeFormatLocalizationInteractionInfo.put( |
| "writeHourFormatAttribute", writeTimeFormatLocalizationHourFormatAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeTimeFormatLocalizationActiveCalendarTypeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo timeFormatLocalizationactiveCalendarTypeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeTimeFormatLocalizationActiveCalendarTypeCommandParams.put( |
| "value", timeFormatLocalizationactiveCalendarTypeCommandParameterInfo); |
| InteractionInfo writeTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.TimeFormatLocalizationCluster) cluster) |
| .writeActiveCalendarTypeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeTimeFormatLocalizationActiveCalendarTypeCommandParams); |
| writeTimeFormatLocalizationInteractionInfo.put( |
| "writeActiveCalendarTypeAttribute", |
| writeTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo); |
| writeAttributeMap.put("timeFormatLocalization", writeTimeFormatLocalizationInteractionInfo); |
| Map<String, InteractionInfo> writeUnitLocalizationInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeUnitLocalizationTemperatureUnitCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitLocalizationtemperatureUnitCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitLocalizationTemperatureUnitCommandParams.put( |
| "value", unitLocalizationtemperatureUnitCommandParameterInfo); |
| InteractionInfo writeUnitLocalizationTemperatureUnitAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitLocalizationCluster) cluster) |
| .writeTemperatureUnitAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitLocalizationTemperatureUnitCommandParams); |
| writeUnitLocalizationInteractionInfo.put( |
| "writeTemperatureUnitAttribute", |
| writeUnitLocalizationTemperatureUnitAttributeInteractionInfo); |
| writeAttributeMap.put("unitLocalization", writeUnitLocalizationInteractionInfo); |
| Map<String, InteractionInfo> writePowerSourceConfigurationInteractionInfo = |
| new LinkedHashMap<>(); |
| writeAttributeMap.put("powerSourceConfiguration", writePowerSourceConfigurationInteractionInfo); |
| Map<String, InteractionInfo> writePowerSourceInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("powerSource", writePowerSourceInteractionInfo); |
| Map<String, InteractionInfo> writeGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeGeneralCommissioningBreadcrumbCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo generalCommissioningbreadcrumbCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeGeneralCommissioningBreadcrumbCommandParams.put( |
| "value", generalCommissioningbreadcrumbCommandParameterInfo); |
| InteractionInfo writeGeneralCommissioningBreadcrumbAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.GeneralCommissioningCluster) cluster) |
| .writeBreadcrumbAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeGeneralCommissioningBreadcrumbCommandParams); |
| writeGeneralCommissioningInteractionInfo.put( |
| "writeBreadcrumbAttribute", writeGeneralCommissioningBreadcrumbAttributeInteractionInfo); |
| writeAttributeMap.put("generalCommissioning", writeGeneralCommissioningInteractionInfo); |
| Map<String, InteractionInfo> writeNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeNetworkCommissioningInterfaceEnabledCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo networkCommissioninginterfaceEnabledCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeNetworkCommissioningInterfaceEnabledCommandParams.put( |
| "value", networkCommissioninginterfaceEnabledCommandParameterInfo); |
| InteractionInfo writeNetworkCommissioningInterfaceEnabledAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.NetworkCommissioningCluster) cluster) |
| .writeInterfaceEnabledAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeNetworkCommissioningInterfaceEnabledCommandParams); |
| writeNetworkCommissioningInteractionInfo.put( |
| "writeInterfaceEnabledAttribute", |
| writeNetworkCommissioningInterfaceEnabledAttributeInteractionInfo); |
| writeAttributeMap.put("networkCommissioning", writeNetworkCommissioningInteractionInfo); |
| Map<String, InteractionInfo> writeDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("diagnosticLogs", writeDiagnosticLogsInteractionInfo); |
| Map<String, InteractionInfo> writeGeneralDiagnosticsInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("generalDiagnostics", writeGeneralDiagnosticsInteractionInfo); |
| Map<String, InteractionInfo> writeSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("softwareDiagnostics", writeSoftwareDiagnosticsInteractionInfo); |
| Map<String, InteractionInfo> writeThreadNetworkDiagnosticsInteractionInfo = |
| new LinkedHashMap<>(); |
| writeAttributeMap.put("threadNetworkDiagnostics", writeThreadNetworkDiagnosticsInteractionInfo); |
| Map<String, InteractionInfo> writeWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("wiFiNetworkDiagnostics", writeWiFiNetworkDiagnosticsInteractionInfo); |
| Map<String, InteractionInfo> writeEthernetNetworkDiagnosticsInteractionInfo = |
| new LinkedHashMap<>(); |
| writeAttributeMap.put( |
| "ethernetNetworkDiagnostics", writeEthernetNetworkDiagnosticsInteractionInfo); |
| Map<String, InteractionInfo> writeBridgedDeviceBasicInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeBridgedDeviceBasicNodeLabelCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo bridgedDeviceBasicnodeLabelCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeBridgedDeviceBasicNodeLabelCommandParams.put( |
| "value", bridgedDeviceBasicnodeLabelCommandParameterInfo); |
| InteractionInfo writeBridgedDeviceBasicNodeLabelAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BridgedDeviceBasicCluster) cluster) |
| .writeNodeLabelAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBridgedDeviceBasicNodeLabelCommandParams); |
| writeBridgedDeviceBasicInteractionInfo.put( |
| "writeNodeLabelAttribute", writeBridgedDeviceBasicNodeLabelAttributeInteractionInfo); |
| writeAttributeMap.put("bridgedDeviceBasic", writeBridgedDeviceBasicInteractionInfo); |
| Map<String, InteractionInfo> writeSwitchInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("switch", writeSwitchInteractionInfo); |
| Map<String, InteractionInfo> writeAdministratorCommissioningInteractionInfo = |
| new LinkedHashMap<>(); |
| writeAttributeMap.put( |
| "administratorCommissioning", writeAdministratorCommissioningInteractionInfo); |
| Map<String, InteractionInfo> writeOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("operationalCredentials", writeOperationalCredentialsInteractionInfo); |
| Map<String, InteractionInfo> writeGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("groupKeyManagement", writeGroupKeyManagementInteractionInfo); |
| Map<String, InteractionInfo> writeFixedLabelInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("fixedLabel", writeFixedLabelInteractionInfo); |
| Map<String, InteractionInfo> writeUserLabelInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("userLabel", writeUserLabelInteractionInfo); |
| Map<String, InteractionInfo> writeBooleanStateInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("booleanState", writeBooleanStateInteractionInfo); |
| Map<String, InteractionInfo> writeModeSelectInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeModeSelectStartUpModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo modeSelectstartUpModeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeModeSelectStartUpModeCommandParams.put("value", modeSelectstartUpModeCommandParameterInfo); |
| InteractionInfo writeModeSelectStartUpModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ModeSelectCluster) cluster) |
| .writeStartUpModeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeModeSelectStartUpModeCommandParams); |
| writeModeSelectInteractionInfo.put( |
| "writeStartUpModeAttribute", writeModeSelectStartUpModeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeModeSelectOnModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo modeSelectonModeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeModeSelectOnModeCommandParams.put("value", modeSelectonModeCommandParameterInfo); |
| InteractionInfo writeModeSelectOnModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ModeSelectCluster) cluster) |
| .writeOnModeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeModeSelectOnModeCommandParams); |
| writeModeSelectInteractionInfo.put( |
| "writeOnModeAttribute", writeModeSelectOnModeAttributeInteractionInfo); |
| writeAttributeMap.put("modeSelect", writeModeSelectInteractionInfo); |
| Map<String, InteractionInfo> writeDoorLockInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeDoorLockLanguageCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo doorLocklanguageCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeDoorLockLanguageCommandParams.put("value", doorLocklanguageCommandParameterInfo); |
| InteractionInfo writeDoorLockLanguageAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.DoorLockCluster) cluster) |
| .writeLanguageAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeDoorLockLanguageCommandParams); |
| writeDoorLockInteractionInfo.put( |
| "writeLanguageAttribute", writeDoorLockLanguageAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeDoorLockAutoRelockTimeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo doorLockautoRelockTimeCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeDoorLockAutoRelockTimeCommandParams.put( |
| "value", doorLockautoRelockTimeCommandParameterInfo); |
| InteractionInfo writeDoorLockAutoRelockTimeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.DoorLockCluster) cluster) |
| .writeAutoRelockTimeAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeDoorLockAutoRelockTimeCommandParams); |
| writeDoorLockInteractionInfo.put( |
| "writeAutoRelockTimeAttribute", writeDoorLockAutoRelockTimeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeDoorLockSoundVolumeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo doorLocksoundVolumeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeDoorLockSoundVolumeCommandParams.put("value", doorLocksoundVolumeCommandParameterInfo); |
| InteractionInfo writeDoorLockSoundVolumeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.DoorLockCluster) cluster) |
| .writeSoundVolumeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeDoorLockSoundVolumeCommandParams); |
| writeDoorLockInteractionInfo.put( |
| "writeSoundVolumeAttribute", writeDoorLockSoundVolumeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeDoorLockOperatingModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo doorLockoperatingModeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeDoorLockOperatingModeCommandParams.put("value", doorLockoperatingModeCommandParameterInfo); |
| InteractionInfo writeDoorLockOperatingModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.DoorLockCluster) cluster) |
| .writeOperatingModeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeDoorLockOperatingModeCommandParams); |
| writeDoorLockInteractionInfo.put( |
| "writeOperatingModeAttribute", writeDoorLockOperatingModeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeDoorLockEnableOneTouchLockingCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo doorLockenableOneTouchLockingCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeDoorLockEnableOneTouchLockingCommandParams.put( |
| "value", doorLockenableOneTouchLockingCommandParameterInfo); |
| InteractionInfo writeDoorLockEnableOneTouchLockingAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.DoorLockCluster) cluster) |
| .writeEnableOneTouchLockingAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeDoorLockEnableOneTouchLockingCommandParams); |
| writeDoorLockInteractionInfo.put( |
| "writeEnableOneTouchLockingAttribute", |
| writeDoorLockEnableOneTouchLockingAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeDoorLockEnablePrivacyModeButtonCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo doorLockenablePrivacyModeButtonCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeDoorLockEnablePrivacyModeButtonCommandParams.put( |
| "value", doorLockenablePrivacyModeButtonCommandParameterInfo); |
| InteractionInfo writeDoorLockEnablePrivacyModeButtonAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.DoorLockCluster) cluster) |
| .writeEnablePrivacyModeButtonAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeDoorLockEnablePrivacyModeButtonCommandParams); |
| writeDoorLockInteractionInfo.put( |
| "writeEnablePrivacyModeButtonAttribute", |
| writeDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeDoorLockWrongCodeEntryLimitCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo doorLockwrongCodeEntryLimitCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeDoorLockWrongCodeEntryLimitCommandParams.put( |
| "value", doorLockwrongCodeEntryLimitCommandParameterInfo); |
| InteractionInfo writeDoorLockWrongCodeEntryLimitAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.DoorLockCluster) cluster) |
| .writeWrongCodeEntryLimitAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeDoorLockWrongCodeEntryLimitCommandParams); |
| writeDoorLockInteractionInfo.put( |
| "writeWrongCodeEntryLimitAttribute", |
| writeDoorLockWrongCodeEntryLimitAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeDoorLockUserCodeTemporaryDisableTimeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo doorLockuserCodeTemporaryDisableTimeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeDoorLockUserCodeTemporaryDisableTimeCommandParams.put( |
| "value", doorLockuserCodeTemporaryDisableTimeCommandParameterInfo); |
| InteractionInfo writeDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.DoorLockCluster) cluster) |
| .writeUserCodeTemporaryDisableTimeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeDoorLockUserCodeTemporaryDisableTimeCommandParams); |
| writeDoorLockInteractionInfo.put( |
| "writeUserCodeTemporaryDisableTimeAttribute", |
| writeDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeDoorLockRequirePINforRemoteOperationCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo doorLockrequirePINforRemoteOperationCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeDoorLockRequirePINforRemoteOperationCommandParams.put( |
| "value", doorLockrequirePINforRemoteOperationCommandParameterInfo); |
| InteractionInfo writeDoorLockRequirePINforRemoteOperationAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.DoorLockCluster) cluster) |
| .writeRequirePINforRemoteOperationAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeDoorLockRequirePINforRemoteOperationCommandParams); |
| writeDoorLockInteractionInfo.put( |
| "writeRequirePINforRemoteOperationAttribute", |
| writeDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); |
| writeAttributeMap.put("doorLock", writeDoorLockInteractionInfo); |
| Map<String, InteractionInfo> writeWindowCoveringInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeWindowCoveringModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo windowCoveringmodeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeWindowCoveringModeCommandParams.put("value", windowCoveringmodeCommandParameterInfo); |
| InteractionInfo writeWindowCoveringModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.WindowCoveringCluster) cluster) |
| .writeModeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeWindowCoveringModeCommandParams); |
| writeWindowCoveringInteractionInfo.put( |
| "writeModeAttribute", writeWindowCoveringModeAttributeInteractionInfo); |
| writeAttributeMap.put("windowCovering", writeWindowCoveringInteractionInfo); |
| Map<String, InteractionInfo> writeBarrierControlInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("barrierControl", writeBarrierControlInteractionInfo); |
| Map<String, InteractionInfo> writePumpConfigurationAndControlInteractionInfo = |
| new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> |
| writePumpConfigurationAndControlLifetimeRunningHoursCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo pumpConfigurationAndControllifetimeRunningHoursCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writePumpConfigurationAndControlLifetimeRunningHoursCommandParams.put( |
| "value", pumpConfigurationAndControllifetimeRunningHoursCommandParameterInfo); |
| InteractionInfo writePumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.PumpConfigurationAndControlCluster) cluster) |
| .writeLifetimeRunningHoursAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writePumpConfigurationAndControlLifetimeRunningHoursCommandParams); |
| writePumpConfigurationAndControlInteractionInfo.put( |
| "writeLifetimeRunningHoursAttribute", |
| writePumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> |
| writePumpConfigurationAndControlLifetimeEnergyConsumedCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo pumpConfigurationAndControllifetimeEnergyConsumedCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writePumpConfigurationAndControlLifetimeEnergyConsumedCommandParams.put( |
| "value", pumpConfigurationAndControllifetimeEnergyConsumedCommandParameterInfo); |
| InteractionInfo writePumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.PumpConfigurationAndControlCluster) cluster) |
| .writeLifetimeEnergyConsumedAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writePumpConfigurationAndControlLifetimeEnergyConsumedCommandParams); |
| writePumpConfigurationAndControlInteractionInfo.put( |
| "writeLifetimeEnergyConsumedAttribute", |
| writePumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writePumpConfigurationAndControlOperationModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo pumpConfigurationAndControloperationModeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writePumpConfigurationAndControlOperationModeCommandParams.put( |
| "value", pumpConfigurationAndControloperationModeCommandParameterInfo); |
| InteractionInfo writePumpConfigurationAndControlOperationModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.PumpConfigurationAndControlCluster) cluster) |
| .writeOperationModeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writePumpConfigurationAndControlOperationModeCommandParams); |
| writePumpConfigurationAndControlInteractionInfo.put( |
| "writeOperationModeAttribute", |
| writePumpConfigurationAndControlOperationModeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writePumpConfigurationAndControlControlModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo pumpConfigurationAndControlcontrolModeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writePumpConfigurationAndControlControlModeCommandParams.put( |
| "value", pumpConfigurationAndControlcontrolModeCommandParameterInfo); |
| InteractionInfo writePumpConfigurationAndControlControlModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.PumpConfigurationAndControlCluster) cluster) |
| .writeControlModeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writePumpConfigurationAndControlControlModeCommandParams); |
| writePumpConfigurationAndControlInteractionInfo.put( |
| "writeControlModeAttribute", |
| writePumpConfigurationAndControlControlModeAttributeInteractionInfo); |
| writeAttributeMap.put( |
| "pumpConfigurationAndControl", writePumpConfigurationAndControlInteractionInfo); |
| Map<String, InteractionInfo> writeThermostatInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeThermostatOccupiedCoolingSetpointCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatoccupiedCoolingSetpointCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatOccupiedCoolingSetpointCommandParams.put( |
| "value", thermostatoccupiedCoolingSetpointCommandParameterInfo); |
| InteractionInfo writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatCluster) cluster) |
| .writeOccupiedCoolingSetpointAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatOccupiedCoolingSetpointCommandParams); |
| writeThermostatInteractionInfo.put( |
| "writeOccupiedCoolingSetpointAttribute", |
| writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeThermostatOccupiedHeatingSetpointCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatoccupiedHeatingSetpointCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatOccupiedHeatingSetpointCommandParams.put( |
| "value", thermostatoccupiedHeatingSetpointCommandParameterInfo); |
| InteractionInfo writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatCluster) cluster) |
| .writeOccupiedHeatingSetpointAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatOccupiedHeatingSetpointCommandParams); |
| writeThermostatInteractionInfo.put( |
| "writeOccupiedHeatingSetpointAttribute", |
| writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeThermostatMinHeatSetpointLimitCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatminHeatSetpointLimitCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatMinHeatSetpointLimitCommandParams.put( |
| "value", thermostatminHeatSetpointLimitCommandParameterInfo); |
| InteractionInfo writeThermostatMinHeatSetpointLimitAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatCluster) cluster) |
| .writeMinHeatSetpointLimitAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatMinHeatSetpointLimitCommandParams); |
| writeThermostatInteractionInfo.put( |
| "writeMinHeatSetpointLimitAttribute", |
| writeThermostatMinHeatSetpointLimitAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeThermostatMaxHeatSetpointLimitCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatmaxHeatSetpointLimitCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatMaxHeatSetpointLimitCommandParams.put( |
| "value", thermostatmaxHeatSetpointLimitCommandParameterInfo); |
| InteractionInfo writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatCluster) cluster) |
| .writeMaxHeatSetpointLimitAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatMaxHeatSetpointLimitCommandParams); |
| writeThermostatInteractionInfo.put( |
| "writeMaxHeatSetpointLimitAttribute", |
| writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeThermostatMinCoolSetpointLimitCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatminCoolSetpointLimitCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatMinCoolSetpointLimitCommandParams.put( |
| "value", thermostatminCoolSetpointLimitCommandParameterInfo); |
| InteractionInfo writeThermostatMinCoolSetpointLimitAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatCluster) cluster) |
| .writeMinCoolSetpointLimitAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatMinCoolSetpointLimitCommandParams); |
| writeThermostatInteractionInfo.put( |
| "writeMinCoolSetpointLimitAttribute", |
| writeThermostatMinCoolSetpointLimitAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeThermostatMaxCoolSetpointLimitCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatmaxCoolSetpointLimitCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatMaxCoolSetpointLimitCommandParams.put( |
| "value", thermostatmaxCoolSetpointLimitCommandParameterInfo); |
| InteractionInfo writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatCluster) cluster) |
| .writeMaxCoolSetpointLimitAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatMaxCoolSetpointLimitCommandParams); |
| writeThermostatInteractionInfo.put( |
| "writeMaxCoolSetpointLimitAttribute", |
| writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeThermostatMinSetpointDeadBandCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatminSetpointDeadBandCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatMinSetpointDeadBandCommandParams.put( |
| "value", thermostatminSetpointDeadBandCommandParameterInfo); |
| InteractionInfo writeThermostatMinSetpointDeadBandAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatCluster) cluster) |
| .writeMinSetpointDeadBandAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatMinSetpointDeadBandCommandParams); |
| writeThermostatInteractionInfo.put( |
| "writeMinSetpointDeadBandAttribute", |
| writeThermostatMinSetpointDeadBandAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeThermostatControlSequenceOfOperationCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatcontrolSequenceOfOperationCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatControlSequenceOfOperationCommandParams.put( |
| "value", thermostatcontrolSequenceOfOperationCommandParameterInfo); |
| InteractionInfo writeThermostatControlSequenceOfOperationAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatCluster) cluster) |
| .writeControlSequenceOfOperationAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatControlSequenceOfOperationCommandParams); |
| writeThermostatInteractionInfo.put( |
| "writeControlSequenceOfOperationAttribute", |
| writeThermostatControlSequenceOfOperationAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeThermostatSystemModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatsystemModeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatSystemModeCommandParams.put("value", thermostatsystemModeCommandParameterInfo); |
| InteractionInfo writeThermostatSystemModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatCluster) cluster) |
| .writeSystemModeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatSystemModeCommandParams); |
| writeThermostatInteractionInfo.put( |
| "writeSystemModeAttribute", writeThermostatSystemModeAttributeInteractionInfo); |
| writeAttributeMap.put("thermostat", writeThermostatInteractionInfo); |
| Map<String, InteractionInfo> writeFanControlInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeFanControlFanModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo fanControlfanModeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeFanControlFanModeCommandParams.put("value", fanControlfanModeCommandParameterInfo); |
| InteractionInfo writeFanControlFanModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.FanControlCluster) cluster) |
| .writeFanModeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeFanControlFanModeCommandParams); |
| writeFanControlInteractionInfo.put( |
| "writeFanModeAttribute", writeFanControlFanModeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeFanControlFanModeSequenceCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo fanControlfanModeSequenceCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeFanControlFanModeSequenceCommandParams.put( |
| "value", fanControlfanModeSequenceCommandParameterInfo); |
| InteractionInfo writeFanControlFanModeSequenceAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.FanControlCluster) cluster) |
| .writeFanModeSequenceAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeFanControlFanModeSequenceCommandParams); |
| writeFanControlInteractionInfo.put( |
| "writeFanModeSequenceAttribute", writeFanControlFanModeSequenceAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeFanControlPercentSettingCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo fanControlpercentSettingCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeFanControlPercentSettingCommandParams.put( |
| "value", fanControlpercentSettingCommandParameterInfo); |
| InteractionInfo writeFanControlPercentSettingAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.FanControlCluster) cluster) |
| .writePercentSettingAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeFanControlPercentSettingCommandParams); |
| writeFanControlInteractionInfo.put( |
| "writePercentSettingAttribute", writeFanControlPercentSettingAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeFanControlSpeedSettingCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo fanControlspeedSettingCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeFanControlSpeedSettingCommandParams.put( |
| "value", fanControlspeedSettingCommandParameterInfo); |
| InteractionInfo writeFanControlSpeedSettingAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.FanControlCluster) cluster) |
| .writeSpeedSettingAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeFanControlSpeedSettingCommandParams); |
| writeFanControlInteractionInfo.put( |
| "writeSpeedSettingAttribute", writeFanControlSpeedSettingAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeFanControlRockSettingCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo fanControlrockSettingCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeFanControlRockSettingCommandParams.put("value", fanControlrockSettingCommandParameterInfo); |
| InteractionInfo writeFanControlRockSettingAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.FanControlCluster) cluster) |
| .writeRockSettingAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeFanControlRockSettingCommandParams); |
| writeFanControlInteractionInfo.put( |
| "writeRockSettingAttribute", writeFanControlRockSettingAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeFanControlWindSettingCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo fanControlwindSettingCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeFanControlWindSettingCommandParams.put("value", fanControlwindSettingCommandParameterInfo); |
| InteractionInfo writeFanControlWindSettingAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.FanControlCluster) cluster) |
| .writeWindSettingAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeFanControlWindSettingCommandParams); |
| writeFanControlInteractionInfo.put( |
| "writeWindSettingAttribute", writeFanControlWindSettingAttributeInteractionInfo); |
| writeAttributeMap.put("fanControl", writeFanControlInteractionInfo); |
| Map<String, InteractionInfo> writeThermostatUserInterfaceConfigurationInteractionInfo = |
| new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> |
| writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo |
| thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams.put( |
| "value", thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo); |
| InteractionInfo |
| writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) |
| .writeTemperatureDisplayModeAttribute( |
| (DefaultClusterCallback) callback, |
| (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams); |
| writeThermostatUserInterfaceConfigurationInteractionInfo.put( |
| "writeTemperatureDisplayModeAttribute", |
| writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> |
| writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo thermostatUserInterfaceConfigurationkeypadLockoutCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams.put( |
| "value", thermostatUserInterfaceConfigurationkeypadLockoutCommandParameterInfo); |
| InteractionInfo writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) |
| .writeKeypadLockoutAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams); |
| writeThermostatUserInterfaceConfigurationInteractionInfo.put( |
| "writeKeypadLockoutAttribute", |
| writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> |
| writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo |
| thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams.put( |
| "value", |
| thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo); |
| InteractionInfo |
| writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) |
| .writeScheduleProgrammingVisibilityAttribute( |
| (DefaultClusterCallback) callback, |
| (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams); |
| writeThermostatUserInterfaceConfigurationInteractionInfo.put( |
| "writeScheduleProgrammingVisibilityAttribute", |
| writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); |
| writeAttributeMap.put( |
| "thermostatUserInterfaceConfiguration", |
| writeThermostatUserInterfaceConfigurationInteractionInfo); |
| Map<String, InteractionInfo> writeColorControlInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeColorControlOptionsCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControloptionsCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlOptionsCommandParams.put("value", colorControloptionsCommandParameterInfo); |
| InteractionInfo writeColorControlOptionsAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeOptionsAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlOptionsCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeOptionsAttribute", writeColorControlOptionsAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlWhitePointXCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlwhitePointXCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlWhitePointXCommandParams.put( |
| "value", colorControlwhitePointXCommandParameterInfo); |
| InteractionInfo writeColorControlWhitePointXAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeWhitePointXAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlWhitePointXCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeWhitePointXAttribute", writeColorControlWhitePointXAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlWhitePointYCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlwhitePointYCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlWhitePointYCommandParams.put( |
| "value", colorControlwhitePointYCommandParameterInfo); |
| InteractionInfo writeColorControlWhitePointYAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeWhitePointYAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlWhitePointYCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeWhitePointYAttribute", writeColorControlWhitePointYAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlColorPointRXCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlcolorPointRXCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlColorPointRXCommandParams.put( |
| "value", colorControlcolorPointRXCommandParameterInfo); |
| InteractionInfo writeColorControlColorPointRXAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeColorPointRXAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlColorPointRXCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeColorPointRXAttribute", writeColorControlColorPointRXAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlColorPointRYCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlcolorPointRYCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlColorPointRYCommandParams.put( |
| "value", colorControlcolorPointRYCommandParameterInfo); |
| InteractionInfo writeColorControlColorPointRYAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeColorPointRYAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlColorPointRYCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeColorPointRYAttribute", writeColorControlColorPointRYAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlColorPointRIntensityCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlcolorPointRIntensityCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlColorPointRIntensityCommandParams.put( |
| "value", colorControlcolorPointRIntensityCommandParameterInfo); |
| InteractionInfo writeColorControlColorPointRIntensityAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeColorPointRIntensityAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlColorPointRIntensityCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeColorPointRIntensityAttribute", |
| writeColorControlColorPointRIntensityAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlColorPointGXCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlcolorPointGXCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlColorPointGXCommandParams.put( |
| "value", colorControlcolorPointGXCommandParameterInfo); |
| InteractionInfo writeColorControlColorPointGXAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeColorPointGXAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlColorPointGXCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeColorPointGXAttribute", writeColorControlColorPointGXAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlColorPointGYCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlcolorPointGYCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlColorPointGYCommandParams.put( |
| "value", colorControlcolorPointGYCommandParameterInfo); |
| InteractionInfo writeColorControlColorPointGYAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeColorPointGYAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlColorPointGYCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeColorPointGYAttribute", writeColorControlColorPointGYAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlColorPointGIntensityCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlcolorPointGIntensityCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlColorPointGIntensityCommandParams.put( |
| "value", colorControlcolorPointGIntensityCommandParameterInfo); |
| InteractionInfo writeColorControlColorPointGIntensityAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeColorPointGIntensityAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlColorPointGIntensityCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeColorPointGIntensityAttribute", |
| writeColorControlColorPointGIntensityAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlColorPointBXCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlcolorPointBXCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlColorPointBXCommandParams.put( |
| "value", colorControlcolorPointBXCommandParameterInfo); |
| InteractionInfo writeColorControlColorPointBXAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeColorPointBXAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlColorPointBXCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeColorPointBXAttribute", writeColorControlColorPointBXAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlColorPointBYCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlcolorPointBYCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlColorPointBYCommandParams.put( |
| "value", colorControlcolorPointBYCommandParameterInfo); |
| InteractionInfo writeColorControlColorPointBYAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeColorPointBYAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlColorPointBYCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeColorPointBYAttribute", writeColorControlColorPointBYAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlColorPointBIntensityCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlcolorPointBIntensityCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlColorPointBIntensityCommandParams.put( |
| "value", colorControlcolorPointBIntensityCommandParameterInfo); |
| InteractionInfo writeColorControlColorPointBIntensityAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeColorPointBIntensityAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlColorPointBIntensityCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeColorPointBIntensityAttribute", |
| writeColorControlColorPointBIntensityAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeColorControlStartUpColorTemperatureMiredsCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo colorControlstartUpColorTemperatureMiredsCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeColorControlStartUpColorTemperatureMiredsCommandParams.put( |
| "value", colorControlstartUpColorTemperatureMiredsCommandParameterInfo); |
| InteractionInfo writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ColorControlCluster) cluster) |
| .writeStartUpColorTemperatureMiredsAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeColorControlStartUpColorTemperatureMiredsCommandParams); |
| writeColorControlInteractionInfo.put( |
| "writeStartUpColorTemperatureMiredsAttribute", |
| writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); |
| writeAttributeMap.put("colorControl", writeColorControlInteractionInfo); |
| Map<String, InteractionInfo> writeBallastConfigurationInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeBallastConfigurationMinLevelCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationminLevelCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeBallastConfigurationMinLevelCommandParams.put( |
| "value", ballastConfigurationminLevelCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationMinLevelAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeMinLevelAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationMinLevelCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeMinLevelAttribute", writeBallastConfigurationMinLevelAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBallastConfigurationMaxLevelCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationmaxLevelCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeBallastConfigurationMaxLevelCommandParams.put( |
| "value", ballastConfigurationmaxLevelCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationMaxLevelAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeMaxLevelAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationMaxLevelCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeMaxLevelAttribute", writeBallastConfigurationMaxLevelAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBallastConfigurationIntrinsicBalanceFactorCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationintrinsicBalanceFactorCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeBallastConfigurationIntrinsicBalanceFactorCommandParams.put( |
| "value", ballastConfigurationintrinsicBalanceFactorCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationIntrinsicBalanceFactorAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeIntrinsicBalanceFactorAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationIntrinsicBalanceFactorCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeIntrinsicBalanceFactorAttribute", |
| writeBallastConfigurationIntrinsicBalanceFactorAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> |
| writeBallastConfigurationBallastFactorAdjustmentCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationballastFactorAdjustmentCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeBallastConfigurationBallastFactorAdjustmentCommandParams.put( |
| "value", ballastConfigurationballastFactorAdjustmentCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeBallastFactorAdjustmentAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationBallastFactorAdjustmentCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeBallastFactorAdjustmentAttribute", |
| writeBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBallastConfigurationLampTypeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationlampTypeCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeBallastConfigurationLampTypeCommandParams.put( |
| "value", ballastConfigurationlampTypeCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationLampTypeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeLampTypeAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationLampTypeCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeLampTypeAttribute", writeBallastConfigurationLampTypeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBallastConfigurationLampManufacturerCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationlampManufacturerCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeBallastConfigurationLampManufacturerCommandParams.put( |
| "value", ballastConfigurationlampManufacturerCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationLampManufacturerAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeLampManufacturerAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationLampManufacturerCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeLampManufacturerAttribute", |
| writeBallastConfigurationLampManufacturerAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBallastConfigurationLampRatedHoursCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationlampRatedHoursCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeBallastConfigurationLampRatedHoursCommandParams.put( |
| "value", ballastConfigurationlampRatedHoursCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationLampRatedHoursAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeLampRatedHoursAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationLampRatedHoursCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeLampRatedHoursAttribute", |
| writeBallastConfigurationLampRatedHoursAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBallastConfigurationLampBurnHoursCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationlampBurnHoursCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeBallastConfigurationLampBurnHoursCommandParams.put( |
| "value", ballastConfigurationlampBurnHoursCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationLampBurnHoursAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeLampBurnHoursAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationLampBurnHoursCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeLampBurnHoursAttribute", |
| writeBallastConfigurationLampBurnHoursAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBallastConfigurationLampAlarmModeCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationlampAlarmModeCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeBallastConfigurationLampAlarmModeCommandParams.put( |
| "value", ballastConfigurationlampAlarmModeCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationLampAlarmModeAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeLampAlarmModeAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationLampAlarmModeCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeLampAlarmModeAttribute", |
| writeBallastConfigurationLampAlarmModeAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeBallastConfigurationLampBurnHoursTripPointCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo ballastConfigurationlampBurnHoursTripPointCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeBallastConfigurationLampBurnHoursTripPointCommandParams.put( |
| "value", ballastConfigurationlampBurnHoursTripPointCommandParameterInfo); |
| InteractionInfo writeBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.BallastConfigurationCluster) cluster) |
| .writeLampBurnHoursTripPointAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeBallastConfigurationLampBurnHoursTripPointCommandParams); |
| writeBallastConfigurationInteractionInfo.put( |
| "writeLampBurnHoursTripPointAttribute", |
| writeBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo); |
| writeAttributeMap.put("ballastConfiguration", writeBallastConfigurationInteractionInfo); |
| Map<String, InteractionInfo> writeIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("illuminanceMeasurement", writeIlluminanceMeasurementInteractionInfo); |
| Map<String, InteractionInfo> writeTemperatureMeasurementInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("temperatureMeasurement", writeTemperatureMeasurementInteractionInfo); |
| Map<String, InteractionInfo> writePressureMeasurementInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("pressureMeasurement", writePressureMeasurementInteractionInfo); |
| Map<String, InteractionInfo> writeFlowMeasurementInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("flowMeasurement", writeFlowMeasurementInteractionInfo); |
| Map<String, InteractionInfo> writeRelativeHumidityMeasurementInteractionInfo = |
| new LinkedHashMap<>(); |
| writeAttributeMap.put( |
| "relativeHumidityMeasurement", writeRelativeHumidityMeasurementInteractionInfo); |
| Map<String, InteractionInfo> writeOccupancySensingInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("occupancySensing", writeOccupancySensingInteractionInfo); |
| Map<String, InteractionInfo> writeWakeOnLanInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("wakeOnLan", writeWakeOnLanInteractionInfo); |
| Map<String, InteractionInfo> writeChannelInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("channel", writeChannelInteractionInfo); |
| Map<String, InteractionInfo> writeTargetNavigatorInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("targetNavigator", writeTargetNavigatorInteractionInfo); |
| Map<String, InteractionInfo> writeMediaPlaybackInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("mediaPlayback", writeMediaPlaybackInteractionInfo); |
| Map<String, InteractionInfo> writeMediaInputInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("mediaInput", writeMediaInputInteractionInfo); |
| Map<String, InteractionInfo> writeLowPowerInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("lowPower", writeLowPowerInteractionInfo); |
| Map<String, InteractionInfo> writeKeypadInputInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("keypadInput", writeKeypadInputInteractionInfo); |
| Map<String, InteractionInfo> writeContentLauncherInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeContentLauncherSupportedStreamingProtocolsCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo contentLaunchersupportedStreamingProtocolsCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeContentLauncherSupportedStreamingProtocolsCommandParams.put( |
| "value", contentLaunchersupportedStreamingProtocolsCommandParameterInfo); |
| InteractionInfo writeContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.ContentLauncherCluster) cluster) |
| .writeSupportedStreamingProtocolsAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeContentLauncherSupportedStreamingProtocolsCommandParams); |
| writeContentLauncherInteractionInfo.put( |
| "writeSupportedStreamingProtocolsAttribute", |
| writeContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo); |
| writeAttributeMap.put("contentLauncher", writeContentLauncherInteractionInfo); |
| Map<String, InteractionInfo> writeAudioOutputInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("audioOutput", writeAudioOutputInteractionInfo); |
| Map<String, InteractionInfo> writeApplicationLauncherInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("applicationLauncher", writeApplicationLauncherInteractionInfo); |
| Map<String, InteractionInfo> writeApplicationBasicInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("applicationBasic", writeApplicationBasicInteractionInfo); |
| Map<String, InteractionInfo> writeAccountLoginInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("accountLogin", writeAccountLoginInteractionInfo); |
| Map<String, InteractionInfo> writeElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); |
| writeAttributeMap.put("electricalMeasurement", writeElectricalMeasurementInteractionInfo); |
| Map<String, InteractionInfo> writeUnitTestingInteractionInfo = new LinkedHashMap<>(); |
| Map<String, CommandParameterInfo> writeUnitTestingBooleanCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingbooleanCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeUnitTestingBooleanCommandParams.put("value", unitTestingbooleanCommandParameterInfo); |
| InteractionInfo writeUnitTestingBooleanAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeBooleanAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingBooleanCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeBooleanAttribute", writeUnitTestingBooleanAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingBitmap8CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingbitmap8CommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingBitmap8CommandParams.put("value", unitTestingbitmap8CommandParameterInfo); |
| InteractionInfo writeUnitTestingBitmap8AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeBitmap8Attribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingBitmap8CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeBitmap8Attribute", writeUnitTestingBitmap8AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingBitmap16CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingbitmap16CommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingBitmap16CommandParams.put("value", unitTestingbitmap16CommandParameterInfo); |
| InteractionInfo writeUnitTestingBitmap16AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeBitmap16Attribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingBitmap16CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeBitmap16Attribute", writeUnitTestingBitmap16AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingBitmap32CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingbitmap32CommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingBitmap32CommandParams.put("value", unitTestingbitmap32CommandParameterInfo); |
| InteractionInfo writeUnitTestingBitmap32AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeBitmap32Attribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingBitmap32CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeBitmap32Attribute", writeUnitTestingBitmap32AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingBitmap64CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingbitmap64CommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingBitmap64CommandParams.put("value", unitTestingbitmap64CommandParameterInfo); |
| InteractionInfo writeUnitTestingBitmap64AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeBitmap64Attribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingBitmap64CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeBitmap64Attribute", writeUnitTestingBitmap64AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt8uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint8uCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingInt8uCommandParams.put("value", unitTestingint8uCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt8uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt8uAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt8uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt8uAttribute", writeUnitTestingInt8uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt16uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint16uCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingInt16uCommandParams.put("value", unitTestingint16uCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt16uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt16uAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt16uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt16uAttribute", writeUnitTestingInt16uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt24uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint24uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt24uCommandParams.put("value", unitTestingint24uCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt24uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt24uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt24uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt24uAttribute", writeUnitTestingInt24uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt32uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint32uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt32uCommandParams.put("value", unitTestingint32uCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt32uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt32uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt32uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt32uAttribute", writeUnitTestingInt32uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt40uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint40uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt40uCommandParams.put("value", unitTestingint40uCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt40uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt40uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt40uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt40uAttribute", writeUnitTestingInt40uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt48uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint48uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt48uCommandParams.put("value", unitTestingint48uCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt48uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt48uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt48uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt48uAttribute", writeUnitTestingInt48uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt56uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint56uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt56uCommandParams.put("value", unitTestingint56uCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt56uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt56uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt56uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt56uAttribute", writeUnitTestingInt56uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt64uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint64uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt64uCommandParams.put("value", unitTestingint64uCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt64uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt64uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt64uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt64uAttribute", writeUnitTestingInt64uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt8sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint8sCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingInt8sCommandParams.put("value", unitTestingint8sCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt8sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt8sAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt8sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt8sAttribute", writeUnitTestingInt8sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt16sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint16sCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingInt16sCommandParams.put("value", unitTestingint16sCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt16sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt16sAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt16sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt16sAttribute", writeUnitTestingInt16sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt24sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint24sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt24sCommandParams.put("value", unitTestingint24sCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt24sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt24sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt24sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt24sAttribute", writeUnitTestingInt24sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt32sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint32sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt32sCommandParams.put("value", unitTestingint32sCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt32sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt32sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt32sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt32sAttribute", writeUnitTestingInt32sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt40sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint40sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt40sCommandParams.put("value", unitTestingint40sCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt40sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt40sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt40sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt40sAttribute", writeUnitTestingInt40sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt48sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint48sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt48sCommandParams.put("value", unitTestingint48sCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt48sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt48sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt48sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt48sAttribute", writeUnitTestingInt48sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt56sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint56sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt56sCommandParams.put("value", unitTestingint56sCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt56sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt56sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt56sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt56sAttribute", writeUnitTestingInt56sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingInt64sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingint64sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingInt64sCommandParams.put("value", unitTestingint64sCommandParameterInfo); |
| InteractionInfo writeUnitTestingInt64sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeInt64sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingInt64sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeInt64sAttribute", writeUnitTestingInt64sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingEnum8CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingenum8CommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingEnum8CommandParams.put("value", unitTestingenum8CommandParameterInfo); |
| InteractionInfo writeUnitTestingEnum8AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeEnum8Attribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingEnum8CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeEnum8Attribute", writeUnitTestingEnum8AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingEnum16CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingenum16CommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingEnum16CommandParams.put("value", unitTestingenum16CommandParameterInfo); |
| InteractionInfo writeUnitTestingEnum16AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeEnum16Attribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingEnum16CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeEnum16Attribute", writeUnitTestingEnum16AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingFloatSingleCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingfloatSingleCommandParameterInfo = |
| new CommandParameterInfo("value", Float.class, Float.class); |
| writeUnitTestingFloatSingleCommandParams.put( |
| "value", unitTestingfloatSingleCommandParameterInfo); |
| InteractionInfo writeUnitTestingFloatSingleAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeFloatSingleAttribute( |
| (DefaultClusterCallback) callback, (Float) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingFloatSingleCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeFloatSingleAttribute", writeUnitTestingFloatSingleAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingFloatDoubleCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingfloatDoubleCommandParameterInfo = |
| new CommandParameterInfo("value", Double.class, Double.class); |
| writeUnitTestingFloatDoubleCommandParams.put( |
| "value", unitTestingfloatDoubleCommandParameterInfo); |
| InteractionInfo writeUnitTestingFloatDoubleAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeFloatDoubleAttribute( |
| (DefaultClusterCallback) callback, (Double) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingFloatDoubleCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeFloatDoubleAttribute", writeUnitTestingFloatDoubleAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingOctetStringCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingoctetStringCommandParameterInfo = |
| new CommandParameterInfo("value", byte[].class, byte[].class); |
| writeUnitTestingOctetStringCommandParams.put( |
| "value", unitTestingoctetStringCommandParameterInfo); |
| InteractionInfo writeUnitTestingOctetStringAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeOctetStringAttribute( |
| (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingOctetStringCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeOctetStringAttribute", writeUnitTestingOctetStringAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingLongOctetStringCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestinglongOctetStringCommandParameterInfo = |
| new CommandParameterInfo("value", byte[].class, byte[].class); |
| writeUnitTestingLongOctetStringCommandParams.put( |
| "value", unitTestinglongOctetStringCommandParameterInfo); |
| InteractionInfo writeUnitTestingLongOctetStringAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeLongOctetStringAttribute( |
| (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingLongOctetStringCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeLongOctetStringAttribute", writeUnitTestingLongOctetStringAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingCharStringCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingcharStringCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeUnitTestingCharStringCommandParams.put("value", unitTestingcharStringCommandParameterInfo); |
| InteractionInfo writeUnitTestingCharStringAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeCharStringAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingCharStringCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeCharStringAttribute", writeUnitTestingCharStringAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingLongCharStringCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestinglongCharStringCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeUnitTestingLongCharStringCommandParams.put( |
| "value", unitTestinglongCharStringCommandParameterInfo); |
| InteractionInfo writeUnitTestingLongCharStringAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeLongCharStringAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingLongCharStringCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeLongCharStringAttribute", writeUnitTestingLongCharStringAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingEpochUsCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingepochUsCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingEpochUsCommandParams.put("value", unitTestingepochUsCommandParameterInfo); |
| InteractionInfo writeUnitTestingEpochUsAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeEpochUsAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingEpochUsCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeEpochUsAttribute", writeUnitTestingEpochUsAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingEpochSCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingepochSCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingEpochSCommandParams.put("value", unitTestingepochSCommandParameterInfo); |
| InteractionInfo writeUnitTestingEpochSAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeEpochSAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingEpochSCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeEpochSAttribute", writeUnitTestingEpochSAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingVendorIdCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingvendorIdCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingVendorIdCommandParams.put("value", unitTestingvendorIdCommandParameterInfo); |
| InteractionInfo writeUnitTestingVendorIdAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeVendorIdAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingVendorIdCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeVendorIdAttribute", writeUnitTestingVendorIdAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingEnumAttrCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingenumAttrCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingEnumAttrCommandParams.put("value", unitTestingenumAttrCommandParameterInfo); |
| InteractionInfo writeUnitTestingEnumAttrAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeEnumAttrAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingEnumAttrCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeEnumAttrAttribute", writeUnitTestingEnumAttrAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingRangeRestrictedInt8uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingrangeRestrictedInt8uCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingRangeRestrictedInt8uCommandParams.put( |
| "value", unitTestingrangeRestrictedInt8uCommandParameterInfo); |
| InteractionInfo writeUnitTestingRangeRestrictedInt8uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeRangeRestrictedInt8uAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingRangeRestrictedInt8uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeRangeRestrictedInt8uAttribute", |
| writeUnitTestingRangeRestrictedInt8uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingRangeRestrictedInt8sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingrangeRestrictedInt8sCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingRangeRestrictedInt8sCommandParams.put( |
| "value", unitTestingrangeRestrictedInt8sCommandParameterInfo); |
| InteractionInfo writeUnitTestingRangeRestrictedInt8sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeRangeRestrictedInt8sAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingRangeRestrictedInt8sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeRangeRestrictedInt8sAttribute", |
| writeUnitTestingRangeRestrictedInt8sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingRangeRestrictedInt16uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingrangeRestrictedInt16uCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingRangeRestrictedInt16uCommandParams.put( |
| "value", unitTestingrangeRestrictedInt16uCommandParameterInfo); |
| InteractionInfo writeUnitTestingRangeRestrictedInt16uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeRangeRestrictedInt16uAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingRangeRestrictedInt16uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeRangeRestrictedInt16uAttribute", |
| writeUnitTestingRangeRestrictedInt16uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingRangeRestrictedInt16sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingrangeRestrictedInt16sCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingRangeRestrictedInt16sCommandParams.put( |
| "value", unitTestingrangeRestrictedInt16sCommandParameterInfo); |
| InteractionInfo writeUnitTestingRangeRestrictedInt16sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeRangeRestrictedInt16sAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingRangeRestrictedInt16sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeRangeRestrictedInt16sAttribute", |
| writeUnitTestingRangeRestrictedInt16sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingTimedWriteBooleanCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingtimedWriteBooleanCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeUnitTestingTimedWriteBooleanCommandParams.put( |
| "value", unitTestingtimedWriteBooleanCommandParameterInfo); |
| InteractionInfo writeUnitTestingTimedWriteBooleanAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeTimedWriteBooleanAttribute( |
| (DefaultClusterCallback) callback, |
| (Boolean) commandArguments.get("value"), |
| 10000); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingTimedWriteBooleanCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeTimedWriteBooleanAttribute", |
| writeUnitTestingTimedWriteBooleanAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingGeneralErrorBooleanCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestinggeneralErrorBooleanCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeUnitTestingGeneralErrorBooleanCommandParams.put( |
| "value", unitTestinggeneralErrorBooleanCommandParameterInfo); |
| InteractionInfo writeUnitTestingGeneralErrorBooleanAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeGeneralErrorBooleanAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingGeneralErrorBooleanCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeGeneralErrorBooleanAttribute", |
| writeUnitTestingGeneralErrorBooleanAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingClusterErrorBooleanCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingclusterErrorBooleanCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeUnitTestingClusterErrorBooleanCommandParams.put( |
| "value", unitTestingclusterErrorBooleanCommandParameterInfo); |
| InteractionInfo writeUnitTestingClusterErrorBooleanAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeClusterErrorBooleanAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingClusterErrorBooleanCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeClusterErrorBooleanAttribute", |
| writeUnitTestingClusterErrorBooleanAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingUnsupportedCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingunsupportedCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeUnitTestingUnsupportedCommandParams.put( |
| "value", unitTestingunsupportedCommandParameterInfo); |
| InteractionInfo writeUnitTestingUnsupportedAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeUnsupportedAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingUnsupportedCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeUnsupportedAttribute", writeUnitTestingUnsupportedAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableBooleanCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableBooleanCommandParameterInfo = |
| new CommandParameterInfo("value", Boolean.class, Boolean.class); |
| writeUnitTestingNullableBooleanCommandParams.put( |
| "value", unitTestingnullableBooleanCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableBooleanAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableBooleanAttribute( |
| (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableBooleanCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableBooleanAttribute", writeUnitTestingNullableBooleanAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableBitmap8CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableBitmap8CommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableBitmap8CommandParams.put( |
| "value", unitTestingnullableBitmap8CommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableBitmap8AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableBitmap8Attribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableBitmap8CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableBitmap8Attribute", writeUnitTestingNullableBitmap8AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableBitmap16CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableBitmap16CommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableBitmap16CommandParams.put( |
| "value", unitTestingnullableBitmap16CommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableBitmap16AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableBitmap16Attribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableBitmap16CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableBitmap16Attribute", writeUnitTestingNullableBitmap16AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableBitmap32CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableBitmap32CommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableBitmap32CommandParams.put( |
| "value", unitTestingnullableBitmap32CommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableBitmap32AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableBitmap32Attribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableBitmap32CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableBitmap32Attribute", writeUnitTestingNullableBitmap32AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableBitmap64CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableBitmap64CommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableBitmap64CommandParams.put( |
| "value", unitTestingnullableBitmap64CommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableBitmap64AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableBitmap64Attribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableBitmap64CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableBitmap64Attribute", writeUnitTestingNullableBitmap64AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt8uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt8uCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableInt8uCommandParams.put( |
| "value", unitTestingnullableInt8uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt8uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt8uAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt8uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt8uAttribute", writeUnitTestingNullableInt8uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt16uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt16uCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableInt16uCommandParams.put( |
| "value", unitTestingnullableInt16uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt16uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt16uAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt16uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt16uAttribute", writeUnitTestingNullableInt16uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt24uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt24uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt24uCommandParams.put( |
| "value", unitTestingnullableInt24uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt24uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt24uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt24uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt24uAttribute", writeUnitTestingNullableInt24uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt32uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt32uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt32uCommandParams.put( |
| "value", unitTestingnullableInt32uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt32uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt32uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt32uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt32uAttribute", writeUnitTestingNullableInt32uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt40uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt40uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt40uCommandParams.put( |
| "value", unitTestingnullableInt40uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt40uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt40uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt40uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt40uAttribute", writeUnitTestingNullableInt40uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt48uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt48uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt48uCommandParams.put( |
| "value", unitTestingnullableInt48uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt48uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt48uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt48uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt48uAttribute", writeUnitTestingNullableInt48uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt56uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt56uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt56uCommandParams.put( |
| "value", unitTestingnullableInt56uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt56uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt56uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt56uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt56uAttribute", writeUnitTestingNullableInt56uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt64uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt64uCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt64uCommandParams.put( |
| "value", unitTestingnullableInt64uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt64uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt64uAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt64uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt64uAttribute", writeUnitTestingNullableInt64uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt8sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt8sCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableInt8sCommandParams.put( |
| "value", unitTestingnullableInt8sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt8sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt8sAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt8sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt8sAttribute", writeUnitTestingNullableInt8sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt16sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt16sCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableInt16sCommandParams.put( |
| "value", unitTestingnullableInt16sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt16sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt16sAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt16sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt16sAttribute", writeUnitTestingNullableInt16sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt24sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt24sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt24sCommandParams.put( |
| "value", unitTestingnullableInt24sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt24sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt24sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt24sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt24sAttribute", writeUnitTestingNullableInt24sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt32sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt32sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt32sCommandParams.put( |
| "value", unitTestingnullableInt32sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt32sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt32sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt32sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt32sAttribute", writeUnitTestingNullableInt32sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt40sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt40sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt40sCommandParams.put( |
| "value", unitTestingnullableInt40sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt40sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt40sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt40sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt40sAttribute", writeUnitTestingNullableInt40sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt48sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt48sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt48sCommandParams.put( |
| "value", unitTestingnullableInt48sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt48sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt48sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt48sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt48sAttribute", writeUnitTestingNullableInt48sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt56sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt56sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt56sCommandParams.put( |
| "value", unitTestingnullableInt56sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt56sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt56sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt56sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt56sAttribute", writeUnitTestingNullableInt56sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableInt64sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableInt64sCommandParameterInfo = |
| new CommandParameterInfo("value", Long.class, Long.class); |
| writeUnitTestingNullableInt64sCommandParams.put( |
| "value", unitTestingnullableInt64sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableInt64sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableInt64sAttribute( |
| (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableInt64sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableInt64sAttribute", writeUnitTestingNullableInt64sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableEnum8CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableEnum8CommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableEnum8CommandParams.put( |
| "value", unitTestingnullableEnum8CommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableEnum8AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableEnum8Attribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableEnum8CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableEnum8Attribute", writeUnitTestingNullableEnum8AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableEnum16CommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableEnum16CommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableEnum16CommandParams.put( |
| "value", unitTestingnullableEnum16CommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableEnum16AttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableEnum16Attribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableEnum16CommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableEnum16Attribute", writeUnitTestingNullableEnum16AttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableFloatSingleCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableFloatSingleCommandParameterInfo = |
| new CommandParameterInfo("value", Float.class, Float.class); |
| writeUnitTestingNullableFloatSingleCommandParams.put( |
| "value", unitTestingnullableFloatSingleCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableFloatSingleAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableFloatSingleAttribute( |
| (DefaultClusterCallback) callback, (Float) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableFloatSingleCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableFloatSingleAttribute", |
| writeUnitTestingNullableFloatSingleAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableFloatDoubleCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableFloatDoubleCommandParameterInfo = |
| new CommandParameterInfo("value", Double.class, Double.class); |
| writeUnitTestingNullableFloatDoubleCommandParams.put( |
| "value", unitTestingnullableFloatDoubleCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableFloatDoubleAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableFloatDoubleAttribute( |
| (DefaultClusterCallback) callback, (Double) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableFloatDoubleCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableFloatDoubleAttribute", |
| writeUnitTestingNullableFloatDoubleAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableOctetStringCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableOctetStringCommandParameterInfo = |
| new CommandParameterInfo("value", byte[].class, byte[].class); |
| writeUnitTestingNullableOctetStringCommandParams.put( |
| "value", unitTestingnullableOctetStringCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableOctetStringAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableOctetStringAttribute( |
| (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableOctetStringCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableOctetStringAttribute", |
| writeUnitTestingNullableOctetStringAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableCharStringCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableCharStringCommandParameterInfo = |
| new CommandParameterInfo("value", String.class, String.class); |
| writeUnitTestingNullableCharStringCommandParams.put( |
| "value", unitTestingnullableCharStringCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableCharStringAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableCharStringAttribute( |
| (DefaultClusterCallback) callback, (String) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableCharStringCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableCharStringAttribute", |
| writeUnitTestingNullableCharStringAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableEnumAttrCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableEnumAttrCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableEnumAttrCommandParams.put( |
| "value", unitTestingnullableEnumAttrCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableEnumAttrAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableEnumAttrAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableEnumAttrCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableEnumAttrAttribute", writeUnitTestingNullableEnumAttrAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableRangeRestrictedInt8uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableRangeRestrictedInt8uCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableRangeRestrictedInt8uCommandParams.put( |
| "value", unitTestingnullableRangeRestrictedInt8uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableRangeRestrictedInt8uAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableRangeRestrictedInt8uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableRangeRestrictedInt8uAttribute", |
| writeUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableRangeRestrictedInt8sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableRangeRestrictedInt8sCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableRangeRestrictedInt8sCommandParams.put( |
| "value", unitTestingnullableRangeRestrictedInt8sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableRangeRestrictedInt8sAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableRangeRestrictedInt8sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableRangeRestrictedInt8sAttribute", |
| writeUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableRangeRestrictedInt16uCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableRangeRestrictedInt16uCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableRangeRestrictedInt16uCommandParams.put( |
| "value", unitTestingnullableRangeRestrictedInt16uCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableRangeRestrictedInt16uAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableRangeRestrictedInt16uCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableRangeRestrictedInt16uAttribute", |
| writeUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo); |
| Map<String, CommandParameterInfo> writeUnitTestingNullableRangeRestrictedInt16sCommandParams = |
| new LinkedHashMap<String, CommandParameterInfo>(); |
| CommandParameterInfo unitTestingnullableRangeRestrictedInt16sCommandParameterInfo = |
| new CommandParameterInfo("value", Integer.class, Integer.class); |
| writeUnitTestingNullableRangeRestrictedInt16sCommandParams.put( |
| "value", unitTestingnullableRangeRestrictedInt16sCommandParameterInfo); |
| InteractionInfo writeUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo = |
| new InteractionInfo( |
| (cluster, callback, commandArguments) -> { |
| ((ChipClusters.UnitTestingCluster) cluster) |
| .writeNullableRangeRestrictedInt16sAttribute( |
| (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); |
| }, |
| () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), |
| writeUnitTestingNullableRangeRestrictedInt16sCommandParams); |
| writeUnitTestingInteractionInfo.put( |
| "writeNullableRangeRestrictedInt16sAttribute", |
| writeUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); |
| writeAttributeMap.put("unitTesting", writeUnitTestingInteractionInfo); |
| return writeAttributeMap; |
| } |
| } |