Qore SwaggerDataProvider Module Reference  1.0.3
SwaggerDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 namespace SwaggerDataProvider {
28 class SwaggerDataProvider : public AbstractDataProvider {
29 
30 public:
32  SwaggerSchema schema;
33 
36 
38  string uri_path = "/";
39 
41  const ProviderInfo = ...;
42 
43 
45  const ConstructorOptions = ...;
46 
47 
49  const HttpMethods = ...;
50 
51 
52 protected:
54  hash<auto> path_tree;
55 
56 public:
57 
59 protected:
60  constructor(hash<auto> path_tree, string uri_path, SwaggerSchema schema, *RestClient rest);
61 public:
62 
63 
65  constructor(SwaggerSchema schema, *RestClient rest);
66 
67 
69  constructor(*hash<auto> options);
70 
71 
73  string getName();
74 
75 
77 protected:
78  checkRestClient(RestClient rest);
79 public:
80 
81 
82 protected:
83  setupTree();
84 public:
85 
86 
88 
90 protected:
91  *list<string> getChildProviderNamesImpl();
92 public:
93 
94 
96 
100 protected:
101  *AbstractDataProvider getChildProviderImpl(string name);
102 public:
103 
104 
106 protected:
107  AbstractDataProvider getChildIntern(string name, *string real_name);
108 public:
109 
110 
112 protected:
113  hash<DataProviderInfo> getStaticInfoImpl();
114 public:
115 
116 };
117 }; // end namespace swagger
SwaggerSchema schema
The Swagger schema.
Definition: SwaggerDataProvider.qc.dox.h:32
Qore SwaggerDataProvider module definition.
Definition: SwaggerDataProvider.qc.dox.h:26
*RestClient rest
The REST client object for API calls.
Definition: SwaggerDataProvider.qc.dox.h:35
hash< auto > path_tree
hash of valid paths
Definition: SwaggerDataProvider.qc.dox.h:54