mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
WIP: autogenerate models based on OpenAPI
This commit is contained in:
parent
4ed6a8a42d
commit
40d8793bd8
553 changed files with 50785 additions and 1500 deletions
|
@ -33,13 +33,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include "apiclient.h"
|
||||
#include "jsonhelper.h"
|
||||
|
||||
#include "DTO/item.h"
|
||||
#include "DTO/user.h"
|
||||
#include "DTO/userdata.h"
|
||||
|
||||
namespace Jellyfin {
|
||||
|
||||
namespace DTO {
|
||||
class Item;
|
||||
class JsonSerializable;
|
||||
class User;
|
||||
}
|
||||
class SortOptions : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
@ -217,7 +216,7 @@ protected:
|
|||
* The model will have roleNames for "name" and "id".
|
||||
*
|
||||
*/
|
||||
template <typename T>
|
||||
template <class T>
|
||||
class ApiModel : public BaseApiModel {
|
||||
public:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue