33 "name":
"guilds-by-name",
34 "desc":
"Discord guilds data provider; parent provider for REST APIs related to specific Discord "
35 "guilds indexed by name",
36 "type":
"DiscordGuildsByNameDataProvider",
38 "supports_children": True,
39 "children_can_support_apis": True,
40 "children_identical": True,
45 AbstractDataProvider::DataProviderSummaryInfoKeys
53 Qore::Thread::Mutex
lck();
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
const ConstructorOptions
Constructor options.
Definition DiscordDataProvider.qc.dox.h:43
The parent class for REST APIs related to specific Discord guilds.
Definition DiscordGuildsByNameDataProvider.qc.dox.h:28
constructor(DiscordRestClient::DiscordRestClient rest)
Creates the object from a REST connection.
hash< string, hash< auto > > getAllGuilds()
Returns access info for all tables.
*string getDesc()
Returns the data provider description.
constructor(*hash< auto > options)
Creates the object from constructor options.
*DiscordDataProviderBase 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.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
hash< string, hash< auto > > guilds
Guild list.
Definition DiscordGuildsByNameDataProvider.qc.dox.h:50
static hash< DataProviderInfo > ProviderInfo
Provider info.
Definition DiscordGuildsByNameDataProvider.qc.dox.h:32
string getName()
Returns the data provider name.
Qore::Thread::Mutex lck()
Metadata mutex.
static hash< DataProviderSummaryInfo > ProviderSummaryInfo
Provider summary info.
Definition DiscordGuildsByNameDataProvider.qc.dox.h:44
Qore DiscordDataProvider module definition.
Definition DiscordDataProvider.qc.dox.h:26