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