The Swagger data provider common base class.
Definition SwaggerDataProviderCommon.qc.dox.h:28
SwaggerSchema schema
The Swagger schema.
Definition SwaggerDataProviderCommon.qc.dox.h:33
*RestClient::RestClient rest
The REST client object for API calls.
Definition SwaggerDataProviderCommon.qc.dox.h:36
string getName()
Returns the data provider name.
const ProviderInfo
Provider info.
Definition SwaggerDataProvider.qc.dox.h:38
string uri_path
current URI path
Definition SwaggerDataProvider.qc.dox.h:32
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
setSchema(SwaggerSchema schema)
Sets the schema and display name.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
const HttpMethods
Hash of HTTP Methods.
Definition SwaggerDataProvider.qc.dox.h:46
checkRestClient(RestClient rest)
Checks the REST client.
const ConstructorOptions
Constructor options.
Definition SwaggerDataProvider.qc.dox.h:42
constructor(*hash< auto > options)
Creates the object from constructor options.
AbstractDataProvider getChildIntern(string name, *string real_name)
Returns the child provider for the given path component.
string display_name
The value to returns as the name of the object.
Definition SwaggerDataProvider.qc.dox.h:35
constructor(SwaggerSchema schema, *RestClient rest)
Creates the object from the arguments.
object getSchemaObjectImpl()
Returns the schema supporting this data provider.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
constructor(hash< auto > path_tree, string uri_path, SwaggerSchema schema, *RestClient rest)
Private constructor; used when traversing the tree.
*string getDesc()
Returns the data provider description.
hash< auto > path_tree
hash of valid paths
Definition SwaggerDataProvider.qc.dox.h:51
Qore SwaggerDataProvider module definition.
Definition SwaggerDataProvider.qc.dox.h:26