Qore RestClientDataProvider Module Reference  1.0
RestClientDataProvider::RestClientDataProvider Class Reference

The REST client data provider class, provides API classes as children. More...

Inherits AbstractDataProvider.

Public Member Functions

 constructor (__7_ hash< auto > options)
 Creates the object from constructor options.
 
 constructor (RestClient rest)
 Creates the object from a REST connection.
 
__7_ list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo ()
 Return data provider summary info.
 
__7_ string getDesc ()
 Returns the data provider description.
 
string getName ()
 Returns the data provider name.
 

Static Public Member Functions

static RestClient getRestConnection (hash< auto > options)
 Returns a REST connection.
 
static hash< auto > makeRequest (RestClient rest, string meth, __7_ data body, string path, __7_ hash< auto > hdr)
 Makes a REST request and returns the response.
 
static hash< auto > processRestOptions (hash< auto > options)
 Processes common REST options.
 

Public Attributes

const ConstructorOptions
 Constructor arguments.
 
const ProviderInfo
 Provider info.
 

Protected Member Functions

__7_ 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< DataProviderInfo > getStaticInfoImpl ()
 Returns data provider static info.
 

Detailed Description

The REST client data provider class, provides API classes as children.

Member Function Documentation

◆ getChildProviderImpl()

__7_ AbstractDataProvider RestClientDataProvider::RestClientDataProvider::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> RestClientDataProvider::RestClientDataProvider::getChildProviderNamesImpl ( )
protected

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

Returns
a list of child data provider names, if any