aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/profile.h')
-rw-r--r--jobs/generated/profile.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/jobs/generated/profile.h b/jobs/generated/profile.h
new file mode 100644
index 00000000..8e2b195b
--- /dev/null
+++ b/jobs/generated/profile.h
@@ -0,0 +1,80 @@
+/******************************************************************************
+ * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
+ */
+
+
+#pragma once
+
+#include "../basejob.h"
+
+#include <QtCore/QString>
+
+
+namespace QMatrixClient
+{
+
+ // Operations
+
+ class SetDisplayNameJob : public BaseJob
+ {
+ public:
+ explicit SetDisplayNameJob(QString userId, QString displayname = {});
+
+ };
+ class GetDisplayNameJob : public BaseJob
+ {
+ public:
+ explicit GetDisplayNameJob(QString userId);
+
+ ~GetDisplayNameJob() override;
+
+ const QString& displayname() const;
+
+ protected:
+ Status parseJson(const QJsonDocument& data) override;
+
+ private:
+ class Private;
+ Private* d;
+ };
+ class SetAvatarUrlJob : public BaseJob
+ {
+ public:
+ explicit SetAvatarUrlJob(QString userId, QString avatar_url = {});
+
+ };
+ class GetAvatarUrlJob : public BaseJob
+ {
+ public:
+ explicit GetAvatarUrlJob(QString userId);
+
+ ~GetAvatarUrlJob() override;
+
+ const QString& avatar_url() const;
+
+ protected:
+ Status parseJson(const QJsonDocument& data) override;
+
+ private:
+ class Private;
+ Private* d;
+ };
+ class GetUserProfileJob : public BaseJob
+ {
+ public:
+ explicit GetUserProfileJob(QString userId);
+
+ ~GetUserProfileJob() override;
+
+ const QString& avatar_url() const;
+ const QString& displayname() const;
+
+ protected:
+ Status parseJson(const QJsonDocument& data) override;
+
+ private:
+ class Private;
+ Private* d;
+ };
+
+} // namespace QMatrixClient