blob: fd1d1770d3757b71f0a75e05d9ab59d4031e7b8c [file] [log] [blame]
// DO NOT EDIT MANUALLY - Generated file
//
// Cluster metadata information for cluster OvenMode (cluster code: 73/0x49)
// 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/OvenMode/Ids.h>
namespace chip {
namespace app {
namespace Clusters {
namespace OvenMode {
inline constexpr uint32_t kRevision = 1;
namespace Attributes {
namespace SupportedModes {
inline constexpr DataModel::AttributeEntry
kMetadataEntry(SupportedModes::Id, BitFlags<DataModel::AttributeQualityFlags>(DataModel::AttributeQualityFlags::kListAttribute),
Access::Privilege::kView, std::nullopt);
} // namespace SupportedModes
namespace CurrentMode {
inline constexpr DataModel::AttributeEntry kMetadataEntry(CurrentMode::Id, BitFlags<DataModel::AttributeQualityFlags>(),
Access::Privilege::kView, std::nullopt);
} // namespace CurrentMode
constexpr std::array<DataModel::AttributeEntry, 2> kMandatoryMetadata = {
SupportedModes::kMetadataEntry,
CurrentMode::kMetadataEntry,
};
} // namespace Attributes
namespace Commands {
namespace ChangeToMode {
inline constexpr DataModel::AcceptedCommandEntry kMetadataEntry(ChangeToMode::Id, BitFlags<DataModel::CommandQualityFlags>(),
Access::Privilege::kOperate);
} // namespace ChangeToMode
} // namespace Commands
namespace Events {} // namespace Events
} // namespace OvenMode
} // namespace Clusters
} // namespace app
} // namespace chip