aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/administrative_contact.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/administrative_contact.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/administrative_contact.h')
-rw-r--r--lib/csapi/administrative_contact.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/csapi/administrative_contact.h b/lib/csapi/administrative_contact.h
index 53c89272..1966d533 100644
--- a/lib/csapi/administrative_contact.h
+++ b/lib/csapi/administrative_contact.h
@@ -4,9 +4,9 @@
#pragma once
-#include "csapi/./definitions/request_email_validation.h"
-#include "csapi/./definitions/request_msisdn_validation.h"
#include "csapi/definitions/auth_data.h"
+#include "csapi/definitions/request_email_validation.h"
+#include "csapi/definitions/request_msisdn_validation.h"
#include "csapi/definitions/request_token_response.h"
#include "jobs/basejob.h"
@@ -124,7 +124,6 @@ public:
/*! \brief Adds contact information to the user's account.
*
- *
* \param threePidCreds
* The third party credentials to associate with the account.
*/
@@ -158,7 +157,6 @@ class Add3PIDJob : public BaseJob {
public:
/*! \brief Adds contact information to the user's account.
*
- *
* \param clientSecret
* The client secret used in the session with the homeserver.
*
@@ -187,7 +185,6 @@ class Bind3PIDJob : public BaseJob {
public:
/*! \brief Binds a 3PID to the user's account through an Identity Service.
*
- *
* \param clientSecret
* The client secret used in the session with the identity server.
*
@@ -217,7 +214,6 @@ class Delete3pidFromAccountJob : public BaseJob {
public:
/*! \brief Deletes a third party identifier from the user's account
*
- *
* \param medium
* The medium of the third party identifier being removed.
*
@@ -261,7 +257,6 @@ class Unbind3pidFromAccountJob : public BaseJob {
public:
/*! \brief Removes a user's third party identifier from an identity server.
*
- *
* \param medium
* The medium of the third party identifier being removed.
*
@@ -307,7 +302,6 @@ public:
/*! \brief Begins the validation process for an email address for
* association with the user's account.
*
- *
* \param body
* The homeserver must check that the given email address is **not**
* already associated with an account on this homeserver. This API should
@@ -324,7 +318,7 @@ public:
/// An email was sent to the given address. Note that this may be an
/// email containing the validation token or it may be informing the
/// user of an error.
- RequestTokenResponse data() const
+ RequestTokenResponse response() const
{
return fromJson<RequestTokenResponse>(jsonData());
}
@@ -346,7 +340,6 @@ public:
/*! \brief Begins the validation process for a phone number for association
* with the user's account.
*
- *
* \param body
* The homeserver must check that the given phone number is **not**
* already associated with an account on this homeserver. This API should
@@ -361,7 +354,7 @@ public:
// Result properties
/// An SMS message was sent to the given phone number.
- RequestTokenResponse data() const
+ RequestTokenResponse response() const
{
return fromJson<RequestTokenResponse>(jsonData());
}