| // DO NOT EDIT MANUALLY - Generated file |
| // |
| // Cluster metadata information for cluster BooleanState (cluster code: 69/0x45) |
| // based on src/controller/data_model/controller-clusters.matter |
| #pragma once |
| |
| #include <app/data-model-provider/MetadataTypes.h> |
| #include <array> |
| #include <lib/core/DataModelTypes.h> |
| |
| #include <cstdint> |
| |
| #include <clusters/BooleanState/Ids.h> |
| |
| namespace chip { |
| namespace app { |
| namespace Clusters { |
| namespace BooleanState { |
| |
| inline constexpr uint32_t kRevision = 1; |
| |
| namespace Attributes { |
| |
| namespace StateValue { |
| inline constexpr DataModel::AttributeEntry kMetadataEntry(StateValue::Id, BitFlags<DataModel::AttributeQualityFlags>(), |
| Access::Privilege::kView, std::nullopt); |
| } // namespace StateValue |
| constexpr std::array<DataModel::AttributeEntry, 1> kMandatoryMetadata = { |
| StateValue::kMetadataEntry, |
| |
| }; |
| |
| } // namespace Attributes |
| |
| namespace Commands {} // namespace Commands |
| |
| namespace Events { |
| namespace StateChange { |
| inline constexpr DataModel::EventEntry kMetadataEntry{ Access::Privilege::kView }; |
| } // namespace StateChange |
| |
| } // namespace Events |
| } // namespace BooleanState |
| } // namespace Clusters |
| } // namespace app |
| } // namespace chip |