libkazv
|
#include <admin.hpp>
Public Member Functions | |
JobResponse (Response r) | |
bool | success () const |
std::optional< std::string > | userId () const |
The Matrix user ID of the user. More... | |
immer::map< std::string, DeviceInfo > | devices () const |
Each key is an identifier for one of the user's devices. 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::GetWhoIsJob::JobResponse::JobResponse | ( | Response | r | ) |
immer::map< std::string, GetWhoIsJob::DeviceInfo > Kazv::Api::GetWhoIsResponse::devices | ( | ) | const |
Each key is an identifier for one of the user's devices.
bool Kazv::Api::GetWhoIsResponse::success | ( | ) | const |
std::optional< std::string > Kazv::Api::GetWhoIsResponse::userId | ( | ) | const |
The Matrix user ID of the user.