ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
ClearCache.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_CLEARCACHE_HPP
6#define OCPP_V16_CLEARCACHE_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
21 std::string get_type() const override;
22};
23
25void to_json(json& j, const ClearCacheRequest& k);
26
28void from_json(const json& j, ClearCacheRequest& k);
29
32std::ostream& operator<<(std::ostream& os, const ClearCacheRequest& k);
33
36 ClearCacheStatus status;
37
40 std::string get_type() const override;
41};
42
44void to_json(json& j, const ClearCacheResponse& k);
45
47void from_json(const json& j, ClearCacheResponse& k);
48
51std::ostream& operator<<(std::ostream& os, const ClearCacheResponse& k);
52
53} // namespace v16
54} // namespace ocpp
55
56#endif // OCPP_V16_CLEARCACHE_HPP
Parent structure for all OCPP messages supported by this implementation.
Definition: types.hpp:30
Contains a OCPP ClearCache message.
Definition: ClearCache.hpp:17
std::string get_type() const override
Provides the type of this ClearCache message as a human readable string.
Definition: ClearCache.cpp:15
Contains a OCPP ClearCacheResponse message.
Definition: ClearCache.hpp:35
std::string get_type() const override
Provides the type of this ClearCacheResponse message as a human readable string.
Definition: ClearCache.cpp:42