From 22106608dc5070c1fa3ae78b6cab6f8a50e98a91 Mon Sep 17 00:00:00 2001 From: joonhaengHeo <85541460+joonhaengHeo@users.noreply.github.com> Date: Wed, 22 Feb 2023 06:57:14 +0900 Subject: [PATCH] Modify ClusterInfo Mapping (#25098) --- .../ClusterDetailFragment.kt | 4 +- .../java/templates/ClusterInfo-java.zapt | 20 +- .../ClusterInfo-read-interaction.zapt | 8 +- .../devicecontroller/ClusterInfoMapping.java | 6341 +++++++++++++---- .../devicecontroller/ClusterReadMapping.java | 601 +- 5 files changed, 5578 insertions(+), 1396 deletions(-) diff --git a/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt b/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt index 3cc7716d4ea530..94904d08424803 100644 --- a/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt +++ b/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt @@ -315,7 +315,9 @@ class ClusterDetailFragment : Fragment() { val clusterCallbackTypeTv: TextView = callbackItem.findViewById(R.id.clusterCallbackTypeTv) clusterCallbackNameTv.text = variableNameType.name - clusterCallbackDataTv.text = if (response.javaClass == ByteArray::class.java) { + clusterCallbackDataTv.text = if (response == null) { + "null" + } else if (response.javaClass == ByteArray::class.java) { (response as ByteArray).decodeToString() } else { response.toString() diff --git a/src/controller/java/templates/ClusterInfo-java.zapt b/src/controller/java/templates/ClusterInfo-java.zapt index e022c7ac9259af..c9772c493e8438 100644 --- a/src/controller/java/templates/ClusterInfo-java.zapt +++ b/src/controller/java/templates/ClusterInfo-java.zapt @@ -236,11 +236,9 @@ public class ClusterInfoMapping { {{/chip_cluster_responses}} {{#chip_server_cluster_attributes}} - {{#if isArray}} - {{#if isStruct}} - - {{/if}} - + {{#unless (isStrEqual chipCallback.name "Unsupported")}} + {{#if_basic_global_response}} + {{else}} public static class Delegated{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}AttributeCallback implements ChipClusters.{{asUpperCamelCase ../name}}Cluster.{{asUpperCamelCase name}}AttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -252,18 +250,28 @@ public class ClusterInfoMapping { false. }} {{~#*inline "asJavaTypeForEntry"}}{{asJavaType type null parent.name forceNotList=true}}{{/inline~}} @Override + {{#if isArray}} public void onSuccess({{#if isNullable}}@Nullable{{/if}} List<{{> asJavaTypeForEntry isArray=false}}> valueList) { Map responseValues = new LinkedHashMap<>(); CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List<{{> asJavaTypeForEntry isArray=false}}>"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } + {{else}} + public void onSuccess({{#if isNullable}}@Nullable{{/if}} {{>asJavaTypeForEntry isArray=false}} value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "{{> asJavaTypeForEntry isArray=false}}"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + {{/if}} @Override public void onError(Exception ex) { callback.onFailure(ex); } } - {{/if}} + {{/if_basic_global_response}} + {{/unless}} {{/chip_server_cluster_attributes}} {{/chip_client_clusters}} diff --git a/src/controller/java/templates/ClusterInfo-read-interaction.zapt b/src/controller/java/templates/ClusterInfo-read-interaction.zapt index e2e489805836cb..9bac61771b93da 100644 --- a/src/controller/java/templates/ClusterInfo-read-interaction.zapt +++ b/src/controller/java/templates/ClusterInfo-read-interaction.zapt @@ -29,11 +29,11 @@ public class ClusterReadMapping { {{/if_basic_global_response}}) callback ); }, - {{#if isArray}} - () -> new ClusterInfoMapping.Delegated{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}AttributeCallback(), - {{else}} + {{#if_basic_global_response}} () -> new ClusterInfoMapping.Delegated{{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback(), - {{/if}} + {{else}} + () -> new ClusterInfoMapping.Delegated{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}AttributeCallback(), + {{/if_basic_global_response}} read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams ); read{{asUpperCamelCase ../name}}InteractionInfo.put("read{{asUpperCamelCase name}}Attribute", read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo); diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java index e6ad7c6ffdc796..9650a37266b3d9 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java @@ -697,6 +697,30 @@ public void onError(Exception error) { } } + public static class DelegatedScenesClusterCurrentGroupAttributeCallback + implements ChipClusters.ScenesCluster.CurrentGroupAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedScenesClusterGeneratedCommandListAttributeCallback implements ChipClusters.ScenesCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { @@ -792,6 +816,29 @@ public void onError(Exception ex) { } } + public static class DelegatedOnOffClusterStartUpOnOffAttributeCallback + implements ChipClusters.OnOffCluster.StartUpOnOffAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOnOffClusterGeneratedCommandListAttributeCallback implements ChipClusters.OnOffCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { @@ -983,6 +1030,150 @@ public void onError(Exception ex) { } } + public static class DelegatedLevelControlClusterCurrentLevelAttributeCallback + implements ChipClusters.LevelControlCluster.CurrentLevelAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedLevelControlClusterOnLevelAttributeCallback + implements ChipClusters.LevelControlCluster.OnLevelAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedLevelControlClusterOnTransitionTimeAttributeCallback + implements ChipClusters.LevelControlCluster.OnTransitionTimeAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedLevelControlClusterOffTransitionTimeAttributeCallback + implements ChipClusters.LevelControlCluster.OffTransitionTimeAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedLevelControlClusterDefaultMoveRateAttributeCallback + implements ChipClusters.LevelControlCluster.DefaultMoveRateAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedLevelControlClusterStartUpCurrentLevelAttributeCallback + implements ChipClusters.LevelControlCluster.StartUpCurrentLevelAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLevelControlClusterGeneratedCommandListAttributeCallback implements ChipClusters.LevelControlCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { @@ -1783,6 +1974,30 @@ public void onError(Exception ex) { } } + public static class DelegatedBasicInformationClusterVendorIDAttributeCallback + implements ChipClusters.BasicInformationCluster.VendorIDAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBasicInformationClusterGeneratedCommandListAttributeCallback implements ChipClusters.BasicInformationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { @@ -2084,6 +2299,31 @@ public void onError(Exception ex) { } } + public static class DelegatedOtaSoftwareUpdateRequestorClusterUpdateStateProgressAttributeCallback + implements ChipClusters.OtaSoftwareUpdateRequestorCluster + .UpdateStateProgressAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOtaSoftwareUpdateRequestorClusterGeneratedCommandListAttributeCallback implements ChipClusters.OtaSoftwareUpdateRequestorCluster @@ -2643,8 +2883,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPowerSourceClusterActiveWiredFaultsAttributeCallback - implements ChipClusters.PowerSourceCluster.ActiveWiredFaultsAttributeCallback, + public static class DelegatedPowerSourceClusterWiredAssessedInputVoltageAttributeCallback + implements ChipClusters.PowerSourceCluster.WiredAssessedInputVoltageAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -2654,11 +2894,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -2668,8 +2907,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPowerSourceClusterActiveBatFaultsAttributeCallback - implements ChipClusters.PowerSourceCluster.ActiveBatFaultsAttributeCallback, + public static class DelegatedPowerSourceClusterWiredAssessedInputFrequencyAttributeCallback + implements ChipClusters.PowerSourceCluster.WiredAssessedInputFrequencyAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -2679,11 +2918,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -2693,8 +2931,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPowerSourceClusterActiveBatChargeFaultsAttributeCallback - implements ChipClusters.PowerSourceCluster.ActiveBatChargeFaultsAttributeCallback, + public static class DelegatedPowerSourceClusterWiredAssessedCurrentAttributeCallback + implements ChipClusters.PowerSourceCluster.WiredAssessedCurrentAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -2704,11 +2942,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -2718,8 +2955,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPowerSourceClusterGeneratedCommandListAttributeCallback - implements ChipClusters.PowerSourceCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedPowerSourceClusterActiveWiredFaultsAttributeCallback + implements ChipClusters.PowerSourceCluster.ActiveWiredFaultsAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -2729,9 +2966,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -2742,8 +2980,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPowerSourceClusterAcceptedCommandListAttributeCallback - implements ChipClusters.PowerSourceCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedPowerSourceClusterBatVoltageAttributeCallback + implements ChipClusters.PowerSourceCluster.BatVoltageAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -2753,10 +2991,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -2766,8 +3004,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPowerSourceClusterEventListAttributeCallback - implements ChipClusters.PowerSourceCluster.EventListAttributeCallback, + public static class DelegatedPowerSourceClusterBatPercentRemainingAttributeCallback + implements ChipClusters.PowerSourceCluster.BatPercentRemainingAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -2777,10 +3015,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -2790,8 +3028,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPowerSourceClusterAttributeListAttributeCallback - implements ChipClusters.PowerSourceCluster.AttributeListAttributeCallback, + public static class DelegatedPowerSourceClusterBatTimeRemainingAttributeCallback + implements ChipClusters.PowerSourceCluster.BatTimeRemainingAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -2801,10 +3039,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -2814,8 +3052,8 @@ public void onError(Exception ex) { } } - public static class DelegatedGeneralCommissioningClusterArmFailSafeResponseCallback - implements ChipClusters.GeneralCommissioningCluster.ArmFailSafeResponseCallback, + public static class DelegatedPowerSourceClusterActiveBatFaultsAttributeCallback + implements ChipClusters.PowerSourceCluster.ActiveBatFaultsAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -2825,23 +3063,22 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer ErrorCode, String DebugText) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); - responseValues.put(ErrorCodeResponseValue, ErrorCode); - CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); - responseValues.put(DebugTextResponseValue, DebugText); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedGeneralCommissioningClusterSetRegulatoryConfigResponseCallback - implements ChipClusters.GeneralCommissioningCluster.SetRegulatoryConfigResponseCallback, + public static class DelegatedPowerSourceClusterBatTimeToFullChargeAttributeCallback + implements ChipClusters.PowerSourceCluster.BatTimeToFullChargeAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -2851,12 +3088,207 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer ErrorCode, String DebugText) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); - responseValues.put(ErrorCodeResponseValue, ErrorCode); - CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); - responseValues.put(DebugTextResponseValue, DebugText); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPowerSourceClusterBatChargingCurrentAttributeCallback + implements ChipClusters.PowerSourceCluster.BatChargingCurrentAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPowerSourceClusterActiveBatChargeFaultsAttributeCallback + implements ChipClusters.PowerSourceCluster.ActiveBatChargeFaultsAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPowerSourceClusterGeneratedCommandListAttributeCallback + implements ChipClusters.PowerSourceCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPowerSourceClusterAcceptedCommandListAttributeCallback + implements ChipClusters.PowerSourceCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPowerSourceClusterEventListAttributeCallback + implements ChipClusters.PowerSourceCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPowerSourceClusterAttributeListAttributeCallback + implements ChipClusters.PowerSourceCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGeneralCommissioningClusterArmFailSafeResponseCallback + implements ChipClusters.GeneralCommissioningCluster.ArmFailSafeResponseCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer ErrorCode, String DebugText) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); + responseValues.put(ErrorCodeResponseValue, ErrorCode); + CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); + responseValues.put(DebugTextResponseValue, DebugText); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGeneralCommissioningClusterSetRegulatoryConfigResponseCallback + implements ChipClusters.GeneralCommissioningCluster.SetRegulatoryConfigResponseCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer ErrorCode, String DebugText) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); + responseValues.put(ErrorCodeResponseValue, ErrorCode); + CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); + responseValues.put(DebugTextResponseValue, DebugText); callback.onSuccess(responseValues); } @@ -3115,6 +3547,78 @@ public void onError(Exception ex) { } } + public static class DelegatedNetworkCommissioningClusterLastNetworkingStatusAttributeCallback + implements ChipClusters.NetworkCommissioningCluster.LastNetworkingStatusAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedNetworkCommissioningClusterLastNetworkIDAttributeCallback + implements ChipClusters.NetworkCommissioningCluster.LastNetworkIDAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable byte[] value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedNetworkCommissioningClusterLastConnectErrorValueAttributeCallback + implements ChipClusters.NetworkCommissioningCluster.LastConnectErrorValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNetworkCommissioningClusterGeneratedCommandListAttributeCallback implements ChipClusters.NetworkCommissioningCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { @@ -3663,8 +4167,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThreadNetworkDiagnosticsClusterNeighborTableAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.NeighborTableAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterChannelAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3674,13 +4178,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3690,8 +4191,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThreadNetworkDiagnosticsClusterRouteTableAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterRoutingRoleAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.RoutingRoleAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3701,12 +4202,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3716,10 +4215,8 @@ public void onError(Exception ex) { } } - public static - class DelegatedThreadNetworkDiagnosticsClusterActiveNetworkFaultsListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster - .ActiveNetworkFaultsListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterNetworkNameAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.NetworkNameAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3729,11 +4226,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable String value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3743,8 +4239,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThreadNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterPanIdAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.PanIdAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3754,10 +4250,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3767,8 +4263,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThreadNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterExtendedPanIdAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.ExtendedPanIdAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3778,10 +4274,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3791,8 +4287,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThreadNetworkDiagnosticsClusterEventListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.EventListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterMeshLocalPrefixAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.MeshLocalPrefixAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3802,10 +4298,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable byte[] value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3815,8 +4311,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThreadNetworkDiagnosticsClusterAttributeListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.AttributeListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterNeighborTableAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.NeighborTableAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3826,9 +4322,12 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess( + List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -3839,8 +4338,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWiFiNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterRouteTableAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3850,9 +4349,11 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -3863,8 +4364,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWiFiNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterPartitionIdAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.PartitionIdAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3874,10 +4375,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3887,8 +4388,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWiFiNetworkDiagnosticsClusterEventListAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.EventListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterWeightingAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.WeightingAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3898,10 +4399,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3911,8 +4412,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWiFiNetworkDiagnosticsClusterAttributeListAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.AttributeListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterDataVersionAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.DataVersionAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3922,10 +4423,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3935,10 +4436,8 @@ public void onError(Exception ex) { } } - public static - class DelegatedEthernetNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster - .GeneratedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterStableDataVersionAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.StableDataVersionAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3948,10 +4447,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3961,9 +4460,8 @@ public void onError(Exception ex) { } } - public static class DelegatedEthernetNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster - .AcceptedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterLeaderRouterIdAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.LeaderRouterIdAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3973,10 +4471,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -3986,8 +4484,8 @@ public void onError(Exception ex) { } } - public static class DelegatedEthernetNetworkDiagnosticsClusterEventListAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster.EventListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterActiveTimestampAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.ActiveTimestampAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -3997,10 +4495,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4010,8 +4508,8 @@ public void onError(Exception ex) { } } - public static class DelegatedEthernetNetworkDiagnosticsClusterAttributeListAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster.AttributeListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterPendingTimestampAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.PendingTimestampAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4021,10 +4519,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4034,10 +4532,8 @@ public void onError(Exception ex) { } } - public static - class DelegatedBridgedDeviceBasicInformationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BridgedDeviceBasicInformationCluster - .GeneratedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterDelayAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.DelayAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4047,10 +4543,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4060,10 +4556,8 @@ public void onError(Exception ex) { } } - public static - class DelegatedBridgedDeviceBasicInformationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BridgedDeviceBasicInformationCluster - .AcceptedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterChannelPage0MaskAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelPage0MaskAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4073,10 +4567,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable byte[] value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4086,8 +4580,10 @@ public void onError(Exception ex) { } } - public static class DelegatedBridgedDeviceBasicInformationClusterEventListAttributeCallback - implements ChipClusters.BridgedDeviceBasicInformationCluster.EventListAttributeCallback, + public static + class DelegatedThreadNetworkDiagnosticsClusterActiveNetworkFaultsListAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster + .ActiveNetworkFaultsListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4097,9 +4593,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -4110,8 +4607,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBridgedDeviceBasicInformationClusterAttributeListAttributeCallback - implements ChipClusters.BridgedDeviceBasicInformationCluster.AttributeListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4134,8 +4631,8 @@ public void onError(Exception ex) { } } - public static class DelegatedSwitchClusterGeneratedCommandListAttributeCallback - implements ChipClusters.SwitchCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4158,8 +4655,8 @@ public void onError(Exception ex) { } } - public static class DelegatedSwitchClusterAcceptedCommandListAttributeCallback - implements ChipClusters.SwitchCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedThreadNetworkDiagnosticsClusterEventListAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4182,8 +4679,9 @@ public void onError(Exception ex) { } } - public static class DelegatedSwitchClusterEventListAttributeCallback - implements ChipClusters.SwitchCluster.EventListAttributeCallback, DelegatedClusterCallback { + public static class DelegatedThreadNetworkDiagnosticsClusterAttributeListAttributeCallback + implements ChipClusters.ThreadNetworkDiagnosticsCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -4205,8 +4703,8 @@ public void onError(Exception ex) { } } - public static class DelegatedSwitchClusterAttributeListAttributeCallback - implements ChipClusters.SwitchCluster.AttributeListAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterBssidAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.BssidAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4216,10 +4714,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable byte[] value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4229,10 +4727,8 @@ public void onError(Exception ex) { } } - public static - class DelegatedAdministratorCommissioningClusterGeneratedCommandListAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster - .GeneratedCommandListAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterSecurityTypeAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.SecurityTypeAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4242,10 +4738,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4255,9 +4751,8 @@ public void onError(Exception ex) { } } - public static class DelegatedAdministratorCommissioningClusterAcceptedCommandListAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster - .AcceptedCommandListAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterWiFiVersionAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.WiFiVersionAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4267,10 +4762,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4280,8 +4775,8 @@ public void onError(Exception ex) { } } - public static class DelegatedAdministratorCommissioningClusterEventListAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster.EventListAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterChannelNumberAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.ChannelNumberAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4291,10 +4786,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4304,8 +4799,8 @@ public void onError(Exception ex) { } } - public static class DelegatedAdministratorCommissioningClusterAttributeListAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster.AttributeListAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterRssiAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.RssiAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4315,10 +4810,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4328,8 +4823,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOperationalCredentialsClusterAttestationResponseCallback - implements ChipClusters.OperationalCredentialsCluster.AttestationResponseCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterBeaconLostCountAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconLostCountAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4339,25 +4834,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(byte[] AttestationElements, byte[] AttestationSignature) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo AttestationElementsResponseValue = - new CommandResponseInfo("AttestationElements", "byte[]"); - responseValues.put(AttestationElementsResponseValue, AttestationElements); - CommandResponseInfo AttestationSignatureResponseValue = - new CommandResponseInfo("AttestationSignature", "byte[]"); - responseValues.put(AttestationSignatureResponseValue, AttestationSignature); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedOperationalCredentialsClusterCertificateChainResponseCallback - implements ChipClusters.OperationalCredentialsCluster.CertificateChainResponseCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterBeaconRxCountAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconRxCountAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4367,22 +4858,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(byte[] Certificate) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo CertificateResponseValue = - new CommandResponseInfo("Certificate", "byte[]"); - responseValues.put(CertificateResponseValue, Certificate); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedOperationalCredentialsClusterCSRResponseCallback - implements ChipClusters.OperationalCredentialsCluster.CSRResponseCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastRxCountAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastRxCountAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4392,25 +4882,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(byte[] NOCSRElements, byte[] AttestationSignature) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo NOCSRElementsResponseValue = - new CommandResponseInfo("NOCSRElements", "byte[]"); - responseValues.put(NOCSRElementsResponseValue, NOCSRElements); - CommandResponseInfo AttestationSignatureResponseValue = - new CommandResponseInfo("AttestationSignature", "byte[]"); - responseValues.put(AttestationSignatureResponseValue, AttestationSignature); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedOperationalCredentialsClusterNOCResponseCallback - implements ChipClusters.OperationalCredentialsCluster.NOCResponseCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastTxCountAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastTxCountAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4420,29 +4906,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - Integer StatusCode, Optional FabricIndex, Optional DebugText) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusCodeResponseValue = - new CommandResponseInfo("StatusCode", "Integer"); - responseValues.put(StatusCodeResponseValue, StatusCode); - CommandResponseInfo FabricIndexResponseValue = - new CommandResponseInfo("FabricIndex", "Optional"); - responseValues.put(FabricIndexResponseValue, FabricIndex); - CommandResponseInfo DebugTextResponseValue = - new CommandResponseInfo("DebugText", "Optional"); - responseValues.put(DebugTextResponseValue, DebugText); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedOperationalCredentialsClusterNOCsAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.NOCsAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastRxCountAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastRxCountAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4452,12 +4930,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4467,8 +4943,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOperationalCredentialsClusterFabricsAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.FabricsAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastTxCountAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastTxCountAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4478,13 +4954,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4494,9 +4967,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOperationalCredentialsClusterTrustedRootCertificatesAttributeCallback - implements ChipClusters.OperationalCredentialsCluster - .TrustedRootCertificatesAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterCurrentMaxRateAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.CurrentMaxRateAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4506,11 +4978,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4520,8 +4991,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOperationalCredentialsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterOverrunCountAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.OverrunCountAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4531,10 +5002,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4544,8 +5015,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOperationalCredentialsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4568,8 +5039,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOperationalCredentialsClusterEventListAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.EventListAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4592,8 +5063,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOperationalCredentialsClusterAttributeListAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.AttributeListAttributeCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterEventListAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4616,8 +5087,8 @@ public void onError(Exception ex) { } } - public static class DelegatedGroupKeyManagementClusterKeySetReadResponseCallback - implements ChipClusters.GroupKeyManagementCluster.KeySetReadResponseCallback, + public static class DelegatedWiFiNetworkDiagnosticsClusterAttributeListAttributeCallback + implements ChipClusters.WiFiNetworkDiagnosticsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4627,21 +5098,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(ChipStructs.GroupKeyManagementClusterGroupKeySetStruct GroupKeySet) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - // GroupKeySet: Struct GroupKeySetStruct - // Conversion from this type to Java is not properly implemented yet + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedGroupKeyManagementClusterKeySetReadAllIndicesResponseCallback - implements ChipClusters.GroupKeyManagementCluster.KeySetReadAllIndicesResponseCallback, + public static class DelegatedEthernetNetworkDiagnosticsClusterPHYRateAttributeCallback + implements ChipClusters.EthernetNetworkDiagnosticsCluster.PHYRateAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4651,21 +5122,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(ArrayList GroupKeySetIDs) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - // GroupKeySetIDs: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedGroupKeyManagementClusterGroupKeyMapAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.GroupKeyMapAttributeCallback, + public static class DelegatedEthernetNetworkDiagnosticsClusterFullDuplexAttributeCallback + implements ChipClusters.EthernetNetworkDiagnosticsCluster.FullDuplexAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4675,12 +5146,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Boolean value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Boolean"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4690,8 +5159,8 @@ public void onError(Exception ex) { } } - public static class DelegatedGroupKeyManagementClusterGroupTableAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.GroupTableAttributeCallback, + public static class DelegatedEthernetNetworkDiagnosticsClusterCarrierDetectAttributeCallback + implements ChipClusters.EthernetNetworkDiagnosticsCluster.CarrierDetectAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4701,12 +5170,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Boolean value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Boolean"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4716,8 +5183,10 @@ public void onError(Exception ex) { } } - public static class DelegatedGroupKeyManagementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.GeneratedCommandListAttributeCallback, + public static + class DelegatedEthernetNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback + implements ChipClusters.EthernetNetworkDiagnosticsCluster + .GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4740,8 +5209,9 @@ public void onError(Exception ex) { } } - public static class DelegatedGroupKeyManagementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedEthernetNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback + implements ChipClusters.EthernetNetworkDiagnosticsCluster + .AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4764,8 +5234,8 @@ public void onError(Exception ex) { } } - public static class DelegatedGroupKeyManagementClusterEventListAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.EventListAttributeCallback, + public static class DelegatedEthernetNetworkDiagnosticsClusterEventListAttributeCallback + implements ChipClusters.EthernetNetworkDiagnosticsCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4788,8 +5258,8 @@ public void onError(Exception ex) { } } - public static class DelegatedGroupKeyManagementClusterAttributeListAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.AttributeListAttributeCallback, + public static class DelegatedEthernetNetworkDiagnosticsClusterAttributeListAttributeCallback + implements ChipClusters.EthernetNetworkDiagnosticsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4812,8 +5282,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFixedLabelClusterLabelListAttributeCallback - implements ChipClusters.FixedLabelCluster.LabelListAttributeCallback, + public static class DelegatedBridgedDeviceBasicInformationClusterVendorIDAttributeCallback + implements ChipClusters.BridgedDeviceBasicInformationCluster.VendorIDAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4823,11 +5293,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -4837,8 +5306,10 @@ public void onError(Exception ex) { } } - public static class DelegatedFixedLabelClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FixedLabelCluster.GeneratedCommandListAttributeCallback, + public static + class DelegatedBridgedDeviceBasicInformationClusterGeneratedCommandListAttributeCallback + implements ChipClusters.BridgedDeviceBasicInformationCluster + .GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4861,8 +5332,10 @@ public void onError(Exception ex) { } } - public static class DelegatedFixedLabelClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FixedLabelCluster.AcceptedCommandListAttributeCallback, + public static + class DelegatedBridgedDeviceBasicInformationClusterAcceptedCommandListAttributeCallback + implements ChipClusters.BridgedDeviceBasicInformationCluster + .AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4885,8 +5358,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFixedLabelClusterEventListAttributeCallback - implements ChipClusters.FixedLabelCluster.EventListAttributeCallback, + public static class DelegatedBridgedDeviceBasicInformationClusterEventListAttributeCallback + implements ChipClusters.BridgedDeviceBasicInformationCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4909,8 +5382,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFixedLabelClusterAttributeListAttributeCallback - implements ChipClusters.FixedLabelCluster.AttributeListAttributeCallback, + public static class DelegatedBridgedDeviceBasicInformationClusterAttributeListAttributeCallback + implements ChipClusters.BridgedDeviceBasicInformationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4933,8 +5406,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUserLabelClusterLabelListAttributeCallback - implements ChipClusters.UserLabelCluster.LabelListAttributeCallback, + public static class DelegatedSwitchClusterGeneratedCommandListAttributeCallback + implements ChipClusters.SwitchCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4944,10 +5417,9 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -4958,8 +5430,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUserLabelClusterGeneratedCommandListAttributeCallback - implements ChipClusters.UserLabelCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedSwitchClusterAcceptedCommandListAttributeCallback + implements ChipClusters.SwitchCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -4982,9 +5454,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUserLabelClusterAcceptedCommandListAttributeCallback - implements ChipClusters.UserLabelCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { + public static class DelegatedSwitchClusterEventListAttributeCallback + implements ChipClusters.SwitchCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -5006,8 +5477,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUserLabelClusterEventListAttributeCallback - implements ChipClusters.UserLabelCluster.EventListAttributeCallback, + public static class DelegatedSwitchClusterAttributeListAttributeCallback + implements ChipClusters.SwitchCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5030,8 +5501,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUserLabelClusterAttributeListAttributeCallback - implements ChipClusters.UserLabelCluster.AttributeListAttributeCallback, + public static class DelegatedAdministratorCommissioningClusterAdminFabricIndexAttributeCallback + implements ChipClusters.AdministratorCommissioningCluster.AdminFabricIndexAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5041,10 +5512,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -5054,8 +5525,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBooleanStateClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BooleanStateCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedAdministratorCommissioningClusterAdminVendorIdAttributeCallback + implements ChipClusters.AdministratorCommissioningCluster.AdminVendorIdAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5065,10 +5536,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -5078,8 +5549,10 @@ public void onError(Exception ex) { } } - public static class DelegatedBooleanStateClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BooleanStateCluster.AcceptedCommandListAttributeCallback, + public static + class DelegatedAdministratorCommissioningClusterGeneratedCommandListAttributeCallback + implements ChipClusters.AdministratorCommissioningCluster + .GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5102,8 +5575,9 @@ public void onError(Exception ex) { } } - public static class DelegatedBooleanStateClusterEventListAttributeCallback - implements ChipClusters.BooleanStateCluster.EventListAttributeCallback, + public static class DelegatedAdministratorCommissioningClusterAcceptedCommandListAttributeCallback + implements ChipClusters.AdministratorCommissioningCluster + .AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5126,8 +5600,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBooleanStateClusterAttributeListAttributeCallback - implements ChipClusters.BooleanStateCluster.AttributeListAttributeCallback, + public static class DelegatedAdministratorCommissioningClusterEventListAttributeCallback + implements ChipClusters.AdministratorCommissioningCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5150,8 +5624,8 @@ public void onError(Exception ex) { } } - public static class DelegatedModeSelectClusterSupportedModesAttributeCallback - implements ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback, + public static class DelegatedAdministratorCommissioningClusterAttributeListAttributeCallback + implements ChipClusters.AdministratorCommissioningCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5161,11 +5635,9 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -5176,8 +5648,8 @@ public void onError(Exception ex) { } } - public static class DelegatedModeSelectClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ModeSelectCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedOperationalCredentialsClusterAttestationResponseCallback + implements ChipClusters.OperationalCredentialsCluster.AttestationResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5187,21 +5659,25 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(byte[] AttestationElements, byte[] AttestationSignature) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo AttestationElementsResponseValue = + new CommandResponseInfo("AttestationElements", "byte[]"); + responseValues.put(AttestationElementsResponseValue, AttestationElements); + CommandResponseInfo AttestationSignatureResponseValue = + new CommandResponseInfo("AttestationSignature", "byte[]"); + responseValues.put(AttestationSignatureResponseValue, AttestationSignature); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedModeSelectClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ModeSelectCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedOperationalCredentialsClusterCertificateChainResponseCallback + implements ChipClusters.OperationalCredentialsCluster.CertificateChainResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5211,21 +5687,22 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(byte[] Certificate) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo CertificateResponseValue = + new CommandResponseInfo("Certificate", "byte[]"); + responseValues.put(CertificateResponseValue, Certificate); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedModeSelectClusterEventListAttributeCallback - implements ChipClusters.ModeSelectCluster.EventListAttributeCallback, + public static class DelegatedOperationalCredentialsClusterCSRResponseCallback + implements ChipClusters.OperationalCredentialsCluster.CSRResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5235,21 +5712,25 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(byte[] NOCSRElements, byte[] AttestationSignature) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo NOCSRElementsResponseValue = + new CommandResponseInfo("NOCSRElements", "byte[]"); + responseValues.put(NOCSRElementsResponseValue, NOCSRElements); + CommandResponseInfo AttestationSignatureResponseValue = + new CommandResponseInfo("AttestationSignature", "byte[]"); + responseValues.put(AttestationSignatureResponseValue, AttestationSignature); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedModeSelectClusterAttributeListAttributeCallback - implements ChipClusters.ModeSelectCluster.AttributeListAttributeCallback, + public static class DelegatedOperationalCredentialsClusterNOCResponseCallback + implements ChipClusters.OperationalCredentialsCluster.NOCResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5259,21 +5740,29 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess( + Integer StatusCode, Optional FabricIndex, Optional DebugText) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo StatusCodeResponseValue = + new CommandResponseInfo("StatusCode", "Integer"); + responseValues.put(StatusCodeResponseValue, StatusCode); + CommandResponseInfo FabricIndexResponseValue = + new CommandResponseInfo("FabricIndex", "Optional"); + responseValues.put(FabricIndexResponseValue, FabricIndex); + CommandResponseInfo DebugTextResponseValue = + new CommandResponseInfo("DebugText", "Optional"); + responseValues.put(DebugTextResponseValue, DebugText); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedDoorLockClusterGetWeekDayScheduleResponseCallback - implements ChipClusters.DoorLockCluster.GetWeekDayScheduleResponseCallback, + public static class DelegatedOperationalCredentialsClusterNOCsAttributeCallback + implements ChipClusters.OperationalCredentialsCluster.NOCsAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5283,49 +5772,951 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - Integer WeekDayIndex, - Integer UserIndex, - Integer Status, - Optional DaysMask, - Optional StartHour, - Optional StartMinute, - Optional EndHour, - Optional EndMinute) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo WeekDayIndexResponseValue = - new CommandResponseInfo("WeekDayIndex", "Integer"); - responseValues.put(WeekDayIndexResponseValue, WeekDayIndex); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DaysMaskResponseValue = - new CommandResponseInfo("DaysMask", "Optional"); - responseValues.put(DaysMaskResponseValue, DaysMask); - CommandResponseInfo StartHourResponseValue = - new CommandResponseInfo("StartHour", "Optional"); - responseValues.put(StartHourResponseValue, StartHour); - CommandResponseInfo StartMinuteResponseValue = - new CommandResponseInfo("StartMinute", "Optional"); - responseValues.put(StartMinuteResponseValue, StartMinute); - CommandResponseInfo EndHourResponseValue = - new CommandResponseInfo("EndHour", "Optional"); - responseValues.put(EndHourResponseValue, EndHour); - CommandResponseInfo EndMinuteResponseValue = - new CommandResponseInfo("EndMinute", "Optional"); - responseValues.put(EndMinuteResponseValue, EndMinute); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); + responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedDoorLockClusterGetYearDayScheduleResponseCallback - implements ChipClusters.DoorLockCluster.GetYearDayScheduleResponseCallback, + public static class DelegatedOperationalCredentialsClusterFabricsAttributeCallback + implements ChipClusters.OperationalCredentialsCluster.FabricsAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess( + List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOperationalCredentialsClusterTrustedRootCertificatesAttributeCallback + implements ChipClusters.OperationalCredentialsCluster + .TrustedRootCertificatesAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOperationalCredentialsClusterGeneratedCommandListAttributeCallback + implements ChipClusters.OperationalCredentialsCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOperationalCredentialsClusterAcceptedCommandListAttributeCallback + implements ChipClusters.OperationalCredentialsCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOperationalCredentialsClusterEventListAttributeCallback + implements ChipClusters.OperationalCredentialsCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOperationalCredentialsClusterAttributeListAttributeCallback + implements ChipClusters.OperationalCredentialsCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGroupKeyManagementClusterKeySetReadResponseCallback + implements ChipClusters.GroupKeyManagementCluster.KeySetReadResponseCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(ChipStructs.GroupKeyManagementClusterGroupKeySetStruct GroupKeySet) { + Map responseValues = new LinkedHashMap<>(); + // GroupKeySet: Struct GroupKeySetStruct + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGroupKeyManagementClusterKeySetReadAllIndicesResponseCallback + implements ChipClusters.GroupKeyManagementCluster.KeySetReadAllIndicesResponseCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(ArrayList GroupKeySetIDs) { + Map responseValues = new LinkedHashMap<>(); + // GroupKeySetIDs: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGroupKeyManagementClusterGroupKeyMapAttributeCallback + implements ChipClusters.GroupKeyManagementCluster.GroupKeyMapAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGroupKeyManagementClusterGroupTableAttributeCallback + implements ChipClusters.GroupKeyManagementCluster.GroupTableAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGroupKeyManagementClusterGeneratedCommandListAttributeCallback + implements ChipClusters.GroupKeyManagementCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGroupKeyManagementClusterAcceptedCommandListAttributeCallback + implements ChipClusters.GroupKeyManagementCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGroupKeyManagementClusterEventListAttributeCallback + implements ChipClusters.GroupKeyManagementCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGroupKeyManagementClusterAttributeListAttributeCallback + implements ChipClusters.GroupKeyManagementCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFixedLabelClusterLabelListAttributeCallback + implements ChipClusters.FixedLabelCluster.LabelListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFixedLabelClusterGeneratedCommandListAttributeCallback + implements ChipClusters.FixedLabelCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFixedLabelClusterAcceptedCommandListAttributeCallback + implements ChipClusters.FixedLabelCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFixedLabelClusterEventListAttributeCallback + implements ChipClusters.FixedLabelCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFixedLabelClusterAttributeListAttributeCallback + implements ChipClusters.FixedLabelCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedUserLabelClusterLabelListAttributeCallback + implements ChipClusters.UserLabelCluster.LabelListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedUserLabelClusterGeneratedCommandListAttributeCallback + implements ChipClusters.UserLabelCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedUserLabelClusterAcceptedCommandListAttributeCallback + implements ChipClusters.UserLabelCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedUserLabelClusterEventListAttributeCallback + implements ChipClusters.UserLabelCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedUserLabelClusterAttributeListAttributeCallback + implements ChipClusters.UserLabelCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBooleanStateClusterGeneratedCommandListAttributeCallback + implements ChipClusters.BooleanStateCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBooleanStateClusterAcceptedCommandListAttributeCallback + implements ChipClusters.BooleanStateCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBooleanStateClusterEventListAttributeCallback + implements ChipClusters.BooleanStateCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBooleanStateClusterAttributeListAttributeCallback + implements ChipClusters.BooleanStateCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedModeSelectClusterStandardNamespaceAttributeCallback + implements ChipClusters.ModeSelectCluster.StandardNamespaceAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedModeSelectClusterSupportedModesAttributeCallback + implements ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedModeSelectClusterStartUpModeAttributeCallback + implements ChipClusters.ModeSelectCluster.StartUpModeAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedModeSelectClusterOnModeAttributeCallback + implements ChipClusters.ModeSelectCluster.OnModeAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedModeSelectClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ModeSelectCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedModeSelectClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ModeSelectCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedModeSelectClusterEventListAttributeCallback + implements ChipClusters.ModeSelectCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedModeSelectClusterAttributeListAttributeCallback + implements ChipClusters.ModeSelectCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDoorLockClusterGetWeekDayScheduleResponseCallback + implements ChipClusters.DoorLockCluster.GetWeekDayScheduleResponseCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess( + Integer WeekDayIndex, + Integer UserIndex, + Integer Status, + Optional DaysMask, + Optional StartHour, + Optional StartMinute, + Optional EndHour, + Optional EndMinute) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo WeekDayIndexResponseValue = + new CommandResponseInfo("WeekDayIndex", "Integer"); + responseValues.put(WeekDayIndexResponseValue, WeekDayIndex); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DaysMaskResponseValue = + new CommandResponseInfo("DaysMask", "Optional"); + responseValues.put(DaysMaskResponseValue, DaysMask); + CommandResponseInfo StartHourResponseValue = + new CommandResponseInfo("StartHour", "Optional"); + responseValues.put(StartHourResponseValue, StartHour); + CommandResponseInfo StartMinuteResponseValue = + new CommandResponseInfo("StartMinute", "Optional"); + responseValues.put(StartMinuteResponseValue, StartMinute); + CommandResponseInfo EndHourResponseValue = + new CommandResponseInfo("EndHour", "Optional"); + responseValues.put(EndHourResponseValue, EndHour); + CommandResponseInfo EndMinuteResponseValue = + new CommandResponseInfo("EndMinute", "Optional"); + responseValues.put(EndMinuteResponseValue, EndMinute); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterGetYearDayScheduleResponseCallback + implements ChipClusters.DoorLockCluster.GetYearDayScheduleResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5340,32 +6731,2609 @@ public void onSuccess( Integer UserIndex, Integer Status, Optional LocalStartTime, - Optional LocalEndTime) { + Optional LocalEndTime) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo YearDayIndexResponseValue = + new CommandResponseInfo("YearDayIndex", "Integer"); + responseValues.put(YearDayIndexResponseValue, YearDayIndex); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo LocalStartTimeResponseValue = + new CommandResponseInfo("LocalStartTime", "Optional"); + responseValues.put(LocalStartTimeResponseValue, LocalStartTime); + CommandResponseInfo LocalEndTimeResponseValue = + new CommandResponseInfo("LocalEndTime", "Optional"); + responseValues.put(LocalEndTimeResponseValue, LocalEndTime); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterGetHolidayScheduleResponseCallback + implements ChipClusters.DoorLockCluster.GetHolidayScheduleResponseCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess( + Integer HolidayIndex, + Integer Status, + Optional LocalStartTime, + Optional LocalEndTime, + Optional OperatingMode) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo HolidayIndexResponseValue = + new CommandResponseInfo("HolidayIndex", "Integer"); + responseValues.put(HolidayIndexResponseValue, HolidayIndex); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo LocalStartTimeResponseValue = + new CommandResponseInfo("LocalStartTime", "Optional"); + responseValues.put(LocalStartTimeResponseValue, LocalStartTime); + CommandResponseInfo LocalEndTimeResponseValue = + new CommandResponseInfo("LocalEndTime", "Optional"); + responseValues.put(LocalEndTimeResponseValue, LocalEndTime); + CommandResponseInfo OperatingModeResponseValue = + new CommandResponseInfo("OperatingMode", "Optional"); + responseValues.put(OperatingModeResponseValue, OperatingMode); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterGetUserResponseCallback + implements ChipClusters.DoorLockCluster.GetUserResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess( + Integer UserIndex, + @Nullable String UserName, + @Nullable Long UserUniqueID, + @Nullable Integer UserStatus, + @Nullable Integer UserType, + @Nullable Integer CredentialRule, + @Nullable ArrayList Credentials, + @Nullable Integer CreatorFabricIndex, + @Nullable Integer LastModifiedFabricIndex, + @Nullable Integer NextUserIndex) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo UserNameResponseValue = new CommandResponseInfo("UserName", "String"); + responseValues.put(UserNameResponseValue, UserName); + CommandResponseInfo UserUniqueIDResponseValue = + new CommandResponseInfo("UserUniqueID", "Long"); + responseValues.put(UserUniqueIDResponseValue, UserUniqueID); + CommandResponseInfo UserStatusResponseValue = + new CommandResponseInfo("UserStatus", "Integer"); + responseValues.put(UserStatusResponseValue, UserStatus); + CommandResponseInfo UserTypeResponseValue = new CommandResponseInfo("UserType", "Integer"); + responseValues.put(UserTypeResponseValue, UserType); + CommandResponseInfo CredentialRuleResponseValue = + new CommandResponseInfo("CredentialRule", "Integer"); + responseValues.put(CredentialRuleResponseValue, CredentialRule); + // Credentials: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + CommandResponseInfo CreatorFabricIndexResponseValue = + new CommandResponseInfo("CreatorFabricIndex", "Integer"); + responseValues.put(CreatorFabricIndexResponseValue, CreatorFabricIndex); + CommandResponseInfo LastModifiedFabricIndexResponseValue = + new CommandResponseInfo("LastModifiedFabricIndex", "Integer"); + responseValues.put(LastModifiedFabricIndexResponseValue, LastModifiedFabricIndex); + CommandResponseInfo NextUserIndexResponseValue = + new CommandResponseInfo("NextUserIndex", "Integer"); + responseValues.put(NextUserIndexResponseValue, NextUserIndex); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterSetCredentialResponseCallback + implements ChipClusters.DoorLockCluster.SetCredentialResponseCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess( + Integer Status, @Nullable Integer UserIndex, @Nullable Integer NextCredentialIndex) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo NextCredentialIndexResponseValue = + new CommandResponseInfo("NextCredentialIndex", "Integer"); + responseValues.put(NextCredentialIndexResponseValue, NextCredentialIndex); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterGetCredentialStatusResponseCallback + implements ChipClusters.DoorLockCluster.GetCredentialStatusResponseCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess( + Boolean CredentialExists, + @Nullable Integer UserIndex, + @Nullable Integer CreatorFabricIndex, + @Nullable Integer LastModifiedFabricIndex, + @Nullable Integer NextCredentialIndex) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo CredentialExistsResponseValue = + new CommandResponseInfo("CredentialExists", "Boolean"); + responseValues.put(CredentialExistsResponseValue, CredentialExists); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo CreatorFabricIndexResponseValue = + new CommandResponseInfo("CreatorFabricIndex", "Integer"); + responseValues.put(CreatorFabricIndexResponseValue, CreatorFabricIndex); + CommandResponseInfo LastModifiedFabricIndexResponseValue = + new CommandResponseInfo("LastModifiedFabricIndex", "Integer"); + responseValues.put(LastModifiedFabricIndexResponseValue, LastModifiedFabricIndex); + CommandResponseInfo NextCredentialIndexResponseValue = + new CommandResponseInfo("NextCredentialIndex", "Integer"); + responseValues.put(NextCredentialIndexResponseValue, NextCredentialIndex); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterLockStateAttributeCallback + implements ChipClusters.DoorLockCluster.LockStateAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDoorLockClusterDoorStateAttributeCallback + implements ChipClusters.DoorLockCluster.DoorStateAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDoorLockClusterGeneratedCommandListAttributeCallback + implements ChipClusters.DoorLockCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDoorLockClusterAcceptedCommandListAttributeCallback + implements ChipClusters.DoorLockCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDoorLockClusterEventListAttributeCallback + implements ChipClusters.DoorLockCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDoorLockClusterAttributeListAttributeCallback + implements ChipClusters.DoorLockCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterCurrentPositionLiftAttributeCallback + implements ChipClusters.WindowCoveringCluster.CurrentPositionLiftAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterCurrentPositionTiltAttributeCallback + implements ChipClusters.WindowCoveringCluster.CurrentPositionTiltAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterCurrentPositionLiftPercentageAttributeCallback + implements ChipClusters.WindowCoveringCluster.CurrentPositionLiftPercentageAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterCurrentPositionTiltPercentageAttributeCallback + implements ChipClusters.WindowCoveringCluster.CurrentPositionTiltPercentageAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterTargetPositionLiftPercent100thsAttributeCallback + implements ChipClusters.WindowCoveringCluster + .TargetPositionLiftPercent100thsAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterTargetPositionTiltPercent100thsAttributeCallback + implements ChipClusters.WindowCoveringCluster + .TargetPositionTiltPercent100thsAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static + class DelegatedWindowCoveringClusterCurrentPositionLiftPercent100thsAttributeCallback + implements ChipClusters.WindowCoveringCluster + .CurrentPositionLiftPercent100thsAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static + class DelegatedWindowCoveringClusterCurrentPositionTiltPercent100thsAttributeCallback + implements ChipClusters.WindowCoveringCluster + .CurrentPositionTiltPercent100thsAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterGeneratedCommandListAttributeCallback + implements ChipClusters.WindowCoveringCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterAcceptedCommandListAttributeCallback + implements ChipClusters.WindowCoveringCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterEventListAttributeCallback + implements ChipClusters.WindowCoveringCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterAttributeListAttributeCallback + implements ChipClusters.WindowCoveringCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBarrierControlClusterGeneratedCommandListAttributeCallback + implements ChipClusters.BarrierControlCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBarrierControlClusterAcceptedCommandListAttributeCallback + implements ChipClusters.BarrierControlCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBarrierControlClusterEventListAttributeCallback + implements ChipClusters.BarrierControlCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBarrierControlClusterAttributeListAttributeCallback + implements ChipClusters.BarrierControlCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMaxPressureAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MaxPressureAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMaxSpeedAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MaxSpeedAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMaxFlowAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MaxFlowAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMinConstPressureAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MinConstPressureAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMaxConstPressureAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstPressureAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMinCompPressureAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MinCompPressureAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMaxCompPressureAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MaxCompPressureAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMinConstSpeedAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MinConstSpeedAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMaxConstSpeedAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstSpeedAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMinConstFlowAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MinConstFlowAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMaxConstFlowAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstFlowAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMinConstTempAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MinConstTempAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMaxConstTempAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstTempAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterCapacityAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.CapacityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterSpeedAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.SpeedAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static + class DelegatedPumpConfigurationAndControlClusterLifetimeRunningHoursAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster + .LifetimeRunningHoursAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterPowerAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.PowerAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static + class DelegatedPumpConfigurationAndControlClusterLifetimeEnergyConsumedAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster + .LifetimeEnergyConsumedAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static + class DelegatedPumpConfigurationAndControlClusterGeneratedCommandListAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster + .GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static + class DelegatedPumpConfigurationAndControlClusterAcceptedCommandListAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster + .AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterEventListAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterAttributeListAttributeCallback + implements ChipClusters.PumpConfigurationAndControlCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedThermostatClusterGetWeeklyScheduleResponseCallback + implements ChipClusters.ThermostatCluster.GetWeeklyScheduleResponseCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess( + Integer NumberOfTransitionsForSequence, + Integer DayOfWeekForSequence, + Integer ModeForSequence, + ArrayList Transitions) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo NumberOfTransitionsForSequenceResponseValue = + new CommandResponseInfo("NumberOfTransitionsForSequence", "Integer"); + responseValues.put( + NumberOfTransitionsForSequenceResponseValue, NumberOfTransitionsForSequence); + CommandResponseInfo DayOfWeekForSequenceResponseValue = + new CommandResponseInfo("DayOfWeekForSequence", "Integer"); + responseValues.put(DayOfWeekForSequenceResponseValue, DayOfWeekForSequence); + CommandResponseInfo ModeForSequenceResponseValue = + new CommandResponseInfo("ModeForSequence", "Integer"); + responseValues.put(ModeForSequenceResponseValue, ModeForSequence); + // Transitions: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedThermostatClusterLocalTemperatureAttributeCallback + implements ChipClusters.ThermostatCluster.LocalTemperatureAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedThermostatClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ThermostatCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedThermostatClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ThermostatCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedThermostatClusterEventListAttributeCallback + implements ChipClusters.ThermostatCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedThermostatClusterAttributeListAttributeCallback + implements ChipClusters.ThermostatCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFanControlClusterPercentSettingAttributeCallback + implements ChipClusters.FanControlCluster.PercentSettingAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFanControlClusterSpeedSettingAttributeCallback + implements ChipClusters.FanControlCluster.SpeedSettingAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFanControlClusterGeneratedCommandListAttributeCallback + implements ChipClusters.FanControlCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFanControlClusterAcceptedCommandListAttributeCallback + implements ChipClusters.FanControlCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFanControlClusterEventListAttributeCallback + implements ChipClusters.FanControlCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFanControlClusterAttributeListAttributeCallback + implements ChipClusters.FanControlCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static + class DelegatedThermostatUserInterfaceConfigurationClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ThermostatUserInterfaceConfigurationCluster + .GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static + class DelegatedThermostatUserInterfaceConfigurationClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ThermostatUserInterfaceConfigurationCluster + .AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedThermostatUserInterfaceConfigurationClusterEventListAttributeCallback + implements ChipClusters.ThermostatUserInterfaceConfigurationCluster + .EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static + class DelegatedThermostatUserInterfaceConfigurationClusterAttributeListAttributeCallback + implements ChipClusters.ThermostatUserInterfaceConfigurationCluster + .AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterNumberOfPrimariesAttributeCallback + implements ChipClusters.ColorControlCluster.NumberOfPrimariesAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterPrimary1IntensityAttributeCallback + implements ChipClusters.ColorControlCluster.Primary1IntensityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterPrimary2IntensityAttributeCallback + implements ChipClusters.ColorControlCluster.Primary2IntensityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterPrimary3IntensityAttributeCallback + implements ChipClusters.ColorControlCluster.Primary3IntensityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterPrimary4IntensityAttributeCallback + implements ChipClusters.ColorControlCluster.Primary4IntensityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterPrimary5IntensityAttributeCallback + implements ChipClusters.ColorControlCluster.Primary5IntensityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterPrimary6IntensityAttributeCallback + implements ChipClusters.ColorControlCluster.Primary6IntensityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterColorPointRIntensityAttributeCallback + implements ChipClusters.ColorControlCluster.ColorPointRIntensityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterColorPointGIntensityAttributeCallback + implements ChipClusters.ColorControlCluster.ColorPointGIntensityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterColorPointBIntensityAttributeCallback + implements ChipClusters.ColorControlCluster.ColorPointBIntensityAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterStartUpColorTemperatureMiredsAttributeCallback + implements ChipClusters.ColorControlCluster.StartUpColorTemperatureMiredsAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ColorControlCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ColorControlCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterEventListAttributeCallback + implements ChipClusters.ColorControlCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterAttributeListAttributeCallback + implements ChipClusters.ColorControlCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterIntrinsicBallastFactorAttributeCallback + implements ChipClusters.BallastConfigurationCluster.IntrinsicBallastFactorAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterBallastFactorAdjustmentAttributeCallback + implements ChipClusters.BallastConfigurationCluster.BallastFactorAdjustmentAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterLampRatedHoursAttributeCallback + implements ChipClusters.BallastConfigurationCluster.LampRatedHoursAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterLampBurnHoursAttributeCallback + implements ChipClusters.BallastConfigurationCluster.LampBurnHoursAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterLampBurnHoursTripPointAttributeCallback + implements ChipClusters.BallastConfigurationCluster.LampBurnHoursTripPointAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterGeneratedCommandListAttributeCallback + implements ChipClusters.BallastConfigurationCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterAcceptedCommandListAttributeCallback + implements ChipClusters.BallastConfigurationCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterEventListAttributeCallback + implements ChipClusters.BallastConfigurationCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterAttributeListAttributeCallback + implements ChipClusters.BallastConfigurationCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIlluminanceMeasurementClusterMeasuredValueAttributeCallback + implements ChipClusters.IlluminanceMeasurementCluster.MeasuredValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIlluminanceMeasurementClusterMinMeasuredValueAttributeCallback + implements ChipClusters.IlluminanceMeasurementCluster.MinMeasuredValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIlluminanceMeasurementClusterMaxMeasuredValueAttributeCallback + implements ChipClusters.IlluminanceMeasurementCluster.MaxMeasuredValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIlluminanceMeasurementClusterLightSensorTypeAttributeCallback + implements ChipClusters.IlluminanceMeasurementCluster.LightSensorTypeAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIlluminanceMeasurementClusterGeneratedCommandListAttributeCallback + implements ChipClusters.IlluminanceMeasurementCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIlluminanceMeasurementClusterAcceptedCommandListAttributeCallback + implements ChipClusters.IlluminanceMeasurementCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIlluminanceMeasurementClusterEventListAttributeCallback + implements ChipClusters.IlluminanceMeasurementCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIlluminanceMeasurementClusterAttributeListAttributeCallback + implements ChipClusters.IlluminanceMeasurementCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTemperatureMeasurementClusterMeasuredValueAttributeCallback + implements ChipClusters.TemperatureMeasurementCluster.MeasuredValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTemperatureMeasurementClusterMinMeasuredValueAttributeCallback + implements ChipClusters.TemperatureMeasurementCluster.MinMeasuredValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTemperatureMeasurementClusterMaxMeasuredValueAttributeCallback + implements ChipClusters.TemperatureMeasurementCluster.MaxMeasuredValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTemperatureMeasurementClusterGeneratedCommandListAttributeCallback + implements ChipClusters.TemperatureMeasurementCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTemperatureMeasurementClusterAcceptedCommandListAttributeCallback + implements ChipClusters.TemperatureMeasurementCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTemperatureMeasurementClusterEventListAttributeCallback + implements ChipClusters.TemperatureMeasurementCluster.EventListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTemperatureMeasurementClusterAttributeListAttributeCallback + implements ChipClusters.TemperatureMeasurementCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo YearDayIndexResponseValue = - new CommandResponseInfo("YearDayIndex", "Integer"); - responseValues.put(YearDayIndexResponseValue, YearDayIndex); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo LocalStartTimeResponseValue = - new CommandResponseInfo("LocalStartTime", "Optional"); - responseValues.put(LocalStartTimeResponseValue, LocalStartTime); - CommandResponseInfo LocalEndTimeResponseValue = - new CommandResponseInfo("LocalEndTime", "Optional"); - responseValues.put(LocalEndTimeResponseValue, LocalEndTime); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedDoorLockClusterGetHolidayScheduleResponseCallback - implements ChipClusters.DoorLockCluster.GetHolidayScheduleResponseCallback, + public static class DelegatedPressureMeasurementClusterMeasuredValueAttributeCallback + implements ChipClusters.PressureMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5375,38 +9343,22 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - Integer HolidayIndex, - Integer Status, - Optional LocalStartTime, - Optional LocalEndTime, - Optional OperatingMode) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo HolidayIndexResponseValue = - new CommandResponseInfo("HolidayIndex", "Integer"); - responseValues.put(HolidayIndexResponseValue, HolidayIndex); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo LocalStartTimeResponseValue = - new CommandResponseInfo("LocalStartTime", "Optional"); - responseValues.put(LocalStartTimeResponseValue, LocalStartTime); - CommandResponseInfo LocalEndTimeResponseValue = - new CommandResponseInfo("LocalEndTime", "Optional"); - responseValues.put(LocalEndTimeResponseValue, LocalEndTime); - CommandResponseInfo OperatingModeResponseValue = - new CommandResponseInfo("OperatingMode", "Optional"); - responseValues.put(OperatingModeResponseValue, OperatingMode); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedDoorLockClusterGetUserResponseCallback - implements ChipClusters.DoorLockCluster.GetUserResponseCallback, DelegatedClusterCallback { + public static class DelegatedPressureMeasurementClusterMinMeasuredValueAttributeCallback + implements ChipClusters.PressureMeasurementCluster.MinMeasuredValueAttributeCallback, + DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -5415,55 +9367,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - Integer UserIndex, - @Nullable String UserName, - @Nullable Long UserUniqueID, - @Nullable Integer UserStatus, - @Nullable Integer UserType, - @Nullable Integer CredentialRule, - @Nullable ArrayList Credentials, - @Nullable Integer CreatorFabricIndex, - @Nullable Integer LastModifiedFabricIndex, - @Nullable Integer NextUserIndex) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo UserNameResponseValue = new CommandResponseInfo("UserName", "String"); - responseValues.put(UserNameResponseValue, UserName); - CommandResponseInfo UserUniqueIDResponseValue = - new CommandResponseInfo("UserUniqueID", "Long"); - responseValues.put(UserUniqueIDResponseValue, UserUniqueID); - CommandResponseInfo UserStatusResponseValue = - new CommandResponseInfo("UserStatus", "Integer"); - responseValues.put(UserStatusResponseValue, UserStatus); - CommandResponseInfo UserTypeResponseValue = new CommandResponseInfo("UserType", "Integer"); - responseValues.put(UserTypeResponseValue, UserType); - CommandResponseInfo CredentialRuleResponseValue = - new CommandResponseInfo("CredentialRule", "Integer"); - responseValues.put(CredentialRuleResponseValue, CredentialRule); - // Credentials: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - CommandResponseInfo CreatorFabricIndexResponseValue = - new CommandResponseInfo("CreatorFabricIndex", "Integer"); - responseValues.put(CreatorFabricIndexResponseValue, CreatorFabricIndex); - CommandResponseInfo LastModifiedFabricIndexResponseValue = - new CommandResponseInfo("LastModifiedFabricIndex", "Integer"); - responseValues.put(LastModifiedFabricIndexResponseValue, LastModifiedFabricIndex); - CommandResponseInfo NextUserIndexResponseValue = - new CommandResponseInfo("NextUserIndex", "Integer"); - responseValues.put(NextUserIndexResponseValue, NextUserIndex); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedDoorLockClusterSetCredentialResponseCallback - implements ChipClusters.DoorLockCluster.SetCredentialResponseCallback, + public static class DelegatedPressureMeasurementClusterMaxMeasuredValueAttributeCallback + implements ChipClusters.PressureMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5473,27 +9391,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - Integer Status, @Nullable Integer UserIndex, @Nullable Integer NextCredentialIndex) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo NextCredentialIndexResponseValue = - new CommandResponseInfo("NextCredentialIndex", "Integer"); - responseValues.put(NextCredentialIndexResponseValue, NextCredentialIndex); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedDoorLockClusterGetCredentialStatusResponseCallback - implements ChipClusters.DoorLockCluster.GetCredentialStatusResponseCallback, + public static class DelegatedPressureMeasurementClusterScaledValueAttributeCallback + implements ChipClusters.PressureMeasurementCluster.ScaledValueAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5503,38 +9415,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - Boolean CredentialExists, - @Nullable Integer UserIndex, - @Nullable Integer CreatorFabricIndex, - @Nullable Integer LastModifiedFabricIndex, - @Nullable Integer NextCredentialIndex) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo CredentialExistsResponseValue = - new CommandResponseInfo("CredentialExists", "Boolean"); - responseValues.put(CredentialExistsResponseValue, CredentialExists); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo CreatorFabricIndexResponseValue = - new CommandResponseInfo("CreatorFabricIndex", "Integer"); - responseValues.put(CreatorFabricIndexResponseValue, CreatorFabricIndex); - CommandResponseInfo LastModifiedFabricIndexResponseValue = - new CommandResponseInfo("LastModifiedFabricIndex", "Integer"); - responseValues.put(LastModifiedFabricIndexResponseValue, LastModifiedFabricIndex); - CommandResponseInfo NextCredentialIndexResponseValue = - new CommandResponseInfo("NextCredentialIndex", "Integer"); - responseValues.put(NextCredentialIndexResponseValue, NextCredentialIndex); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedDoorLockClusterGeneratedCommandListAttributeCallback - implements ChipClusters.DoorLockCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedPressureMeasurementClusterMinScaledValueAttributeCallback + implements ChipClusters.PressureMeasurementCluster.MinScaledValueAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5544,10 +9439,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -5557,8 +9452,8 @@ public void onError(Exception ex) { } } - public static class DelegatedDoorLockClusterAcceptedCommandListAttributeCallback - implements ChipClusters.DoorLockCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedPressureMeasurementClusterMaxScaledValueAttributeCallback + implements ChipClusters.PressureMeasurementCluster.MaxScaledValueAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5568,10 +9463,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -5581,8 +9476,9 @@ public void onError(Exception ex) { } } - public static class DelegatedDoorLockClusterEventListAttributeCallback - implements ChipClusters.DoorLockCluster.EventListAttributeCallback, DelegatedClusterCallback { + public static class DelegatedPressureMeasurementClusterGeneratedCommandListAttributeCallback + implements ChipClusters.PressureMeasurementCluster.GeneratedCommandListAttributeCallback, + DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -5604,8 +9500,8 @@ public void onError(Exception ex) { } } - public static class DelegatedDoorLockClusterAttributeListAttributeCallback - implements ChipClusters.DoorLockCluster.AttributeListAttributeCallback, + public static class DelegatedPressureMeasurementClusterAcceptedCommandListAttributeCallback + implements ChipClusters.PressureMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5628,8 +9524,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWindowCoveringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.WindowCoveringCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedPressureMeasurementClusterEventListAttributeCallback + implements ChipClusters.PressureMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5652,8 +9548,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWindowCoveringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.WindowCoveringCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedPressureMeasurementClusterAttributeListAttributeCallback + implements ChipClusters.PressureMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5676,8 +9572,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWindowCoveringClusterEventListAttributeCallback - implements ChipClusters.WindowCoveringCluster.EventListAttributeCallback, + public static class DelegatedFlowMeasurementClusterMeasuredValueAttributeCallback + implements ChipClusters.FlowMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5687,10 +9583,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -5700,8 +9596,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWindowCoveringClusterAttributeListAttributeCallback - implements ChipClusters.WindowCoveringCluster.AttributeListAttributeCallback, + public static class DelegatedFlowMeasurementClusterMinMeasuredValueAttributeCallback + implements ChipClusters.FlowMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5711,10 +9607,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -5724,8 +9620,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBarrierControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BarrierControlCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedFlowMeasurementClusterMaxMeasuredValueAttributeCallback + implements ChipClusters.FlowMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5735,10 +9631,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -5748,8 +9644,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBarrierControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BarrierControlCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedFlowMeasurementClusterGeneratedCommandListAttributeCallback + implements ChipClusters.FlowMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5772,8 +9668,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBarrierControlClusterEventListAttributeCallback - implements ChipClusters.BarrierControlCluster.EventListAttributeCallback, + public static class DelegatedFlowMeasurementClusterAcceptedCommandListAttributeCallback + implements ChipClusters.FlowMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5796,8 +9692,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBarrierControlClusterAttributeListAttributeCallback - implements ChipClusters.BarrierControlCluster.AttributeListAttributeCallback, + public static class DelegatedFlowMeasurementClusterEventListAttributeCallback + implements ChipClusters.FlowMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5820,10 +9716,8 @@ public void onError(Exception ex) { } } - public static - class DelegatedPumpConfigurationAndControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster - .GeneratedCommandListAttributeCallback, + public static class DelegatedFlowMeasurementClusterAttributeListAttributeCallback + implements ChipClusters.FlowMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5846,10 +9740,82 @@ public void onError(Exception ex) { } } + public static class DelegatedRelativeHumidityMeasurementClusterMeasuredValueAttributeCallback + implements ChipClusters.RelativeHumidityMeasurementCluster.MeasuredValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedRelativeHumidityMeasurementClusterMinMeasuredValueAttributeCallback + implements ChipClusters.RelativeHumidityMeasurementCluster.MinMeasuredValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedRelativeHumidityMeasurementClusterMaxMeasuredValueAttributeCallback + implements ChipClusters.RelativeHumidityMeasurementCluster.MaxMeasuredValueAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static - class DelegatedPumpConfigurationAndControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster - .AcceptedCommandListAttributeCallback, + class DelegatedRelativeHumidityMeasurementClusterGeneratedCommandListAttributeCallback + implements ChipClusters.RelativeHumidityMeasurementCluster + .GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5872,8 +9838,10 @@ public void onError(Exception ex) { } } - public static class DelegatedPumpConfigurationAndControlClusterEventListAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.EventListAttributeCallback, + public static + class DelegatedRelativeHumidityMeasurementClusterAcceptedCommandListAttributeCallback + implements ChipClusters.RelativeHumidityMeasurementCluster + .AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5896,8 +9864,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPumpConfigurationAndControlClusterAttributeListAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.AttributeListAttributeCallback, + public static class DelegatedRelativeHumidityMeasurementClusterEventListAttributeCallback + implements ChipClusters.RelativeHumidityMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5920,8 +9888,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThermostatClusterGetWeeklyScheduleResponseCallback - implements ChipClusters.ThermostatCluster.GetWeeklyScheduleResponseCallback, + public static class DelegatedRelativeHumidityMeasurementClusterAttributeListAttributeCallback + implements ChipClusters.RelativeHumidityMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5931,35 +9899,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - Integer NumberOfTransitionsForSequence, - Integer DayOfWeekForSequence, - Integer ModeForSequence, - ArrayList Transitions) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo NumberOfTransitionsForSequenceResponseValue = - new CommandResponseInfo("NumberOfTransitionsForSequence", "Integer"); - responseValues.put( - NumberOfTransitionsForSequenceResponseValue, NumberOfTransitionsForSequence); - CommandResponseInfo DayOfWeekForSequenceResponseValue = - new CommandResponseInfo("DayOfWeekForSequence", "Integer"); - responseValues.put(DayOfWeekForSequenceResponseValue, DayOfWeekForSequence); - CommandResponseInfo ModeForSequenceResponseValue = - new CommandResponseInfo("ModeForSequence", "Integer"); - responseValues.put(ModeForSequenceResponseValue, ModeForSequence); - // Transitions: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedThermostatClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ThermostatCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback + implements ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -5982,8 +9936,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThermostatClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ThermostatCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback + implements ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6006,8 +9960,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThermostatClusterEventListAttributeCallback - implements ChipClusters.ThermostatCluster.EventListAttributeCallback, + public static class DelegatedOccupancySensingClusterEventListAttributeCallback + implements ChipClusters.OccupancySensingCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6030,8 +9984,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThermostatClusterAttributeListAttributeCallback - implements ChipClusters.ThermostatCluster.AttributeListAttributeCallback, + public static class DelegatedOccupancySensingClusterAttributeListAttributeCallback + implements ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6054,8 +10008,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFanControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FanControlCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedWakeOnLanClusterGeneratedCommandListAttributeCallback + implements ChipClusters.WakeOnLanCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6078,8 +10032,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFanControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FanControlCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedWakeOnLanClusterAcceptedCommandListAttributeCallback + implements ChipClusters.WakeOnLanCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6102,8 +10056,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFanControlClusterEventListAttributeCallback - implements ChipClusters.FanControlCluster.EventListAttributeCallback, + public static class DelegatedWakeOnLanClusterEventListAttributeCallback + implements ChipClusters.WakeOnLanCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6126,8 +10080,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFanControlClusterAttributeListAttributeCallback - implements ChipClusters.FanControlCluster.AttributeListAttributeCallback, + public static class DelegatedWakeOnLanClusterAttributeListAttributeCallback + implements ChipClusters.WakeOnLanCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6150,10 +10104,8 @@ public void onError(Exception ex) { } } - public static - class DelegatedThermostatUserInterfaceConfigurationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ThermostatUserInterfaceConfigurationCluster - .GeneratedCommandListAttributeCallback, + public static class DelegatedChannelClusterChangeChannelResponseCallback + implements ChipClusters.ChannelCluster.ChangeChannelResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6163,23 +10115,23 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer Status, Optional Data) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + responseValues.put(DataResponseValue, Data); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static - class DelegatedThermostatUserInterfaceConfigurationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ThermostatUserInterfaceConfigurationCluster - .AcceptedCommandListAttributeCallback, + public static class DelegatedChannelClusterChannelListAttributeCallback + implements ChipClusters.ChannelCluster.ChannelListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6189,9 +10141,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -6202,9 +10155,8 @@ public void onError(Exception ex) { } } - public static class DelegatedThermostatUserInterfaceConfigurationClusterEventListAttributeCallback - implements ChipClusters.ThermostatUserInterfaceConfigurationCluster - .EventListAttributeCallback, + public static class DelegatedChannelClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ChannelCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6227,10 +10179,8 @@ public void onError(Exception ex) { } } - public static - class DelegatedThermostatUserInterfaceConfigurationClusterAttributeListAttributeCallback - implements ChipClusters.ThermostatUserInterfaceConfigurationCluster - .AttributeListAttributeCallback, + public static class DelegatedChannelClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ChannelCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6253,9 +10203,8 @@ public void onError(Exception ex) { } } - public static class DelegatedColorControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ColorControlCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { + public static class DelegatedChannelClusterEventListAttributeCallback + implements ChipClusters.ChannelCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -6277,8 +10226,8 @@ public void onError(Exception ex) { } } - public static class DelegatedColorControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ColorControlCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedChannelClusterAttributeListAttributeCallback + implements ChipClusters.ChannelCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6301,8 +10250,8 @@ public void onError(Exception ex) { } } - public static class DelegatedColorControlClusterEventListAttributeCallback - implements ChipClusters.ColorControlCluster.EventListAttributeCallback, + public static class DelegatedTargetNavigatorClusterNavigateTargetResponseCallback + implements ChipClusters.TargetNavigatorCluster.NavigateTargetResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6312,21 +10261,23 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer Status, Optional Data) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + responseValues.put(DataResponseValue, Data); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedColorControlClusterAttributeListAttributeCallback - implements ChipClusters.ColorControlCluster.AttributeListAttributeCallback, + public static class DelegatedTargetNavigatorClusterTargetListAttributeCallback + implements ChipClusters.TargetNavigatorCluster.TargetListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6336,9 +10287,11 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -6349,8 +10302,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBallastConfigurationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BallastConfigurationCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedTargetNavigatorClusterGeneratedCommandListAttributeCallback + implements ChipClusters.TargetNavigatorCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6373,8 +10326,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBallastConfigurationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BallastConfigurationCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedTargetNavigatorClusterAcceptedCommandListAttributeCallback + implements ChipClusters.TargetNavigatorCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6397,8 +10350,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBallastConfigurationClusterEventListAttributeCallback - implements ChipClusters.BallastConfigurationCluster.EventListAttributeCallback, + public static class DelegatedTargetNavigatorClusterEventListAttributeCallback + implements ChipClusters.TargetNavigatorCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6421,8 +10374,8 @@ public void onError(Exception ex) { } } - public static class DelegatedBallastConfigurationClusterAttributeListAttributeCallback - implements ChipClusters.BallastConfigurationCluster.AttributeListAttributeCallback, + public static class DelegatedTargetNavigatorClusterAttributeListAttributeCallback + implements ChipClusters.TargetNavigatorCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6445,8 +10398,8 @@ public void onError(Exception ex) { } } - public static class DelegatedIlluminanceMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedMediaPlaybackClusterPlaybackResponseCallback + implements ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6456,21 +10409,23 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer Status, Optional Data) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + responseValues.put(DataResponseValue, Data); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedIlluminanceMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedMediaPlaybackClusterStartTimeAttributeCallback + implements ChipClusters.MediaPlaybackCluster.StartTimeAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6480,10 +10435,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -6493,8 +10448,8 @@ public void onError(Exception ex) { } } - public static class DelegatedIlluminanceMeasurementClusterEventListAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.EventListAttributeCallback, + public static class DelegatedMediaPlaybackClusterDurationAttributeCallback + implements ChipClusters.MediaPlaybackCluster.DurationAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6504,10 +10459,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -6517,8 +10472,8 @@ public void onError(Exception ex) { } } - public static class DelegatedIlluminanceMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.AttributeListAttributeCallback, + public static class DelegatedMediaPlaybackClusterSeekRangeEndAttributeCallback + implements ChipClusters.MediaPlaybackCluster.SeekRangeEndAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6528,10 +10483,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -6541,8 +10496,8 @@ public void onError(Exception ex) { } } - public static class DelegatedTemperatureMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedMediaPlaybackClusterSeekRangeStartAttributeCallback + implements ChipClusters.MediaPlaybackCluster.SeekRangeStartAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6552,10 +10507,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -6565,8 +10520,8 @@ public void onError(Exception ex) { } } - public static class DelegatedTemperatureMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedMediaPlaybackClusterGeneratedCommandListAttributeCallback + implements ChipClusters.MediaPlaybackCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6589,8 +10544,8 @@ public void onError(Exception ex) { } } - public static class DelegatedTemperatureMeasurementClusterEventListAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.EventListAttributeCallback, + public static class DelegatedMediaPlaybackClusterAcceptedCommandListAttributeCallback + implements ChipClusters.MediaPlaybackCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6613,8 +10568,8 @@ public void onError(Exception ex) { } } - public static class DelegatedTemperatureMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.AttributeListAttributeCallback, + public static class DelegatedMediaPlaybackClusterEventListAttributeCallback + implements ChipClusters.MediaPlaybackCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6637,8 +10592,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPressureMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.PressureMeasurementCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedMediaPlaybackClusterAttributeListAttributeCallback + implements ChipClusters.MediaPlaybackCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6661,8 +10616,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPressureMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.PressureMeasurementCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedMediaInputClusterInputListAttributeCallback + implements ChipClusters.MediaInputCluster.InputListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6672,9 +10627,11 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -6685,8 +10642,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPressureMeasurementClusterEventListAttributeCallback - implements ChipClusters.PressureMeasurementCluster.EventListAttributeCallback, + public static class DelegatedMediaInputClusterGeneratedCommandListAttributeCallback + implements ChipClusters.MediaInputCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6709,8 +10666,8 @@ public void onError(Exception ex) { } } - public static class DelegatedPressureMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.PressureMeasurementCluster.AttributeListAttributeCallback, + public static class DelegatedMediaInputClusterAcceptedCommandListAttributeCallback + implements ChipClusters.MediaInputCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6733,8 +10690,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFlowMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FlowMeasurementCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedMediaInputClusterEventListAttributeCallback + implements ChipClusters.MediaInputCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6757,8 +10714,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFlowMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FlowMeasurementCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedMediaInputClusterAttributeListAttributeCallback + implements ChipClusters.MediaInputCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6781,8 +10738,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFlowMeasurementClusterEventListAttributeCallback - implements ChipClusters.FlowMeasurementCluster.EventListAttributeCallback, + public static class DelegatedLowPowerClusterGeneratedCommandListAttributeCallback + implements ChipClusters.LowPowerCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6805,8 +10762,8 @@ public void onError(Exception ex) { } } - public static class DelegatedFlowMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.FlowMeasurementCluster.AttributeListAttributeCallback, + public static class DelegatedLowPowerClusterAcceptedCommandListAttributeCallback + implements ChipClusters.LowPowerCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6828,12 +10785,9 @@ public void onError(Exception ex) { callback.onFailure(ex); } } - - public static - class DelegatedRelativeHumidityMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { + + public static class DelegatedLowPowerClusterEventListAttributeCallback + implements ChipClusters.LowPowerCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -6855,10 +10809,8 @@ public void onError(Exception ex) { } } - public static - class DelegatedRelativeHumidityMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster - .AcceptedCommandListAttributeCallback, + public static class DelegatedLowPowerClusterAttributeListAttributeCallback + implements ChipClusters.LowPowerCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6881,9 +10833,8 @@ public void onError(Exception ex) { } } - public static class DelegatedRelativeHumidityMeasurementClusterEventListAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { + public static class DelegatedKeypadInputClusterSendKeyResponseCallback + implements ChipClusters.KeypadInputCluster.SendKeyResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -6892,21 +10843,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer Status) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedRelativeHumidityMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster.AttributeListAttributeCallback, + public static class DelegatedKeypadInputClusterGeneratedCommandListAttributeCallback + implements ChipClusters.KeypadInputCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6929,8 +10880,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedKeypadInputClusterAcceptedCommandListAttributeCallback + implements ChipClusters.KeypadInputCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6953,8 +10904,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedKeypadInputClusterEventListAttributeCallback + implements ChipClusters.KeypadInputCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -6977,8 +10928,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOccupancySensingClusterEventListAttributeCallback - implements ChipClusters.OccupancySensingCluster.EventListAttributeCallback, + public static class DelegatedKeypadInputClusterAttributeListAttributeCallback + implements ChipClusters.KeypadInputCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7001,8 +10952,8 @@ public void onError(Exception ex) { } } - public static class DelegatedOccupancySensingClusterAttributeListAttributeCallback - implements ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback, + public static class DelegatedContentLauncherClusterLauncherResponseCallback + implements ChipClusters.ContentLauncherCluster.LauncherResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7012,21 +10963,23 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer Status, Optional Data) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + responseValues.put(DataResponseValue, Data); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedWakeOnLanClusterGeneratedCommandListAttributeCallback - implements ChipClusters.WakeOnLanCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedContentLauncherClusterAcceptHeaderAttributeCallback + implements ChipClusters.ContentLauncherCluster.AcceptHeaderAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7036,9 +10989,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -7049,8 +11003,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWakeOnLanClusterAcceptedCommandListAttributeCallback - implements ChipClusters.WakeOnLanCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedContentLauncherClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ContentLauncherCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7073,8 +11027,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWakeOnLanClusterEventListAttributeCallback - implements ChipClusters.WakeOnLanCluster.EventListAttributeCallback, + public static class DelegatedContentLauncherClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ContentLauncherCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7097,8 +11051,8 @@ public void onError(Exception ex) { } } - public static class DelegatedWakeOnLanClusterAttributeListAttributeCallback - implements ChipClusters.WakeOnLanCluster.AttributeListAttributeCallback, + public static class DelegatedContentLauncherClusterEventListAttributeCallback + implements ChipClusters.ContentLauncherCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7121,8 +11075,8 @@ public void onError(Exception ex) { } } - public static class DelegatedChannelClusterChangeChannelResponseCallback - implements ChipClusters.ChannelCluster.ChangeChannelResponseCallback, + public static class DelegatedContentLauncherClusterAttributeListAttributeCallback + implements ChipClusters.ContentLauncherCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7132,23 +11086,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer Status, Optional Data) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); - responseValues.put(DataResponseValue, Data); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedChannelClusterChannelListAttributeCallback - implements ChipClusters.ChannelCluster.ChannelListAttributeCallback, + public static class DelegatedAudioOutputClusterOutputListAttributeCallback + implements ChipClusters.AudioOutputCluster.OutputListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7158,10 +11110,11 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); + new CommandResponseInfo( + "valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -7172,8 +11125,8 @@ public void onError(Exception ex) { } } - public static class DelegatedChannelClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ChannelCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedAudioOutputClusterGeneratedCommandListAttributeCallback + implements ChipClusters.AudioOutputCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7196,8 +11149,8 @@ public void onError(Exception ex) { } } - public static class DelegatedChannelClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ChannelCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedAudioOutputClusterAcceptedCommandListAttributeCallback + implements ChipClusters.AudioOutputCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7220,8 +11173,9 @@ public void onError(Exception ex) { } } - public static class DelegatedChannelClusterEventListAttributeCallback - implements ChipClusters.ChannelCluster.EventListAttributeCallback, DelegatedClusterCallback { + public static class DelegatedAudioOutputClusterEventListAttributeCallback + implements ChipClusters.AudioOutputCluster.EventListAttributeCallback, + DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -7243,8 +11197,8 @@ public void onError(Exception ex) { } } - public static class DelegatedChannelClusterAttributeListAttributeCallback - implements ChipClusters.ChannelCluster.AttributeListAttributeCallback, + public static class DelegatedAudioOutputClusterAttributeListAttributeCallback + implements ChipClusters.AudioOutputCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7267,8 +11221,8 @@ public void onError(Exception ex) { } } - public static class DelegatedTargetNavigatorClusterNavigateTargetResponseCallback - implements ChipClusters.TargetNavigatorCluster.NavigateTargetResponseCallback, + public static class DelegatedApplicationLauncherClusterLauncherResponseCallback + implements ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7278,11 +11232,11 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer Status, Optional Data) { + public void onSuccess(Integer Status, Optional Data) { Map responseValues = new LinkedHashMap<>(); CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); responseValues.put(DataResponseValue, Data); callback.onSuccess(responseValues); } @@ -7293,8 +11247,8 @@ public void onError(Exception error) { } } - public static class DelegatedTargetNavigatorClusterTargetListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.TargetListAttributeCallback, + public static class DelegatedApplicationLauncherClusterCatalogListAttributeCallback + implements ChipClusters.ApplicationLauncherCluster.CatalogListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7304,11 +11258,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); + new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -7319,8 +11272,8 @@ public void onError(Exception ex) { } } - public static class DelegatedTargetNavigatorClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedApplicationLauncherClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ApplicationLauncherCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7343,8 +11296,8 @@ public void onError(Exception ex) { } } - public static class DelegatedTargetNavigatorClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedApplicationLauncherClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ApplicationLauncherCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7367,8 +11320,8 @@ public void onError(Exception ex) { } } - public static class DelegatedTargetNavigatorClusterEventListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.EventListAttributeCallback, + public static class DelegatedApplicationLauncherClusterEventListAttributeCallback + implements ChipClusters.ApplicationLauncherCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7391,8 +11344,8 @@ public void onError(Exception ex) { } } - public static class DelegatedTargetNavigatorClusterAttributeListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.AttributeListAttributeCallback, + public static class DelegatedApplicationLauncherClusterAttributeListAttributeCallback + implements ChipClusters.ApplicationLauncherCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7415,34 +11368,8 @@ public void onError(Exception ex) { } } - public static class DelegatedMediaPlaybackClusterPlaybackResponseCallback - implements ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Optional Data) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); - responseValues.put(DataResponseValue, Data); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedMediaPlaybackClusterGeneratedCommandListAttributeCallback - implements ChipClusters.MediaPlaybackCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedApplicationBasicClusterVendorIDAttributeCallback + implements ChipClusters.ApplicationBasicCluster.VendorIDAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7452,10 +11379,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -7465,8 +11392,8 @@ public void onError(Exception ex) { } } - public static class DelegatedMediaPlaybackClusterAcceptedCommandListAttributeCallback - implements ChipClusters.MediaPlaybackCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedApplicationBasicClusterAllowedVendorListAttributeCallback + implements ChipClusters.ApplicationBasicCluster.AllowedVendorListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7476,9 +11403,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -7489,8 +11417,8 @@ public void onError(Exception ex) { } } - public static class DelegatedMediaPlaybackClusterEventListAttributeCallback - implements ChipClusters.MediaPlaybackCluster.EventListAttributeCallback, + public static class DelegatedApplicationBasicClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ApplicationBasicCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7513,8 +11441,8 @@ public void onError(Exception ex) { } } - public static class DelegatedMediaPlaybackClusterAttributeListAttributeCallback - implements ChipClusters.MediaPlaybackCluster.AttributeListAttributeCallback, + public static class DelegatedApplicationBasicClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ApplicationBasicCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7537,34 +11465,8 @@ public void onError(Exception ex) { } } - public static class DelegatedMediaInputClusterInputListAttributeCallback - implements ChipClusters.MediaInputCluster.InputListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaInputClusterGeneratedCommandListAttributeCallback - implements ChipClusters.MediaInputCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedApplicationBasicClusterEventListAttributeCallback + implements ChipClusters.ApplicationBasicCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7587,8 +11489,8 @@ public void onError(Exception ex) { } } - public static class DelegatedMediaInputClusterAcceptedCommandListAttributeCallback - implements ChipClusters.MediaInputCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedApplicationBasicClusterAttributeListAttributeCallback + implements ChipClusters.ApplicationBasicCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7611,8 +11513,8 @@ public void onError(Exception ex) { } } - public static class DelegatedMediaInputClusterEventListAttributeCallback - implements ChipClusters.MediaInputCluster.EventListAttributeCallback, + public static class DelegatedAccountLoginClusterGetSetupPINResponseCallback + implements ChipClusters.AccountLoginCluster.GetSetupPINResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7622,21 +11524,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(String SetupPIN) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo SetupPINResponseValue = new CommandResponseInfo("SetupPIN", "String"); + responseValues.put(SetupPINResponseValue, SetupPIN); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedMediaInputClusterAttributeListAttributeCallback - implements ChipClusters.MediaInputCluster.AttributeListAttributeCallback, + public static class DelegatedAccountLoginClusterGeneratedCommandListAttributeCallback + implements ChipClusters.AccountLoginCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7659,8 +11561,8 @@ public void onError(Exception ex) { } } - public static class DelegatedLowPowerClusterGeneratedCommandListAttributeCallback - implements ChipClusters.LowPowerCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedAccountLoginClusterAcceptedCommandListAttributeCallback + implements ChipClusters.AccountLoginCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7683,8 +11585,8 @@ public void onError(Exception ex) { } } - public static class DelegatedLowPowerClusterAcceptedCommandListAttributeCallback - implements ChipClusters.LowPowerCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedAccountLoginClusterEventListAttributeCallback + implements ChipClusters.AccountLoginCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7707,8 +11609,9 @@ public void onError(Exception ex) { } } - public static class DelegatedLowPowerClusterEventListAttributeCallback - implements ChipClusters.LowPowerCluster.EventListAttributeCallback, DelegatedClusterCallback { + public static class DelegatedAccountLoginClusterAttributeListAttributeCallback + implements ChipClusters.AccountLoginCluster.AttributeListAttributeCallback, + DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -7730,8 +11633,8 @@ public void onError(Exception ex) { } } - public static class DelegatedLowPowerClusterAttributeListAttributeCallback - implements ChipClusters.LowPowerCluster.AttributeListAttributeCallback, + public static class DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ElectricalMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7754,8 +11657,9 @@ public void onError(Exception ex) { } } - public static class DelegatedKeypadInputClusterSendKeyResponseCallback - implements ChipClusters.KeypadInputCluster.SendKeyResponseCallback, DelegatedClusterCallback { + public static class DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ElectricalMeasurementCluster.AcceptedCommandListAttributeCallback, + DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -7764,21 +11668,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer Status) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedKeypadInputClusterGeneratedCommandListAttributeCallback - implements ChipClusters.KeypadInputCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedElectricalMeasurementClusterEventListAttributeCallback + implements ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7801,8 +11705,8 @@ public void onError(Exception ex) { } } - public static class DelegatedKeypadInputClusterAcceptedCommandListAttributeCallback - implements ChipClusters.KeypadInputCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedElectricalMeasurementClusterAttributeListAttributeCallback + implements ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7825,8 +11729,8 @@ public void onError(Exception ex) { } } - public static class DelegatedKeypadInputClusterEventListAttributeCallback - implements ChipClusters.KeypadInputCluster.EventListAttributeCallback, + public static class DelegatedClientMonitoringClusterExpectedClientsAttributeCallback + implements ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7836,9 +11740,12 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess( + List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -7849,8 +11756,8 @@ public void onError(Exception ex) { } } - public static class DelegatedKeypadInputClusterAttributeListAttributeCallback - implements ChipClusters.KeypadInputCluster.AttributeListAttributeCallback, + public static class DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ClientMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7873,8 +11780,8 @@ public void onError(Exception ex) { } } - public static class DelegatedContentLauncherClusterLauncherResponseCallback - implements ChipClusters.ContentLauncherCluster.LauncherResponseCallback, + public static class DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ClientMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7884,23 +11791,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer Status, Optional Data) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); - responseValues.put(DataResponseValue, Data); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedContentLauncherClusterAcceptHeaderAttributeCallback - implements ChipClusters.ContentLauncherCluster.AcceptHeaderAttributeCallback, + public static class DelegatedClientMonitoringClusterEventListAttributeCallback + implements ChipClusters.ClientMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7910,10 +11815,9 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -7924,8 +11828,8 @@ public void onError(Exception ex) { } } - public static class DelegatedContentLauncherClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ContentLauncherCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedClientMonitoringClusterAttributeListAttributeCallback + implements ChipClusters.ClientMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7948,8 +11852,8 @@ public void onError(Exception ex) { } } - public static class DelegatedContentLauncherClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ContentLauncherCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterTestSpecificResponseCallback + implements ChipClusters.UnitTestingCluster.TestSpecificResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7959,21 +11863,22 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer returnValue) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo returnValueResponseValue = + new CommandResponseInfo("returnValue", "Integer"); + responseValues.put(returnValueResponseValue, returnValue); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedContentLauncherClusterEventListAttributeCallback - implements ChipClusters.ContentLauncherCluster.EventListAttributeCallback, + public static class DelegatedUnitTestingClusterTestAddArgumentsResponseCallback + implements ChipClusters.UnitTestingCluster.TestAddArgumentsResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -7983,21 +11888,22 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer returnValue) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo returnValueResponseValue = + new CommandResponseInfo("returnValue", "Integer"); + responseValues.put(returnValueResponseValue, returnValue); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedContentLauncherClusterAttributeListAttributeCallback - implements ChipClusters.ContentLauncherCluster.AttributeListAttributeCallback, + public static class DelegatedUnitTestingClusterTestListInt8UReverseResponseCallback + implements ChipClusters.UnitTestingCluster.TestListInt8UReverseResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8007,21 +11913,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(ArrayList arg1) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + // arg1: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedAudioOutputClusterOutputListAttributeCallback - implements ChipClusters.AudioOutputCluster.OutputListAttributeCallback, + public static class DelegatedUnitTestingClusterTestEnumsResponseCallback + implements ChipClusters.UnitTestingCluster.TestEnumsResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8031,23 +11937,23 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer arg1, Integer arg2) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo arg1ResponseValue = new CommandResponseInfo("arg1", "Integer"); + responseValues.put(arg1ResponseValue, arg1); + CommandResponseInfo arg2ResponseValue = new CommandResponseInfo("arg2", "Integer"); + responseValues.put(arg2ResponseValue, arg2); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedAudioOutputClusterGeneratedCommandListAttributeCallback - implements ChipClusters.AudioOutputCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterTestNullableOptionalResponseCallback + implements ChipClusters.UnitTestingCluster.TestNullableOptionalResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8057,22 +11963,35 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess( + Boolean wasPresent, + Optional wasNull, + Optional value, + @Nullable Optional originalValue) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo wasPresentResponseValue = + new CommandResponseInfo("wasPresent", "Boolean"); + responseValues.put(wasPresentResponseValue, wasPresent); + CommandResponseInfo wasNullResponseValue = + new CommandResponseInfo("wasNull", "Optional"); + responseValues.put(wasNullResponseValue, wasNull); + CommandResponseInfo valueResponseValue = + new CommandResponseInfo("value", "Optional"); + responseValues.put(valueResponseValue, value); + CommandResponseInfo originalValueResponseValue = + new CommandResponseInfo("originalValue", "Optional"); + responseValues.put(originalValueResponseValue, originalValue); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedAudioOutputClusterAcceptedCommandListAttributeCallback - implements ChipClusters.AudioOutputCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { + public static class DelegatedUnitTestingClusterBooleanResponseCallback + implements ChipClusters.UnitTestingCluster.BooleanResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -8081,21 +12000,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Boolean value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo valueResponseValue = new CommandResponseInfo("value", "Boolean"); + responseValues.put(valueResponseValue, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedAudioOutputClusterEventListAttributeCallback - implements ChipClusters.AudioOutputCluster.EventListAttributeCallback, + public static class DelegatedUnitTestingClusterSimpleStructResponseCallback + implements ChipClusters.UnitTestingCluster.SimpleStructResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8105,21 +12024,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(ChipStructs.UnitTestingClusterSimpleStruct arg1) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + // arg1: Struct SimpleStruct + // Conversion from this type to Java is not properly implemented yet callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedAudioOutputClusterAttributeListAttributeCallback - implements ChipClusters.AudioOutputCluster.AttributeListAttributeCallback, + public static class DelegatedUnitTestingClusterTestEmitTestEventResponseCallback + implements ChipClusters.UnitTestingCluster.TestEmitTestEventResponseCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8129,21 +12048,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo valueResponseValue = new CommandResponseInfo("value", "Long"); + responseValues.put(valueResponseValue, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception ex) { - callback.onFailure(ex); + public void onError(Exception error) { + callback.onFailure(error); } } - public static class DelegatedApplicationLauncherClusterLauncherResponseCallback - implements ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback, + public static class DelegatedUnitTestingClusterListInt8uAttributeCallback + implements ChipClusters.UnitTestingCluster.ListInt8uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8153,23 +12072,22 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer Status, Optional Data) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); - responseValues.put(DataResponseValue, Data); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedApplicationLauncherClusterCatalogListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.CatalogListAttributeCallback, + public static class DelegatedUnitTestingClusterListOctetStringAttributeCallback + implements ChipClusters.UnitTestingCluster.ListOctetStringAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8179,10 +12097,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); + new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -8193,8 +12111,8 @@ public void onError(Exception ex) { } } - public static class DelegatedApplicationLauncherClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterListStructOctetStringAttributeCallback + implements ChipClusters.UnitTestingCluster.ListStructOctetStringAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8204,9 +12122,11 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -8217,8 +12137,8 @@ public void onError(Exception ex) { } } - public static class DelegatedApplicationLauncherClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterVendorIdAttributeCallback + implements ChipClusters.UnitTestingCluster.VendorIdAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8228,10 +12148,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8240,9 +12160,9 @@ public void onError(Exception ex) { callback.onFailure(ex); } } - - public static class DelegatedApplicationLauncherClusterEventListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.EventListAttributeCallback, + + public static class DelegatedUnitTestingClusterListNullablesAndOptionalsStructAttributeCallback + implements ChipClusters.UnitTestingCluster.ListNullablesAndOptionalsStructAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8252,9 +12172,12 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess( + List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -8265,8 +12188,8 @@ public void onError(Exception ex) { } } - public static class DelegatedApplicationLauncherClusterAttributeListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.AttributeListAttributeCallback, + public static class DelegatedUnitTestingClusterListLongOctetStringAttributeCallback + implements ChipClusters.UnitTestingCluster.ListLongOctetStringAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8276,9 +12199,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo("valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -8289,8 +12213,8 @@ public void onError(Exception ex) { } } - public static class DelegatedApplicationBasicClusterAllowedVendorListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.AllowedVendorListAttributeCallback, + public static class DelegatedUnitTestingClusterListFabricScopedAttributeCallback + implements ChipClusters.UnitTestingCluster.ListFabricScopedAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8300,10 +12224,11 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(List valueList) { Map responseValues = new LinkedHashMap<>(); CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); + new CommandResponseInfo( + "valueList", "List"); responseValues.put(commandResponseInfo, valueList); callback.onSuccess(responseValues); } @@ -8314,8 +12239,8 @@ public void onError(Exception ex) { } } - public static class DelegatedApplicationBasicClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableBooleanAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableBooleanAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8325,10 +12250,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Boolean value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Boolean"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8338,8 +12263,8 @@ public void onError(Exception ex) { } } - public static class DelegatedApplicationBasicClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableBitmap8AttributeCallback + implements ChipClusters.UnitTestingCluster.NullableBitmap8AttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8349,10 +12274,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8362,8 +12287,8 @@ public void onError(Exception ex) { } } - public static class DelegatedApplicationBasicClusterEventListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.EventListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableBitmap16AttributeCallback + implements ChipClusters.UnitTestingCluster.NullableBitmap16AttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8373,10 +12298,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8386,8 +12311,8 @@ public void onError(Exception ex) { } } - public static class DelegatedApplicationBasicClusterAttributeListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.AttributeListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableBitmap32AttributeCallback + implements ChipClusters.UnitTestingCluster.NullableBitmap32AttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8397,10 +12322,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8410,8 +12335,8 @@ public void onError(Exception ex) { } } - public static class DelegatedAccountLoginClusterGetSetupPINResponseCallback - implements ChipClusters.AccountLoginCluster.GetSetupPINResponseCallback, + public static class DelegatedUnitTestingClusterNullableBitmap64AttributeCallback + implements ChipClusters.UnitTestingCluster.NullableBitmap64AttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8421,21 +12346,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(String SetupPIN) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo SetupPINResponseValue = new CommandResponseInfo("SetupPIN", "String"); - responseValues.put(SetupPINResponseValue, SetupPIN); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedAccountLoginClusterGeneratedCommandListAttributeCallback - implements ChipClusters.AccountLoginCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt8uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt8uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8445,10 +12370,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8458,8 +12383,8 @@ public void onError(Exception ex) { } } - public static class DelegatedAccountLoginClusterAcceptedCommandListAttributeCallback - implements ChipClusters.AccountLoginCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt16uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt16uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8469,10 +12394,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8482,8 +12407,8 @@ public void onError(Exception ex) { } } - public static class DelegatedAccountLoginClusterEventListAttributeCallback - implements ChipClusters.AccountLoginCluster.EventListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt24uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt24uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8493,10 +12418,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8506,8 +12431,8 @@ public void onError(Exception ex) { } } - public static class DelegatedAccountLoginClusterAttributeListAttributeCallback - implements ChipClusters.AccountLoginCluster.AttributeListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt32uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt32uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8517,10 +12442,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8530,8 +12455,8 @@ public void onError(Exception ex) { } } - public static class DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ElectricalMeasurementCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt40uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt40uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8541,10 +12466,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8554,8 +12479,8 @@ public void onError(Exception ex) { } } - public static class DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ElectricalMeasurementCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt48uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt48uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8565,10 +12490,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8578,8 +12503,8 @@ public void onError(Exception ex) { } } - public static class DelegatedElectricalMeasurementClusterEventListAttributeCallback - implements ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt56uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt56uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8589,10 +12514,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8602,8 +12527,8 @@ public void onError(Exception ex) { } } - public static class DelegatedElectricalMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt64uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt64uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8613,10 +12538,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8626,8 +12551,8 @@ public void onError(Exception ex) { } } - public static class DelegatedClientMonitoringClusterExpectedClientsAttributeCallback - implements ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt8sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt8sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8637,13 +12562,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8653,8 +12575,8 @@ public void onError(Exception ex) { } } - public static class DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ClientMonitoringCluster.GeneratedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt16sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt16sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8664,10 +12586,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8677,8 +12599,8 @@ public void onError(Exception ex) { } } - public static class DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ClientMonitoringCluster.AcceptedCommandListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt24sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt24sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8688,10 +12610,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8701,8 +12623,8 @@ public void onError(Exception ex) { } } - public static class DelegatedClientMonitoringClusterEventListAttributeCallback - implements ChipClusters.ClientMonitoringCluster.EventListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt32sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt32sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8712,10 +12634,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8725,8 +12647,8 @@ public void onError(Exception ex) { } } - public static class DelegatedClientMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.ClientMonitoringCluster.AttributeListAttributeCallback, + public static class DelegatedUnitTestingClusterNullableInt40sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt40sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8736,10 +12658,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8749,8 +12671,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUnitTestingClusterTestSpecificResponseCallback - implements ChipClusters.UnitTestingCluster.TestSpecificResponseCallback, + public static class DelegatedUnitTestingClusterNullableInt48sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt48sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8760,22 +12682,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer returnValue) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo returnValueResponseValue = - new CommandResponseInfo("returnValue", "Integer"); - responseValues.put(returnValueResponseValue, returnValue); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedUnitTestingClusterTestAddArgumentsResponseCallback - implements ChipClusters.UnitTestingCluster.TestAddArgumentsResponseCallback, + public static class DelegatedUnitTestingClusterNullableInt56sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt56sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8785,22 +12706,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer returnValue) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo returnValueResponseValue = - new CommandResponseInfo("returnValue", "Integer"); - responseValues.put(returnValueResponseValue, returnValue); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedUnitTestingClusterTestListInt8UReverseResponseCallback - implements ChipClusters.UnitTestingCluster.TestListInt8UReverseResponseCallback, + public static class DelegatedUnitTestingClusterNullableInt64sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableInt64sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8810,21 +12730,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(ArrayList arg1) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - // arg1: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedUnitTestingClusterTestEnumsResponseCallback - implements ChipClusters.UnitTestingCluster.TestEnumsResponseCallback, + public static class DelegatedUnitTestingClusterNullableEnum8AttributeCallback + implements ChipClusters.UnitTestingCluster.NullableEnum8AttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8834,23 +12754,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer arg1, Integer arg2) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo arg1ResponseValue = new CommandResponseInfo("arg1", "Integer"); - responseValues.put(arg1ResponseValue, arg1); - CommandResponseInfo arg2ResponseValue = new CommandResponseInfo("arg2", "Integer"); - responseValues.put(arg2ResponseValue, arg2); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedUnitTestingClusterTestNullableOptionalResponseCallback - implements ChipClusters.UnitTestingCluster.TestNullableOptionalResponseCallback, + public static class DelegatedUnitTestingClusterNullableEnum16AttributeCallback + implements ChipClusters.UnitTestingCluster.NullableEnum16AttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8860,35 +12778,22 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - Boolean wasPresent, - Optional wasNull, - Optional value, - @Nullable Optional originalValue) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo wasPresentResponseValue = - new CommandResponseInfo("wasPresent", "Boolean"); - responseValues.put(wasPresentResponseValue, wasPresent); - CommandResponseInfo wasNullResponseValue = - new CommandResponseInfo("wasNull", "Optional"); - responseValues.put(wasNullResponseValue, wasNull); - CommandResponseInfo valueResponseValue = - new CommandResponseInfo("value", "Optional"); - responseValues.put(valueResponseValue, value); - CommandResponseInfo originalValueResponseValue = - new CommandResponseInfo("originalValue", "Optional"); - responseValues.put(originalValueResponseValue, originalValue); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedUnitTestingClusterBooleanResponseCallback - implements ChipClusters.UnitTestingCluster.BooleanResponseCallback, DelegatedClusterCallback { + public static class DelegatedUnitTestingClusterNullableFloatSingleAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableFloatSingleAttributeCallback, + DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -8897,21 +12802,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Boolean value) { + public void onSuccess(@Nullable Float value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo valueResponseValue = new CommandResponseInfo("value", "Boolean"); - responseValues.put(valueResponseValue, value); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedUnitTestingClusterSimpleStructResponseCallback - implements ChipClusters.UnitTestingCluster.SimpleStructResponseCallback, + public static class DelegatedUnitTestingClusterNullableFloatDoubleAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableFloatDoubleAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8921,21 +12826,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(ChipStructs.UnitTestingClusterSimpleStruct arg1) { + public void onSuccess(@Nullable Double value) { Map responseValues = new LinkedHashMap<>(); - // arg1: Struct SimpleStruct - // Conversion from this type to Java is not properly implemented yet + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Double"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedUnitTestingClusterTestEmitTestEventResponseCallback - implements ChipClusters.UnitTestingCluster.TestEmitTestEventResponseCallback, + public static class DelegatedUnitTestingClusterNullableOctetStringAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableOctetStringAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8945,21 +12850,21 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Long value) { + public void onSuccess(@Nullable byte[] value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo valueResponseValue = new CommandResponseInfo("value", "Long"); - responseValues.put(valueResponseValue, value); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @Override - public void onError(Exception error) { - callback.onFailure(error); + public void onError(Exception ex) { + callback.onFailure(ex); } } - public static class DelegatedUnitTestingClusterListInt8uAttributeCallback - implements ChipClusters.UnitTestingCluster.ListInt8uAttributeCallback, + public static class DelegatedUnitTestingClusterNullableCharStringAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableCharStringAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8969,11 +12874,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable String value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -8983,8 +12887,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUnitTestingClusterListOctetStringAttributeCallback - implements ChipClusters.UnitTestingCluster.ListOctetStringAttributeCallback, + public static class DelegatedUnitTestingClusterNullableEnumAttrAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableEnumAttrAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -8994,11 +12898,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -9008,8 +12911,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUnitTestingClusterListStructOctetStringAttributeCallback - implements ChipClusters.UnitTestingCluster.ListStructOctetStringAttributeCallback, + public static class DelegatedUnitTestingClusterNullableRangeRestrictedInt8uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -9019,12 +12922,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -9034,8 +12935,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUnitTestingClusterListNullablesAndOptionalsStructAttributeCallback - implements ChipClusters.UnitTestingCluster.ListNullablesAndOptionalsStructAttributeCallback, + public static class DelegatedUnitTestingClusterNullableRangeRestrictedInt8sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -9045,13 +12946,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess( - List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -9061,8 +12959,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUnitTestingClusterListLongOctetStringAttributeCallback - implements ChipClusters.UnitTestingCluster.ListLongOctetStringAttributeCallback, + public static class DelegatedUnitTestingClusterNullableRangeRestrictedInt16uAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16uAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -9072,11 +12970,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } @@ -9086,8 +12983,8 @@ public void onError(Exception ex) { } } - public static class DelegatedUnitTestingClusterListFabricScopedAttributeCallback - implements ChipClusters.UnitTestingCluster.ListFabricScopedAttributeCallback, + public static class DelegatedUnitTestingClusterNullableRangeRestrictedInt16sAttributeCallback + implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16sAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -9097,12 +12994,10 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(List valueList) { + public void onSuccess(@Nullable Integer value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java index b7ad360b54cc69..e246d405460d3a 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java @@ -266,7 +266,7 @@ public Map> getReadAttributeMap() { .readCurrentGroupAttribute( (ChipClusters.ScenesCluster.CurrentGroupAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedScenesClusterCurrentGroupAttributeCallback(), readScenesCurrentGroupCommandParams); readScenesInteractionInfo.put( "readCurrentGroupAttribute", readScenesCurrentGroupAttributeInteractionInfo); @@ -432,7 +432,7 @@ public Map> getReadAttributeMap() { .readStartUpOnOffAttribute( (ChipClusters.OnOffCluster.StartUpOnOffAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedOnOffClusterStartUpOnOffAttributeCallback(), readOnOffStartUpOnOffCommandParams); readOnOffInteractionInfo.put( "readStartUpOnOffAttribute", readOnOffStartUpOnOffAttributeInteractionInfo); @@ -648,7 +648,8 @@ public Map> getReadAttributeMap() { .readCurrentLevelAttribute( (ChipClusters.LevelControlCluster.CurrentLevelAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedLevelControlClusterCurrentLevelAttributeCallback(), readLevelControlCurrentLevelCommandParams); readLevelControlInteractionInfo.put( "readCurrentLevelAttribute", readLevelControlCurrentLevelAttributeInteractionInfo); @@ -759,7 +760,7 @@ public Map> getReadAttributeMap() { .readOnLevelAttribute( (ChipClusters.LevelControlCluster.OnLevelAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedLevelControlClusterOnLevelAttributeCallback(), readLevelControlOnLevelCommandParams); readLevelControlInteractionInfo.put( "readOnLevelAttribute", readLevelControlOnLevelAttributeInteractionInfo); @@ -773,7 +774,9 @@ public Map> getReadAttributeMap() { (ChipClusters.LevelControlCluster.OnTransitionTimeAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterOnTransitionTimeAttributeCallback(), readLevelControlOnTransitionTimeCommandParams); readLevelControlInteractionInfo.put( "readOnTransitionTimeAttribute", readLevelControlOnTransitionTimeAttributeInteractionInfo); @@ -787,7 +790,9 @@ public Map> getReadAttributeMap() { (ChipClusters.LevelControlCluster.OffTransitionTimeAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterOffTransitionTimeAttributeCallback(), readLevelControlOffTransitionTimeCommandParams); readLevelControlInteractionInfo.put( "readOffTransitionTimeAttribute", @@ -801,7 +806,9 @@ public Map> getReadAttributeMap() { .readDefaultMoveRateAttribute( (ChipClusters.LevelControlCluster.DefaultMoveRateAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterDefaultMoveRateAttributeCallback(), readLevelControlDefaultMoveRateCommandParams); readLevelControlInteractionInfo.put( "readDefaultMoveRateAttribute", readLevelControlDefaultMoveRateAttributeInteractionInfo); @@ -815,7 +822,9 @@ public Map> getReadAttributeMap() { (ChipClusters.LevelControlCluster.StartUpCurrentLevelAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterStartUpCurrentLevelAttributeCallback(), readLevelControlStartUpCurrentLevelCommandParams); readLevelControlInteractionInfo.put( "readStartUpCurrentLevelAttribute", @@ -1580,7 +1589,8 @@ public Map> getReadAttributeMap() { .readVendorIDAttribute( (ChipClusters.BasicInformationCluster.VendorIDAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedBasicInformationClusterVendorIDAttributeCallback(), readBasicInformationVendorIDCommandParams); readBasicInformationInteractionInfo.put( "readVendorIDAttribute", readBasicInformationVendorIDAttributeInteractionInfo); @@ -2034,7 +2044,9 @@ public Map> getReadAttributeMap() { .UpdateStateProgressAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateRequestorClusterUpdateStateProgressAttributeCallback(), readOtaSoftwareUpdateRequestorUpdateStateProgressCommandParams); readOtaSoftwareUpdateRequestorInteractionInfo.put( "readUpdateStateProgressAttribute", @@ -2675,7 +2687,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PowerSourceCluster.WiredAssessedInputVoltageAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterWiredAssessedInputVoltageAttributeCallback(), readPowerSourceWiredAssessedInputVoltageCommandParams); readPowerSourceInteractionInfo.put( "readWiredAssessedInputVoltageAttribute", @@ -2690,7 +2704,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PowerSourceCluster.WiredAssessedInputFrequencyAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterWiredAssessedInputFrequencyAttributeCallback(), readPowerSourceWiredAssessedInputFrequencyCommandParams); readPowerSourceInteractionInfo.put( "readWiredAssessedInputFrequencyAttribute", @@ -2717,7 +2733,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PowerSourceCluster.WiredAssessedCurrentAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterWiredAssessedCurrentAttributeCallback(), readPowerSourceWiredAssessedCurrentCommandParams); readPowerSourceInteractionInfo.put( "readWiredAssessedCurrentAttribute", @@ -2785,7 +2803,7 @@ public Map> getReadAttributeMap() { .readBatVoltageAttribute( (ChipClusters.PowerSourceCluster.BatVoltageAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatVoltageAttributeCallback(), readPowerSourceBatVoltageCommandParams); readPowerSourceInteractionInfo.put( "readBatVoltageAttribute", readPowerSourceBatVoltageAttributeInteractionInfo); @@ -2799,7 +2817,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PowerSourceCluster.BatPercentRemainingAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterBatPercentRemainingAttributeCallback(), readPowerSourceBatPercentRemainingCommandParams); readPowerSourceInteractionInfo.put( "readBatPercentRemainingAttribute", @@ -2813,7 +2833,9 @@ public Map> getReadAttributeMap() { .readBatTimeRemainingAttribute( (ChipClusters.PowerSourceCluster.BatTimeRemainingAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterBatTimeRemainingAttributeCallback(), readPowerSourceBatTimeRemainingCommandParams); readPowerSourceInteractionInfo.put( "readBatTimeRemainingAttribute", readPowerSourceBatTimeRemainingAttributeInteractionInfo); @@ -2995,7 +3017,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PowerSourceCluster.BatTimeToFullChargeAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterBatTimeToFullChargeAttributeCallback(), readPowerSourceBatTimeToFullChargeCommandParams); readPowerSourceInteractionInfo.put( "readBatTimeToFullChargeAttribute", @@ -3024,7 +3048,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PowerSourceCluster.BatChargingCurrentAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterBatChargingCurrentAttributeCallback(), readPowerSourceBatChargingCurrentCommandParams); readPowerSourceInteractionInfo.put( "readBatChargingCurrentAttribute", @@ -3363,7 +3389,9 @@ public Map> getReadAttributeMap() { .LastNetworkingStatusAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterLastNetworkingStatusAttributeCallback(), readNetworkCommissioningLastNetworkingStatusCommandParams); readNetworkCommissioningInteractionInfo.put( "readLastNetworkingStatusAttribute", @@ -3378,7 +3406,9 @@ public Map> getReadAttributeMap() { (ChipClusters.NetworkCommissioningCluster.LastNetworkIDAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedOctetStringAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterLastNetworkIDAttributeCallback(), readNetworkCommissioningLastNetworkIDCommandParams); readNetworkCommissioningInteractionInfo.put( "readLastNetworkIDAttribute", @@ -3394,7 +3424,9 @@ public Map> getReadAttributeMap() { .LastConnectErrorValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterLastConnectErrorValueAttributeCallback(), readNetworkCommissioningLastConnectErrorValueCommandParams); readNetworkCommissioningInteractionInfo.put( "readLastConnectErrorValueAttribute", @@ -3968,7 +4000,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterChannelAttributeCallback(), readThreadNetworkDiagnosticsChannelCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readChannelAttribute", readThreadNetworkDiagnosticsChannelAttributeInteractionInfo); @@ -3982,7 +4016,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.RoutingRoleAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterRoutingRoleAttributeCallback(), readThreadNetworkDiagnosticsRoutingRoleCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readRoutingRoleAttribute", @@ -3997,7 +4033,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.NetworkNameAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterNetworkNameAttributeCallback(), readThreadNetworkDiagnosticsNetworkNameCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readNetworkNameAttribute", @@ -4012,7 +4050,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.PanIdAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterPanIdAttributeCallback(), readThreadNetworkDiagnosticsPanIdCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readPanIdAttribute", readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo); @@ -4026,7 +4066,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.ExtendedPanIdAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterExtendedPanIdAttributeCallback(), readThreadNetworkDiagnosticsExtendedPanIdCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readExtendedPanIdAttribute", @@ -4042,7 +4084,9 @@ public Map> getReadAttributeMap() { .MeshLocalPrefixAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedOctetStringAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterMeshLocalPrefixAttributeCallback(), readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readMeshLocalPrefixAttribute", @@ -4103,7 +4147,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.PartitionIdAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterPartitionIdAttributeCallback(), readThreadNetworkDiagnosticsPartitionIdCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readPartitionIdAttribute", @@ -4118,7 +4164,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.WeightingAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterWeightingAttributeCallback(), readThreadNetworkDiagnosticsWeightingCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readWeightingAttribute", readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo); @@ -4132,7 +4180,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.DataVersionAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterDataVersionAttributeCallback(), readThreadNetworkDiagnosticsDataVersionCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readDataVersionAttribute", @@ -4148,7 +4198,9 @@ public Map> getReadAttributeMap() { .StableDataVersionAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterStableDataVersionAttributeCallback(), readThreadNetworkDiagnosticsStableDataVersionCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readStableDataVersionAttribute", @@ -4163,7 +4215,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.LeaderRouterIdAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterLeaderRouterIdAttributeCallback(), readThreadNetworkDiagnosticsLeaderRouterIdCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readLeaderRouterIdAttribute", @@ -4751,7 +4805,9 @@ public Map> getReadAttributeMap() { .ActiveTimestampAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterActiveTimestampAttributeCallback(), readThreadNetworkDiagnosticsActiveTimestampCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readActiveTimestampAttribute", @@ -4767,7 +4823,9 @@ public Map> getReadAttributeMap() { .PendingTimestampAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterPendingTimestampAttributeCallback(), readThreadNetworkDiagnosticsPendingTimestampCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readPendingTimestampAttribute", @@ -4782,7 +4840,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ThreadNetworkDiagnosticsCluster.DelayAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterDelayAttributeCallback(), readThreadNetworkDiagnosticsDelayCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readDelayAttribute", readThreadNetworkDiagnosticsDelayAttributeInteractionInfo); @@ -4797,7 +4857,9 @@ public Map> getReadAttributeMap() { .ChannelPage0MaskAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedOctetStringAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterChannelPage0MaskAttributeCallback(), readThreadNetworkDiagnosticsChannelPage0MaskCommandParams); readThreadNetworkDiagnosticsInteractionInfo.put( "readChannelPage0MaskAttribute", @@ -4927,7 +4989,9 @@ public Map> getReadAttributeMap() { .readBssidAttribute( (ChipClusters.WiFiNetworkDiagnosticsCluster.BssidAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedOctetStringAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterBssidAttributeCallback(), readWiFiNetworkDiagnosticsBssidCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readBssidAttribute", readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo); @@ -4941,7 +5005,9 @@ public Map> getReadAttributeMap() { (ChipClusters.WiFiNetworkDiagnosticsCluster.SecurityTypeAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterSecurityTypeAttributeCallback(), readWiFiNetworkDiagnosticsSecurityTypeCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readSecurityTypeAttribute", @@ -4956,7 +5022,9 @@ public Map> getReadAttributeMap() { (ChipClusters.WiFiNetworkDiagnosticsCluster.WiFiVersionAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterWiFiVersionAttributeCallback(), readWiFiNetworkDiagnosticsWiFiVersionCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readWiFiVersionAttribute", readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo); @@ -4970,7 +5038,9 @@ public Map> getReadAttributeMap() { (ChipClusters.WiFiNetworkDiagnosticsCluster.ChannelNumberAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterChannelNumberAttributeCallback(), readWiFiNetworkDiagnosticsChannelNumberCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readChannelNumberAttribute", @@ -4984,7 +5054,9 @@ public Map> getReadAttributeMap() { .readRssiAttribute( (ChipClusters.WiFiNetworkDiagnosticsCluster.RssiAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterRssiAttributeCallback(), readWiFiNetworkDiagnosticsRssiCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readRssiAttribute", readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo); @@ -4998,7 +5070,9 @@ public Map> getReadAttributeMap() { (ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconLostCountAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterBeaconLostCountAttributeCallback(), readWiFiNetworkDiagnosticsBeaconLostCountCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readBeaconLostCountAttribute", @@ -5013,7 +5087,9 @@ public Map> getReadAttributeMap() { (ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconRxCountAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterBeaconRxCountAttributeCallback(), readWiFiNetworkDiagnosticsBeaconRxCountCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readBeaconRxCountAttribute", @@ -5030,7 +5106,9 @@ public Map> getReadAttributeMap() { .PacketMulticastRxCountAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastRxCountAttributeCallback(), readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readPacketMulticastRxCountAttribute", @@ -5047,7 +5125,9 @@ public Map> getReadAttributeMap() { .PacketMulticastTxCountAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastTxCountAttributeCallback(), readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readPacketMulticastTxCountAttribute", @@ -5063,7 +5143,9 @@ public Map> getReadAttributeMap() { .PacketUnicastRxCountAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastRxCountAttributeCallback(), readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readPacketUnicastRxCountAttribute", @@ -5079,7 +5161,9 @@ public Map> getReadAttributeMap() { .PacketUnicastTxCountAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastTxCountAttributeCallback(), readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readPacketUnicastTxCountAttribute", @@ -5094,7 +5178,9 @@ public Map> getReadAttributeMap() { (ChipClusters.WiFiNetworkDiagnosticsCluster.CurrentMaxRateAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterCurrentMaxRateAttributeCallback(), readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readCurrentMaxRateAttribute", @@ -5109,7 +5195,9 @@ public Map> getReadAttributeMap() { (ChipClusters.WiFiNetworkDiagnosticsCluster.OverrunCountAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterOverrunCountAttributeCallback(), readWiFiNetworkDiagnosticsOverrunCountCommandParams); readWiFiNetworkDiagnosticsInteractionInfo.put( "readOverrunCountAttribute", @@ -5221,7 +5309,9 @@ public Map> getReadAttributeMap() { (ChipClusters.EthernetNetworkDiagnosticsCluster.PHYRateAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterPHYRateAttributeCallback(), readEthernetNetworkDiagnosticsPHYRateCommandParams); readEthernetNetworkDiagnosticsInteractionInfo.put( "readPHYRateAttribute", readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo); @@ -5235,7 +5325,9 @@ public Map> getReadAttributeMap() { (ChipClusters.EthernetNetworkDiagnosticsCluster.FullDuplexAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterFullDuplexAttributeCallback(), readEthernetNetworkDiagnosticsFullDuplexCommandParams); readEthernetNetworkDiagnosticsInteractionInfo.put( "readFullDuplexAttribute", @@ -5316,7 +5408,9 @@ public Map> getReadAttributeMap() { .CarrierDetectAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterCarrierDetectAttributeCallback(), readEthernetNetworkDiagnosticsCarrierDetectCommandParams); readEthernetNetworkDiagnosticsInteractionInfo.put( "readCarrierDetectAttribute", @@ -5459,7 +5553,9 @@ public Map> getReadAttributeMap() { (ChipClusters.BridgedDeviceBasicInformationCluster.VendorIDAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedBridgedDeviceBasicInformationClusterVendorIDAttributeCallback(), readBridgedDeviceBasicInformationVendorIDCommandParams); readBridgedDeviceBasicInformationInteractionInfo.put( "readVendorIDAttribute", readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo); @@ -5885,7 +5981,9 @@ public Map> getReadAttributeMap() { .AdminFabricIndexAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedAdministratorCommissioningClusterAdminFabricIndexAttributeCallback(), readAdministratorCommissioningAdminFabricIndexCommandParams); readAdministratorCommissioningInteractionInfo.put( "readAdminFabricIndexAttribute", @@ -5901,7 +5999,9 @@ public Map> getReadAttributeMap() { .AdminVendorIdAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedAdministratorCommissioningClusterAdminVendorIdAttributeCallback(), readAdministratorCommissioningAdminVendorIdCommandParams); readAdministratorCommissioningInteractionInfo.put( "readAdminVendorIdAttribute", @@ -6664,7 +6764,9 @@ public Map> getReadAttributeMap() { .readStandardNamespaceAttribute( (ChipClusters.ModeSelectCluster.StandardNamespaceAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedModeSelectClusterStandardNamespaceAttributeCallback(), readModeSelectStandardNamespaceCommandParams); readModeSelectInteractionInfo.put( "readStandardNamespaceAttribute", readModeSelectStandardNamespaceAttributeInteractionInfo); @@ -6703,7 +6805,7 @@ public Map> getReadAttributeMap() { .readStartUpModeAttribute( (ChipClusters.ModeSelectCluster.StartUpModeAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedModeSelectClusterStartUpModeAttributeCallback(), readModeSelectStartUpModeCommandParams); readModeSelectInteractionInfo.put( "readStartUpModeAttribute", readModeSelectStartUpModeAttributeInteractionInfo); @@ -6716,7 +6818,7 @@ public Map> getReadAttributeMap() { .readOnModeAttribute( (ChipClusters.ModeSelectCluster.OnModeAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedModeSelectClusterOnModeAttributeCallback(), readModeSelectOnModeCommandParams); readModeSelectInteractionInfo.put( "readOnModeAttribute", readModeSelectOnModeAttributeInteractionInfo); @@ -6815,7 +6917,7 @@ public Map> getReadAttributeMap() { .readLockStateAttribute( (ChipClusters.DoorLockCluster.LockStateAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedDoorLockClusterLockStateAttributeCallback(), readDoorLockLockStateCommandParams); readDoorLockInteractionInfo.put( "readLockStateAttribute", readDoorLockLockStateAttributeInteractionInfo); @@ -6852,7 +6954,7 @@ public Map> getReadAttributeMap() { .readDoorStateAttribute( (ChipClusters.DoorLockCluster.DoorStateAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedDoorLockClusterDoorStateAttributeCallback(), readDoorLockDoorStateCommandParams); readDoorLockInteractionInfo.put( "readDoorStateAttribute", readDoorLockDoorStateAttributeInteractionInfo); @@ -7271,7 +7373,9 @@ public Map> getReadAttributeMap() { (ChipClusters.WindowCoveringCluster.CurrentPositionLiftAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionLiftAttributeCallback(), readWindowCoveringCurrentPositionLiftCommandParams); readWindowCoveringInteractionInfo.put( "readCurrentPositionLiftAttribute", @@ -7286,7 +7390,9 @@ public Map> getReadAttributeMap() { (ChipClusters.WindowCoveringCluster.CurrentPositionTiltAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionTiltAttributeCallback(), readWindowCoveringCurrentPositionTiltCommandParams); readWindowCoveringInteractionInfo.put( "readCurrentPositionTiltAttribute", @@ -7342,7 +7448,9 @@ public Map> getReadAttributeMap() { .CurrentPositionLiftPercentageAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionLiftPercentageAttributeCallback(), readWindowCoveringCurrentPositionLiftPercentageCommandParams); readWindowCoveringInteractionInfo.put( "readCurrentPositionLiftPercentageAttribute", @@ -7358,7 +7466,9 @@ public Map> getReadAttributeMap() { .CurrentPositionTiltPercentageAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionTiltPercentageAttributeCallback(), readWindowCoveringCurrentPositionTiltPercentageCommandParams); readWindowCoveringInteractionInfo.put( "readCurrentPositionTiltPercentageAttribute", @@ -7388,7 +7498,9 @@ public Map> getReadAttributeMap() { .TargetPositionLiftPercent100thsAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterTargetPositionLiftPercent100thsAttributeCallback(), readWindowCoveringTargetPositionLiftPercent100thsCommandParams); readWindowCoveringInteractionInfo.put( "readTargetPositionLiftPercent100thsAttribute", @@ -7405,7 +7517,9 @@ public Map> getReadAttributeMap() { .TargetPositionTiltPercent100thsAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterTargetPositionTiltPercent100thsAttributeCallback(), readWindowCoveringTargetPositionTiltPercent100thsCommandParams); readWindowCoveringInteractionInfo.put( "readTargetPositionTiltPercent100thsAttribute", @@ -7434,7 +7548,9 @@ public Map> getReadAttributeMap() { .CurrentPositionLiftPercent100thsAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionLiftPercent100thsAttributeCallback(), readWindowCoveringCurrentPositionLiftPercent100thsCommandParams); readWindowCoveringInteractionInfo.put( "readCurrentPositionLiftPercent100thsAttribute", @@ -7451,7 +7567,9 @@ public Map> getReadAttributeMap() { .CurrentPositionTiltPercent100thsAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionTiltPercent100thsAttributeCallback(), readWindowCoveringCurrentPositionTiltPercent100thsCommandParams); readWindowCoveringInteractionInfo.put( "readCurrentPositionTiltPercent100thsAttribute", @@ -7777,7 +7895,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PumpConfigurationAndControlCluster.MaxPressureAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxPressureAttributeCallback(), readPumpConfigurationAndControlMaxPressureCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMaxPressureAttribute", @@ -7792,7 +7912,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PumpConfigurationAndControlCluster.MaxSpeedAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxSpeedAttributeCallback(), readPumpConfigurationAndControlMaxSpeedCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMaxSpeedAttribute", readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo); @@ -7806,7 +7928,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PumpConfigurationAndControlCluster.MaxFlowAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxFlowAttributeCallback(), readPumpConfigurationAndControlMaxFlowCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMaxFlowAttribute", readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo); @@ -7821,7 +7945,9 @@ public Map> getReadAttributeMap() { .MinConstPressureAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinConstPressureAttributeCallback(), readPumpConfigurationAndControlMinConstPressureCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMinConstPressureAttribute", @@ -7837,7 +7963,9 @@ public Map> getReadAttributeMap() { .MaxConstPressureAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxConstPressureAttributeCallback(), readPumpConfigurationAndControlMaxConstPressureCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMaxConstPressureAttribute", @@ -7853,7 +7981,9 @@ public Map> getReadAttributeMap() { .MinCompPressureAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinCompPressureAttributeCallback(), readPumpConfigurationAndControlMinCompPressureCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMinCompPressureAttribute", @@ -7869,7 +7999,9 @@ public Map> getReadAttributeMap() { .MaxCompPressureAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxCompPressureAttributeCallback(), readPumpConfigurationAndControlMaxCompPressureCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMaxCompPressureAttribute", @@ -7885,7 +8017,9 @@ public Map> getReadAttributeMap() { .MinConstSpeedAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinConstSpeedAttributeCallback(), readPumpConfigurationAndControlMinConstSpeedCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMinConstSpeedAttribute", @@ -7901,7 +8035,9 @@ public Map> getReadAttributeMap() { .MaxConstSpeedAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxConstSpeedAttributeCallback(), readPumpConfigurationAndControlMaxConstSpeedCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMaxConstSpeedAttribute", @@ -7917,7 +8053,9 @@ public Map> getReadAttributeMap() { .MinConstFlowAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinConstFlowAttributeCallback(), readPumpConfigurationAndControlMinConstFlowCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMinConstFlowAttribute", @@ -7933,7 +8071,9 @@ public Map> getReadAttributeMap() { .MaxConstFlowAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxConstFlowAttributeCallback(), readPumpConfigurationAndControlMaxConstFlowCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMaxConstFlowAttribute", @@ -7949,7 +8089,9 @@ public Map> getReadAttributeMap() { .MinConstTempAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinConstTempAttributeCallback(), readPumpConfigurationAndControlMinConstTempCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMinConstTempAttribute", @@ -7965,7 +8107,9 @@ public Map> getReadAttributeMap() { .MaxConstTempAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxConstTempAttributeCallback(), readPumpConfigurationAndControlMaxConstTempCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readMaxConstTempAttribute", @@ -8023,7 +8167,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PumpConfigurationAndControlCluster.CapacityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterCapacityAttributeCallback(), readPumpConfigurationAndControlCapacityCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readCapacityAttribute", readPumpConfigurationAndControlCapacityAttributeInteractionInfo); @@ -8037,7 +8183,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PumpConfigurationAndControlCluster.SpeedAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterSpeedAttributeCallback(), readPumpConfigurationAndControlSpeedCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readSpeedAttribute", readPumpConfigurationAndControlSpeedAttributeInteractionInfo); @@ -8053,7 +8201,9 @@ public Map> getReadAttributeMap() { .LifetimeRunningHoursAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterLifetimeRunningHoursAttributeCallback(), readPumpConfigurationAndControlLifetimeRunningHoursCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readLifetimeRunningHoursAttribute", @@ -8068,7 +8218,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PumpConfigurationAndControlCluster.PowerAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterPowerAttributeCallback(), readPumpConfigurationAndControlPowerCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readPowerAttribute", readPumpConfigurationAndControlPowerAttributeInteractionInfo); @@ -8084,7 +8236,9 @@ public Map> getReadAttributeMap() { .LifetimeEnergyConsumedAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterLifetimeEnergyConsumedAttributeCallback(), readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams); readPumpConfigurationAndControlInteractionInfo.put( "readLifetimeEnergyConsumedAttribute", @@ -8225,7 +8379,9 @@ public Map> getReadAttributeMap() { .readLocalTemperatureAttribute( (ChipClusters.ThermostatCluster.LocalTemperatureAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterLocalTemperatureAttributeCallback(), readThermostatLocalTemperatureCommandParams); readThermostatInteractionInfo.put( "readLocalTemperatureAttribute", readThermostatLocalTemperatureAttributeInteractionInfo); @@ -8568,7 +8724,8 @@ public Map> getReadAttributeMap() { .readPercentSettingAttribute( (ChipClusters.FanControlCluster.PercentSettingAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedFanControlClusterPercentSettingAttributeCallback(), readFanControlPercentSettingCommandParams); readFanControlInteractionInfo.put( "readPercentSettingAttribute", readFanControlPercentSettingAttributeInteractionInfo); @@ -8605,7 +8762,7 @@ public Map> getReadAttributeMap() { .readSpeedSettingAttribute( (ChipClusters.FanControlCluster.SpeedSettingAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedFanControlClusterSpeedSettingAttributeCallback(), readFanControlSpeedSettingCommandParams); readFanControlInteractionInfo.put( "readSpeedSettingAttribute", readFanControlSpeedSettingAttributeInteractionInfo); @@ -9049,7 +9206,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.NumberOfPrimariesAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterNumberOfPrimariesAttributeCallback(), readColorControlNumberOfPrimariesCommandParams); readColorControlInteractionInfo.put( "readNumberOfPrimariesAttribute", @@ -9088,7 +9247,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.Primary1IntensityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary1IntensityAttributeCallback(), readColorControlPrimary1IntensityCommandParams); readColorControlInteractionInfo.put( "readPrimary1IntensityAttribute", @@ -9127,7 +9288,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.Primary2IntensityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary2IntensityAttributeCallback(), readColorControlPrimary2IntensityCommandParams); readColorControlInteractionInfo.put( "readPrimary2IntensityAttribute", @@ -9166,7 +9329,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.Primary3IntensityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary3IntensityAttributeCallback(), readColorControlPrimary3IntensityCommandParams); readColorControlInteractionInfo.put( "readPrimary3IntensityAttribute", @@ -9205,7 +9370,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.Primary4IntensityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary4IntensityAttributeCallback(), readColorControlPrimary4IntensityCommandParams); readColorControlInteractionInfo.put( "readPrimary4IntensityAttribute", @@ -9244,7 +9411,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.Primary5IntensityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary5IntensityAttributeCallback(), readColorControlPrimary5IntensityCommandParams); readColorControlInteractionInfo.put( "readPrimary5IntensityAttribute", @@ -9283,7 +9452,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.Primary6IntensityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary6IntensityAttributeCallback(), readColorControlPrimary6IntensityCommandParams); readColorControlInteractionInfo.put( "readPrimary6IntensityAttribute", @@ -9346,7 +9517,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.ColorPointRIntensityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterColorPointRIntensityAttributeCallback(), readColorControlColorPointRIntensityCommandParams); readColorControlInteractionInfo.put( "readColorPointRIntensityAttribute", @@ -9385,7 +9558,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.ColorPointGIntensityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterColorPointGIntensityAttributeCallback(), readColorControlColorPointGIntensityCommandParams); readColorControlInteractionInfo.put( "readColorPointGIntensityAttribute", @@ -9424,7 +9599,9 @@ public Map> getReadAttributeMap() { (ChipClusters.ColorControlCluster.ColorPointBIntensityAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterColorPointBIntensityAttributeCallback(), readColorControlColorPointBIntensityCommandParams); readColorControlInteractionInfo.put( "readColorPointBIntensityAttribute", @@ -9588,7 +9765,9 @@ public Map> getReadAttributeMap() { .StartUpColorTemperatureMiredsAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterStartUpColorTemperatureMiredsAttributeCallback(), readColorControlStartUpColorTemperatureMiredsCommandParams); readColorControlInteractionInfo.put( "readStartUpColorTemperatureMiredsAttribute", @@ -9754,7 +9933,9 @@ public Map> getReadAttributeMap() { .IntrinsicBallastFactorAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterIntrinsicBallastFactorAttributeCallback(), readBallastConfigurationIntrinsicBallastFactorCommandParams); readBallastConfigurationInteractionInfo.put( "readIntrinsicBallastFactorAttribute", @@ -9770,7 +9951,9 @@ public Map> getReadAttributeMap() { .BallastFactorAdjustmentAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterBallastFactorAdjustmentAttributeCallback(), readBallastConfigurationBallastFactorAdjustmentCommandParams); readBallastConfigurationInteractionInfo.put( "readBallastFactorAdjustmentAttribute", @@ -9823,7 +10006,9 @@ public Map> getReadAttributeMap() { (ChipClusters.BallastConfigurationCluster.LampRatedHoursAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterLampRatedHoursAttributeCallback(), readBallastConfigurationLampRatedHoursCommandParams); readBallastConfigurationInteractionInfo.put( "readLampRatedHoursAttribute", @@ -9838,7 +10023,9 @@ public Map> getReadAttributeMap() { (ChipClusters.BallastConfigurationCluster.LampBurnHoursAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterLampBurnHoursAttributeCallback(), readBallastConfigurationLampBurnHoursCommandParams); readBallastConfigurationInteractionInfo.put( "readLampBurnHoursAttribute", @@ -9867,7 +10054,9 @@ public Map> getReadAttributeMap() { .LampBurnHoursTripPointAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterLampBurnHoursTripPointAttributeCallback(), readBallastConfigurationLampBurnHoursTripPointCommandParams); readBallastConfigurationInteractionInfo.put( "readLampBurnHoursTripPointAttribute", @@ -9978,7 +10167,9 @@ public Map> getReadAttributeMap() { (ChipClusters.IlluminanceMeasurementCluster.MeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterMeasuredValueAttributeCallback(), readIlluminanceMeasurementMeasuredValueCommandParams); readIlluminanceMeasurementInteractionInfo.put( "readMeasuredValueAttribute", @@ -9993,7 +10184,9 @@ public Map> getReadAttributeMap() { (ChipClusters.IlluminanceMeasurementCluster.MinMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterMinMeasuredValueAttributeCallback(), readIlluminanceMeasurementMinMeasuredValueCommandParams); readIlluminanceMeasurementInteractionInfo.put( "readMinMeasuredValueAttribute", @@ -10008,7 +10201,9 @@ public Map> getReadAttributeMap() { (ChipClusters.IlluminanceMeasurementCluster.MaxMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterMaxMeasuredValueAttributeCallback(), readIlluminanceMeasurementMaxMeasuredValueCommandParams); readIlluminanceMeasurementInteractionInfo.put( "readMaxMeasuredValueAttribute", @@ -10035,7 +10230,9 @@ public Map> getReadAttributeMap() { (ChipClusters.IlluminanceMeasurementCluster.LightSensorTypeAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterLightSensorTypeAttributeCallback(), readIlluminanceMeasurementLightSensorTypeCommandParams); readIlluminanceMeasurementInteractionInfo.put( "readLightSensorTypeAttribute", @@ -10146,7 +10343,9 @@ public Map> getReadAttributeMap() { (ChipClusters.TemperatureMeasurementCluster.MeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterMeasuredValueAttributeCallback(), readTemperatureMeasurementMeasuredValueCommandParams); readTemperatureMeasurementInteractionInfo.put( "readMeasuredValueAttribute", @@ -10161,7 +10360,9 @@ public Map> getReadAttributeMap() { (ChipClusters.TemperatureMeasurementCluster.MinMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterMinMeasuredValueAttributeCallback(), readTemperatureMeasurementMinMeasuredValueCommandParams); readTemperatureMeasurementInteractionInfo.put( "readMinMeasuredValueAttribute", @@ -10176,7 +10377,9 @@ public Map> getReadAttributeMap() { (ChipClusters.TemperatureMeasurementCluster.MaxMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterMaxMeasuredValueAttributeCallback(), readTemperatureMeasurementMaxMeasuredValueCommandParams); readTemperatureMeasurementInteractionInfo.put( "readMaxMeasuredValueAttribute", @@ -10299,7 +10502,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PressureMeasurementCluster.MeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMeasuredValueAttributeCallback(), readPressureMeasurementMeasuredValueCommandParams); readPressureMeasurementInteractionInfo.put( "readMeasuredValueAttribute", readPressureMeasurementMeasuredValueAttributeInteractionInfo); @@ -10313,7 +10518,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PressureMeasurementCluster.MinMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMinMeasuredValueAttributeCallback(), readPressureMeasurementMinMeasuredValueCommandParams); readPressureMeasurementInteractionInfo.put( "readMinMeasuredValueAttribute", @@ -10328,7 +10535,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PressureMeasurementCluster.MaxMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMaxMeasuredValueAttributeCallback(), readPressureMeasurementMaxMeasuredValueCommandParams); readPressureMeasurementInteractionInfo.put( "readMaxMeasuredValueAttribute", @@ -10355,7 +10564,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PressureMeasurementCluster.ScaledValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterScaledValueAttributeCallback(), readPressureMeasurementScaledValueCommandParams); readPressureMeasurementInteractionInfo.put( "readScaledValueAttribute", readPressureMeasurementScaledValueAttributeInteractionInfo); @@ -10369,7 +10580,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PressureMeasurementCluster.MinScaledValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMinScaledValueAttributeCallback(), readPressureMeasurementMinScaledValueCommandParams); readPressureMeasurementInteractionInfo.put( "readMinScaledValueAttribute", @@ -10384,7 +10597,9 @@ public Map> getReadAttributeMap() { (ChipClusters.PressureMeasurementCluster.MaxScaledValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMaxScaledValueAttributeCallback(), readPressureMeasurementMaxScaledValueCommandParams); readPressureMeasurementInteractionInfo.put( "readMaxScaledValueAttribute", @@ -10518,7 +10733,9 @@ public Map> getReadAttributeMap() { (ChipClusters.FlowMeasurementCluster.MeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedFlowMeasurementClusterMeasuredValueAttributeCallback(), readFlowMeasurementMeasuredValueCommandParams); readFlowMeasurementInteractionInfo.put( "readMeasuredValueAttribute", readFlowMeasurementMeasuredValueAttributeInteractionInfo); @@ -10532,7 +10749,9 @@ public Map> getReadAttributeMap() { (ChipClusters.FlowMeasurementCluster.MinMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedFlowMeasurementClusterMinMeasuredValueAttributeCallback(), readFlowMeasurementMinMeasuredValueCommandParams); readFlowMeasurementInteractionInfo.put( "readMinMeasuredValueAttribute", @@ -10547,7 +10766,9 @@ public Map> getReadAttributeMap() { (ChipClusters.FlowMeasurementCluster.MaxMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedFlowMeasurementClusterMaxMeasuredValueAttributeCallback(), readFlowMeasurementMaxMeasuredValueCommandParams); readFlowMeasurementInteractionInfo.put( "readMaxMeasuredValueAttribute", @@ -10666,7 +10887,9 @@ public Map> getReadAttributeMap() { .MeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterMeasuredValueAttributeCallback(), readRelativeHumidityMeasurementMeasuredValueCommandParams); readRelativeHumidityMeasurementInteractionInfo.put( "readMeasuredValueAttribute", @@ -10682,7 +10905,9 @@ public Map> getReadAttributeMap() { .MinMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterMinMeasuredValueAttributeCallback(), readRelativeHumidityMeasurementMinMeasuredValueCommandParams); readRelativeHumidityMeasurementInteractionInfo.put( "readMinMeasuredValueAttribute", @@ -10698,7 +10923,9 @@ public Map> getReadAttributeMap() { .MaxMeasuredValueAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterMaxMeasuredValueAttributeCallback(), readRelativeHumidityMeasurementMaxMeasuredValueCommandParams); readRelativeHumidityMeasurementInteractionInfo.put( "readMaxMeasuredValueAttribute", @@ -11278,7 +11505,7 @@ public Map> getReadAttributeMap() { .readStartTimeAttribute( (ChipClusters.MediaPlaybackCluster.StartTimeAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterStartTimeAttributeCallback(), readMediaPlaybackStartTimeCommandParams); readMediaPlaybackInteractionInfo.put( "readStartTimeAttribute", readMediaPlaybackStartTimeAttributeInteractionInfo); @@ -11291,7 +11518,7 @@ public Map> getReadAttributeMap() { .readDurationAttribute( (ChipClusters.MediaPlaybackCluster.DurationAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterDurationAttributeCallback(), readMediaPlaybackDurationCommandParams); readMediaPlaybackInteractionInfo.put( "readDurationAttribute", readMediaPlaybackDurationAttributeInteractionInfo); @@ -11316,7 +11543,8 @@ public Map> getReadAttributeMap() { .readSeekRangeEndAttribute( (ChipClusters.MediaPlaybackCluster.SeekRangeEndAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedMediaPlaybackClusterSeekRangeEndAttributeCallback(), readMediaPlaybackSeekRangeEndCommandParams); readMediaPlaybackInteractionInfo.put( "readSeekRangeEndAttribute", readMediaPlaybackSeekRangeEndAttributeInteractionInfo); @@ -11329,7 +11557,9 @@ public Map> getReadAttributeMap() { .readSeekRangeStartAttribute( (ChipClusters.MediaPlaybackCluster.SeekRangeStartAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedMediaPlaybackClusterSeekRangeStartAttributeCallback(), readMediaPlaybackSeekRangeStartCommandParams); readMediaPlaybackInteractionInfo.put( "readSeekRangeStartAttribute", readMediaPlaybackSeekRangeStartAttributeInteractionInfo); @@ -12066,7 +12296,8 @@ public Map> getReadAttributeMap() { .readVendorIDAttribute( (ChipClusters.ApplicationBasicCluster.VendorIDAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedApplicationBasicClusterVendorIDAttributeCallback(), readApplicationBasicVendorIDCommandParams); readApplicationBasicInteractionInfo.put( "readVendorIDAttribute", readApplicationBasicVendorIDAttributeInteractionInfo); @@ -13128,7 +13359,7 @@ public Map> getReadAttributeMap() { .readVendorIdAttribute( (ChipClusters.UnitTestingCluster.VendorIdAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterVendorIdAttributeCallback(), readUnitTestingVendorIdCommandParams); readUnitTestingInteractionInfo.put( "readVendorIdAttribute", readUnitTestingVendorIdAttributeInteractionInfo); @@ -13311,7 +13542,9 @@ public Map> getReadAttributeMap() { .readNullableBooleanAttribute( (ChipClusters.UnitTestingCluster.NullableBooleanAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBooleanAttributeCallback(), readUnitTestingNullableBooleanCommandParams); readUnitTestingInteractionInfo.put( "readNullableBooleanAttribute", readUnitTestingNullableBooleanAttributeInteractionInfo); @@ -13324,7 +13557,9 @@ public Map> getReadAttributeMap() { .readNullableBitmap8Attribute( (ChipClusters.UnitTestingCluster.NullableBitmap8AttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBitmap8AttributeCallback(), readUnitTestingNullableBitmap8CommandParams); readUnitTestingInteractionInfo.put( "readNullableBitmap8Attribute", readUnitTestingNullableBitmap8AttributeInteractionInfo); @@ -13337,7 +13572,9 @@ public Map> getReadAttributeMap() { .readNullableBitmap16Attribute( (ChipClusters.UnitTestingCluster.NullableBitmap16AttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBitmap16AttributeCallback(), readUnitTestingNullableBitmap16CommandParams); readUnitTestingInteractionInfo.put( "readNullableBitmap16Attribute", readUnitTestingNullableBitmap16AttributeInteractionInfo); @@ -13350,7 +13587,9 @@ public Map> getReadAttributeMap() { .readNullableBitmap32Attribute( (ChipClusters.UnitTestingCluster.NullableBitmap32AttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBitmap32AttributeCallback(), readUnitTestingNullableBitmap32CommandParams); readUnitTestingInteractionInfo.put( "readNullableBitmap32Attribute", readUnitTestingNullableBitmap32AttributeInteractionInfo); @@ -13363,7 +13602,9 @@ public Map> getReadAttributeMap() { .readNullableBitmap64Attribute( (ChipClusters.UnitTestingCluster.NullableBitmap64AttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBitmap64AttributeCallback(), readUnitTestingNullableBitmap64CommandParams); readUnitTestingInteractionInfo.put( "readNullableBitmap64Attribute", readUnitTestingNullableBitmap64AttributeInteractionInfo); @@ -13376,7 +13617,8 @@ public Map> getReadAttributeMap() { .readNullableInt8uAttribute( (ChipClusters.UnitTestingCluster.NullableInt8uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8uAttributeCallback(), readUnitTestingNullableInt8uCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt8uAttribute", readUnitTestingNullableInt8uAttributeInteractionInfo); @@ -13389,7 +13631,8 @@ public Map> getReadAttributeMap() { .readNullableInt16uAttribute( (ChipClusters.UnitTestingCluster.NullableInt16uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16uAttributeCallback(), readUnitTestingNullableInt16uCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt16uAttribute", readUnitTestingNullableInt16uAttributeInteractionInfo); @@ -13402,7 +13645,8 @@ public Map> getReadAttributeMap() { .readNullableInt24uAttribute( (ChipClusters.UnitTestingCluster.NullableInt24uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24uAttributeCallback(), readUnitTestingNullableInt24uCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt24uAttribute", readUnitTestingNullableInt24uAttributeInteractionInfo); @@ -13415,7 +13659,8 @@ public Map> getReadAttributeMap() { .readNullableInt32uAttribute( (ChipClusters.UnitTestingCluster.NullableInt32uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32uAttributeCallback(), readUnitTestingNullableInt32uCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt32uAttribute", readUnitTestingNullableInt32uAttributeInteractionInfo); @@ -13428,7 +13673,8 @@ public Map> getReadAttributeMap() { .readNullableInt40uAttribute( (ChipClusters.UnitTestingCluster.NullableInt40uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40uAttributeCallback(), readUnitTestingNullableInt40uCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt40uAttribute", readUnitTestingNullableInt40uAttributeInteractionInfo); @@ -13441,7 +13687,8 @@ public Map> getReadAttributeMap() { .readNullableInt48uAttribute( (ChipClusters.UnitTestingCluster.NullableInt48uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48uAttributeCallback(), readUnitTestingNullableInt48uCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt48uAttribute", readUnitTestingNullableInt48uAttributeInteractionInfo); @@ -13454,7 +13701,8 @@ public Map> getReadAttributeMap() { .readNullableInt56uAttribute( (ChipClusters.UnitTestingCluster.NullableInt56uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56uAttributeCallback(), readUnitTestingNullableInt56uCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt56uAttribute", readUnitTestingNullableInt56uAttributeInteractionInfo); @@ -13467,7 +13715,8 @@ public Map> getReadAttributeMap() { .readNullableInt64uAttribute( (ChipClusters.UnitTestingCluster.NullableInt64uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64uAttributeCallback(), readUnitTestingNullableInt64uCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt64uAttribute", readUnitTestingNullableInt64uAttributeInteractionInfo); @@ -13480,7 +13729,8 @@ public Map> getReadAttributeMap() { .readNullableInt8sAttribute( (ChipClusters.UnitTestingCluster.NullableInt8sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8sAttributeCallback(), readUnitTestingNullableInt8sCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt8sAttribute", readUnitTestingNullableInt8sAttributeInteractionInfo); @@ -13493,7 +13743,8 @@ public Map> getReadAttributeMap() { .readNullableInt16sAttribute( (ChipClusters.UnitTestingCluster.NullableInt16sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16sAttributeCallback(), readUnitTestingNullableInt16sCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt16sAttribute", readUnitTestingNullableInt16sAttributeInteractionInfo); @@ -13506,7 +13757,8 @@ public Map> getReadAttributeMap() { .readNullableInt24sAttribute( (ChipClusters.UnitTestingCluster.NullableInt24sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24sAttributeCallback(), readUnitTestingNullableInt24sCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt24sAttribute", readUnitTestingNullableInt24sAttributeInteractionInfo); @@ -13519,7 +13771,8 @@ public Map> getReadAttributeMap() { .readNullableInt32sAttribute( (ChipClusters.UnitTestingCluster.NullableInt32sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32sAttributeCallback(), readUnitTestingNullableInt32sCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt32sAttribute", readUnitTestingNullableInt32sAttributeInteractionInfo); @@ -13532,7 +13785,8 @@ public Map> getReadAttributeMap() { .readNullableInt40sAttribute( (ChipClusters.UnitTestingCluster.NullableInt40sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40sAttributeCallback(), readUnitTestingNullableInt40sCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt40sAttribute", readUnitTestingNullableInt40sAttributeInteractionInfo); @@ -13545,7 +13799,8 @@ public Map> getReadAttributeMap() { .readNullableInt48sAttribute( (ChipClusters.UnitTestingCluster.NullableInt48sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48sAttributeCallback(), readUnitTestingNullableInt48sCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt48sAttribute", readUnitTestingNullableInt48sAttributeInteractionInfo); @@ -13558,7 +13813,8 @@ public Map> getReadAttributeMap() { .readNullableInt56sAttribute( (ChipClusters.UnitTestingCluster.NullableInt56sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56sAttributeCallback(), readUnitTestingNullableInt56sCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt56sAttribute", readUnitTestingNullableInt56sAttributeInteractionInfo); @@ -13571,7 +13827,8 @@ public Map> getReadAttributeMap() { .readNullableInt64sAttribute( (ChipClusters.UnitTestingCluster.NullableInt64sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64sAttributeCallback(), readUnitTestingNullableInt64sCommandParams); readUnitTestingInteractionInfo.put( "readNullableInt64sAttribute", readUnitTestingNullableInt64sAttributeInteractionInfo); @@ -13584,7 +13841,8 @@ public Map> getReadAttributeMap() { .readNullableEnum8Attribute( (ChipClusters.UnitTestingCluster.NullableEnum8AttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum8AttributeCallback(), readUnitTestingNullableEnum8CommandParams); readUnitTestingInteractionInfo.put( "readNullableEnum8Attribute", readUnitTestingNullableEnum8AttributeInteractionInfo); @@ -13597,7 +13855,8 @@ public Map> getReadAttributeMap() { .readNullableEnum16Attribute( (ChipClusters.UnitTestingCluster.NullableEnum16AttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum16AttributeCallback(), readUnitTestingNullableEnum16CommandParams); readUnitTestingInteractionInfo.put( "readNullableEnum16Attribute", readUnitTestingNullableEnum16AttributeInteractionInfo); @@ -13611,7 +13870,9 @@ public Map> getReadAttributeMap() { (ChipClusters.UnitTestingCluster.NullableFloatSingleAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedFloatAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableFloatSingleAttributeCallback(), readUnitTestingNullableFloatSingleCommandParams); readUnitTestingInteractionInfo.put( "readNullableFloatSingleAttribute", @@ -13626,7 +13887,9 @@ public Map> getReadAttributeMap() { (ChipClusters.UnitTestingCluster.NullableFloatDoubleAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedDoubleAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableFloatDoubleAttributeCallback(), readUnitTestingNullableFloatDoubleCommandParams); readUnitTestingInteractionInfo.put( "readNullableFloatDoubleAttribute", @@ -13641,7 +13904,9 @@ public Map> getReadAttributeMap() { (ChipClusters.UnitTestingCluster.NullableOctetStringAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedOctetStringAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableOctetStringAttributeCallback(), readUnitTestingNullableOctetStringCommandParams); readUnitTestingInteractionInfo.put( "readNullableOctetStringAttribute", @@ -13656,7 +13921,9 @@ public Map> getReadAttributeMap() { (ChipClusters.UnitTestingCluster.NullableCharStringAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableCharStringAttributeCallback(), readUnitTestingNullableCharStringCommandParams); readUnitTestingInteractionInfo.put( "readNullableCharStringAttribute", @@ -13670,7 +13937,9 @@ public Map> getReadAttributeMap() { .readNullableEnumAttrAttribute( (ChipClusters.UnitTestingCluster.NullableEnumAttrAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableEnumAttrAttributeCallback(), readUnitTestingNullableEnumAttrCommandParams); readUnitTestingInteractionInfo.put( "readNullableEnumAttrAttribute", readUnitTestingNullableEnumAttrAttributeInteractionInfo); @@ -13685,7 +13954,9 @@ public Map> getReadAttributeMap() { .NullableRangeRestrictedInt8uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableRangeRestrictedInt8uAttributeCallback(), readUnitTestingNullableRangeRestrictedInt8uCommandParams); readUnitTestingInteractionInfo.put( "readNullableRangeRestrictedInt8uAttribute", @@ -13701,7 +13972,9 @@ public Map> getReadAttributeMap() { .NullableRangeRestrictedInt8sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableRangeRestrictedInt8sAttributeCallback(), readUnitTestingNullableRangeRestrictedInt8sCommandParams); readUnitTestingInteractionInfo.put( "readNullableRangeRestrictedInt8sAttribute", @@ -13717,7 +13990,9 @@ public Map> getReadAttributeMap() { .NullableRangeRestrictedInt16uAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableRangeRestrictedInt16uAttributeCallback(), readUnitTestingNullableRangeRestrictedInt16uCommandParams); readUnitTestingInteractionInfo.put( "readNullableRangeRestrictedInt16uAttribute", @@ -13733,7 +14008,9 @@ public Map> getReadAttributeMap() { .NullableRangeRestrictedInt16sAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableRangeRestrictedInt16sAttributeCallback(), readUnitTestingNullableRangeRestrictedInt16sCommandParams); readUnitTestingInteractionInfo.put( "readNullableRangeRestrictedInt16sAttribute",