aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/account-data.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-17 07:42:13 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-17 07:49:41 +0200
commit7036ed0dcb137cb5cbb6b426dd338c5e2e4c6424 (patch)
treefa9e37d8874303bf56d5381b0844738bd516a79b /lib/csapi/account-data.h
parent906699cc525e9e0be231a58cabffc31ad1f5193c (diff)
downloadlibquotient-7036ed0dcb137cb5cbb6b426dd338c5e2e4c6424.tar.gz
libquotient-7036ed0dcb137cb5cbb6b426dd338c5e2e4c6424.zip
Regenerate API files using new GTAD and refreshed templates
No functional changes.
Diffstat (limited to 'lib/csapi/account-data.h')
-rw-r--r--lib/csapi/account-data.h57
1 files changed, 27 insertions, 30 deletions
diff --git a/lib/csapi/account-data.h b/lib/csapi/account-data.h
index 7417da0d..a8dba5c0 100644
--- a/lib/csapi/account-data.h
+++ b/lib/csapi/account-data.h
@@ -8,21 +8,20 @@
#include <QtCore/QJsonObject>
-namespace Quotient
-{
+namespace Quotient {
// Operations
-/// Set some account_data for the user.
-/*!
+/*! \brief Set some account_data for the user.
+ *
* Set some account_data for the client. This config is only visible to the user
* that set the account_data. The config will be synced to clients in the
* top-level ``account_data``.
*/
-class SetAccountDataJob : public BaseJob
-{
+class SetAccountDataJob : public BaseJob {
public:
- /*! Set some account_data for the user.
+ /*! \brief Set some account_data for the user.
+ *
* \param userId
* The ID of the user to set account_data for. The access token must be
* authorized to make requests for this user ID.
@@ -36,15 +35,15 @@ public:
const QJsonObject& content = {});
};
-/// Get some account_data for the user.
-/*!
+/*! \brief Get some account_data for the user.
+ *
* Get some account_data for the client. This config is only visible to the user
* that set the account_data.
*/
-class GetAccountDataJob : public BaseJob
-{
+class GetAccountDataJob : public BaseJob {
public:
- /*! Get some account_data for the user.
+ /*! \brief Get some account_data for the user.
+ *
* \param userId
* The ID of the user to get account_data for. The access token must be
* authorized to make requests for this user ID.
@@ -54,26 +53,25 @@ public:
*/
explicit GetAccountDataJob(const QString& userId, const QString& type);
- /*! Construct a URL without creating a full-fledged job object
+ /*! \brief Construct a URL without creating a full-fledged job object
*
- * This function can be used when a URL for
- * GetAccountDataJob is necessary but the job
- * itself isn't.
+ * This function can be used when a URL for GetAccountDataJob
+ * is necessary but the job itself isn't.
*/
static QUrl makeRequestUrl(QUrl baseUrl, const QString& userId,
const QString& type);
};
-/// Set some account_data for the user.
-/*!
+/*! \brief Set some account_data for the user.
+ *
* Set some account_data for the client on a given room. This config is only
* visible to the user that set the account_data. The config will be synced to
* clients in the per-room ``account_data``.
*/
-class SetAccountDataPerRoomJob : public BaseJob
-{
+class SetAccountDataPerRoomJob : public BaseJob {
public:
- /*! Set some account_data for the user.
+ /*! \brief Set some account_data for the user.
+ *
* \param userId
* The ID of the user to set account_data for. The access token must be
* authorized to make requests for this user ID.
@@ -90,15 +88,15 @@ public:
const QJsonObject& content = {});
};
-/// Get some account_data for the user.
-/*!
+/*! \brief Get some account_data for the user.
+ *
* Get some account_data for the client on a given room. This config is only
* visible to the user that set the account_data.
*/
-class GetAccountDataPerRoomJob : public BaseJob
-{
+class GetAccountDataPerRoomJob : public BaseJob {
public:
- /*! Get some account_data for the user.
+ /*! \brief Get some account_data for the user.
+ *
* \param userId
* The ID of the user to set account_data for. The access token must be
* authorized to make requests for this user ID.
@@ -112,11 +110,10 @@ public:
const QString& roomId,
const QString& type);
- /*! Construct a URL without creating a full-fledged job object
+ /*! \brief Construct a URL without creating a full-fledged job object
*
- * This function can be used when a URL for
- * GetAccountDataPerRoomJob is necessary but the job
- * itself isn't.
+ * This function can be used when a URL for GetAccountDataPerRoomJob
+ * is necessary but the job itself isn't.
*/
static QUrl makeRequestUrl(QUrl baseUrl, const QString& userId,
const QString& roomId, const QString& type);