59 , std::string _accessToken
61 std::string userId ,
Filter filter
102 bool success()
const;
112 std::move(jsonBody().get()).get<
Filter>()
135 , std::string _accessToken
137 std::string userId , std::string filterId
144 static BaseJob::Body buildBody(std::string userId, std::string filterId);
157 using namespace Kazv;
Definition: filter.hpp:24
std::string filterId() const
The ID of the filter that was created.
Definition: filter.cpp:82
JobResponse(Response r)
Definition: filter.cpp:68
bool success() const
Definition: filter.cpp:71
Upload a new filter.
Definition: filter.hpp:18
static constexpr auto needsAuth()
Definition: filter.hpp:42
DefineFilterJob(std::string serverUrl, std::string _accessToken, std::string userId, Filter filter)
Upload a new filter.
Definition: filter.cpp:34
static BaseJob::Query buildQuery()
Definition: filter.cpp:13
static BaseJob::Body buildBody(std::string userId, Filter filter)
Definition: filter.cpp:21
DefineFilterJob withData(JsonWrap j) &&
Definition: filter.cpp:54
Definition: filter.hpp:98
Filter data() const
The filter definition.
Definition: filter.hpp:109
Download a filter.
Definition: filter.hpp:92
static constexpr auto needsAuth()
Definition: filter.hpp:118
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: sync_filter.hpp:98
Definition: basejob.hpp:50