// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "QueryAlarmEventsGetEnabled.hpp" #include namespace db::query::alarmEvents { GetEnabled::GetEnabled() : Query(Query::Type::Read) {} auto GetEnabled::debugInfo() const -> std::string { return std::string{"GetEnabled"}; } GetEnabledResult::GetEnabledResult(std::vector records) : records(std::move(records)) {} auto GetEnabledResult::getResult() const -> std::vector { return records; } auto GetEnabledResult::debugInfo() const -> std::string { return std::string{"GetEnabledResult"}; } } // namespace db::query::alarmEvents