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;
Definition: profile.hpp:225
Get the user's avatar URL.
Definition: profile.hpp:219
static constexpr auto needsAuth()
Definition: profile.hpp:240
Definition: profile.hpp:89
Get the user's display name.
Definition: profile.hpp:83
static constexpr auto needsAuth()
Definition: profile.hpp:104
Definition: profile.hpp:297
Get this user's profile information.
Definition: profile.hpp:291
static constexpr auto needsAuth()
Definition: profile.hpp:316
Definition: profile.hpp:159
Set the user's avatar URL.
Definition: profile.hpp:153
static constexpr auto needsAuth()
Definition: profile.hpp:166
Definition: profile.hpp:23
bool success() const
Definition: profile.cpp:76
JobResponse(Response r)
Definition: profile.cpp:73
Set the user's display name.
Definition: profile.hpp:17
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:39
static BaseJob::Body buildBody(std::string userId, std::optional< std::string > displayname)
Definition: profile.cpp:21
static constexpr auto needsAuth()
Definition: profile.hpp:30
static BaseJob::Query buildQuery()
Definition: profile.cpp:13
SetDisplayNameJob withData(JsonWrap j) &&
Definition: profile.cpp:59
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