libkazv
Loading...
Searching...
No Matches
third_party_membership.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
3 */
4
5#pragma once
6
7#include "basejob.hpp"
8
9
10namespace Kazv::Api {
11
55class InviteBy3PIDJob : public BaseJob {
56public:
57
58
59
60class JobResponse : public Response
61{
62
63public:
65 bool success() const;
66
67};
68 static constexpr auto needsAuth() {
69 return true
70 ;
71 }
72
73
74// Construction/destruction
75
95 explicit InviteBy3PIDJob(std::string serverUrl
96 , std::string _accessToken
97 ,
98 std::string roomId , std::string idServer , std::string idAccessToken , std::string medium , std::string address
99 );
100
101
103 );
104
105 static BaseJob::Body buildBody(std::string roomId, std::string idServer, std::string idAccessToken, std::string medium, std::string address);
106
107
108
109
110
113 };
115 }
116 namespace nlohmann
117 {
118 using namespace Kazv;
119 using namespace Kazv::Api;
120
121 }
122
123 namespace Kazv::Api
124 {
125
126} // namespace Kazv::Api
Definition third_party_membership.hpp:61
bool success() const
Definition third_party_membership.cpp:82
Invite a user to participate in a particular room.
Definition third_party_membership.hpp:55
static BaseJob::Body buildBody(std::string roomId, std::string idServer, std::string idAccessToken, std::string medium, std::string address)
Definition third_party_membership.cpp:21
static constexpr auto needsAuth()
Definition third_party_membership.hpp:68
InviteBy3PIDJob withData(JsonWrap j) &&
Definition third_party_membership.cpp:65
static BaseJob::Query buildQuery()
Definition third_party_membership.cpp:13
Definition basejob.hpp:94
Definition basejob.hpp:68
::Kazv::Body Body
Definition basejob.hpp:103
Definition jsonwrap.hpp:23
Definition location.hpp:10
Definition location.hpp:10
Definition location.hpp:27
Definition basejob.hpp:49