|
libkazv
|
#include <registration.hpp>


Public Member Functions | |
| JobResponse (Response r) | |
| bool | success () const |
| std::optional< bool > | available () const |
| A flag to indicate that the username is available. 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::CheckUsernameAvailabilityJob::JobResponse::JobResponse | ( | Response | r | ) |
| std::optional< bool > Kazv::Api::CheckUsernameAvailabilityResponse::available | ( | ) | const |
A flag to indicate that the username is available.
This should always be true when the server replies with 200 OK.
| bool Kazv::Api::CheckUsernameAvailabilityResponse::success | ( | ) | const |