Qore ServiceNowRestDataProvider Module Reference  1.2
ServiceNowRestDataProvider::ServiceNowRestDataProvider Class Reference

The ServiceNowRest data provider class. More...

Inherits DataProvider::AbstractDataProvider.

Public Member Functions

 constructor (__7_ hash< auto > options)
 Creates the object from constructor options.
 
 constructor (ServiceNowRestClient::ServiceNowRestClient rest)
 Creates the object from the arguments.
 
string getDesc ()
 Returns the data provider description.
 
string getName ()
 Returns the data provider name.
 

Public Attributes

const ConstructorOptions
 Constructor options.
 
const EnvOptions
 Environment options.
 
const ProviderInfo
 Provider info.
 
ServiceNowRestClient::ServiceNowRestClient rest
 The REST client object for API calls.
 

Protected Member Functions

__7_ DataProvider::AbstractDataProvider getChildProviderImpl (string name)
 Returns the given child provider or NOTHING if the given child is unknown. More...
 
__7_ list< stringgetChildProviderNamesImpl ()
 Returns a list of child data provider names, if any. More...
 
hash< DataProvider::DataProviderInfo > getStaticInfoImpl ()
 Returns data provider static info.
 

Static Protected Member Functions

static __7_ hash< auto > getClientOptions (__7_ hash< auto > copts)
 Returns options for the ServiceNowRestClient.
 

Detailed Description

The ServiceNowRest data provider class.

Member Function Documentation

◆ getChildProviderImpl()

__7_ DataProvider::AbstractDataProvider ServiceNowRestDataProvider::ServiceNowRestDataProvider::getChildProviderImpl ( string  name)
protected

Returns the given child provider or NOTHING if the given child is unknown.

Returns
the given child provider or NOTHING if the given child is unknown
See also
getChildProviderEx()

◆ getChildProviderNamesImpl()

__7_ list<string> ServiceNowRestDataProvider::ServiceNowRestDataProvider::getChildProviderNamesImpl ( )
protected

Returns a list of child data provider names, if any.

Returns
a list of child data provider names, if any