Qore EmpathicBuildingDataProvider Module Reference 1.1
Loading...
Searching...
No Matches
EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
28
31
32public:
34 const ProviderInfo = ...;
35
36
39
40
42 const RequestType = new SoftListDataType("EmpathicBuildingMeasurementEventType", new EmpathicBuildingMeasurementsCreateRequestDataType());
43
45 const ResponseType = AbstractDataProviderTypeMap."hash";
46
48 constructor(*hash<auto> options);
49
50
52 constructor(RestClient::RestClient rest, *Logger::LoggerInterface logger) ;
53
54
56 string getName();
57
58
60 *string getDesc();
61
62
64
69protected:
70 auto doRequestImpl(auto req, *hash<auto> request_options);
71public:
72
73
75
77protected:
78 *DataProvider::AbstractDataProviderType getRequestTypeImpl();
79public:
80
81
83
85protected:
86 *DataProvider::AbstractDataProviderType getResponseTypeImpl();
87public:
88
89
91 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
92
93};
94
96class EmpathicBuildingMeasurementEventType : public DataProvider::HashDataType {
97
98public:
99protected:
101 const Fields = ...;
102
103
104public:
105
108
109};
110
112class EmpathicBuildingMeasurementsCreateRequestDataType : public DataProvider::HashDataType {
113
114public:
115protected:
117 const Fields = ...;
118
119
120public:
121
124
125};
126};
The EmpathicBuilding data provider class.
Definition EmpathicBuildingDataProviderBase.qc.dox.h:28
RestClient::RestClient rest
The REST client object for API calls.
Definition EmpathicBuildingDataProviderBase.qc.dox.h:40
Measurement event data type.
Definition EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h:96
const Fields
Field descriptions.
Definition EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h:101
The Empathic Building measurements create API data provider.
Definition EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h:30
constructor(RestClient::RestClient rest, *Logger::LoggerInterface logger)
Creates the object from a REST connection.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ProviderInfo
Provider info.
Definition EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h:34
const ResponseType
Response type.
Definition EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h:45
constructor(*hash< auto > options)
Creates the object from constructor options.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ProviderSummaryInfo
Provider summary info.
Definition EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h:38
const RequestType
Request type.
Definition EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h:42
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
Create measurements request data type.
Definition EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h:112
const Fields
Field descriptions.
Definition EmpathicBuildingMeasurementsCreateDataProvider.qc.dox.h:117
Qore EmpathicBuildingDataProvider module definition.
Definition EmpathicBuildingDataProvider.qc.dox.h:26