Qore ServiceNowRestDataProvider Module Reference  1.2
ServiceNowRestDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
28 class ServiceNowRestDataProvider : public DataProvider::AbstractDataProvider {
29 
30 public:
32  ServiceNowRestClient::ServiceNowRestClient rest;
33 
35  const ProviderInfo = ...;
36 
37 
39  const ConstructorOptions = ...;
40 
41 
43  const EnvOptions = ...;
44 
45 
47  constructor(ServiceNowRestClient::ServiceNowRestClient rest);
48 
49 
51  constructor(*hash<auto> options);
52 
53 
55  string getName();
56 
57 
58 
60 protected:
61  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
62 public:
63 
64 
66 
68 protected:
69  *list<string> getChildProviderNamesImpl();
70 public:
71 
72 
74 
78 protected:
79  *DataProvider::AbstractDataProvider getChildProviderImpl(string name);
80 public:
81 
82 
84 protected:
85  static *hash<auto> getClientOptions(*hash<auto> copts);
86 public:
87 
88 };
89 };
ServiceNowRestClient::ServiceNowRestClient rest
The REST client object for API calls.
Definition: ServiceNowRestDataProvider.qc.dox.h:32
constructor(*hash< auto > options)
Creates the object from constructor options.
string getName()
Returns the data provider name.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*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.
constructor(ServiceNowRestClient::ServiceNowRestClient rest)
Creates the object from the arguments.
static *hash< auto > getClientOptions(*hash< auto > copts)
Returns options for the ServiceNowRestClient.
Qore ServiceNowRestDataProvider module definition.
Definition: ServiceNowRestDataProvider.qc.dox.h:26