45immer::map<std::string, Tag>
tags()
const;
66 , std::string _accessToken
68 std::string userId , std::string roomId
95 if (! jo.is_object()) { jo = json::object(); }
105 if (jo.contains(
"order"s)) {
106 result.
order = jo.at(
"order"s);
162 , std::string _accessToken
164 std::string userId , std::string roomId , std::string tag , std::optional<float> order = std::nullopt,
JsonWrap additionalProperties = {}
171 static BaseJob::Body buildBody(std::string userId, std::string roomId, std::string tag, std::optional<float> order,
JsonWrap additionalProperties);
184 using namespace Kazv;
230 , std::string _accessToken
232 std::string userId , std::string roomId , std::string tag
252 using namespace Kazv;
bool success() const
Definition tags.cpp:223
Remove a tag from the room.
Definition tags.hpp:196
static BaseJob::Query buildQuery()
Definition tags.cpp:166
static BaseJob::Body buildBody(std::string userId, std::string roomId, std::string tag)
Definition tags.cpp:174
static constexpr auto needsAuth()
Definition tags.hpp:209
DeleteRoomTagJob withData(JsonWrap j) &&
Definition tags.cpp:206
bool success() const
Definition tags.cpp:155
Add a tag to a room.
Definition tags.hpp:121
SetRoomTagJob withData(JsonWrap j) &&
Definition tags.cpp:138
static constexpr auto needsAuth()
Definition tags.hpp:134
static BaseJob::Body buildBody(std::string userId, std::string roomId, std::string tag, std::optional< float > order, JsonWrap additionalProperties)
Definition tags.cpp:100
static BaseJob::Query buildQuery()
Definition tags.cpp:92
Definition basejob.hpp:94
Definition basejob.hpp:68
::Kazv::Body Body
Definition basejob.hpp:103
Definition jsonwrap.hpp:23
Definition location.hpp:10
Definition location.hpp:10
void addToJsonIfNeeded(json &j, std::string name, T &&arg)
Definition types.hpp:80
void addPropertyMapToJson(json &j, MapT &&arg)
Definition types.hpp:91
nlohmann::json json
Definition jsonwrap.hpp:20
Definition location.hpp:27
Definition basejob.hpp:49