BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
GWUnpairRequest.h
1 #pragma once
2 
3 #include <Poco/SharedPtr.h>
4 #include <Poco/JSON/Object.h>
5 
6 #include "gwmessage/GWRequest.h"
7 #include "model/DeviceID.h"
8 
9 namespace BeeeOn {
10 
24 class GWUnpairRequest : public GWRequest {
25 public:
26  typedef Poco::SharedPtr<GWUnpairRequest> Ptr;
27 
29  GWUnpairRequest(const Poco::JSON::Object::Ptr object);
30 
31  void setDeviceID(const DeviceID &deviceID);
32  DeviceID deviceID() const;
33 
34 protected:
35  GWResponse::Ptr deriveResponse() const override;
36 };
37 
38 }
Abstract class representing a request message. The GWRequest can not be used alone, but it must be inherited by a specific request object.
Definition: GWRequest.h:25
Represents a message sent by the server to the gateway, intended to unpair a paired device from the g...
Definition: GWUnpairRequest.h:24
Definition: DeviceID.h:17