blob: d6475e3982e40ac15ed439fa3dddda6eec5534c4 [file] [log] [blame]
// DO NOT EDIT MANUALLY - Generated file
//
// Cluster metadata information for cluster RvcOperationalState (cluster code: 97/0x61)
// 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/RvcOperationalState/Ids.h>
namespace chip {
namespace app {
namespace Clusters {
namespace RvcOperationalState {
inline constexpr uint32_t kRevision = 1;
namespace Attributes {
namespace PhaseList {
inline constexpr DataModel::AttributeEntry
kMetadataEntry(PhaseList::Id, BitFlags<DataModel::AttributeQualityFlags>(DataModel::AttributeQualityFlags::kListAttribute),
Access::Privilege::kView, std::nullopt);
} // namespace PhaseList
namespace CurrentPhase {
inline constexpr DataModel::AttributeEntry kMetadataEntry(CurrentPhase::Id, BitFlags<DataModel::AttributeQualityFlags>(),
Access::Privilege::kView, std::nullopt);
} // namespace CurrentPhase
namespace CountdownTime {
inline constexpr DataModel::AttributeEntry kMetadataEntry(CountdownTime::Id, BitFlags<DataModel::AttributeQualityFlags>(),
Access::Privilege::kView, std::nullopt);
} // namespace CountdownTime
namespace OperationalStateList {
inline constexpr DataModel::AttributeEntry
kMetadataEntry(OperationalStateList::Id,
BitFlags<DataModel::AttributeQualityFlags>(DataModel::AttributeQualityFlags::kListAttribute),
Access::Privilege::kView, std::nullopt);
} // namespace OperationalStateList
namespace OperationalState {
inline constexpr DataModel::AttributeEntry kMetadataEntry(OperationalState::Id, BitFlags<DataModel::AttributeQualityFlags>(),
Access::Privilege::kView, std::nullopt);
} // namespace OperationalState
namespace OperationalError {
inline constexpr DataModel::AttributeEntry kMetadataEntry(OperationalError::Id, BitFlags<DataModel::AttributeQualityFlags>(),
Access::Privilege::kView, std::nullopt);
} // namespace OperationalError
constexpr std::array<DataModel::AttributeEntry, 5> kMandatoryMetadata = {
PhaseList::kMetadataEntry, CurrentPhase::kMetadataEntry, OperationalStateList::kMetadataEntry,
OperationalState::kMetadataEntry, OperationalError::kMetadataEntry,
};
} // namespace Attributes
namespace Commands {
namespace Pause {
inline constexpr DataModel::AcceptedCommandEntry kMetadataEntry(Pause::Id, BitFlags<DataModel::CommandQualityFlags>(),
Access::Privilege::kOperate);
} // namespace Pause
namespace Resume {
inline constexpr DataModel::AcceptedCommandEntry kMetadataEntry(Resume::Id, BitFlags<DataModel::CommandQualityFlags>(),
Access::Privilege::kOperate);
} // namespace Resume
namespace GoHome {
inline constexpr DataModel::AcceptedCommandEntry kMetadataEntry(GoHome::Id, BitFlags<DataModel::CommandQualityFlags>(),
Access::Privilege::kOperate);
} // namespace GoHome
} // namespace Commands
namespace Events {
namespace OperationalError {
inline constexpr DataModel::EventEntry kMetadataEntry{ Access::Privilege::kView };
} // namespace OperationalError
namespace OperationCompletion {
inline constexpr DataModel::EventEntry kMetadataEntry{ Access::Privilege::kView };
} // namespace OperationCompletion
} // namespace Events
} // namespace RvcOperationalState
} // namespace Clusters
} // namespace app
} // namespace chip