libkazv
|
#include <filter.hpp>
Public Member Functions | |
JobResponse (Response r) | |
bool | success () const |
std::string | filterId () const |
The ID of the filter that was created. 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::DefineFilterJob::JobResponse::JobResponse | ( | Response | r | ) |
std::string Kazv::Api::DefineFilterResponse::filterId | ( | ) | const |
The ID of the filter that was created.
Cannot start with a {
as this character is used to determine if the filter provided is inline JSON or a previously declared filter by homeservers on some APIs.
bool Kazv::Api::DefineFilterResponse::success | ( | ) | const |