45 immer::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);
131 bool success()
const;
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;
206 bool success()
const;
230 , std::string _accessToken
232 std::string userId , std::string roomId , std::string tag
239 static BaseJob::Body buildBody(std::string userId, std::string roomId, std::string tag);
252 using namespace Kazv;
Remove a tag from the room.
Definition: tags.hpp:196
static constexpr auto needsAuth()
Definition: tags.hpp:209
Add a tag to a room.
Definition: tags.hpp:121
static constexpr auto needsAuth()
Definition: tags.hpp:134
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
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:50