Qore DiscordDataProvider Module Reference 2.0
Loading...
Searching...
No Matches
DiscordGuildGetDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace DiscordDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
40 const RequestType = AbstractDataProviderTypeMap."nothing";
41
44
45protected:
47 hash<auto> guild;
48
49public:
50
52 constructor(*hash<auto> options);
53
54
56 constructor(DiscordRestClient::DiscordRestClient rest, hash<auto> guild) ;
57
58
60 string getName();
61
62
64 *string getDesc();
65
66
68
73protected:
74 auto doRequestImpl(auto req, *hash<auto> request_options);
75public:
76
77
79
81protected:
82 *DataProvider::AbstractDataProviderType getRequestTypeImpl();
83public:
84
85
87
89protected:
90 *DataProvider::AbstractDataProviderType getResponseTypeImpl();
91public:
92
93
95 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
96
97};
98};
The Discord data provider base class.
Definition DiscordDataProviderBase.qc.dox.h:28
*DiscordRestClient rest
The REST client object for API calls.
Definition DiscordDataProviderBase.qc.dox.h:43
Data provider API for retrieving a specific guild.
Definition DiscordGuildGetDataProvider.qc.dox.h:28
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
*string getDesc()
Returns the data provider description.
const ResponseType
Response type.
Definition DiscordGuildGetDataProvider.qc.dox.h:43
constructor(*hash< auto > options)
Creates the object from constructor options.
constructor(DiscordRestClient::DiscordRestClient rest, hash< auto > guild)
Creates the object from a REST connection.
string getName()
Returns the data provider name.
hash< auto > guild
The guild's data.
Definition DiscordGuildGetDataProvider.qc.dox.h:47
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ProviderInfo
Provider info.
Definition DiscordGuildGetDataProvider.qc.dox.h:32
const RequestType
Request type.
Definition DiscordGuildGetDataProvider.qc.dox.h:40
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ProviderSummaryInfo
Provider summary info.
Definition DiscordGuildGetDataProvider.qc.dox.h:36
Qore DiscordDataProvider module definition.
Definition DiscordDataProvider.qc.dox.h:26
const DiscordGuildDataType
Constant for the Discord guild data type.
Definition DiscordGuildDataType.qc.dox.h:41