36 "type":
"DiscordDataProvider",
37 "supports_children": True,
39 "children_can_support_apis": True,
47 static hash<string, code> dynamic_children;
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
*DiscordRestConnection conn
The connection object used to create the REST client.
Definition DiscordDataProviderBase.qc.dox.h:40
constructor(*hash< auto > options)
Creates the object from constructor options.
constructor(DiscordRestClient rest)
Creates the object from a DiscordRestClient.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
static DiscordRestClient::DiscordRestClient getRestConnection(*hash< auto > options)
Returns a DiscordRestClient connection from the options.
static registerChild(string name, code generator)
Registers a child data provider.
*string getDesc()
Returns the data provider description.
constructor(DiscordRestConnection conn)
Creates the object from a DiscordRestClient.
string getName()
Returns the data provider name.
static hash< DataProviderInfo > ProviderInfo
Provider info.
Definition DiscordDataProvider.qc.dox.h:35
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
const ConstructorOptions
Constructor options.
Definition DiscordDataProvider.qc.dox.h:43
Qore DiscordDataProvider module definition.
Definition DiscordDataProvider.qc.dox.h:26
const AppName
Discord application name.
Definition DiscordDataProvider.qc.dox.h:28