Qore Swagger Module Reference 2.1.1
Loading...
Searching...
No Matches
Swagger::LicenseObject Class Reference

License information for the exposed API. More...

#include <Swagger.qm.dox.h>

Inheritance diagram for Swagger::LicenseObject:
[legend]

Public Member Methods

 constructor (hash< auto > oh)
 Constructor. More...
 
- Public Member Methods inherited from Swagger::ObjectBase
 constructor ()
 Constructor.
 
 constructor (hash< auto > oh)
 Constructor. More...
 
 constructor (ObjectBase other)
 copy constructor
 
 initialize (hash< auto > oh)
 Initialize. More...
 

Public Attributes

string name
 Required. The license name used for the API.
 
*string url
 A URL to the license used for the API. MUST be in the format of a URL.
 
- Public Attributes inherited from Swagger::ObjectBase
hash< auto > vendorExtensions
 Allows extensions to the Swagger Schema. More...
 

Detailed Description

License information for the exposed API.

Member Function Documentation

◆ constructor()

Swagger::LicenseObject::constructor ( hash< auto >  oh)

Constructor.

Parameters
ohdeserialized hash from the source schema description providing license information about the API
Exceptions
INVALID-FIELD-TYPEfield has invalid type
REQUIRED-FIELD-MISSINGrequired field is missing