libkazv
Loading...
Searching...
No Matches
versions.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
3 */
4
5#pragma once
6
7#include "basejob.hpp"
8
9
10namespace Kazv::Api {
11
33class GetVersionsJob : public BaseJob {
34public:
35
36
37
38class JobResponse : public Response
39{
40
41public:
43 bool success() const;
44
45 // Result properties
46
47
48
49
51immer::array<std::string> versions() const;
52
53
57immer::map<std::string, bool> unstableFeatures() const;
58
59};
60 static constexpr auto needsAuth() {
61 return
62 false;
63 }
64
65
66// Construction/destruction
67
69 explicit GetVersionsJob(std::string serverUrl
70
71
72
73 );
74
75
77 );
78
79 static BaseJob::Body buildBody();
80
81
82
83
84
87 };
89 }
90 namespace nlohmann
91 {
92 using namespace Kazv;
93 using namespace Kazv::Api;
94
95 }
96
97 namespace Kazv::Api
98 {
99
100} // namespace Kazv::Api
Definition versions.hpp:39
immer::map< std::string, bool > unstableFeatures() const
Experimental features the server supports.
Definition versions.cpp:92
immer::array< std::string > versions() const
The supported versions.
Definition versions.cpp:81
bool success() const
Definition versions.cpp:70
Gets the versions of the specification supported by the server.
Definition versions.hpp:33
static BaseJob::Body buildBody()
Definition versions.cpp:21
static constexpr auto needsAuth()
Definition versions.hpp:60
static BaseJob::Query buildQuery()
Definition versions.cpp:13
GetVersionsJob withData(JsonWrap j) &&
Definition versions.cpp:53
Definition basejob.hpp:94
Definition basejob.hpp:68
::Kazv::Body Body
Definition basejob.hpp:103
Definition jsonwrap.hpp:23
Definition location.hpp:10
Definition location.hpp:10
Definition location.hpp:27
Definition basejob.hpp:49