// DO NOT EDIT MANUALLY - Generated file
//
// Cluster metadata information for cluster OtaSoftwareUpdateRequestor (cluster
// code: 42/0x2A) based on
// /home/champon/Develop/Products/GV1/src/default_zap/GV1.matter
#pragma once

#include <app/data-model-provider/MetadataTypes.h>
#include <lib/core/DataModelTypes.h>

#include <cstdint>

#include <clusters/OtaSoftwareUpdateRequestor/Ids.h>

namespace chip {
namespace app {
namespace Clusters {
namespace OtaSoftwareUpdateRequestor {

inline constexpr uint32_t kRevision = 1;

namespace Attributes {
namespace DefaultOTAProviders {
inline constexpr DataModel::AttributeEntry
    kMetadataEntry(DefaultOTAProviders::Id,
                   BitFlags<DataModel::AttributeQualityFlags>(
                       DataModel::AttributeQualityFlags::kListAttribute),
                   Access::Privilege::kView, Access::Privilege::kAdminister);
} // namespace DefaultOTAProviders
namespace UpdatePossible {
inline constexpr DataModel::AttributeEntry
    kMetadataEntry(UpdatePossible::Id,
                   BitFlags<DataModel::AttributeQualityFlags>(),
                   Access::Privilege::kView, std::nullopt);
} // namespace UpdatePossible
namespace UpdateState {
inline constexpr DataModel::AttributeEntry
    kMetadataEntry(UpdateState::Id,
                   BitFlags<DataModel::AttributeQualityFlags>(),
                   Access::Privilege::kView, std::nullopt);
} // namespace UpdateState
namespace UpdateStateProgress {
inline constexpr DataModel::AttributeEntry
    kMetadataEntry(UpdateStateProgress::Id,
                   BitFlags<DataModel::AttributeQualityFlags>(),
                   Access::Privilege::kView, std::nullopt);
} // namespace UpdateStateProgress

} // namespace Attributes

namespace Commands {
namespace AnnounceOTAProvider {
inline constexpr DataModel::AcceptedCommandEntry
    kMetadataEntry(AnnounceOTAProvider::Id,
                   BitFlags<DataModel::CommandQualityFlags>(),
                   Access::Privilege::kOperate);
} // namespace AnnounceOTAProvider

} // namespace Commands
} // namespace OtaSoftwareUpdateRequestor
} // namespace Clusters
} // namespace app
} // namespace chip
