55 explicit KickJob(std::string serverUrl
56 , std::string _accessToken
58 std::string roomId , std::string userId , std::optional<std::string> reason = std::nullopt
Definition: kicking.hpp:28
bool success() const
Definition: kicking.cpp:78
JobResponse(Response r)
Definition: kicking.cpp:75
Kick a user from the room.
Definition: kicking.hpp:22
static BaseJob::Query buildQuery()
Definition: kicking.cpp:13
static constexpr auto needsAuth()
Definition: kicking.hpp:35
KickJob(std::string serverUrl, std::string _accessToken, std::string roomId, std::string userId, std::optional< std::string > reason=std::nullopt)
Kick a user from the room.
Definition: kicking.cpp:41
static BaseJob::Body buildBody(std::string roomId, std::string userId, std::optional< std::string > reason)
Definition: kicking.cpp:21
KickJob withData(JsonWrap j) &&
Definition: kicking.cpp:61
Definition: basejob.hpp:91
Definition: basejob.hpp:77
::Kazv::Body Body
Definition: basejob.hpp:100
Definition: jsonwrap.hpp:23
Definition: location.hpp:10
Definition: location.hpp:10
Definition: location.hpp:27
Definition: basejob.hpp:50