libkazv
|
#include <old_sync.hpp>
Public Member Functions | |
JobResponse (Response r) | |
bool | success () const |
std::optional< std::string > | start () const |
A token which correlates to the start of chunk . More... | |
std::optional< std::string > | end () const |
A token which correlates to the end of chunk . More... | |
EventList | chunk () const |
An array of events. More... | |
Public Member Functions inherited from Kazv::Response | |
std::string | errorCode () const |
std::string | errorMessage () const |
JsonWrap | jsonBody () const |
constexpr bool | success () const |
json | dataJson (const std::string &key) const |
std::string | dataStr (const std::string &key) const |
std::string | jobId () const |
Additional Inherited Members | |
Public Types inherited from Kazv::Response | |
using | StatusCode = int |
Public Attributes inherited from Kazv::Response | |
StatusCode | statusCode |
Body | body |
Header | header |
JsonWrap | extraData |
Kazv::Api::GetEventsJob::JobResponse::JobResponse | ( | Response | r | ) |
EventList Kazv::Api::GetEventsResponse::chunk | ( | ) | const |
An array of events.
std::optional< std::string > Kazv::Api::GetEventsResponse::end | ( | ) | const |
A token which correlates to the end of chunk
.
This token should be used in the next request to /events
.
std::optional< std::string > Kazv::Api::GetEventsResponse::start | ( | ) | const |
A token which correlates to the start of chunk
.
This is usually the same token supplied to from=
.
bool Kazv::Api::GetEventsResponse::success | ( | ) | const |