Go to the documentation of this file.
17 class SendToDeviceJob :
public BaseJob {
54 , std::string _accessToken
56 std::string eventType , std::string txnId , immer::map<std::string, immer::map<std::string, JsonWrap>> messages
63 static BaseJob::Body buildBody(std::string eventType, std::string txnId, immer::map<std::string, immer::map<std::string, JsonWrap>> messages);
Send an event to a given set of devices.
Definition: to_device.hpp:19
SendToDeviceJob withData(JsonWrap j) &&
Definition: to_device.cpp:61
static BaseJob::Body buildBody(std::string eventType, std::string txnId, immer::map< std::string, immer::map< std::string, JsonWrap >> messages)
Definition: to_device.cpp:23
static BaseJob::Query buildQuery()
Definition: to_device.cpp:15
Definition: location.hpp:26
bool success() const
Definition: to_device.cpp:78
static constexpr auto needsAuth()
Definition: to_device.hpp:34
SendToDeviceJob(std::string serverUrl, std::string _accessToken, std::string eventType, std::string txnId, immer::map< std::string, immer::map< std::string, JsonWrap >> messages)
Send an event to a given set of devices.
Definition: to_device.cpp:41
Definition: location.hpp:10
Definition: basejob.hpp:90
Definition: location.hpp:10
Definition: to_device.hpp:26
Definition: jsonwrap.hpp:22
::Kazv::Body Body
Definition: basejob.hpp:100
JobResponse(Response r)
Definition: to_device.cpp:75
Definition: basejob.hpp:50