| Qore DiscordDataProvider Module Reference 2.0

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