1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 10:12:46 +00:00

WIP: Code cleanup, trying to debug Q_ENUM not visible from QML

This commit is contained in:
Chris Josten 2021-03-29 14:27:37 +02:00
parent 729e343661
commit 89fef6d7f4
642 changed files with 63194 additions and 26509 deletions

View file

@ -19,9 +19,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include "JellyfinQt/apimodel.h"
#include "JellyfinQt/DTO/baseitemdto.h"
#include "JellyfinQt/DTO/useritemdatadto.h"
#include "JellyfinQt/DTO/userdto.h"
#include "JellyfinQt/dto/baseitemdto.h"
#include "JellyfinQt/dto/useritemdatadto.h"
#include "JellyfinQt/dto/userdto.h"
namespace Jellyfin {

View file

@ -23,21 +23,20 @@ void registerTypes(const char *uri) {
qmlRegisterType<ApiClient>(uri, 1, 0, "ApiClient");
qmlRegisterType<ServerDiscoveryModel>(uri, 1, 0, "ServerDiscoveryModel");
qmlRegisterUncreatableType<ViewModel::Item>(uri, 1, 0, "Item", "Acquire one via ItemLoader or exposed properties");
qmlRegisterUncreatableType<BaseApiModel>(uri, 1, 0, "BaseApiModel", "Please use one of its subclasses");
qmlRegisterUncreatableType<BaseModelLoader>(uri, 1, 0, "BaseModelLoader", "Please use one of its subclasses");
qmlRegisterUncreatableType<ModelStatusClass>(uri, 1, 0, "ModelStatus", "Is an enum");
qmlRegisterType<ViewModel::LoaderBase>(uri, 1, 0, "ItemLoader");
qmlRegisterUncreatableType<ViewModel::LoaderBase>(uri, 1, 0, "LoaderBase", "Use on eof its subclasses");
qmlRegisterUncreatableType<ViewModel::Item>(uri, 1, 0, "Item", "Acquire one via ItemLoader or exposed properties");
qmlRegisterType<ViewModel::ModelStatusTest>(uri, 1, 0, "ModelStatusTest");
qmlRegisterType<ViewModel::ItemLoader>(uri, 1, 0, "ItemLoader");
qmlRegisterType<ViewModel::ItemModel>(uri, 1, 0, "ItemModel");
qmlRegisterType<ViewModel::UserViewsLoader>(uri, 1, 0, "UsersViewLoader");
qmlRegisterType<ViewModel::PlaybackManager>(uri, 1, 0, "PlaybackManager");
qmlRegisterUncreatableType<DTO::GeneralCommandTypeClass>(uri, 1, 0, "GeneralCommandType", "Is an enum");
// API models
Jellyfin::registerModels(uri);
//Jellyfin::DTO::registerTypes(uri);
Jellyfin::ViewModel::registerRemoteTypes(uri);
qmlRegisterUncreatableType<DTO::GeneralCommandTypeClass>(uri, 1, 0, "GeneralCommandType", "Is an enum");
qmlRegisterUncreatableType<ViewModel::ModelStatusClass>(uri, 1, 0, "ModelStatus", "Is an enum");
}
}

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/activateparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// ActivateParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,104 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/addlistingproviderparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AddListingProviderParams
const QString &AddListingProviderParams::pw() const {
return m_pw;
}
void AddListingProviderParams::setPw(QString newPw) {
m_pw = newPw;
}
bool AddListingProviderParams::pwNull() const {
// Nullable: true
// Type Nullable: true
return m_pw.isNull();
}
void AddListingProviderParams::setPwNull() {
m_pw.clear();
}
const bool &AddListingProviderParams::validateListings() const {
return m_validateListings.value();
}
void AddListingProviderParams::setValidateListings(bool newValidateListings) {
m_validateListings = newValidateListings;
}
bool AddListingProviderParams::validateListingsNull() const {
// Nullable: false
// Type Nullable: false
return !m_validateListings.has_value();
}
void AddListingProviderParams::setValidateListingsNull() {
m_validateListings = std::nullopt;
}
const bool &AddListingProviderParams::validateLogin() const {
return m_validateLogin.value();
}
void AddListingProviderParams::setValidateLogin(bool newValidateLogin) {
m_validateLogin = newValidateLogin;
}
bool AddListingProviderParams::validateLoginNull() const {
// Nullable: false
// Type Nullable: false
return !m_validateLogin.has_value();
}
void AddListingProviderParams::setValidateLoginNull() {
m_validateLogin = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/addmediapathparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AddMediaPathParams
const bool &AddMediaPathParams::refreshLibrary() const {
return m_refreshLibrary.value();
}
void AddMediaPathParams::setRefreshLibrary(bool newRefreshLibrary) {
m_refreshLibrary = newRefreshLibrary;
}
bool AddMediaPathParams::refreshLibraryNull() const {
// Nullable: false
// Type Nullable: false
return !m_refreshLibrary.has_value();
}
void AddMediaPathParams::setRefreshLibraryNull() {
m_refreshLibrary = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,59 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/addtocollectionparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AddToCollectionParams
const QString &AddToCollectionParams::collectionId() const {
return m_collectionId;
}
void AddToCollectionParams::setCollectionId(QString newCollectionId) {
m_collectionId = newCollectionId;
}
const QStringList &AddToCollectionParams::ids() const {
return m_ids;
}
void AddToCollectionParams::setIds(QStringList newIds) {
m_ids = newIds;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,92 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/addtoplaylistparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AddToPlaylistParams
const QString &AddToPlaylistParams::playlistId() const {
return m_playlistId;
}
void AddToPlaylistParams::setPlaylistId(QString newPlaylistId) {
m_playlistId = newPlaylistId;
}
const QStringList &AddToPlaylistParams::ids() const {
return m_ids;
}
void AddToPlaylistParams::setIds(QStringList newIds) {
m_ids = newIds;
}
bool AddToPlaylistParams::idsNull() const {
// Nullable: true
// Type Nullable: true
return m_ids.size() == 0;
}
void AddToPlaylistParams::setIdsNull() {
m_ids.clear();
}
const QString &AddToPlaylistParams::userId() const {
return m_userId;
}
void AddToPlaylistParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool AddToPlaylistParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void AddToPlaylistParams::setUserIdNull() {
m_userId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/addtunerhostparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AddTunerHostParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,59 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/addusertosessionparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AddUserToSessionParams
const QString &AddUserToSessionParams::sessionId() const {
return m_sessionId;
}
void AddUserToSessionParams::setSessionId(QString newSessionId) {
m_sessionId = newSessionId;
}
const QString &AddUserToSessionParams::userId() const {
return m_userId;
}
void AddUserToSessionParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,125 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/addvirtualfolderparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AddVirtualFolderParams
const QString &AddVirtualFolderParams::collectionType() const {
return m_collectionType;
}
void AddVirtualFolderParams::setCollectionType(QString newCollectionType) {
m_collectionType = newCollectionType;
}
bool AddVirtualFolderParams::collectionTypeNull() const {
// Nullable: true
// Type Nullable: true
return m_collectionType.isNull();
}
void AddVirtualFolderParams::setCollectionTypeNull() {
m_collectionType.clear();
}
const QString &AddVirtualFolderParams::name() const {
return m_name;
}
void AddVirtualFolderParams::setName(QString newName) {
m_name = newName;
}
bool AddVirtualFolderParams::nameNull() const {
// Nullable: true
// Type Nullable: true
return m_name.isNull();
}
void AddVirtualFolderParams::setNameNull() {
m_name.clear();
}
const QStringList &AddVirtualFolderParams::paths() const {
return m_paths;
}
void AddVirtualFolderParams::setPaths(QStringList newPaths) {
m_paths = newPaths;
}
bool AddVirtualFolderParams::pathsNull() const {
// Nullable: true
// Type Nullable: true
return m_paths.size() == 0;
}
void AddVirtualFolderParams::setPathsNull() {
m_paths.clear();
}
const bool &AddVirtualFolderParams::refreshLibrary() const {
return m_refreshLibrary.value();
}
void AddVirtualFolderParams::setRefreshLibrary(bool newRefreshLibrary) {
m_refreshLibrary = newRefreshLibrary;
}
bool AddVirtualFolderParams::refreshLibraryNull() const {
// Nullable: false
// Type Nullable: false
return !m_refreshLibrary.has_value();
}
void AddVirtualFolderParams::setRefreshLibraryNull() {
m_refreshLibrary = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,71 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/applysearchcriteriaparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// ApplySearchCriteriaParams
const QString &ApplySearchCriteriaParams::itemId() const {
return m_itemId;
}
void ApplySearchCriteriaParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
const bool &ApplySearchCriteriaParams::replaceAllImages() const {
return m_replaceAllImages.value();
}
void ApplySearchCriteriaParams::setReplaceAllImages(bool newReplaceAllImages) {
m_replaceAllImages = newReplaceAllImages;
}
bool ApplySearchCriteriaParams::replaceAllImagesNull() const {
// Nullable: false
// Type Nullable: false
return !m_replaceAllImages.has_value();
}
void ApplySearchCriteriaParams::setReplaceAllImagesNull() {
m_replaceAllImages = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/authenticateuserbynameparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AuthenticateUserByNameParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,80 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/authenticateuserparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AuthenticateUserParams
const QString &AuthenticateUserParams::userId() const {
return m_userId;
}
void AuthenticateUserParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
const QString &AuthenticateUserParams::pw() const {
return m_pw;
}
void AuthenticateUserParams::setPw(QString newPw) {
m_pw = newPw;
}
const QString &AuthenticateUserParams::password() const {
return m_password;
}
void AuthenticateUserParams::setPassword(QString newPassword) {
m_password = newPassword;
}
bool AuthenticateUserParams::passwordNull() const {
// Nullable: true
// Type Nullable: true
return m_password.isNull();
}
void AuthenticateUserParams::setPasswordNull() {
m_password.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/authenticatewithquickconnectparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AuthenticateWithQuickConnectParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/authorizeparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AuthorizeParams
const QString &AuthorizeParams::code() const {
return m_code;
}
void AuthorizeParams::setCode(QString newCode) {
m_code = newCode;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/availableparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// AvailableParams
const QuickConnectState &AvailableParams::status() const {
return m_status;
}
void AvailableParams::setStatus(QuickConnectState newStatus) {
m_status = newStatus;
}
bool AvailableParams::statusNull() const {
// Nullable: true
// Type Nullable: true
return m_status== QuickConnectState::EnumNotSet;
}
void AvailableParams::setStatusNull() {
m_status= QuickConnectState::EnumNotSet;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/cancelpackageinstallationparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CancelPackageInstallationParams
const QString &CancelPackageInstallationParams::packageId() const {
return m_packageId;
}
void CancelPackageInstallationParams::setPackageId(QString newPackageId) {
m_packageId = newPackageId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/cancelseriestimerparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CancelSeriesTimerParams
const QString &CancelSeriesTimerParams::timerId() const {
return m_timerId;
}
void CancelSeriesTimerParams::setTimerId(QString newTimerId) {
m_timerId = newTimerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/canceltimerparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CancelTimerParams
const QString &CancelTimerParams::timerId() const {
return m_timerId;
}
void CancelTimerParams::setTimerId(QString newTimerId) {
m_timerId = newTimerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/closelivestreamparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CloseLiveStreamParams
const QString &CloseLiveStreamParams::liveStreamId() const {
return m_liveStreamId;
}
void CloseLiveStreamParams::setLiveStreamId(QString newLiveStreamId) {
m_liveStreamId = newLiveStreamId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/completewizardparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CompleteWizardParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/connectparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// ConnectParams
const QString &ConnectParams::secret() const {
return m_secret;
}
void ConnectParams::setSecret(QString newSecret) {
m_secret = newSecret;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,125 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/createadminnotificationparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CreateAdminNotificationParams
const QString &CreateAdminNotificationParams::description() const {
return m_description;
}
void CreateAdminNotificationParams::setDescription(QString newDescription) {
m_description = newDescription;
}
bool CreateAdminNotificationParams::descriptionNull() const {
// Nullable: true
// Type Nullable: true
return m_description.isNull();
}
void CreateAdminNotificationParams::setDescriptionNull() {
m_description.clear();
}
const NotificationLevel &CreateAdminNotificationParams::level() const {
return m_level;
}
void CreateAdminNotificationParams::setLevel(NotificationLevel newLevel) {
m_level = newLevel;
}
bool CreateAdminNotificationParams::levelNull() const {
// Nullable: true
// Type Nullable: true
return m_level== NotificationLevel::EnumNotSet;
}
void CreateAdminNotificationParams::setLevelNull() {
m_level= NotificationLevel::EnumNotSet;
}
const QString &CreateAdminNotificationParams::name() const {
return m_name;
}
void CreateAdminNotificationParams::setName(QString newName) {
m_name = newName;
}
bool CreateAdminNotificationParams::nameNull() const {
// Nullable: true
// Type Nullable: true
return m_name.isNull();
}
void CreateAdminNotificationParams::setNameNull() {
m_name.clear();
}
const QString &CreateAdminNotificationParams::url() const {
return m_url;
}
void CreateAdminNotificationParams::setUrl(QString newUrl) {
m_url = newUrl;
}
bool CreateAdminNotificationParams::urlNull() const {
// Nullable: true
// Type Nullable: true
return m_url.isNull();
}
void CreateAdminNotificationParams::setUrlNull() {
m_url.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,125 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/createcollectionparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CreateCollectionParams
const QStringList &CreateCollectionParams::ids() const {
return m_ids;
}
void CreateCollectionParams::setIds(QStringList newIds) {
m_ids = newIds;
}
bool CreateCollectionParams::idsNull() const {
// Nullable: true
// Type Nullable: true
return m_ids.size() == 0;
}
void CreateCollectionParams::setIdsNull() {
m_ids.clear();
}
const bool &CreateCollectionParams::isLocked() const {
return m_isLocked.value();
}
void CreateCollectionParams::setIsLocked(bool newIsLocked) {
m_isLocked = newIsLocked;
}
bool CreateCollectionParams::isLockedNull() const {
// Nullable: false
// Type Nullable: false
return !m_isLocked.has_value();
}
void CreateCollectionParams::setIsLockedNull() {
m_isLocked = std::nullopt;
}
const QString &CreateCollectionParams::name() const {
return m_name;
}
void CreateCollectionParams::setName(QString newName) {
m_name = newName;
}
bool CreateCollectionParams::nameNull() const {
// Nullable: true
// Type Nullable: true
return m_name.isNull();
}
void CreateCollectionParams::setNameNull() {
m_name.clear();
}
const QString &CreateCollectionParams::parentId() const {
return m_parentId;
}
void CreateCollectionParams::setParentId(QString newParentId) {
m_parentId = newParentId;
}
bool CreateCollectionParams::parentIdNull() const {
// Nullable: true
// Type Nullable: true
return m_parentId.isNull();
}
void CreateCollectionParams::setParentIdNull() {
m_parentId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/createkeyparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CreateKeyParams
const QString &CreateKeyParams::app() const {
return m_app;
}
void CreateKeyParams::setApp(QString newApp) {
m_app = newApp;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,125 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/createplaylistparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CreatePlaylistParams
const QStringList &CreatePlaylistParams::ids() const {
return m_ids;
}
void CreatePlaylistParams::setIds(QStringList newIds) {
m_ids = newIds;
}
bool CreatePlaylistParams::idsNull() const {
// Nullable: true
// Type Nullable: true
return m_ids.size() == 0;
}
void CreatePlaylistParams::setIdsNull() {
m_ids.clear();
}
const QString &CreatePlaylistParams::mediaType() const {
return m_mediaType;
}
void CreatePlaylistParams::setMediaType(QString newMediaType) {
m_mediaType = newMediaType;
}
bool CreatePlaylistParams::mediaTypeNull() const {
// Nullable: true
// Type Nullable: true
return m_mediaType.isNull();
}
void CreatePlaylistParams::setMediaTypeNull() {
m_mediaType.clear();
}
const QString &CreatePlaylistParams::name() const {
return m_name;
}
void CreatePlaylistParams::setName(QString newName) {
m_name = newName;
}
bool CreatePlaylistParams::nameNull() const {
// Nullable: true
// Type Nullable: true
return m_name.isNull();
}
void CreatePlaylistParams::setNameNull() {
m_name.clear();
}
const QString &CreatePlaylistParams::userId() const {
return m_userId;
}
void CreatePlaylistParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool CreatePlaylistParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void CreatePlaylistParams::setUserIdNull() {
m_userId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/createprofileparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CreateProfileParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/createseriestimerparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CreateSeriesTimerParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/createtimerparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CreateTimerParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/createuserbynameparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// CreateUserByNameParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deauthorizeparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeauthorizeParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deletealternatesourcesparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteAlternateSourcesParams
const QString &DeleteAlternateSourcesParams::itemId() const {
return m_itemId;
}
void DeleteAlternateSourcesParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deletedeviceparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteDeviceParams
const QString &DeleteDeviceParams::jellyfinId() const {
return m_jellyfinId;
}
void DeleteDeviceParams::setJellyfinId(QString newJellyfinId) {
m_jellyfinId = newJellyfinId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,68 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleteitemimagebyindexparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteItemImageByIndexParams
const qint32 &DeleteItemImageByIndexParams::imageIndex() const {
return m_imageIndex;
}
void DeleteItemImageByIndexParams::setImageIndex(qint32 newImageIndex) {
m_imageIndex = newImageIndex;
}
const ImageType &DeleteItemImageByIndexParams::imageType() const {
return m_imageType;
}
void DeleteItemImageByIndexParams::setImageType(ImageType newImageType) {
m_imageType = newImageType;
}
const QString &DeleteItemImageByIndexParams::itemId() const {
return m_itemId;
}
void DeleteItemImageByIndexParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,80 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleteitemimageparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteItemImageParams
const ImageType &DeleteItemImageParams::imageType() const {
return m_imageType;
}
void DeleteItemImageParams::setImageType(ImageType newImageType) {
m_imageType = newImageType;
}
const QString &DeleteItemImageParams::itemId() const {
return m_itemId;
}
void DeleteItemImageParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
const qint32 &DeleteItemImageParams::imageIndex() const {
return m_imageIndex.value();
}
void DeleteItemImageParams::setImageIndex(qint32 newImageIndex) {
m_imageIndex = newImageIndex;
}
bool DeleteItemImageParams::imageIndexNull() const {
// Nullable: true
// Type Nullable: false
return !m_imageIndex.has_value();
}
void DeleteItemImageParams::setImageIndexNull() {
m_imageIndex = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleteitemparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteItemParams
const QString &DeleteItemParams::itemId() const {
return m_itemId;
}
void DeleteItemParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleteitemsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteItemsParams
const QStringList &DeleteItemsParams::ids() const {
return m_ids;
}
void DeleteItemsParams::setIds(QStringList newIds) {
m_ids = newIds;
}
bool DeleteItemsParams::idsNull() const {
// Nullable: true
// Type Nullable: true
return m_ids.size() == 0;
}
void DeleteItemsParams::setIdsNull() {
m_ids.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deletelistingproviderparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteListingProviderParams
const QString &DeleteListingProviderParams::jellyfinId() const {
return m_jellyfinId;
}
void DeleteListingProviderParams::setJellyfinId(QString newJellyfinId) {
m_jellyfinId = newJellyfinId;
}
bool DeleteListingProviderParams::jellyfinIdNull() const {
// Nullable: true
// Type Nullable: true
return m_jellyfinId.isNull();
}
void DeleteListingProviderParams::setJellyfinIdNull() {
m_jellyfinId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleteprofileparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteProfileParams
const QString &DeleteProfileParams::profileId() const {
return m_profileId;
}
void DeleteProfileParams::setProfileId(QString newProfileId) {
m_profileId = newProfileId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleterecordingparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteRecordingParams
const QString &DeleteRecordingParams::recordingId() const {
return m_recordingId;
}
void DeleteRecordingParams::setRecordingId(QString newRecordingId) {
m_recordingId = newRecordingId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,59 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deletesubtitleparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteSubtitleParams
const qint32 &DeleteSubtitleParams::index() const {
return m_index;
}
void DeleteSubtitleParams::setIndex(qint32 newIndex) {
m_index = newIndex;
}
const QString &DeleteSubtitleParams::itemId() const {
return m_itemId;
}
void DeleteSubtitleParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deletetunerhostparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteTunerHostParams
const QString &DeleteTunerHostParams::jellyfinId() const {
return m_jellyfinId;
}
void DeleteTunerHostParams::setJellyfinId(QString newJellyfinId) {
m_jellyfinId = newJellyfinId;
}
bool DeleteTunerHostParams::jellyfinIdNull() const {
// Nullable: true
// Type Nullable: true
return m_jellyfinId.isNull();
}
void DeleteTunerHostParams::setJellyfinIdNull() {
m_jellyfinId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,68 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleteuserimagebyindexparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteUserImageByIndexParams
const ImageType &DeleteUserImageByIndexParams::imageType() const {
return m_imageType;
}
void DeleteUserImageByIndexParams::setImageType(ImageType newImageType) {
m_imageType = newImageType;
}
const qint32 &DeleteUserImageByIndexParams::index() const {
return m_index;
}
void DeleteUserImageByIndexParams::setIndex(qint32 newIndex) {
m_index = newIndex;
}
const QString &DeleteUserImageByIndexParams::userId() const {
return m_userId;
}
void DeleteUserImageByIndexParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,80 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleteuserimageparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteUserImageParams
const ImageType &DeleteUserImageParams::imageType() const {
return m_imageType;
}
void DeleteUserImageParams::setImageType(ImageType newImageType) {
m_imageType = newImageType;
}
const QString &DeleteUserImageParams::userId() const {
return m_userId;
}
void DeleteUserImageParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
const qint32 &DeleteUserImageParams::index() const {
return m_index.value();
}
void DeleteUserImageParams::setIndex(qint32 newIndex) {
m_index = newIndex;
}
bool DeleteUserImageParams::indexNull() const {
// Nullable: true
// Type Nullable: false
return !m_index.has_value();
}
void DeleteUserImageParams::setIndexNull() {
m_index = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,59 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleteuseritemratingparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteUserItemRatingParams
const QString &DeleteUserItemRatingParams::itemId() const {
return m_itemId;
}
void DeleteUserItemRatingParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
const QString &DeleteUserItemRatingParams::userId() const {
return m_userId;
}
void DeleteUserItemRatingParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/deleteuserparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DeleteUserParams
const QString &DeleteUserParams::userId() const {
return m_userId;
}
void DeleteUserParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,59 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/disablepluginparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DisablePluginParams
const QString &DisablePluginParams::pluginId() const {
return m_pluginId;
}
void DisablePluginParams::setPluginId(QString newPluginId) {
m_pluginId = newPluginId;
}
const QSharedPointer<Version> &DisablePluginParams::version() const {
return m_version;
}
void DisablePluginParams::setVersion(QSharedPointer<Version> newVersion) {
m_version = newVersion;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/discovertunersparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DiscoverTunersParams
const bool &DiscoverTunersParams::newDevicesOnly() const {
return m_newDevicesOnly.value();
}
void DiscoverTunersParams::setNewDevicesOnly(bool newNewDevicesOnly) {
m_newDevicesOnly = newNewDevicesOnly;
}
bool DiscoverTunersParams::newDevicesOnlyNull() const {
// Nullable: false
// Type Nullable: false
return !m_newDevicesOnly.has_value();
}
void DiscoverTunersParams::setNewDevicesOnlyNull() {
m_newDevicesOnly = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/discvovertunersparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DiscvoverTunersParams
const bool &DiscvoverTunersParams::newDevicesOnly() const {
return m_newDevicesOnly.value();
}
void DiscvoverTunersParams::setNewDevicesOnly(bool newNewDevicesOnly) {
m_newDevicesOnly = newNewDevicesOnly;
}
bool DiscvoverTunersParams::newDevicesOnlyNull() const {
// Nullable: false
// Type Nullable: false
return !m_newDevicesOnly.has_value();
}
void DiscvoverTunersParams::setNewDevicesOnlyNull() {
m_newDevicesOnly = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,77 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/displaycontentparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DisplayContentParams
const QString &DisplayContentParams::sessionId() const {
return m_sessionId;
}
void DisplayContentParams::setSessionId(QString newSessionId) {
m_sessionId = newSessionId;
}
const QString &DisplayContentParams::itemId() const {
return m_itemId;
}
void DisplayContentParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
const QString &DisplayContentParams::itemName() const {
return m_itemName;
}
void DisplayContentParams::setItemName(QString newItemName) {
m_itemName = newItemName;
}
const QString &DisplayContentParams::itemType() const {
return m_itemType;
}
void DisplayContentParams::setItemType(QString newItemType) {
m_itemType = newItemType;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,80 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/downloadremoteimageparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DownloadRemoteImageParams
const QString &DownloadRemoteImageParams::itemId() const {
return m_itemId;
}
void DownloadRemoteImageParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
const ImageType &DownloadRemoteImageParams::type() const {
return m_type;
}
void DownloadRemoteImageParams::setType(ImageType newType) {
m_type = newType;
}
const QString &DownloadRemoteImageParams::imageUrl() const {
return m_imageUrl;
}
void DownloadRemoteImageParams::setImageUrl(QString newImageUrl) {
m_imageUrl = newImageUrl;
}
bool DownloadRemoteImageParams::imageUrlNull() const {
// Nullable: true
// Type Nullable: true
return m_imageUrl.isNull();
}
void DownloadRemoteImageParams::setImageUrlNull() {
m_imageUrl.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,59 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/downloadremotesubtitlesparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// DownloadRemoteSubtitlesParams
const QString &DownloadRemoteSubtitlesParams::itemId() const {
return m_itemId;
}
void DownloadRemoteSubtitlesParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
const QString &DownloadRemoteSubtitlesParams::subtitleId() const {
return m_subtitleId;
}
void DownloadRemoteSubtitlesParams::setSubtitleId(QString newSubtitleId) {
m_subtitleId = newSubtitleId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,59 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/enablepluginparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// EnablePluginParams
const QString &EnablePluginParams::pluginId() const {
return m_pluginId;
}
void EnablePluginParams::setPluginId(QString newPluginId) {
m_pluginId = newPluginId;
}
const QSharedPointer<Version> &EnablePluginParams::version() const {
return m_version;
}
void EnablePluginParams::setVersion(QSharedPointer<Version> newVersion) {
m_version = newVersion;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/forgotpasswordparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// ForgotPasswordParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/forgotpasswordpinparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// ForgotPasswordPinParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,71 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getadditionalpartparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetAdditionalPartParams
const QString &GetAdditionalPartParams::itemId() const {
return m_itemId;
}
void GetAdditionalPartParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
const QString &GetAdditionalPartParams::userId() const {
return m_userId;
}
void GetAdditionalPartParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool GetAdditionalPartParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void GetAdditionalPartParams::setUserIdNull() {
m_userId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,671 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getalbumartistsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetAlbumArtistsParams
const QList<ImageType> &GetAlbumArtistsParams::enableImageTypes() const {
return m_enableImageTypes;
}
void GetAlbumArtistsParams::setEnableImageTypes(QList<ImageType> newEnableImageTypes) {
m_enableImageTypes = newEnableImageTypes;
}
bool GetAlbumArtistsParams::enableImageTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_enableImageTypes.size() == 0;
}
void GetAlbumArtistsParams::setEnableImageTypesNull() {
m_enableImageTypes.clear();
}
const bool &GetAlbumArtistsParams::enableImages() const {
return m_enableImages.value();
}
void GetAlbumArtistsParams::setEnableImages(bool newEnableImages) {
m_enableImages = newEnableImages;
}
bool GetAlbumArtistsParams::enableImagesNull() const {
// Nullable: true
// Type Nullable: false
return !m_enableImages.has_value();
}
void GetAlbumArtistsParams::setEnableImagesNull() {
m_enableImages = std::nullopt;
}
const bool &GetAlbumArtistsParams::enableTotalRecordCount() const {
return m_enableTotalRecordCount.value();
}
void GetAlbumArtistsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) {
m_enableTotalRecordCount = newEnableTotalRecordCount;
}
bool GetAlbumArtistsParams::enableTotalRecordCountNull() const {
// Nullable: false
// Type Nullable: false
return !m_enableTotalRecordCount.has_value();
}
void GetAlbumArtistsParams::setEnableTotalRecordCountNull() {
m_enableTotalRecordCount = std::nullopt;
}
const bool &GetAlbumArtistsParams::enableUserData() const {
return m_enableUserData.value();
}
void GetAlbumArtistsParams::setEnableUserData(bool newEnableUserData) {
m_enableUserData = newEnableUserData;
}
bool GetAlbumArtistsParams::enableUserDataNull() const {
// Nullable: true
// Type Nullable: false
return !m_enableUserData.has_value();
}
void GetAlbumArtistsParams::setEnableUserDataNull() {
m_enableUserData = std::nullopt;
}
const QStringList &GetAlbumArtistsParams::excludeItemTypes() const {
return m_excludeItemTypes;
}
void GetAlbumArtistsParams::setExcludeItemTypes(QStringList newExcludeItemTypes) {
m_excludeItemTypes = newExcludeItemTypes;
}
bool GetAlbumArtistsParams::excludeItemTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_excludeItemTypes.size() == 0;
}
void GetAlbumArtistsParams::setExcludeItemTypesNull() {
m_excludeItemTypes.clear();
}
const QList<ItemFields> &GetAlbumArtistsParams::fields() const {
return m_fields;
}
void GetAlbumArtistsParams::setFields(QList<ItemFields> newFields) {
m_fields = newFields;
}
bool GetAlbumArtistsParams::fieldsNull() const {
// Nullable: true
// Type Nullable: true
return m_fields.size() == 0;
}
void GetAlbumArtistsParams::setFieldsNull() {
m_fields.clear();
}
const QList<ItemFilter> &GetAlbumArtistsParams::filters() const {
return m_filters;
}
void GetAlbumArtistsParams::setFilters(QList<ItemFilter> newFilters) {
m_filters = newFilters;
}
bool GetAlbumArtistsParams::filtersNull() const {
// Nullable: true
// Type Nullable: true
return m_filters.size() == 0;
}
void GetAlbumArtistsParams::setFiltersNull() {
m_filters.clear();
}
const QStringList &GetAlbumArtistsParams::genreIds() const {
return m_genreIds;
}
void GetAlbumArtistsParams::setGenreIds(QStringList newGenreIds) {
m_genreIds = newGenreIds;
}
bool GetAlbumArtistsParams::genreIdsNull() const {
// Nullable: true
// Type Nullable: true
return m_genreIds.size() == 0;
}
void GetAlbumArtistsParams::setGenreIdsNull() {
m_genreIds.clear();
}
const QStringList &GetAlbumArtistsParams::genres() const {
return m_genres;
}
void GetAlbumArtistsParams::setGenres(QStringList newGenres) {
m_genres = newGenres;
}
bool GetAlbumArtistsParams::genresNull() const {
// Nullable: true
// Type Nullable: true
return m_genres.size() == 0;
}
void GetAlbumArtistsParams::setGenresNull() {
m_genres.clear();
}
const qint32 &GetAlbumArtistsParams::imageTypeLimit() const {
return m_imageTypeLimit.value();
}
void GetAlbumArtistsParams::setImageTypeLimit(qint32 newImageTypeLimit) {
m_imageTypeLimit = newImageTypeLimit;
}
bool GetAlbumArtistsParams::imageTypeLimitNull() const {
// Nullable: true
// Type Nullable: false
return !m_imageTypeLimit.has_value();
}
void GetAlbumArtistsParams::setImageTypeLimitNull() {
m_imageTypeLimit = std::nullopt;
}
const QStringList &GetAlbumArtistsParams::includeItemTypes() const {
return m_includeItemTypes;
}
void GetAlbumArtistsParams::setIncludeItemTypes(QStringList newIncludeItemTypes) {
m_includeItemTypes = newIncludeItemTypes;
}
bool GetAlbumArtistsParams::includeItemTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_includeItemTypes.size() == 0;
}
void GetAlbumArtistsParams::setIncludeItemTypesNull() {
m_includeItemTypes.clear();
}
const bool &GetAlbumArtistsParams::isFavorite() const {
return m_isFavorite.value();
}
void GetAlbumArtistsParams::setIsFavorite(bool newIsFavorite) {
m_isFavorite = newIsFavorite;
}
bool GetAlbumArtistsParams::isFavoriteNull() const {
// Nullable: true
// Type Nullable: false
return !m_isFavorite.has_value();
}
void GetAlbumArtistsParams::setIsFavoriteNull() {
m_isFavorite = std::nullopt;
}
const qint32 &GetAlbumArtistsParams::limit() const {
return m_limit.value();
}
void GetAlbumArtistsParams::setLimit(qint32 newLimit) {
m_limit = newLimit;
}
bool GetAlbumArtistsParams::limitNull() const {
// Nullable: true
// Type Nullable: false
return !m_limit.has_value();
}
void GetAlbumArtistsParams::setLimitNull() {
m_limit = std::nullopt;
}
const QStringList &GetAlbumArtistsParams::mediaTypes() const {
return m_mediaTypes;
}
void GetAlbumArtistsParams::setMediaTypes(QStringList newMediaTypes) {
m_mediaTypes = newMediaTypes;
}
bool GetAlbumArtistsParams::mediaTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_mediaTypes.size() == 0;
}
void GetAlbumArtistsParams::setMediaTypesNull() {
m_mediaTypes.clear();
}
const double &GetAlbumArtistsParams::minCommunityRating() const {
return m_minCommunityRating.value();
}
void GetAlbumArtistsParams::setMinCommunityRating(double newMinCommunityRating) {
m_minCommunityRating = newMinCommunityRating;
}
bool GetAlbumArtistsParams::minCommunityRatingNull() const {
// Nullable: true
// Type Nullable: false
return !m_minCommunityRating.has_value();
}
void GetAlbumArtistsParams::setMinCommunityRatingNull() {
m_minCommunityRating = std::nullopt;
}
const QString &GetAlbumArtistsParams::nameLessThan() const {
return m_nameLessThan;
}
void GetAlbumArtistsParams::setNameLessThan(QString newNameLessThan) {
m_nameLessThan = newNameLessThan;
}
bool GetAlbumArtistsParams::nameLessThanNull() const {
// Nullable: true
// Type Nullable: true
return m_nameLessThan.isNull();
}
void GetAlbumArtistsParams::setNameLessThanNull() {
m_nameLessThan.clear();
}
const QString &GetAlbumArtistsParams::nameStartsWith() const {
return m_nameStartsWith;
}
void GetAlbumArtistsParams::setNameStartsWith(QString newNameStartsWith) {
m_nameStartsWith = newNameStartsWith;
}
bool GetAlbumArtistsParams::nameStartsWithNull() const {
// Nullable: true
// Type Nullable: true
return m_nameStartsWith.isNull();
}
void GetAlbumArtistsParams::setNameStartsWithNull() {
m_nameStartsWith.clear();
}
const QString &GetAlbumArtistsParams::nameStartsWithOrGreater() const {
return m_nameStartsWithOrGreater;
}
void GetAlbumArtistsParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) {
m_nameStartsWithOrGreater = newNameStartsWithOrGreater;
}
bool GetAlbumArtistsParams::nameStartsWithOrGreaterNull() const {
// Nullable: true
// Type Nullable: true
return m_nameStartsWithOrGreater.isNull();
}
void GetAlbumArtistsParams::setNameStartsWithOrGreaterNull() {
m_nameStartsWithOrGreater.clear();
}
const QStringList &GetAlbumArtistsParams::officialRatings() const {
return m_officialRatings;
}
void GetAlbumArtistsParams::setOfficialRatings(QStringList newOfficialRatings) {
m_officialRatings = newOfficialRatings;
}
bool GetAlbumArtistsParams::officialRatingsNull() const {
// Nullable: true
// Type Nullable: true
return m_officialRatings.size() == 0;
}
void GetAlbumArtistsParams::setOfficialRatingsNull() {
m_officialRatings.clear();
}
const QString &GetAlbumArtistsParams::parentId() const {
return m_parentId;
}
void GetAlbumArtistsParams::setParentId(QString newParentId) {
m_parentId = newParentId;
}
bool GetAlbumArtistsParams::parentIdNull() const {
// Nullable: true
// Type Nullable: true
return m_parentId.isNull();
}
void GetAlbumArtistsParams::setParentIdNull() {
m_parentId.clear();
}
const QString &GetAlbumArtistsParams::person() const {
return m_person;
}
void GetAlbumArtistsParams::setPerson(QString newPerson) {
m_person = newPerson;
}
bool GetAlbumArtistsParams::personNull() const {
// Nullable: true
// Type Nullable: true
return m_person.isNull();
}
void GetAlbumArtistsParams::setPersonNull() {
m_person.clear();
}
const QStringList &GetAlbumArtistsParams::personIds() const {
return m_personIds;
}
void GetAlbumArtistsParams::setPersonIds(QStringList newPersonIds) {
m_personIds = newPersonIds;
}
bool GetAlbumArtistsParams::personIdsNull() const {
// Nullable: true
// Type Nullable: true
return m_personIds.size() == 0;
}
void GetAlbumArtistsParams::setPersonIdsNull() {
m_personIds.clear();
}
const QStringList &GetAlbumArtistsParams::personTypes() const {
return m_personTypes;
}
void GetAlbumArtistsParams::setPersonTypes(QStringList newPersonTypes) {
m_personTypes = newPersonTypes;
}
bool GetAlbumArtistsParams::personTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_personTypes.size() == 0;
}
void GetAlbumArtistsParams::setPersonTypesNull() {
m_personTypes.clear();
}
const QString &GetAlbumArtistsParams::searchTerm() const {
return m_searchTerm;
}
void GetAlbumArtistsParams::setSearchTerm(QString newSearchTerm) {
m_searchTerm = newSearchTerm;
}
bool GetAlbumArtistsParams::searchTermNull() const {
// Nullable: true
// Type Nullable: true
return m_searchTerm.isNull();
}
void GetAlbumArtistsParams::setSearchTermNull() {
m_searchTerm.clear();
}
const qint32 &GetAlbumArtistsParams::startIndex() const {
return m_startIndex.value();
}
void GetAlbumArtistsParams::setStartIndex(qint32 newStartIndex) {
m_startIndex = newStartIndex;
}
bool GetAlbumArtistsParams::startIndexNull() const {
// Nullable: true
// Type Nullable: false
return !m_startIndex.has_value();
}
void GetAlbumArtistsParams::setStartIndexNull() {
m_startIndex = std::nullopt;
}
const QStringList &GetAlbumArtistsParams::studioIds() const {
return m_studioIds;
}
void GetAlbumArtistsParams::setStudioIds(QStringList newStudioIds) {
m_studioIds = newStudioIds;
}
bool GetAlbumArtistsParams::studioIdsNull() const {
// Nullable: true
// Type Nullable: true
return m_studioIds.size() == 0;
}
void GetAlbumArtistsParams::setStudioIdsNull() {
m_studioIds.clear();
}
const QStringList &GetAlbumArtistsParams::studios() const {
return m_studios;
}
void GetAlbumArtistsParams::setStudios(QStringList newStudios) {
m_studios = newStudios;
}
bool GetAlbumArtistsParams::studiosNull() const {
// Nullable: true
// Type Nullable: true
return m_studios.size() == 0;
}
void GetAlbumArtistsParams::setStudiosNull() {
m_studios.clear();
}
const QStringList &GetAlbumArtistsParams::tags() const {
return m_tags;
}
void GetAlbumArtistsParams::setTags(QStringList newTags) {
m_tags = newTags;
}
bool GetAlbumArtistsParams::tagsNull() const {
// Nullable: true
// Type Nullable: true
return m_tags.size() == 0;
}
void GetAlbumArtistsParams::setTagsNull() {
m_tags.clear();
}
const QString &GetAlbumArtistsParams::userId() const {
return m_userId;
}
void GetAlbumArtistsParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool GetAlbumArtistsParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void GetAlbumArtistsParams::setUserIdNull() {
m_userId.clear();
}
const QList<qint32> &GetAlbumArtistsParams::years() const {
return m_years;
}
void GetAlbumArtistsParams::setYears(QList<qint32> newYears) {
m_years = newYears;
}
bool GetAlbumArtistsParams::yearsNull() const {
// Nullable: true
// Type Nullable: true
return m_years.size() == 0;
}
void GetAlbumArtistsParams::setYearsNull() {
m_years.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getallchannelfeaturesparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetAllChannelFeaturesParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,71 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getancestorsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetAncestorsParams
const QString &GetAncestorsParams::itemId() const {
return m_itemId;
}
void GetAncestorsParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
const QString &GetAncestorsParams::userId() const {
return m_userId;
}
void GetAncestorsParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool GetAncestorsParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void GetAncestorsParams::setUserIdNull() {
m_userId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,71 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getartistbynameparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetArtistByNameParams
const QString &GetArtistByNameParams::name() const {
return m_name;
}
void GetArtistByNameParams::setName(QString newName) {
m_name = newName;
}
const QString &GetArtistByNameParams::userId() const {
return m_userId;
}
void GetArtistByNameParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool GetArtistByNameParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void GetArtistByNameParams::setUserIdNull() {
m_userId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,362 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getartistimageparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetArtistImageParams
const qint32 &GetArtistImageParams::imageIndex() const {
return m_imageIndex;
}
void GetArtistImageParams::setImageIndex(qint32 newImageIndex) {
m_imageIndex = newImageIndex;
}
const ImageType &GetArtistImageParams::imageType() const {
return m_imageType;
}
void GetArtistImageParams::setImageType(ImageType newImageType) {
m_imageType = newImageType;
}
const QString &GetArtistImageParams::name() const {
return m_name;
}
void GetArtistImageParams::setName(QString newName) {
m_name = newName;
}
const bool &GetArtistImageParams::addPlayedIndicator() const {
return m_addPlayedIndicator.value();
}
void GetArtistImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) {
m_addPlayedIndicator = newAddPlayedIndicator;
}
bool GetArtistImageParams::addPlayedIndicatorNull() const {
// Nullable: true
// Type Nullable: false
return !m_addPlayedIndicator.has_value();
}
void GetArtistImageParams::setAddPlayedIndicatorNull() {
m_addPlayedIndicator = std::nullopt;
}
const QString &GetArtistImageParams::backgroundColor() const {
return m_backgroundColor;
}
void GetArtistImageParams::setBackgroundColor(QString newBackgroundColor) {
m_backgroundColor = newBackgroundColor;
}
bool GetArtistImageParams::backgroundColorNull() const {
// Nullable: true
// Type Nullable: true
return m_backgroundColor.isNull();
}
void GetArtistImageParams::setBackgroundColorNull() {
m_backgroundColor.clear();
}
const qint32 &GetArtistImageParams::blur() const {
return m_blur.value();
}
void GetArtistImageParams::setBlur(qint32 newBlur) {
m_blur = newBlur;
}
bool GetArtistImageParams::blurNull() const {
// Nullable: true
// Type Nullable: false
return !m_blur.has_value();
}
void GetArtistImageParams::setBlurNull() {
m_blur = std::nullopt;
}
const bool &GetArtistImageParams::cropWhitespace() const {
return m_cropWhitespace.value();
}
void GetArtistImageParams::setCropWhitespace(bool newCropWhitespace) {
m_cropWhitespace = newCropWhitespace;
}
bool GetArtistImageParams::cropWhitespaceNull() const {
// Nullable: true
// Type Nullable: false
return !m_cropWhitespace.has_value();
}
void GetArtistImageParams::setCropWhitespaceNull() {
m_cropWhitespace = std::nullopt;
}
const QString &GetArtistImageParams::foregroundLayer() const {
return m_foregroundLayer;
}
void GetArtistImageParams::setForegroundLayer(QString newForegroundLayer) {
m_foregroundLayer = newForegroundLayer;
}
bool GetArtistImageParams::foregroundLayerNull() const {
// Nullable: true
// Type Nullable: true
return m_foregroundLayer.isNull();
}
void GetArtistImageParams::setForegroundLayerNull() {
m_foregroundLayer.clear();
}
const ImageFormat &GetArtistImageParams::format() const {
return m_format;
}
void GetArtistImageParams::setFormat(ImageFormat newFormat) {
m_format = newFormat;
}
bool GetArtistImageParams::formatNull() const {
// Nullable: true
// Type Nullable: true
return m_format== ImageFormat::EnumNotSet;
}
void GetArtistImageParams::setFormatNull() {
m_format= ImageFormat::EnumNotSet;
}
const qint32 &GetArtistImageParams::height() const {
return m_height.value();
}
void GetArtistImageParams::setHeight(qint32 newHeight) {
m_height = newHeight;
}
bool GetArtistImageParams::heightNull() const {
// Nullable: true
// Type Nullable: false
return !m_height.has_value();
}
void GetArtistImageParams::setHeightNull() {
m_height = std::nullopt;
}
const qint32 &GetArtistImageParams::maxHeight() const {
return m_maxHeight.value();
}
void GetArtistImageParams::setMaxHeight(qint32 newMaxHeight) {
m_maxHeight = newMaxHeight;
}
bool GetArtistImageParams::maxHeightNull() const {
// Nullable: true
// Type Nullable: false
return !m_maxHeight.has_value();
}
void GetArtistImageParams::setMaxHeightNull() {
m_maxHeight = std::nullopt;
}
const qint32 &GetArtistImageParams::maxWidth() const {
return m_maxWidth.value();
}
void GetArtistImageParams::setMaxWidth(qint32 newMaxWidth) {
m_maxWidth = newMaxWidth;
}
bool GetArtistImageParams::maxWidthNull() const {
// Nullable: true
// Type Nullable: false
return !m_maxWidth.has_value();
}
void GetArtistImageParams::setMaxWidthNull() {
m_maxWidth = std::nullopt;
}
const double &GetArtistImageParams::percentPlayed() const {
return m_percentPlayed.value();
}
void GetArtistImageParams::setPercentPlayed(double newPercentPlayed) {
m_percentPlayed = newPercentPlayed;
}
bool GetArtistImageParams::percentPlayedNull() const {
// Nullable: true
// Type Nullable: false
return !m_percentPlayed.has_value();
}
void GetArtistImageParams::setPercentPlayedNull() {
m_percentPlayed = std::nullopt;
}
const qint32 &GetArtistImageParams::quality() const {
return m_quality.value();
}
void GetArtistImageParams::setQuality(qint32 newQuality) {
m_quality = newQuality;
}
bool GetArtistImageParams::qualityNull() const {
// Nullable: true
// Type Nullable: false
return !m_quality.has_value();
}
void GetArtistImageParams::setQualityNull() {
m_quality = std::nullopt;
}
const QString &GetArtistImageParams::tag() const {
return m_tag;
}
void GetArtistImageParams::setTag(QString newTag) {
m_tag = newTag;
}
bool GetArtistImageParams::tagNull() const {
// Nullable: true
// Type Nullable: true
return m_tag.isNull();
}
void GetArtistImageParams::setTagNull() {
m_tag.clear();
}
const qint32 &GetArtistImageParams::unplayedCount() const {
return m_unplayedCount.value();
}
void GetArtistImageParams::setUnplayedCount(qint32 newUnplayedCount) {
m_unplayedCount = newUnplayedCount;
}
bool GetArtistImageParams::unplayedCountNull() const {
// Nullable: true
// Type Nullable: false
return !m_unplayedCount.has_value();
}
void GetArtistImageParams::setUnplayedCountNull() {
m_unplayedCount = std::nullopt;
}
const qint32 &GetArtistImageParams::width() const {
return m_width.value();
}
void GetArtistImageParams::setWidth(qint32 newWidth) {
m_width = newWidth;
}
bool GetArtistImageParams::widthNull() const {
// Nullable: true
// Type Nullable: false
return !m_width.has_value();
}
void GetArtistImageParams::setWidthNull() {
m_width = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,671 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getartistsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetArtistsParams
const QList<ImageType> &GetArtistsParams::enableImageTypes() const {
return m_enableImageTypes;
}
void GetArtistsParams::setEnableImageTypes(QList<ImageType> newEnableImageTypes) {
m_enableImageTypes = newEnableImageTypes;
}
bool GetArtistsParams::enableImageTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_enableImageTypes.size() == 0;
}
void GetArtistsParams::setEnableImageTypesNull() {
m_enableImageTypes.clear();
}
const bool &GetArtistsParams::enableImages() const {
return m_enableImages.value();
}
void GetArtistsParams::setEnableImages(bool newEnableImages) {
m_enableImages = newEnableImages;
}
bool GetArtistsParams::enableImagesNull() const {
// Nullable: true
// Type Nullable: false
return !m_enableImages.has_value();
}
void GetArtistsParams::setEnableImagesNull() {
m_enableImages = std::nullopt;
}
const bool &GetArtistsParams::enableTotalRecordCount() const {
return m_enableTotalRecordCount.value();
}
void GetArtistsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) {
m_enableTotalRecordCount = newEnableTotalRecordCount;
}
bool GetArtistsParams::enableTotalRecordCountNull() const {
// Nullable: false
// Type Nullable: false
return !m_enableTotalRecordCount.has_value();
}
void GetArtistsParams::setEnableTotalRecordCountNull() {
m_enableTotalRecordCount = std::nullopt;
}
const bool &GetArtistsParams::enableUserData() const {
return m_enableUserData.value();
}
void GetArtistsParams::setEnableUserData(bool newEnableUserData) {
m_enableUserData = newEnableUserData;
}
bool GetArtistsParams::enableUserDataNull() const {
// Nullable: true
// Type Nullable: false
return !m_enableUserData.has_value();
}
void GetArtistsParams::setEnableUserDataNull() {
m_enableUserData = std::nullopt;
}
const QStringList &GetArtistsParams::excludeItemTypes() const {
return m_excludeItemTypes;
}
void GetArtistsParams::setExcludeItemTypes(QStringList newExcludeItemTypes) {
m_excludeItemTypes = newExcludeItemTypes;
}
bool GetArtistsParams::excludeItemTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_excludeItemTypes.size() == 0;
}
void GetArtistsParams::setExcludeItemTypesNull() {
m_excludeItemTypes.clear();
}
const QList<ItemFields> &GetArtistsParams::fields() const {
return m_fields;
}
void GetArtistsParams::setFields(QList<ItemFields> newFields) {
m_fields = newFields;
}
bool GetArtistsParams::fieldsNull() const {
// Nullable: true
// Type Nullable: true
return m_fields.size() == 0;
}
void GetArtistsParams::setFieldsNull() {
m_fields.clear();
}
const QList<ItemFilter> &GetArtistsParams::filters() const {
return m_filters;
}
void GetArtistsParams::setFilters(QList<ItemFilter> newFilters) {
m_filters = newFilters;
}
bool GetArtistsParams::filtersNull() const {
// Nullable: true
// Type Nullable: true
return m_filters.size() == 0;
}
void GetArtistsParams::setFiltersNull() {
m_filters.clear();
}
const QStringList &GetArtistsParams::genreIds() const {
return m_genreIds;
}
void GetArtistsParams::setGenreIds(QStringList newGenreIds) {
m_genreIds = newGenreIds;
}
bool GetArtistsParams::genreIdsNull() const {
// Nullable: true
// Type Nullable: true
return m_genreIds.size() == 0;
}
void GetArtistsParams::setGenreIdsNull() {
m_genreIds.clear();
}
const QStringList &GetArtistsParams::genres() const {
return m_genres;
}
void GetArtistsParams::setGenres(QStringList newGenres) {
m_genres = newGenres;
}
bool GetArtistsParams::genresNull() const {
// Nullable: true
// Type Nullable: true
return m_genres.size() == 0;
}
void GetArtistsParams::setGenresNull() {
m_genres.clear();
}
const qint32 &GetArtistsParams::imageTypeLimit() const {
return m_imageTypeLimit.value();
}
void GetArtistsParams::setImageTypeLimit(qint32 newImageTypeLimit) {
m_imageTypeLimit = newImageTypeLimit;
}
bool GetArtistsParams::imageTypeLimitNull() const {
// Nullable: true
// Type Nullable: false
return !m_imageTypeLimit.has_value();
}
void GetArtistsParams::setImageTypeLimitNull() {
m_imageTypeLimit = std::nullopt;
}
const QStringList &GetArtistsParams::includeItemTypes() const {
return m_includeItemTypes;
}
void GetArtistsParams::setIncludeItemTypes(QStringList newIncludeItemTypes) {
m_includeItemTypes = newIncludeItemTypes;
}
bool GetArtistsParams::includeItemTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_includeItemTypes.size() == 0;
}
void GetArtistsParams::setIncludeItemTypesNull() {
m_includeItemTypes.clear();
}
const bool &GetArtistsParams::isFavorite() const {
return m_isFavorite.value();
}
void GetArtistsParams::setIsFavorite(bool newIsFavorite) {
m_isFavorite = newIsFavorite;
}
bool GetArtistsParams::isFavoriteNull() const {
// Nullable: true
// Type Nullable: false
return !m_isFavorite.has_value();
}
void GetArtistsParams::setIsFavoriteNull() {
m_isFavorite = std::nullopt;
}
const qint32 &GetArtistsParams::limit() const {
return m_limit.value();
}
void GetArtistsParams::setLimit(qint32 newLimit) {
m_limit = newLimit;
}
bool GetArtistsParams::limitNull() const {
// Nullable: true
// Type Nullable: false
return !m_limit.has_value();
}
void GetArtistsParams::setLimitNull() {
m_limit = std::nullopt;
}
const QStringList &GetArtistsParams::mediaTypes() const {
return m_mediaTypes;
}
void GetArtistsParams::setMediaTypes(QStringList newMediaTypes) {
m_mediaTypes = newMediaTypes;
}
bool GetArtistsParams::mediaTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_mediaTypes.size() == 0;
}
void GetArtistsParams::setMediaTypesNull() {
m_mediaTypes.clear();
}
const double &GetArtistsParams::minCommunityRating() const {
return m_minCommunityRating.value();
}
void GetArtistsParams::setMinCommunityRating(double newMinCommunityRating) {
m_minCommunityRating = newMinCommunityRating;
}
bool GetArtistsParams::minCommunityRatingNull() const {
// Nullable: true
// Type Nullable: false
return !m_minCommunityRating.has_value();
}
void GetArtistsParams::setMinCommunityRatingNull() {
m_minCommunityRating = std::nullopt;
}
const QString &GetArtistsParams::nameLessThan() const {
return m_nameLessThan;
}
void GetArtistsParams::setNameLessThan(QString newNameLessThan) {
m_nameLessThan = newNameLessThan;
}
bool GetArtistsParams::nameLessThanNull() const {
// Nullable: true
// Type Nullable: true
return m_nameLessThan.isNull();
}
void GetArtistsParams::setNameLessThanNull() {
m_nameLessThan.clear();
}
const QString &GetArtistsParams::nameStartsWith() const {
return m_nameStartsWith;
}
void GetArtistsParams::setNameStartsWith(QString newNameStartsWith) {
m_nameStartsWith = newNameStartsWith;
}
bool GetArtistsParams::nameStartsWithNull() const {
// Nullable: true
// Type Nullable: true
return m_nameStartsWith.isNull();
}
void GetArtistsParams::setNameStartsWithNull() {
m_nameStartsWith.clear();
}
const QString &GetArtistsParams::nameStartsWithOrGreater() const {
return m_nameStartsWithOrGreater;
}
void GetArtistsParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) {
m_nameStartsWithOrGreater = newNameStartsWithOrGreater;
}
bool GetArtistsParams::nameStartsWithOrGreaterNull() const {
// Nullable: true
// Type Nullable: true
return m_nameStartsWithOrGreater.isNull();
}
void GetArtistsParams::setNameStartsWithOrGreaterNull() {
m_nameStartsWithOrGreater.clear();
}
const QStringList &GetArtistsParams::officialRatings() const {
return m_officialRatings;
}
void GetArtistsParams::setOfficialRatings(QStringList newOfficialRatings) {
m_officialRatings = newOfficialRatings;
}
bool GetArtistsParams::officialRatingsNull() const {
// Nullable: true
// Type Nullable: true
return m_officialRatings.size() == 0;
}
void GetArtistsParams::setOfficialRatingsNull() {
m_officialRatings.clear();
}
const QString &GetArtistsParams::parentId() const {
return m_parentId;
}
void GetArtistsParams::setParentId(QString newParentId) {
m_parentId = newParentId;
}
bool GetArtistsParams::parentIdNull() const {
// Nullable: true
// Type Nullable: true
return m_parentId.isNull();
}
void GetArtistsParams::setParentIdNull() {
m_parentId.clear();
}
const QString &GetArtistsParams::person() const {
return m_person;
}
void GetArtistsParams::setPerson(QString newPerson) {
m_person = newPerson;
}
bool GetArtistsParams::personNull() const {
// Nullable: true
// Type Nullable: true
return m_person.isNull();
}
void GetArtistsParams::setPersonNull() {
m_person.clear();
}
const QStringList &GetArtistsParams::personIds() const {
return m_personIds;
}
void GetArtistsParams::setPersonIds(QStringList newPersonIds) {
m_personIds = newPersonIds;
}
bool GetArtistsParams::personIdsNull() const {
// Nullable: true
// Type Nullable: true
return m_personIds.size() == 0;
}
void GetArtistsParams::setPersonIdsNull() {
m_personIds.clear();
}
const QStringList &GetArtistsParams::personTypes() const {
return m_personTypes;
}
void GetArtistsParams::setPersonTypes(QStringList newPersonTypes) {
m_personTypes = newPersonTypes;
}
bool GetArtistsParams::personTypesNull() const {
// Nullable: true
// Type Nullable: true
return m_personTypes.size() == 0;
}
void GetArtistsParams::setPersonTypesNull() {
m_personTypes.clear();
}
const QString &GetArtistsParams::searchTerm() const {
return m_searchTerm;
}
void GetArtistsParams::setSearchTerm(QString newSearchTerm) {
m_searchTerm = newSearchTerm;
}
bool GetArtistsParams::searchTermNull() const {
// Nullable: true
// Type Nullable: true
return m_searchTerm.isNull();
}
void GetArtistsParams::setSearchTermNull() {
m_searchTerm.clear();
}
const qint32 &GetArtistsParams::startIndex() const {
return m_startIndex.value();
}
void GetArtistsParams::setStartIndex(qint32 newStartIndex) {
m_startIndex = newStartIndex;
}
bool GetArtistsParams::startIndexNull() const {
// Nullable: true
// Type Nullable: false
return !m_startIndex.has_value();
}
void GetArtistsParams::setStartIndexNull() {
m_startIndex = std::nullopt;
}
const QStringList &GetArtistsParams::studioIds() const {
return m_studioIds;
}
void GetArtistsParams::setStudioIds(QStringList newStudioIds) {
m_studioIds = newStudioIds;
}
bool GetArtistsParams::studioIdsNull() const {
// Nullable: true
// Type Nullable: true
return m_studioIds.size() == 0;
}
void GetArtistsParams::setStudioIdsNull() {
m_studioIds.clear();
}
const QStringList &GetArtistsParams::studios() const {
return m_studios;
}
void GetArtistsParams::setStudios(QStringList newStudios) {
m_studios = newStudios;
}
bool GetArtistsParams::studiosNull() const {
// Nullable: true
// Type Nullable: true
return m_studios.size() == 0;
}
void GetArtistsParams::setStudiosNull() {
m_studios.clear();
}
const QStringList &GetArtistsParams::tags() const {
return m_tags;
}
void GetArtistsParams::setTags(QStringList newTags) {
m_tags = newTags;
}
bool GetArtistsParams::tagsNull() const {
// Nullable: true
// Type Nullable: true
return m_tags.size() == 0;
}
void GetArtistsParams::setTagsNull() {
m_tags.clear();
}
const QString &GetArtistsParams::userId() const {
return m_userId;
}
void GetArtistsParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool GetArtistsParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void GetArtistsParams::setUserIdNull() {
m_userId.clear();
}
const QList<qint32> &GetArtistsParams::years() const {
return m_years;
}
void GetArtistsParams::setYears(QList<qint32> newYears) {
m_years = newYears;
}
bool GetArtistsParams::yearsNull() const {
// Nullable: true
// Type Nullable: true
return m_years.size() == 0;
}
void GetArtistsParams::setYearsNull() {
m_years.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,68 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getattachmentparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetAttachmentParams
const qint32 &GetAttachmentParams::index() const {
return m_index;
}
void GetAttachmentParams::setIndex(qint32 newIndex) {
m_index = newIndex;
}
const QString &GetAttachmentParams::mediaSourceId() const {
return m_mediaSourceId;
}
void GetAttachmentParams::setMediaSourceId(QString newMediaSourceId) {
m_mediaSourceId = newMediaSourceId;
}
const QString &GetAttachmentParams::videoId() const {
return m_videoId;
}
void GetAttachmentParams::setVideoId(QString newVideoId) {
m_videoId = newVideoId;
}
} // NS Loader
} // NS Jellyfin

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getauthprovidersparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetAuthProvidersParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getbitratetestbytesparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetBitrateTestBytesParams
const qint32 &GetBitrateTestBytesParams::size() const {
return m_size.value();
}
void GetBitrateTestBytesParams::setSize(qint32 newSize) {
m_size = newSize;
}
bool GetBitrateTestBytesParams::sizeNull() const {
// Nullable: false
// Type Nullable: false
return !m_size.has_value();
}
void GetBitrateTestBytesParams::setSizeNull() {
m_size = std::nullopt;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getbookremotesearchresultsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetBookRemoteSearchResultsParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getboxsetremotesearchresultsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetBoxSetRemoteSearchResultsParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getbrandingcss_2params.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetBrandingCss_2Params
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getbrandingcssparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetBrandingCssParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getbrandingoptionsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetBrandingOptionsParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getchannelfeaturesparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetChannelFeaturesParams
const QString &GetChannelFeaturesParams::channelId() const {
return m_channelId;
}
void GetChannelFeaturesParams::setChannelId(QString newChannelId) {
m_channelId = newChannelId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,218 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getchannelitemsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetChannelItemsParams
const QString &GetChannelItemsParams::channelId() const {
return m_channelId;
}
void GetChannelItemsParams::setChannelId(QString newChannelId) {
m_channelId = newChannelId;
}
const QList<ItemFields> &GetChannelItemsParams::fields() const {
return m_fields;
}
void GetChannelItemsParams::setFields(QList<ItemFields> newFields) {
m_fields = newFields;
}
bool GetChannelItemsParams::fieldsNull() const {
// Nullable: true
// Type Nullable: true
return m_fields.size() == 0;
}
void GetChannelItemsParams::setFieldsNull() {
m_fields.clear();
}
const QList<ItemFilter> &GetChannelItemsParams::filters() const {
return m_filters;
}
void GetChannelItemsParams::setFilters(QList<ItemFilter> newFilters) {
m_filters = newFilters;
}
bool GetChannelItemsParams::filtersNull() const {
// Nullable: true
// Type Nullable: true
return m_filters.size() == 0;
}
void GetChannelItemsParams::setFiltersNull() {
m_filters.clear();
}
const QString &GetChannelItemsParams::folderId() const {
return m_folderId;
}
void GetChannelItemsParams::setFolderId(QString newFolderId) {
m_folderId = newFolderId;
}
bool GetChannelItemsParams::folderIdNull() const {
// Nullable: true
// Type Nullable: true
return m_folderId.isNull();
}
void GetChannelItemsParams::setFolderIdNull() {
m_folderId.clear();
}
const qint32 &GetChannelItemsParams::limit() const {
return m_limit.value();
}
void GetChannelItemsParams::setLimit(qint32 newLimit) {
m_limit = newLimit;
}
bool GetChannelItemsParams::limitNull() const {
// Nullable: true
// Type Nullable: false
return !m_limit.has_value();
}
void GetChannelItemsParams::setLimitNull() {
m_limit = std::nullopt;
}
const QString &GetChannelItemsParams::sortBy() const {
return m_sortBy;
}
void GetChannelItemsParams::setSortBy(QString newSortBy) {
m_sortBy = newSortBy;
}
bool GetChannelItemsParams::sortByNull() const {
// Nullable: true
// Type Nullable: true
return m_sortBy.isNull();
}
void GetChannelItemsParams::setSortByNull() {
m_sortBy.clear();
}
const QString &GetChannelItemsParams::sortOrder() const {
return m_sortOrder;
}
void GetChannelItemsParams::setSortOrder(QString newSortOrder) {
m_sortOrder = newSortOrder;
}
bool GetChannelItemsParams::sortOrderNull() const {
// Nullable: true
// Type Nullable: true
return m_sortOrder.isNull();
}
void GetChannelItemsParams::setSortOrderNull() {
m_sortOrder.clear();
}
const qint32 &GetChannelItemsParams::startIndex() const {
return m_startIndex.value();
}
void GetChannelItemsParams::setStartIndex(qint32 newStartIndex) {
m_startIndex = newStartIndex;
}
bool GetChannelItemsParams::startIndexNull() const {
// Nullable: true
// Type Nullable: false
return !m_startIndex.has_value();
}
void GetChannelItemsParams::setStartIndexNull() {
m_startIndex = std::nullopt;
}
const QString &GetChannelItemsParams::userId() const {
return m_userId;
}
void GetChannelItemsParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool GetChannelItemsParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void GetChannelItemsParams::setUserIdNull() {
m_userId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getchannelmappingoptionsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetChannelMappingOptionsParams
const QString &GetChannelMappingOptionsParams::providerId() const {
return m_providerId;
}
void GetChannelMappingOptionsParams::setProviderId(QString newProviderId) {
m_providerId = newProviderId;
}
bool GetChannelMappingOptionsParams::providerIdNull() const {
// Nullable: true
// Type Nullable: true
return m_providerId.isNull();
}
void GetChannelMappingOptionsParams::setProviderIdNull() {
m_providerId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,71 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getchannelparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetChannelParams
const QString &GetChannelParams::channelId() const {
return m_channelId;
}
void GetChannelParams::setChannelId(QString newChannelId) {
m_channelId = newChannelId;
}
const QString &GetChannelParams::userId() const {
return m_userId;
}
void GetChannelParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool GetChannelParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void GetChannelParams::setUserIdNull() {
m_userId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,167 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getchannelsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetChannelsParams
const bool &GetChannelsParams::isFavorite() const {
return m_isFavorite.value();
}
void GetChannelsParams::setIsFavorite(bool newIsFavorite) {
m_isFavorite = newIsFavorite;
}
bool GetChannelsParams::isFavoriteNull() const {
// Nullable: true
// Type Nullable: false
return !m_isFavorite.has_value();
}
void GetChannelsParams::setIsFavoriteNull() {
m_isFavorite = std::nullopt;
}
const qint32 &GetChannelsParams::limit() const {
return m_limit.value();
}
void GetChannelsParams::setLimit(qint32 newLimit) {
m_limit = newLimit;
}
bool GetChannelsParams::limitNull() const {
// Nullable: true
// Type Nullable: false
return !m_limit.has_value();
}
void GetChannelsParams::setLimitNull() {
m_limit = std::nullopt;
}
const qint32 &GetChannelsParams::startIndex() const {
return m_startIndex.value();
}
void GetChannelsParams::setStartIndex(qint32 newStartIndex) {
m_startIndex = newStartIndex;
}
bool GetChannelsParams::startIndexNull() const {
// Nullable: true
// Type Nullable: false
return !m_startIndex.has_value();
}
void GetChannelsParams::setStartIndexNull() {
m_startIndex = std::nullopt;
}
const bool &GetChannelsParams::supportsLatestItems() const {
return m_supportsLatestItems.value();
}
void GetChannelsParams::setSupportsLatestItems(bool newSupportsLatestItems) {
m_supportsLatestItems = newSupportsLatestItems;
}
bool GetChannelsParams::supportsLatestItemsNull() const {
// Nullable: true
// Type Nullable: false
return !m_supportsLatestItems.has_value();
}
void GetChannelsParams::setSupportsLatestItemsNull() {
m_supportsLatestItems = std::nullopt;
}
const bool &GetChannelsParams::supportsMediaDeletion() const {
return m_supportsMediaDeletion.value();
}
void GetChannelsParams::setSupportsMediaDeletion(bool newSupportsMediaDeletion) {
m_supportsMediaDeletion = newSupportsMediaDeletion;
}
bool GetChannelsParams::supportsMediaDeletionNull() const {
// Nullable: true
// Type Nullable: false
return !m_supportsMediaDeletion.has_value();
}
void GetChannelsParams::setSupportsMediaDeletionNull() {
m_supportsMediaDeletion = std::nullopt;
}
const QString &GetChannelsParams::userId() const {
return m_userId;
}
void GetChannelsParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool GetChannelsParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void GetChannelsParams::setUserIdNull() {
m_userId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,83 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getconfigurationpagesparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetConfigurationPagesParams
const bool &GetConfigurationPagesParams::enableInMainMenu() const {
return m_enableInMainMenu.value();
}
void GetConfigurationPagesParams::setEnableInMainMenu(bool newEnableInMainMenu) {
m_enableInMainMenu = newEnableInMainMenu;
}
bool GetConfigurationPagesParams::enableInMainMenuNull() const {
// Nullable: true
// Type Nullable: false
return !m_enableInMainMenu.has_value();
}
void GetConfigurationPagesParams::setEnableInMainMenuNull() {
m_enableInMainMenu = std::nullopt;
}
const ConfigurationPageType &GetConfigurationPagesParams::pageType() const {
return m_pageType;
}
void GetConfigurationPagesParams::setPageType(ConfigurationPageType newPageType) {
m_pageType = newPageType;
}
bool GetConfigurationPagesParams::pageTypeNull() const {
// Nullable: true
// Type Nullable: true
return m_pageType== ConfigurationPageType::EnumNotSet;
}
void GetConfigurationPagesParams::setPageTypeNull() {
m_pageType= ConfigurationPageType::EnumNotSet;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getconfigurationparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetConfigurationParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getconnectionmanager_2params.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetConnectionManager_2Params
const QString &GetConnectionManager_2Params::serverId() const {
return m_serverId;
}
void GetConnectionManager_2Params::setServerId(QString newServerId) {
m_serverId = newServerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getconnectionmanager_3params.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetConnectionManager_3Params
const QString &GetConnectionManager_3Params::serverId() const {
return m_serverId;
}
void GetConnectionManager_3Params::setServerId(QString newServerId) {
m_serverId = newServerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getconnectionmanagerparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetConnectionManagerParams
const QString &GetConnectionManagerParams::serverId() const {
return m_serverId;
}
void GetConnectionManagerParams::setServerId(QString newServerId) {
m_serverId = newServerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getcontentdirectory_2params.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetContentDirectory_2Params
const QString &GetContentDirectory_2Params::serverId() const {
return m_serverId;
}
void GetContentDirectory_2Params::setServerId(QString newServerId) {
m_serverId = newServerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getcontentdirectory_3params.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetContentDirectory_3Params
const QString &GetContentDirectory_3Params::serverId() const {
return m_serverId;
}
void GetContentDirectory_3Params::setServerId(QString newServerId) {
m_serverId = newServerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getcontentdirectoryparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetContentDirectoryParams
const QString &GetContentDirectoryParams::serverId() const {
return m_serverId;
}
void GetContentDirectoryParams::setServerId(QString newServerId) {
m_serverId = newServerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getcountriesparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetCountriesParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getcriticreviewsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetCriticReviewsParams
const QString &GetCriticReviewsParams::itemId() const {
return m_itemId;
}
void GetCriticReviewsParams::setItemId(QString newItemId) {
m_itemId = newItemId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getculturesparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetCulturesParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getcurrentuserparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetCurrentUserParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdashboardconfigurationpageparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDashboardConfigurationPageParams
const QString &GetDashboardConfigurationPageParams::name() const {
return m_name;
}
void GetDashboardConfigurationPageParams::setName(QString newName) {
m_name = newName;
}
bool GetDashboardConfigurationPageParams::nameNull() const {
// Nullable: true
// Type Nullable: true
return m_name.isNull();
}
void GetDashboardConfigurationPageParams::setNameNull() {
m_name.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdefaultdirectorybrowserparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDefaultDirectoryBrowserParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdefaultlistingproviderparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDefaultListingProviderParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdefaultmetadataoptionsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDefaultMetadataOptionsParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,41 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdefaultprofileparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDefaultProfileParams
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,62 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdefaulttimerparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDefaultTimerParams
const QString &GetDefaultTimerParams::programId() const {
return m_programId;
}
void GetDefaultTimerParams::setProgramId(QString newProgramId) {
m_programId = newProgramId;
}
bool GetDefaultTimerParams::programIdNull() const {
// Nullable: true
// Type Nullable: true
return m_programId.isNull();
}
void GetDefaultTimerParams::setProgramIdNull() {
m_programId.clear();
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdescriptionxml_2params.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDescriptionXml_2Params
const QString &GetDescriptionXml_2Params::serverId() const {
return m_serverId;
}
void GetDescriptionXml_2Params::setServerId(QString newServerId) {
m_serverId = newServerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdescriptionxmlparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDescriptionXmlParams
const QString &GetDescriptionXmlParams::serverId() const {
return m_serverId;
}
void GetDescriptionXmlParams::setServerId(QString newServerId) {
m_serverId = newServerId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdeviceinfoparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDeviceInfoParams
const QString &GetDeviceInfoParams::jellyfinId() const {
return m_jellyfinId;
}
void GetDeviceInfoParams::setJellyfinId(QString newJellyfinId) {
m_jellyfinId = newJellyfinId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,50 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdeviceoptionsparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDeviceOptionsParams
const QString &GetDeviceOptionsParams::jellyfinId() const {
return m_jellyfinId;
}
void GetDeviceOptionsParams::setJellyfinId(QString newJellyfinId) {
m_jellyfinId = newJellyfinId;
}
} // NS Loader
} // NS Jellyfin

View file

@ -0,0 +1,83 @@
/*
* Sailfin: a Jellyfin client written using Qt
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
* OVERWRITTEN AT SOME POINT!
*
* If there is a bug in this file, please fix the code generator used to generate this file found in
* core/openapigenerator.d.
*
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
* file with a newer file if needed instead of manually updating the files.
*/
#include "JellyfinQt/loader/getdevicesparams.h"
namespace Jellyfin {
namespace Loader {
using namespace Jellyfin::DTO;
// GetDevicesParams
const bool &GetDevicesParams::supportsSync() const {
return m_supportsSync.value();
}
void GetDevicesParams::setSupportsSync(bool newSupportsSync) {
m_supportsSync = newSupportsSync;
}
bool GetDevicesParams::supportsSyncNull() const {
// Nullable: true
// Type Nullable: false
return !m_supportsSync.has_value();
}
void GetDevicesParams::setSupportsSyncNull() {
m_supportsSync = std::nullopt;
}
const QString &GetDevicesParams::userId() const {
return m_userId;
}
void GetDevicesParams::setUserId(QString newUserId) {
m_userId = newUserId;
}
bool GetDevicesParams::userIdNull() const {
// Nullable: true
// Type Nullable: true
return m_userId.isNull();
}
void GetDevicesParams::setUserIdNull() {
m_userId.clear();
}
} // NS Loader
} // NS Jellyfin

Some files were not shown because too many files have changed in this diff Show more