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);
Definition: to_device.hpp:23
JobResponse(Response r)
Definition: to_device.cpp:73
bool success() const
Definition: to_device.cpp:76
Send an event to a given set of devices.
Definition: to_device.hpp:17
static BaseJob::Query buildQuery()
Definition: to_device.cpp:13
SendToDeviceJob withData(JsonWrap j) &&
Definition: to_device.cpp:59
static constexpr auto needsAuth()
Definition: to_device.hpp:30
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:39
static BaseJob::Body buildBody(std::string eventType, std::string txnId, immer::map< std::string, immer::map< std::string, JsonWrap >> messages)
Definition: to_device.cpp:21
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: basejob.hpp:50