ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
InstallCertificate.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_INSTALLCERTIFICATE_HPP
6#define OCPP_V16_INSTALLCERTIFICATE_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 CertificateUseEnumType certificateType;
19 CiString<5500> certificate;
20
23 std::string get_type() const override;
24};
25
27void to_json(json& j, const InstallCertificateRequest& k);
28
30void from_json(const json& j, InstallCertificateRequest& k);
31
34std::ostream& operator<<(std::ostream& os, const InstallCertificateRequest& k);
35
38 InstallCertificateStatusEnumType status;
39
42 std::string get_type() const override;
43};
44
46void to_json(json& j, const InstallCertificateResponse& k);
47
49void from_json(const json& j, InstallCertificateResponse& k);
50
53std::ostream& operator<<(std::ostream& os, const InstallCertificateResponse& k);
54
55} // namespace v16
56} // namespace ocpp
57
58#endif // OCPP_V16_INSTALLCERTIFICATE_HPP
Parent structure for all OCPP messages supported by this implementation.
Definition: types.hpp:30
Contains a OCPP InstallCertificate message.
Definition: InstallCertificate.hpp:17
std::string get_type() const override
Provides the type of this InstallCertificate message as a human readable string.
Definition: InstallCertificate.cpp:15
Contains a OCPP InstallCertificateResponse message.
Definition: InstallCertificate.hpp:37
std::string get_type() const override
Provides the type of this InstallCertificateResponse message as a human readable string.
Definition: InstallCertificate.cpp:43