Go to the documentation of this file.
18 class DefineFilterJob :
public BaseJob {
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;
JobResponse(Response r)
Definition: filter.cpp:70
Definition: filter.hpp:97
std::string filterId() const
The ID of the filter that was created.
Definition: filter.cpp:84
Definition: location.hpp:26
bool success() const
Definition: filter.cpp:73
DefineFilterJob withData(JsonWrap j) &&
Definition: filter.cpp:56
Definition: location.hpp:10
Definition: sync_filter.hpp:97
static constexpr auto needsAuth()
Definition: filter.hpp:46
Definition: basejob.hpp:90
Definition: location.hpp:10
Filter data() const
The filter definition.
Definition: filter.hpp:109
DefineFilterJob(std::string serverUrl, std::string _accessToken, std::string userId, Filter filter)
Upload a new filter.
Definition: filter.cpp:36
Definition: filter.hpp:27
Definition: jsonwrap.hpp:22
Upload a new filter.
Definition: filter.hpp:20
static BaseJob::Body buildBody(std::string userId, Filter filter)
Definition: filter.cpp:23
Definition: basejob.hpp:76
::Kazv::Body Body
Definition: basejob.hpp:100
Download a filter.
Definition: filter.hpp:92
static constexpr auto needsAuth()
Definition: filter.hpp:118
Definition: basejob.hpp:50
static BaseJob::Query buildQuery()
Definition: filter.cpp:15