32 ServiceNowRestClient::ServiceNowRestClient
rest;
118 static hash<string, bool>
parseBools(hash<auto> h);
*hash< auto > getAccessIdIntern(string sys_id, reference< string > name)
Returns access info for one table; must be called with the lock held.
*hash< auto > getAllAccess()
Returns access info for all tables.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*hash< auto > accessid
Table access keyed by table ID.
Definition: ServiceNowTablesDataProvider.qc.dox.h:42
hash< string, string > scmap
Superclass map; child -> parent.
Definition: ServiceNowTablesDataProvider.qc.dox.h:48
string getName()
Returns the data provider name.
Qore ServiceNowRestDataProvider module definition.
Definition: ServiceNowRestDataProvider.qc.dox.h:32
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
*hash< auto > meta
Metadata keyed by table name.
Definition: ServiceNowTablesDataProvider.qc.dox.h:45
*hash< auto > getAccess(string name)
Returns access info for one table.
*hash< auto > getMetadata(string name)
Returns metadata for the given table.
static hash< string, bool > parseBools(hash< auto > h)
Returns a hash with all values parsed to boolean values.
bool all_access
Flag if all access info has been queried.
Definition: ServiceNowTablesDataProvider.qc.dox.h:36
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
*hash< auto > access
Table access keyed by table name.
Definition: ServiceNowTablesDataProvider.qc.dox.h:39
*hash< auto > getMetadataIntern(string name)
Returns metadata for the given table; must have the lock held.
constructor(ServiceNowRestClient rest)
Creates the object from the arguments.
The ServiceNowTablesDataProvider data provider class.
Definition: ServiceNowTablesDataProvider.qc.dox.h:28
Qore::Thread::Mutex lck()
Metadata mutex.
ServiceNowRestClient::ServiceNowRestClient rest
The REST client object for API calls.
Definition: ServiceNowTablesDataProvider.qc.dox.h:32