libkazv
|
#include <directory.hpp>
Public Member Functions | |
JobResponse (Response r) | |
bool | success () const |
std::optional< std::string > | roomId () const |
The room ID for this room alias. More... | |
immer::array< std::string > | servers () const |
A list of servers that are aware of this room alias. 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::GetRoomIdByAliasJob::JobResponse::JobResponse | ( | Response | r | ) |
std::optional< std::string > Kazv::Api::GetRoomIdByAliasResponse::roomId | ( | ) | const |
The room ID for this room alias.
immer::array< std::string > Kazv::Api::GetRoomIdByAliasResponse::servers | ( | ) | const |
A list of servers that are aware of this room alias.
bool Kazv::Api::GetRoomIdByAliasResponse::success | ( | ) | const |