blob: ea7032fe44d0bcb2eff09e40293c9ba9ccfc23cf [file] [log] [blame]
// DO NOT EDIT MANUALLY - Generated file
//
// Cluster metadata information for cluster LocalizationConfiguration (cluster code: 43/0x2B)
// 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/LocalizationConfiguration/Ids.h>
namespace chip {
namespace app {
namespace Clusters {
namespace LocalizationConfiguration {
inline constexpr uint32_t kRevision = 1;
namespace Attributes {
namespace ActiveLocale {
inline constexpr DataModel::AttributeEntry kMetadataEntry(ActiveLocale::Id, BitFlags<DataModel::AttributeQualityFlags>(),
Access::Privilege::kView, Access::Privilege::kManage);
} // namespace ActiveLocale
namespace SupportedLocales {
inline constexpr DataModel::AttributeEntry
kMetadataEntry(SupportedLocales::Id,
BitFlags<DataModel::AttributeQualityFlags>(DataModel::AttributeQualityFlags::kListAttribute),
Access::Privilege::kView, std::nullopt);
} // namespace SupportedLocales
constexpr std::array<DataModel::AttributeEntry, 2> kMandatoryMetadata = {
ActiveLocale::kMetadataEntry,
SupportedLocales::kMetadataEntry,
};
} // namespace Attributes
namespace Commands {} // namespace Commands
namespace Events {} // namespace Events
} // namespace LocalizationConfiguration
} // namespace Clusters
} // namespace app
} // namespace chip