Go to the documentation of this file.
18 class SetAccountDataJob :
public BaseJob {
53 , std::string _accessToken
55 std::string userId , std::string type ,
JsonWrap content = {}
120 , std::string _accessToken
122 std::string userId , std::string type
129 static BaseJob::Body buildBody(std::string userId, std::string type);
142 using namespace Kazv;
166 bool success()
const;
194 , std::string _accessToken
196 std::string userId , std::string roomId , std::string type ,
JsonWrap content = {}
203 static BaseJob::Body buildBody(std::string userId, std::string roomId, std::string type,
JsonWrap content);
216 using namespace Kazv;
239 bool success()
const;
264 , std::string _accessToken
266 std::string userId , std::string roomId , std::string type
273 static BaseJob::Body buildBody(std::string userId, std::string roomId, std::string type);
286 using namespace Kazv;
SetAccountDataJob(std::string serverUrl, std::string _accessToken, std::string userId, std::string type, JsonWrap content={})
Set some account_data for the user.
Definition: account-data.cpp:36
Definition: location.hpp:26
Definition: account-data.hpp:27
Definition: location.hpp:10
Definition: basejob.hpp:90
JobResponse(Response r)
Definition: account-data.cpp:70
SetAccountDataJob withData(JsonWrap j) &&
Definition: account-data.cpp:56
Definition: account-data.hpp:93
static BaseJob::Query buildQuery()
Definition: account-data.cpp:15
Definition: location.hpp:10
Definition: account-data.hpp:234
static constexpr auto needsAuth()
Definition: account-data.hpp:101
bool success() const
Definition: account-data.cpp:73
static BaseJob::Body buildBody(std::string userId, std::string type, JsonWrap content)
Definition: account-data.cpp:23
Get some account_data for the user.
Definition: account-data.hpp:229
Set some account_data for the user.
Definition: account-data.hpp:156
Definition: jsonwrap.hpp:22
static constexpr auto needsAuth()
Definition: account-data.hpp:169
static constexpr auto needsAuth()
Definition: account-data.hpp:242
Definition: basejob.hpp:76
static constexpr auto needsAuth()
Definition: account-data.hpp:35
::Kazv::Body Body
Definition: basejob.hpp:100
Get some account_data for the user.
Definition: account-data.hpp:88
Set some account_data for the user.
Definition: account-data.hpp:20
Definition: account-data.hpp:161
Definition: basejob.hpp:50