Go to the documentation of this file.
17 class SetDisplayNameJob :
public BaseJob {
47 , std::string _accessToken
49 std::string userId , std::optional<std::string> displayname = std::nullopt
101 std::optional<std::string> displayname()
const;
140 using namespace Kazv;
163 bool success()
const;
183 , std::string _accessToken
185 std::string userId , std::optional<std::string> avatarUrl = std::nullopt
192 static BaseJob::Body buildBody(std::string userId, std::optional<std::string> avatarUrl);
205 using namespace Kazv;
229 bool success()
const;
237 std::optional<std::string> avatarUrl()
const;
276 using namespace Kazv;
301 bool success()
const;
309 std::optional<std::string> avatarUrl()
const;
313 std::optional<std::string> displayname()
const;
352 using namespace Kazv;
Get the user's avatar URL.
Definition: profile.hpp:219
Get this user's profile information.
Definition: profile.hpp:291
Definition: location.hpp:26
static BaseJob::Query buildQuery()
Definition: profile.cpp:15
Definition: profile.hpp:296
Definition: location.hpp:10
Definition: profile.hpp:88
static constexpr auto needsAuth()
Definition: profile.hpp:316
Definition: basejob.hpp:90
Definition: profile.hpp:224
SetDisplayNameJob withData(JsonWrap j) &&
Definition: profile.cpp:61
JobResponse(Response r)
Definition: profile.cpp:75
Definition: profile.hpp:158
static constexpr auto needsAuth()
Definition: profile.hpp:240
Definition: location.hpp:10
static constexpr auto needsAuth()
Definition: profile.hpp:104
static BaseJob::Body buildBody(std::string userId, std::optional< std::string > displayname)
Definition: profile.cpp:23
Definition: jsonwrap.hpp:22
Definition: basejob.hpp:76
Get the user's display name.
Definition: profile.hpp:83
SetDisplayNameJob(std::string serverUrl, std::string _accessToken, std::string userId, std::optional< std::string > displayname=std::nullopt)
Set the user's display name.
Definition: profile.cpp:41
Set the user's display name.
Definition: profile.hpp:19
static constexpr auto needsAuth()
Definition: profile.hpp:34
::Kazv::Body Body
Definition: basejob.hpp:100
bool success() const
Definition: profile.cpp:78
static constexpr auto needsAuth()
Definition: profile.hpp:166
Definition: profile.hpp:26
Definition: basejob.hpp:50
Set the user's avatar URL.
Definition: profile.hpp:153