Qore ServiceNowRestDataProvider Module Reference  1.0.1
ServiceNowRestDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 // minimum required Qore version
26 // assume local scope for variables, do not use "$" signs
27 // require type definitions everywhere
28 // strict argument handling
29 // enable all warnings
30 
34 class ServiceNowRestDataProvider : public DataProvider::AbstractDataProvider {
35 
36 public:
38  ServiceNowRestClient::ServiceNowRestClient rest;
39 
41  const ProviderInfo = ...;
42 
43 
45  const ConstructorOptions = ...;
46 
47 
49  const EnvOptions = ...;
50 
51 
53  constructor(ServiceNowRestClient::ServiceNowRestClient rest);
54 
55 
57  constructor(*hash<auto> options);
58 
59 
61  string getName();
62 
63 
64 
66 protected:
67  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
68 public:
69 
70 
72 
74 protected:
75  *list<string> getChildProviderNamesImpl();
76 public:
77 
78 
80 
84 protected:
85  *DataProvider::AbstractDataProvider getChildProviderImpl(string name);
86 public:
87 
88 
90 protected:
91  static *hash<auto> getClientOptions(*hash<auto> copts);
92 public:
93 
94 };
95 };
ServiceNowRestDataProvider::ServiceNowRestDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
ServiceNowRestDataProvider::ServiceNowRestDataProvider::getName
string getName()
Returns the data provider name.
ServiceNowRestDataProvider::ServiceNowRestDataProvider::getChildProviderImpl
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
ServiceNowRestDataProvider::ServiceNowRestDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
ServiceNowRestDataProvider::ServiceNowRestDataProvider::rest
ServiceNowRestClient::ServiceNowRestClient rest
The REST client object for API calls.
Definition: ServiceNowRestDataProvider.qc.dox.h:38
ServiceNowRestDataProvider
Qore ServiceNowRestDataProvider module definition.
Definition: ServiceNowRestDataProvider.qc.dox.h:32
ServiceNowRestDataProvider::ServiceNowRestDataProvider::constructor
constructor(ServiceNowRestClient::ServiceNowRestClient rest)
Creates the object from the arguments.
ServiceNowRestDataProvider::ServiceNowRestDataProvider::getClientOptions
static *hash< auto > getClientOptions(*hash< auto > copts)
Returns options for the ServiceNowRestClient.
ServiceNowRestDataProvider::ServiceNowRestDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.