5#ifndef OCPP_V2_TRIGGERMESSAGE_HPP
6#define OCPP_V2_TRIGGERMESSAGE_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>
20 MessageTriggerEnum requestedMessage;
21 std::optional<CustomData> customData;
22 std::optional<EVSE> evse;
26 std::string
get_type()
const override;
41 TriggerMessageStatusEnum status;
42 std::optional<CustomData> customData;
43 std::optional<StatusInfo> statusInfo;
47 std::string
get_type()
const override;
Parent structure for all OCPP messages supported by this implementation.
Definition: types.hpp:30
Contains a OCPP TriggerMessage message.
Definition: TriggerMessage.hpp:19
std::string get_type() const override
Provides the type of this TriggerMessage message as a human readable string.
Definition: TriggerMessage.cpp:16
Contains a OCPP TriggerMessageResponse message.
Definition: TriggerMessage.hpp:40
std::string get_type() const override
Provides the type of this TriggerMessageResponse message as a human readable string.
Definition: TriggerMessage.cpp:54