aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/device_management.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-19 15:01:33 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-19 15:03:24 +0200
commite17764a1ae81393968dfb747c7b67353c109bc71 (patch)
treebbff0707ae3622e22c67d0cc310370eb5126ac7e /lib/csapi/device_management.h
parentcbd107e595bbb78ef3411a4a92f66d495c6fc5b4 (diff)
downloadlibquotient-e17764a1ae81393968dfb747c7b67353c109bc71.tar.gz
libquotient-e17764a1ae81393968dfb747c7b67353c109bc71.zip
csapi/: generated using the latest GTAD and matrix-doc
For matrix-doc, specifically, it is master (5cb4b086) merged with https://github.com/matrix-org/matrix-doc/pull/2518.
Diffstat (limited to 'lib/csapi/device_management.h')
-rw-r--r--lib/csapi/device_management.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/csapi/device_management.h b/lib/csapi/device_management.h
index 0abd5b84..47dc7ec8 100644
--- a/lib/csapi/device_management.h
+++ b/lib/csapi/device_management.h
@@ -44,7 +44,6 @@ class GetDeviceJob : public BaseJob {
public:
/*! \brief Get a single device
*
- *
* \param deviceId
* The device to retrieve.
*/
@@ -60,7 +59,7 @@ public:
// Result properties
/// Device information
- Device data() const { return fromJson<Device>(jsonData()); }
+ Device device() const { return fromJson<Device>(jsonData()); }
};
/*! \brief Update a device
@@ -71,7 +70,6 @@ class UpdateDeviceJob : public BaseJob {
public:
/*! \brief Update a device
*
- *
* \param deviceId
* The device to update.
*
@@ -93,7 +91,6 @@ class DeleteDeviceJob : public BaseJob {
public:
/*! \brief Delete a device
*
- *
* \param deviceId
* The device to delete.
*
@@ -116,7 +113,6 @@ class DeleteDevicesJob : public BaseJob {
public:
/*! \brief Bulk deletion of devices
*
- *
* \param devices
* The list of device IDs to delete.
*