ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
FirmwareStatusNotification.hpp
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2020 - 2024 Pionix GmbH and Contributors to EVerest
3// This code is generated using the generator in 'src/code_generator/common`, please do not edit manually
4
5#ifndef OCPP_V16_FIRMWARESTATUSNOTIFICATION_HPP
6#define OCPP_V16_FIRMWARESTATUSNOTIFICATION_HPP
7
8#include <nlohmann/json_fwd.hpp>
9
10#include <ocpp/v16/ocpp_enums.hpp>
11#include <ocpp/v16/ocpp_types.hpp>
12
13namespace ocpp {
14namespace v16 {
15
18 FirmwareStatus status;
19
22 std::string get_type() const override;
23};
24
26void to_json(json& j, const FirmwareStatusNotificationRequest& k);
27
29void from_json(const json& j, FirmwareStatusNotificationRequest& k);
30
33std::ostream& operator<<(std::ostream& os, const FirmwareStatusNotificationRequest& k);
34
37
40 std::string get_type() const override;
41};
42
44void to_json(json& j, const FirmwareStatusNotificationResponse& k);
45
47void from_json(const json& j, FirmwareStatusNotificationResponse& k);
48
51std::ostream& operator<<(std::ostream& os, const FirmwareStatusNotificationResponse& k);
52
53} // namespace v16
54} // namespace ocpp
55
56#endif // OCPP_V16_FIRMWARESTATUSNOTIFICATION_HPP
Parent structure for all OCPP messages supported by this implementation.
Definition: types.hpp:30
Contains a OCPP FirmwareStatusNotification message.
Definition: FirmwareStatusNotification.hpp:17
std::string get_type() const override
Provides the type of this FirmwareStatusNotification message as a human readable string.
Definition: FirmwareStatusNotification.cpp:15
Contains a OCPP FirmwareStatusNotificationResponse message.
Definition: FirmwareStatusNotification.hpp:36
std::string get_type() const override
Provides the type of this FirmwareStatusNotificationResponse message as a human readable string.
Definition: FirmwareStatusNotification.cpp:41