5#ifndef OCPP_V2_UPDATEFIRMWARE_HPP
6#define OCPP_V2_UPDATEFIRMWARE_HPP
8#include <nlohmann/json_fwd.hpp>
11#include <ocpp/common/types.hpp>
12#include <ocpp/v2/ocpp_enums.hpp>
13#include <ocpp/v2/ocpp_types.hpp>
22 std::optional<CustomData> customData;
23 std::optional<int32_t> retries;
24 std::optional<int32_t> retryInterval;
28 std::string
get_type()
const override;
43 UpdateFirmwareStatusEnum status;
44 std::optional<CustomData> customData;
45 std::optional<StatusInfo> statusInfo;
49 std::string
get_type()
const override;
Parent structure for all OCPP messages supported by this implementation.
Definition: types.hpp:30
Definition: ocpp_types.hpp:951
Contains a OCPP UpdateFirmware message.
Definition: UpdateFirmware.hpp:19
std::string get_type() const override
Provides the type of this UpdateFirmware message as a human readable string.
Definition: UpdateFirmware.cpp:16
Contains a OCPP UpdateFirmwareResponse message.
Definition: UpdateFirmware.hpp:42
std::string get_type() const override
Provides the type of this UpdateFirmwareResponse message as a human readable string.
Definition: UpdateFirmware.cpp:62