XX CMake Package
Loading...
Searching...
No Matches
XXRestApiResult.h
Go to the documentation of this file.
1#ifndef XXRestApiResultH
2#define XXRestApiResultH
3
5
6#include <QByteArray>
7#include <QJsonObject>
8
9namespace XX
10{
11 namespace RestApi
12 {
15
17 {
18 QByteArray raw;
19 int statusCode = 0;
20 };
21
25
27 {
28 QJsonObject json;
29
30 void parseJson();
31 };
32 } // namespace RestApi
33} // namespace XX
34
35#endif // NOT XXRestApiResultH
#define XXNETWORK_DECLSPEC
Definition XXNetworkExportDef.h:11
Definition XXRestApiAsync.h:10
Definition XXPopulatedAbstract.h:11
REST API with json content.
Definition XXRestApiResult.h:27
QJsonObject json
Definition XXRestApiResult.h:28
REST API results.
Definition XXRestApiResult.h:17
int statusCode
Definition XXRestApiResult.h:19
QByteArray raw
Definition XXRestApiResult.h:18