1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-05-06 14:32:41 +00:00

WIP: logic rewrite

WIP: adding loaders
This commit is contained in:
Chris Josten 2021-03-24 20:04:03 +01:00
parent b9b08ab384
commit 2360b261f7
1769 changed files with 124903 additions and 1963 deletions

View file

@ -1,96 +1,62 @@
project(jellyfin-qt VERSION 0.1.0) project(jellyfin-qt VERSION 0.1.0)
find_package(Qt5 5.6 COMPONENTS Multimedia Network Qml WebSockets REQUIRED) find_package(Qt5 5.6 COMPONENTS Multimedia Network Qml WebSockets REQUIRED)
include(GNUInstallDirs) include(GNUInstallDirs)
include(FetchContent)
find_package(Boost REQUIRED)
find_package(Immer)
if(NOT Immer_FOUND)
message(STATUS "Using Immer from FetchContent")
set(immer_BUILD_TESTS OFF)
set(immer_BUILD_EXAMPLES OFF)
set(immer_BUILD_DOCS OFF)
set(immer_BUILD_EXTRAS OFF)
FetchContent_Declare(immer GIT_REPOSITORY https://github.com/arximboldi/immer GIT_TAG
800ddb04e528a3e83e69e8021d7e872e7c34cbcd)
FetchContent_MakeAvailable(immer)
endif()
find_package(Lager)
if(NOT Lager_FOUND)
message(STATUS "Using lager from FetchContent")
set(lager_BUILD_TESTS OFF)
set(lager_BUILD_EXAMPLES OFF)
set(lager_BUILD_DOCS OFF)
set(lager_EMBED_RESOURCES_PATH OFF)
FetchContent_Declare(lager GIT_REPOSITORY https://github.com/arximboldi/lager GIT_TAG
71eca6b0ebbccf3e0e54324b6967f047e49ba92d)
FetchContent_MakeAvailable(lager)
endif()
find_package(cereal)
if(NOT cereal_FOUND)
set(JUST_INSTALL_CEREAL ON)
FetchContent_Declare(cereal GIT_REPOSITORY https://github.com/USCiLab/cereal GIT_TAG v1.3.0)
FetchContent_MakeAvailable(cereal)
endif()
include(GeneratedSources.cmake) include(GeneratedSources.cmake)
set(jellyfin-qt_SOURCES set(JellyfinQt_SOURCES
# src/DTO/dto.cpp # src/DTO/dto.cpp
src/model/item.cpp src/model/item.cpp
src/support/jsonconv.cpp src/support/jsonconv.cpp
src/support/loader.cpp src/support/loader.cpp
src/viewmodel/item.cpp
src/viewmodel/loader.cpp
src/viewmodel/playbackmanager.cpp
src/apiclient.cpp src/apiclient.cpp
src/apimodel.cpp src/apimodel.cpp
src/credentialmanager.cpp src/credentialmanager.cpp
src/deviceprofile.cpp src/deviceprofile.cpp
src/eventbus.cpp
src/jellyfin.cpp src/jellyfin.cpp
src/jsonhelper.cpp src/jsonhelper.cpp
src/playbackmanager.cpp
src/remotedata.cpp
src/serverdiscoverymodel.cpp src/serverdiscoverymodel.cpp
src/websocket.cpp) src/websocket.cpp)
list(APPEND jellyfin-qt_SOURCES ${openapi_SOURCES}) list(APPEND JellyfinQt_SOURCES ${openapi_SOURCES})
set(jellyfin-qt_HEADERS set(JellyfinQt_HEADERS
# include/JellyfinQt/DTO/dto.h
include/JellyfinQt/model/item.h include/JellyfinQt/model/item.h
include/JellyfinQt/support/jsonconv.h include/JellyfinQt/support/jsonconv.h
include/JellyfinQt/support/loader.h include/JellyfinQt/support/loader.h
include/JellyfinQt/viewmodel/item.h
include/JellyfinQt/viewmodel/loader.h
include/JellyfinQt/viewmodel/playbackmanager.h
include/JellyfinQt/apiclient.h include/JellyfinQt/apiclient.h
include/JellyfinQt/apimodel.h include/JellyfinQt/apimodel.h
include/JellyfinQt/credentialmanager.h include/JellyfinQt/credentialmanager.h
include/JellyfinQt/deviceprofile.h include/JellyfinQt/deviceprofile.h
include/JellyfinQt/eventbus.h
include/JellyfinQt/jellyfin.h include/JellyfinQt/jellyfin.h
include/JellyfinQt/jsonhelper.h include/JellyfinQt/jsonhelper.h
include/JellyfinQt/playbackmanager.h
include/JellyfinQt/remotedata.h
include/JellyfinQt/serverdiscoverymodel.h include/JellyfinQt/serverdiscoverymodel.h
include/JellyfinQt/websocket.h) include/JellyfinQt/websocket.h)
list(APPEND jellyfin-qt_SOURCES ${openapi_HEADERS}) list(APPEND JellyfinQt_SOURCES ${openapi_HEADERS})
add_definitions(-DSAILFIN_VERSION=\"${SAILFIN_VERSION}\") add_definitions(-DSAILFIN_VERSION=\"${SAILFIN_VERSION}\")
if (PLATFORM_SAILFISHOS) if (PLATFORM_SAILFISHOS)
add_definitions(-DPLATFORM_SAILFISHOS=1) add_definitions(-DPLATFORM_SAILFISHOS=1)
endif() endif()
add_library(jellyfin-qt ${jellyfin-qt_SOURCES} ${jellyfin-qt_HEADERS}) add_library(JellyfinQt ${JellyfinQt_SOURCES} ${JellyfinQt_HEADERS})
if(${CMAKE_VERSION} VERSION_GREATER "3.16.0") if(${CMAKE_VERSION} VERSION_GREATER "3.16.0")
target_precompile_headers(jellyfin-qt PRIVATE ${jellyfin-qt_HEADERS}) # target_precompile_headers(JellyfinQt PRIVATE ${JellyfinQt_HEADERS})
endif() endif()
target_include_directories(jellyfin-qt target_include_directories(JellyfinQt PUBLIC "include")
PUBLIC "include" "generated/include" target_link_libraries(JellyfinQt PUBLIC Qt5::Core Qt5::Multimedia Qt5::Network Qt5::Qml Qt5::WebSockets)
) set_target_properties(JellyfinQt PROPERTIES CXX_VISIBILITY_PRESET default)
target_link_libraries(jellyfin-qt PUBLIC Qt5::Core Qt5::Multimedia Qt5::Network Qt5::Qml Qt5::WebSockets) install(TARGETS JellyfinQt
set_target_properties(jellyfin-qt PROPERTIES CXX_VISIBILITY_PRESET default)
install(TARGETS jellyfin-qt
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
export(TARGETS jellyfin-qt FILE JellyfinQtConfig.cmake) export(TARGETS JellyfinQt FILE JellyfinQtConfig.cmake)

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,17 @@
{{#if endpoint.hasSuccessResponse}}
{{#if endpoint.description.length > 0}}
/**
* @brief {{endpoint.description}}
*/
{{/if}}
class {{className}} : public {{supportNamespace}}::HttpLoader<{{dtoNamespace}}::{{endpoint.resultType}}, {{endpoint.parameterType}}> {
public:
explicit {{className}}(ApiClient *apiClient);
protected:
QString url(const {{endpoint.parameterType}}& parameters) const override;
QUrlQuery query(const {{endpoint.parameterType}}& parameters) const override;
};
{{/if}}

View file

@ -0,0 +1,2 @@
{{className}}::{{className}}(ApiClient *apiClient)
: Loader<>(apiClient) {}

View file

@ -0,0 +1,55 @@
using namespace {{dtoNamespace}};
{{#each endpoints as |e|}}
class {{e.name}} {
public:
{{#each e.parameters as |param|}}
/**
* @brief {{param.description}}
*/
{{param.type.typeNameWithQualifiers}} {{param.type.name}}() const;
void set{{param.type.writeName}}({{param.type.typeNameWithQualifiers}} new{{param.type.writeName}}) const;
{{/each}}
private:
// Required path parameters
{{#each e.requiredPathParameters as |param|}}
{{param.type.typeNameWithQualifiers}} {{param.type.memberName}};
{{/each}}
// Required query parameters
{{#each e.requiredQueryParameters as |param|}}
{{param.type.typeNameWithQualifiers}} {{param.type.memberName}};
{{/each}}
// Optional path parameters
{{#each e.optionalPathParameters as |param|}}
{{param.type.typeNameWithQualifiers}} {{param.type.memberName}};
{{/each}}
// Optional query parameters
{{#each e.optionalQueryParameters as |param|}}
{{#if param.type.defaultInitializer.length > 0}}
{{param.type.typeNameWithQualifiers}} {{param.type.memberName}} = {{param.type.defaultInitializer}};
{{else}}
{{param.type.typeNameWithQualifiers}} {{param.type.memberName}};
{{/if}}
{{/each}}
};
{{/each}}

View file

@ -0,0 +1,7 @@
/**
* @brief {{description}}
*/
{{typeNameWithQualifiers}} {{name}}() const;
void set{{writeName}}({{typeNameWithQualifiers}} new{{writeName}}) const;

View file

@ -7,7 +7,16 @@ class {{className}};
class {{className}} { class {{className}} {
public: public:
explicit {{className}}();
{{className}}();
{{className}}(const {{className}} &other);
/**
* Replaces the data being hold by this class with that of the other.
*/
void replaceData({{className}} &other);
static {{className}} fromJson(QJsonObject source); static {{className}} fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();
@ -34,9 +43,11 @@ public:
void set{{p.writeName}}({{p.typeNameWithQualifiers}} new{{p.writeName}}); void set{{p.writeName}}({{p.typeNameWithQualifiers}} new{{p.writeName}});
{{#if p.isNullable}} {{#if p.isNullable}}
bool is{{p.writeName}}Null() const; bool {{p.name}}Null() const;
void set{{p.writeName}}Null(); void set{{p.writeName}}Null();
{{/if}} {{/if}}
{{/each}} {{/each}}
protected: protected:

View file

@ -1,6 +1,29 @@
{{className}}::{{className}}() {} {{className}}::{{className}}() {}
{{className}}::{{className}}(const {{className}} &other) :
{{#each properties as |property|}}
{{property.memberName}}(other.{{property.memberName}})
{{#if property.isLast}}
{}
{{else}}
,
{{/if}}
{{/each}}
void {{className}}::replaceData({{className}} &other) {
{{#each properties as |property|}}
{{property.memberName}} = other.{{property.memberName}};
{{/each}}
}
{{className}} {{className}}::fromJson(QJsonObject source) { {{className}} {{className}}::fromJson(QJsonObject source) {
{{className}} instance; {{className}} instance;
@ -39,13 +62,17 @@ void {{className}}::set{{property.writeName}}({{property.typeNameWithQualifiers}
} }
{{#if property.isNullable}} {{#if property.isNullable}}
bool {{className}}::is{{property.writeName}}Null() const { bool {{className}}::{{property.name}}Null() const {
return {{property.nullableCheck}}; return {{property.nullableCheck}};
} }
void {{className}}::setNull() { void {{className}}::set{{property.writeName}}Null() {
{{property.nullableSetter}};
{{property.memberName}}{{property.nullableSetter}};
} }
{{/if}}
{{/each}} {{/each}}
} // NS DTO } // NS DTO

View file

@ -43,8 +43,8 @@ namespace DTO {
class AccessSchedule { class AccessSchedule {
public: public:AccessSchedule();AccessSchedule(const AccessSchedule &other);
explicit AccessSchedule();
static AccessSchedule fromJson(QJsonObject source); static AccessSchedule fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class ActivityLogEntry { class ActivityLogEntry {
public: public:ActivityLogEntry();ActivityLogEntry(const ActivityLogEntry &other);
explicit ActivityLogEntry();
static ActivityLogEntry fromJson(QJsonObject source); static ActivityLogEntry fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class ActivityLogEntryQueryResult { class ActivityLogEntryQueryResult {
public: public:ActivityLogEntryQueryResult();ActivityLogEntryQueryResult(const ActivityLogEntryQueryResult &other);
explicit ActivityLogEntryQueryResult();
static ActivityLogEntryQueryResult fromJson(QJsonObject source); static ActivityLogEntryQueryResult fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class AddVirtualFolderDto { class AddVirtualFolderDto {
public: public:AddVirtualFolderDto();AddVirtualFolderDto(const AddVirtualFolderDto &other);
explicit AddVirtualFolderDto();
static AddVirtualFolderDto fromJson(QJsonObject source); static AddVirtualFolderDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -47,8 +47,8 @@ namespace DTO {
class AlbumInfo { class AlbumInfo {
public: public:AlbumInfo();AlbumInfo(const AlbumInfo &other);
explicit AlbumInfo();
static AlbumInfo fromJson(QJsonObject source); static AlbumInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class AlbumInfoRemoteSearchQuery { class AlbumInfoRemoteSearchQuery {
public: public:AlbumInfoRemoteSearchQuery();AlbumInfoRemoteSearchQuery(const AlbumInfoRemoteSearchQuery &other);
explicit AlbumInfoRemoteSearchQuery();
static AlbumInfoRemoteSearchQuery fromJson(QJsonObject source); static AlbumInfoRemoteSearchQuery fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class AllThemeMediaResult { class AllThemeMediaResult {
public: public:AllThemeMediaResult();AllThemeMediaResult(const AllThemeMediaResult &other);
explicit AllThemeMediaResult();
static AllThemeMediaResult fromJson(QJsonObject source); static AllThemeMediaResult fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -47,8 +47,8 @@ namespace DTO {
class ArtistInfo { class ArtistInfo {
public: public:ArtistInfo();ArtistInfo(const ArtistInfo &other);
explicit ArtistInfo();
static ArtistInfo fromJson(QJsonObject source); static ArtistInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class ArtistInfoRemoteSearchQuery { class ArtistInfoRemoteSearchQuery {
public: public:ArtistInfoRemoteSearchQuery();ArtistInfoRemoteSearchQuery(const ArtistInfoRemoteSearchQuery &other);
explicit ArtistInfoRemoteSearchQuery();
static ArtistInfoRemoteSearchQuery fromJson(QJsonObject source); static ArtistInfoRemoteSearchQuery fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class AuthenticateUserByName { class AuthenticateUserByName {
public: public:AuthenticateUserByName();AuthenticateUserByName(const AuthenticateUserByName &other);
explicit AuthenticateUserByName();
static AuthenticateUserByName fromJson(QJsonObject source); static AuthenticateUserByName fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -44,8 +44,8 @@ namespace DTO {
class AuthenticationInfo { class AuthenticationInfo {
public: public:AuthenticationInfo();AuthenticationInfo(const AuthenticationInfo &other);
explicit AuthenticationInfo();
static AuthenticationInfo fromJson(QJsonObject source); static AuthenticationInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class AuthenticationInfoQueryResult { class AuthenticationInfoQueryResult {
public: public:AuthenticationInfoQueryResult();AuthenticationInfoQueryResult(const AuthenticationInfoQueryResult &other);
explicit AuthenticationInfoQueryResult();
static AuthenticationInfoQueryResult fromJson(QJsonObject source); static AuthenticationInfoQueryResult fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class AuthenticationResult { class AuthenticationResult {
public: public:AuthenticationResult();AuthenticationResult(const AuthenticationResult &other);
explicit AuthenticationResult();
static AuthenticationResult fromJson(QJsonObject source); static AuthenticationResult fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -48,8 +48,8 @@ namespace DTO {
class BaseItem { class BaseItem {
public: public:BaseItem();BaseItem(const BaseItem &other);
explicit BaseItem();
static BaseItem fromJson(QJsonObject source); static BaseItem fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -65,8 +65,8 @@ namespace DTO {
class BaseItemDto { class BaseItemDto {
public: public:BaseItemDto();BaseItemDto(const BaseItemDto &other);
explicit BaseItemDto();
static BaseItemDto fromJson(QJsonObject source); static BaseItemDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class BaseItemDtoQueryResult { class BaseItemDtoQueryResult {
public: public:BaseItemDtoQueryResult();BaseItemDtoQueryResult(const BaseItemDtoQueryResult &other);
explicit BaseItemDtoQueryResult();
static BaseItemDtoQueryResult fromJson(QJsonObject source); static BaseItemDtoQueryResult fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class BaseItemPerson { class BaseItemPerson {
public: public:BaseItemPerson();BaseItemPerson(const BaseItemPerson &other);
explicit BaseItemPerson();
static BaseItemPerson fromJson(QJsonObject source); static BaseItemPerson fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class BookInfo { class BookInfo {
public: public:BookInfo();BookInfo(const BookInfo &other);
explicit BookInfo();
static BookInfo fromJson(QJsonObject source); static BookInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class BookInfoRemoteSearchQuery { class BookInfoRemoteSearchQuery {
public: public:BookInfoRemoteSearchQuery();BookInfoRemoteSearchQuery(const BookInfoRemoteSearchQuery &other);
explicit BookInfoRemoteSearchQuery();
static BookInfoRemoteSearchQuery fromJson(QJsonObject source); static BookInfoRemoteSearchQuery fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class BoxSetInfo { class BoxSetInfo {
public: public:BoxSetInfo();BoxSetInfo(const BoxSetInfo &other);
explicit BoxSetInfo();
static BoxSetInfo fromJson(QJsonObject source); static BoxSetInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class BoxSetInfoRemoteSearchQuery { class BoxSetInfoRemoteSearchQuery {
public: public:BoxSetInfoRemoteSearchQuery();BoxSetInfoRemoteSearchQuery(const BoxSetInfoRemoteSearchQuery &other);
explicit BoxSetInfoRemoteSearchQuery();
static BoxSetInfoRemoteSearchQuery fromJson(QJsonObject source); static BoxSetInfoRemoteSearchQuery fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class BrandingOptions { class BrandingOptions {
public: public:BrandingOptions();BrandingOptions(const BrandingOptions &other);
explicit BrandingOptions();
static BrandingOptions fromJson(QJsonObject source); static BrandingOptions fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class BufferRequestDto { class BufferRequestDto {
public: public:BufferRequestDto();BufferRequestDto(const BufferRequestDto &other);
explicit BufferRequestDto();
static BufferRequestDto fromJson(QJsonObject source); static BufferRequestDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -47,8 +47,8 @@ namespace DTO {
class ChannelFeatures { class ChannelFeatures {
public: public:ChannelFeatures();ChannelFeatures(const ChannelFeatures &other);
explicit ChannelFeatures();
static ChannelFeatures fromJson(QJsonObject source); static ChannelFeatures fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -48,8 +48,8 @@ namespace DTO {
class ChannelMappingOptionsDto { class ChannelMappingOptionsDto {
public: public:ChannelMappingOptionsDto();ChannelMappingOptionsDto(const ChannelMappingOptionsDto &other);
explicit ChannelMappingOptionsDto();
static ChannelMappingOptionsDto fromJson(QJsonObject source); static ChannelMappingOptionsDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class ChapterInfo { class ChapterInfo {
public: public:ChapterInfo();ChapterInfo(const ChapterInfo &other);
explicit ChapterInfo();
static ChapterInfo fromJson(QJsonObject source); static ChapterInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -47,8 +47,8 @@ namespace DTO {
class ClientCapabilities { class ClientCapabilities {
public: public:ClientCapabilities();ClientCapabilities(const ClientCapabilities &other);
explicit ClientCapabilities();
static ClientCapabilities fromJson(QJsonObject source); static ClientCapabilities fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -47,8 +47,8 @@ namespace DTO {
class ClientCapabilitiesDto { class ClientCapabilitiesDto {
public: public:ClientCapabilitiesDto();ClientCapabilitiesDto(const ClientCapabilitiesDto &other);
explicit ClientCapabilitiesDto();
static ClientCapabilitiesDto fromJson(QJsonObject source); static ClientCapabilitiesDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -47,8 +47,8 @@ namespace DTO {
class CodecProfile { class CodecProfile {
public: public:CodecProfile();CodecProfile(const CodecProfile &other);
explicit CodecProfile();
static CodecProfile fromJson(QJsonObject source); static CodecProfile fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class CollectionCreationResult { class CollectionCreationResult {
public: public:CollectionCreationResult();CollectionCreationResult(const CollectionCreationResult &other);
explicit CollectionCreationResult();
static CollectionCreationResult fromJson(QJsonObject source); static CollectionCreationResult fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -44,8 +44,8 @@ namespace DTO {
class ConfigurationPageInfo { class ConfigurationPageInfo {
public: public:ConfigurationPageInfo();ConfigurationPageInfo(const ConfigurationPageInfo &other);
explicit ConfigurationPageInfo();
static ConfigurationPageInfo fromJson(QJsonObject source); static ConfigurationPageInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -47,8 +47,8 @@ namespace DTO {
class ContainerProfile { class ContainerProfile {
public: public:ContainerProfile();ContainerProfile(const ContainerProfile &other);
explicit ContainerProfile();
static ContainerProfile fromJson(QJsonObject source); static ContainerProfile fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class ControlResponse { class ControlResponse {
public: public:ControlResponse();ControlResponse(const ControlResponse &other);
explicit ControlResponse();
static ControlResponse fromJson(QJsonObject source); static ControlResponse fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class CountryInfo { class CountryInfo {
public: public:CountryInfo();CountryInfo(const CountryInfo &other);
explicit CountryInfo();
static CountryInfo fromJson(QJsonObject source); static CountryInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class CreatePlaylistDto { class CreatePlaylistDto {
public: public:CreatePlaylistDto();CreatePlaylistDto(const CreatePlaylistDto &other);
explicit CreatePlaylistDto();
static CreatePlaylistDto fromJson(QJsonObject source); static CreatePlaylistDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class CreateUserByName { class CreateUserByName {
public: public:CreateUserByName();CreateUserByName(const CreateUserByName &other);
explicit CreateUserByName();
static CreateUserByName fromJson(QJsonObject source); static CreateUserByName fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -44,8 +44,8 @@ namespace DTO {
class CultureDto { class CultureDto {
public: public:CultureDto();CultureDto(const CultureDto &other);
explicit CultureDto();
static CultureDto fromJson(QJsonObject source); static CultureDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class DefaultDirectoryBrowserInfoDto { class DefaultDirectoryBrowserInfoDto {
public: public:DefaultDirectoryBrowserInfoDto();DefaultDirectoryBrowserInfoDto(const DefaultDirectoryBrowserInfoDto &other);
explicit DefaultDirectoryBrowserInfoDto();
static DefaultDirectoryBrowserInfoDto fromJson(QJsonObject source); static DefaultDirectoryBrowserInfoDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -46,8 +46,8 @@ namespace DTO {
class DeviceIdentification { class DeviceIdentification {
public: public:DeviceIdentification();DeviceIdentification(const DeviceIdentification &other);
explicit DeviceIdentification();
static DeviceIdentification fromJson(QJsonObject source); static DeviceIdentification fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -46,8 +46,8 @@ namespace DTO {
class DeviceInfo { class DeviceInfo {
public: public:DeviceInfo();DeviceInfo(const DeviceInfo &other);
explicit DeviceInfo();
static DeviceInfo fromJson(QJsonObject source); static DeviceInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class DeviceInfoQueryResult { class DeviceInfoQueryResult {
public: public:DeviceInfoQueryResult();DeviceInfoQueryResult(const DeviceInfoQueryResult &other);
explicit DeviceInfoQueryResult();
static DeviceInfoQueryResult fromJson(QJsonObject source); static DeviceInfoQueryResult fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class DeviceOptions { class DeviceOptions {
public: public:DeviceOptions();DeviceOptions(const DeviceOptions &other);
explicit DeviceOptions();
static DeviceOptions fromJson(QJsonObject source); static DeviceOptions fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -53,8 +53,8 @@ namespace DTO {
class DeviceProfile { class DeviceProfile {
public: public:DeviceProfile();DeviceProfile(const DeviceProfile &other);
explicit DeviceProfile();
static DeviceProfile fromJson(QJsonObject source); static DeviceProfile fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class DeviceProfileInfo { class DeviceProfileInfo {
public: public:DeviceProfileInfo();DeviceProfileInfo(const DeviceProfileInfo &other);
explicit DeviceProfileInfo();
static DeviceProfileInfo fromJson(QJsonObject source); static DeviceProfileInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class DirectPlayProfile { class DirectPlayProfile {
public: public:DirectPlayProfile();DirectPlayProfile(const DirectPlayProfile &other);
explicit DirectPlayProfile();
static DirectPlayProfile fromJson(QJsonObject source); static DirectPlayProfile fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -44,8 +44,8 @@ namespace DTO {
class DisplayPreferencesDto { class DisplayPreferencesDto {
public: public:DisplayPreferencesDto();DisplayPreferencesDto(const DisplayPreferencesDto &other);
explicit DisplayPreferencesDto();
static DisplayPreferencesDto fromJson(QJsonObject source); static DisplayPreferencesDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -41,8 +41,8 @@ namespace DTO {
class EndPointInfo { class EndPointInfo {
public: public:EndPointInfo();EndPointInfo(const EndPointInfo &other);
explicit EndPointInfo();
static EndPointInfo fromJson(QJsonObject source); static EndPointInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class ExternalIdInfo { class ExternalIdInfo {
public: public:ExternalIdInfo();ExternalIdInfo(const ExternalIdInfo &other);
explicit ExternalIdInfo();
static ExternalIdInfo fromJson(QJsonObject source); static ExternalIdInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class ExternalUrl { class ExternalUrl {
public: public:ExternalUrl();ExternalUrl(const ExternalUrl &other);
explicit ExternalUrl();
static ExternalUrl fromJson(QJsonObject source); static ExternalUrl fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class FileSystemEntryInfo { class FileSystemEntryInfo {
public: public:FileSystemEntryInfo();FileSystemEntryInfo(const FileSystemEntryInfo &other);
explicit FileSystemEntryInfo();
static FileSystemEntryInfo fromJson(QJsonObject source); static FileSystemEntryInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class FontFile { class FontFile {
public: public:FontFile();FontFile(const FontFile &other);
explicit FontFile();
static FontFile fromJson(QJsonObject source); static FontFile fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class ForgotPasswordDto { class ForgotPasswordDto {
public: public:ForgotPasswordDto();ForgotPasswordDto(const ForgotPasswordDto &other);
explicit ForgotPasswordDto();
static ForgotPasswordDto fromJson(QJsonObject source); static ForgotPasswordDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -44,8 +44,8 @@ namespace DTO {
class ForgotPasswordResult { class ForgotPasswordResult {
public: public:ForgotPasswordResult();ForgotPasswordResult(const ForgotPasswordResult &other);
explicit ForgotPasswordResult();
static ForgotPasswordResult fromJson(QJsonObject source); static ForgotPasswordResult fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class GeneralCommand { class GeneralCommand {
public: public:GeneralCommand();GeneralCommand(const GeneralCommand &other);
explicit GeneralCommand();
static GeneralCommand fromJson(QJsonObject source); static GeneralCommand fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -48,8 +48,8 @@ namespace DTO {
class GetProgramsDto { class GetProgramsDto {
public: public:GetProgramsDto();GetProgramsDto(const GetProgramsDto &other);
explicit GetProgramsDto();
static GetProgramsDto fromJson(QJsonObject source); static GetProgramsDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -47,8 +47,8 @@ namespace DTO {
class GroupInfoDto { class GroupInfoDto {
public: public:GroupInfoDto();GroupInfoDto(const GroupInfoDto &other);
explicit GroupInfoDto();
static GroupInfoDto fromJson(QJsonObject source); static GroupInfoDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class GuideInfo { class GuideInfo {
public: public:GuideInfo();GuideInfo(const GuideInfo &other);
explicit GuideInfo();
static GuideInfo fromJson(QJsonObject source); static GuideInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class HttpHeaderInfo { class HttpHeaderInfo {
public: public:HttpHeaderInfo();HttpHeaderInfo(const HttpHeaderInfo &other);
explicit HttpHeaderInfo();
static HttpHeaderInfo fromJson(QJsonObject source); static HttpHeaderInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -41,8 +41,8 @@ namespace DTO {
class IgnoreWaitRequestDto { class IgnoreWaitRequestDto {
public: public:IgnoreWaitRequestDto();IgnoreWaitRequestDto(const IgnoreWaitRequestDto &other);
explicit IgnoreWaitRequestDto();
static IgnoreWaitRequestDto fromJson(QJsonObject source); static IgnoreWaitRequestDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class ImageByNameInfo { class ImageByNameInfo {
public: public:ImageByNameInfo();ImageByNameInfo(const ImageByNameInfo &other);
explicit ImageByNameInfo();
static ImageByNameInfo fromJson(QJsonObject source); static ImageByNameInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class ImageInfo { class ImageInfo {
public: public:ImageInfo();ImageInfo(const ImageInfo &other);
explicit ImageInfo();
static ImageInfo fromJson(QJsonObject source); static ImageInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class ImageOption { class ImageOption {
public: public:ImageOption();ImageOption(const ImageOption &other);
explicit ImageOption();
static ImageOption fromJson(QJsonObject source); static ImageOption fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class ImageProviderInfo { class ImageProviderInfo {
public: public:ImageProviderInfo();ImageProviderInfo(const ImageProviderInfo &other);
explicit ImageProviderInfo();
static ImageProviderInfo fromJson(QJsonObject source); static ImageProviderInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class InstallationInfo { class InstallationInfo {
public: public:InstallationInfo();InstallationInfo(const InstallationInfo &other);
explicit InstallationInfo();
static InstallationInfo fromJson(QJsonObject source); static InstallationInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class IPlugin { class IPlugin {
public: public:IPlugin();IPlugin(const IPlugin &other);
explicit IPlugin();
static IPlugin fromJson(QJsonObject source); static IPlugin fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -41,8 +41,8 @@ namespace DTO {
class ItemCounts { class ItemCounts {
public: public:ItemCounts();ItemCounts(const ItemCounts &other);
explicit ItemCounts();
static ItemCounts fromJson(QJsonObject source); static ItemCounts fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class JoinGroupRequestDto { class JoinGroupRequestDto {
public: public:JoinGroupRequestDto();JoinGroupRequestDto(const JoinGroupRequestDto &other);
explicit JoinGroupRequestDto();
static JoinGroupRequestDto fromJson(QJsonObject source); static JoinGroupRequestDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class LibraryOptionInfoDto { class LibraryOptionInfoDto {
public: public:LibraryOptionInfoDto();LibraryOptionInfoDto(const LibraryOptionInfoDto &other);
explicit LibraryOptionInfoDto();
static LibraryOptionInfoDto fromJson(QJsonObject source); static LibraryOptionInfoDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -47,8 +47,8 @@ namespace DTO {
class LibraryOptions { class LibraryOptions {
public: public:LibraryOptions();LibraryOptions(const LibraryOptions &other);
explicit LibraryOptions();
static LibraryOptions fromJson(QJsonObject source); static LibraryOptions fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -46,8 +46,8 @@ namespace DTO {
class LibraryOptionsResultDto { class LibraryOptionsResultDto {
public: public:LibraryOptionsResultDto();LibraryOptionsResultDto(const LibraryOptionsResultDto &other);
explicit LibraryOptionsResultDto();
static LibraryOptionsResultDto fromJson(QJsonObject source); static LibraryOptionsResultDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -48,8 +48,8 @@ namespace DTO {
class LibraryTypeOptionsDto { class LibraryTypeOptionsDto {
public: public:LibraryTypeOptionsDto();LibraryTypeOptionsDto(const LibraryTypeOptionsDto &other);
explicit LibraryTypeOptionsDto();
static LibraryTypeOptionsDto fromJson(QJsonObject source); static LibraryTypeOptionsDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -44,8 +44,8 @@ namespace DTO {
class LibraryUpdateInfo { class LibraryUpdateInfo {
public: public:LibraryUpdateInfo();LibraryUpdateInfo(const LibraryUpdateInfo &other);
explicit LibraryUpdateInfo();
static LibraryUpdateInfo fromJson(QJsonObject source); static LibraryUpdateInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -46,8 +46,8 @@ namespace DTO {
class ListingsProviderInfo { class ListingsProviderInfo {
public: public:ListingsProviderInfo();ListingsProviderInfo(const ListingsProviderInfo &other);
explicit ListingsProviderInfo();
static ListingsProviderInfo fromJson(QJsonObject source); static ListingsProviderInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class LiveStreamResponse { class LiveStreamResponse {
public: public:LiveStreamResponse();LiveStreamResponse(const LiveStreamResponse &other);
explicit LiveStreamResponse();
static LiveStreamResponse fromJson(QJsonObject source); static LiveStreamResponse fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class LiveTvInfo { class LiveTvInfo {
public: public:LiveTvInfo();LiveTvInfo(const LiveTvInfo &other);
explicit LiveTvInfo();
static LiveTvInfo fromJson(QJsonObject source); static LiveTvInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class LiveTvServiceInfo { class LiveTvServiceInfo {
public: public:LiveTvServiceInfo();LiveTvServiceInfo(const LiveTvServiceInfo &other);
explicit LiveTvServiceInfo();
static LiveTvServiceInfo fromJson(QJsonObject source); static LiveTvServiceInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class LocalizationOption { class LocalizationOption {
public: public:LocalizationOption();LocalizationOption(const LocalizationOption &other);
explicit LocalizationOption();
static LocalizationOption fromJson(QJsonObject source); static LocalizationOption fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class LogFile { class LogFile {
public: public:LogFile();LogFile(const LogFile &other);
explicit LogFile();
static LogFile fromJson(QJsonObject source); static LogFile fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class MediaAttachment { class MediaAttachment {
public: public:MediaAttachment();MediaAttachment(const MediaAttachment &other);
explicit MediaAttachment();
static MediaAttachment fromJson(QJsonObject source); static MediaAttachment fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class MediaEncoderPathDto { class MediaEncoderPathDto {
public: public:MediaEncoderPathDto();MediaEncoderPathDto(const MediaEncoderPathDto &other);
explicit MediaEncoderPathDto();
static MediaEncoderPathDto fromJson(QJsonObject source); static MediaEncoderPathDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -44,8 +44,8 @@ namespace DTO {
class MediaPathDto { class MediaPathDto {
public: public:MediaPathDto();MediaPathDto(const MediaPathDto &other);
explicit MediaPathDto();
static MediaPathDto fromJson(QJsonObject source); static MediaPathDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class MediaPathInfo { class MediaPathInfo {
public: public:MediaPathInfo();MediaPathInfo(const MediaPathInfo &other);
explicit MediaPathInfo();
static MediaPathInfo fromJson(QJsonObject source); static MediaPathInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -53,8 +53,8 @@ namespace DTO {
class MediaSourceInfo { class MediaSourceInfo {
public: public:MediaSourceInfo();MediaSourceInfo(const MediaSourceInfo &other);
explicit MediaSourceInfo();
static MediaSourceInfo fromJson(QJsonObject source); static MediaSourceInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -44,8 +44,8 @@ namespace DTO {
class MediaStream { class MediaStream {
public: public:MediaStream();MediaStream(const MediaStream &other);
explicit MediaStream();
static MediaStream fromJson(QJsonObject source); static MediaStream fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class MediaUpdateInfoDto { class MediaUpdateInfoDto {
public: public:MediaUpdateInfoDto();MediaUpdateInfoDto(const MediaUpdateInfoDto &other);
explicit MediaUpdateInfoDto();
static MediaUpdateInfoDto fromJson(QJsonObject source); static MediaUpdateInfoDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class MediaUrl { class MediaUrl {
public: public:MediaUrl();MediaUrl(const MediaUrl &other);
explicit MediaUrl();
static MediaUrl fromJson(QJsonObject source); static MediaUrl fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -50,8 +50,8 @@ namespace DTO {
class MetadataEditorInfo { class MetadataEditorInfo {
public: public:MetadataEditorInfo();MetadataEditorInfo(const MetadataEditorInfo &other);
explicit MetadataEditorInfo();
static MetadataEditorInfo fromJson(QJsonObject source); static MetadataEditorInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -44,8 +44,8 @@ namespace DTO {
class MetadataOptions { class MetadataOptions {
public: public:MetadataOptions();MetadataOptions(const MetadataOptions &other);
explicit MetadataOptions();
static MetadataOptions fromJson(QJsonObject source); static MetadataOptions fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -42,8 +42,8 @@ namespace DTO {
class MovePlaylistItemRequestDto { class MovePlaylistItemRequestDto {
public: public:MovePlaylistItemRequestDto();MovePlaylistItemRequestDto(const MovePlaylistItemRequestDto &other);
explicit MovePlaylistItemRequestDto();
static MovePlaylistItemRequestDto fromJson(QJsonObject source); static MovePlaylistItemRequestDto fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -43,8 +43,8 @@ namespace DTO {
class MovieInfo { class MovieInfo {
public: public:MovieInfo();MovieInfo(const MovieInfo &other);
explicit MovieInfo();
static MovieInfo fromJson(QJsonObject source); static MovieInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class MovieInfoRemoteSearchQuery { class MovieInfoRemoteSearchQuery {
public: public:MovieInfoRemoteSearchQuery();MovieInfoRemoteSearchQuery(const MovieInfoRemoteSearchQuery &other);
explicit MovieInfoRemoteSearchQuery();
static MovieInfoRemoteSearchQuery fromJson(QJsonObject source); static MovieInfoRemoteSearchQuery fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

View file

@ -45,8 +45,8 @@ namespace DTO {
class MusicVideoInfo { class MusicVideoInfo {
public: public:MusicVideoInfo();MusicVideoInfo(const MusicVideoInfo &other);
explicit MusicVideoInfo();
static MusicVideoInfo fromJson(QJsonObject source); static MusicVideoInfo fromJson(QJsonObject source);
void setFromJson(QJsonObject source); void setFromJson(QJsonObject source);
QJsonObject toJson(); QJsonObject toJson();

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