mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-21 16:55:17 +00:00
WIP: logic rewrite
WIP: adding loaders
This commit is contained in:
parent
b9b08ab384
commit
2360b261f7
|
@ -1,96 +1,62 @@
|
|||
project(jellyfin-qt VERSION 0.1.0)
|
||||
find_package(Qt5 5.6 COMPONENTS Multimedia Network Qml WebSockets REQUIRED)
|
||||
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)
|
||||
|
||||
set(jellyfin-qt_SOURCES
|
||||
set(JellyfinQt_SOURCES
|
||||
# src/DTO/dto.cpp
|
||||
src/model/item.cpp
|
||||
src/support/jsonconv.cpp
|
||||
src/support/loader.cpp
|
||||
src/viewmodel/item.cpp
|
||||
src/viewmodel/loader.cpp
|
||||
src/viewmodel/playbackmanager.cpp
|
||||
src/apiclient.cpp
|
||||
src/apimodel.cpp
|
||||
src/credentialmanager.cpp
|
||||
src/deviceprofile.cpp
|
||||
src/eventbus.cpp
|
||||
src/jellyfin.cpp
|
||||
src/jsonhelper.cpp
|
||||
src/playbackmanager.cpp
|
||||
src/remotedata.cpp
|
||||
src/serverdiscoverymodel.cpp
|
||||
src/websocket.cpp)
|
||||
|
||||
list(APPEND jellyfin-qt_SOURCES ${openapi_SOURCES})
|
||||
list(APPEND JellyfinQt_SOURCES ${openapi_SOURCES})
|
||||
|
||||
set(jellyfin-qt_HEADERS
|
||||
# include/JellyfinQt/DTO/dto.h
|
||||
set(JellyfinQt_HEADERS
|
||||
include/JellyfinQt/model/item.h
|
||||
include/JellyfinQt/support/jsonconv.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/apimodel.h
|
||||
include/JellyfinQt/credentialmanager.h
|
||||
include/JellyfinQt/deviceprofile.h
|
||||
include/JellyfinQt/eventbus.h
|
||||
include/JellyfinQt/jellyfin.h
|
||||
include/JellyfinQt/jsonhelper.h
|
||||
include/JellyfinQt/playbackmanager.h
|
||||
include/JellyfinQt/remotedata.h
|
||||
include/JellyfinQt/serverdiscoverymodel.h
|
||||
include/JellyfinQt/websocket.h)
|
||||
|
||||
list(APPEND jellyfin-qt_SOURCES ${openapi_HEADERS})
|
||||
list(APPEND JellyfinQt_SOURCES ${openapi_HEADERS})
|
||||
|
||||
add_definitions(-DSAILFIN_VERSION=\"${SAILFIN_VERSION}\")
|
||||
if (PLATFORM_SAILFISHOS)
|
||||
add_definitions(-DPLATFORM_SAILFISHOS=1)
|
||||
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")
|
||||
target_precompile_headers(jellyfin-qt PRIVATE ${jellyfin-qt_HEADERS})
|
||||
# target_precompile_headers(JellyfinQt PRIVATE ${JellyfinQt_HEADERS})
|
||||
endif()
|
||||
target_include_directories(jellyfin-qt
|
||||
PUBLIC "include" "generated/include"
|
||||
)
|
||||
target_link_libraries(jellyfin-qt PUBLIC Qt5::Core Qt5::Multimedia Qt5::Network Qt5::Qml Qt5::WebSockets)
|
||||
set_target_properties(jellyfin-qt PROPERTIES CXX_VISIBILITY_PRESET default)
|
||||
install(TARGETS jellyfin-qt
|
||||
target_include_directories(JellyfinQt PUBLIC "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)
|
||||
install(TARGETS JellyfinQt
|
||||
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||
INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
||||
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
17
core/codegen/loader_header.hbs
Normal file
17
core/codegen/loader_header.hbs
Normal 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}}
|
2
core/codegen/loader_implementation.hbs
Normal file
2
core/codegen/loader_implementation.hbs
Normal file
|
@ -0,0 +1,2 @@
|
|||
{{className}}::{{className}}(ApiClient *apiClient)
|
||||
: Loader<>(apiClient) {}
|
55
core/codegen/loader_types_header.hbs
Normal file
55
core/codegen/loader_types_header.hbs
Normal 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}}
|
7
core/codegen/loader_types_header_getters_setters.hbs
Normal file
7
core/codegen/loader_types_header_getters_setters.hbs
Normal file
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* @brief {{description}}
|
||||
|
||||
*/
|
||||
|
||||
{{typeNameWithQualifiers}} {{name}}() const;
|
||||
void set{{writeName}}({{typeNameWithQualifiers}} new{{writeName}}) const;
|
|
@ -7,7 +7,16 @@ class {{className}};
|
|||
|
||||
class {{className}} {
|
||||
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);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
@ -34,9 +43,11 @@ public:
|
|||
void set{{p.writeName}}({{p.typeNameWithQualifiers}} new{{p.writeName}});
|
||||
|
||||
{{#if p.isNullable}}
|
||||
bool is{{p.writeName}}Null() const;
|
||||
bool {{p.name}}Null() const;
|
||||
void set{{p.writeName}}Null();
|
||||
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
|
||||
protected:
|
||||
|
|
|
@ -1,6 +1,29 @@
|
|||
{{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}} instance;
|
||||
|
@ -39,13 +62,17 @@ void {{className}}::set{{property.writeName}}({{property.typeNameWithQualifiers}
|
|||
}
|
||||
|
||||
{{#if property.isNullable}}
|
||||
bool {{className}}::is{{property.writeName}}Null() const {
|
||||
bool {{className}}::{{property.name}}Null() const {
|
||||
return {{property.nullableCheck}};
|
||||
}
|
||||
|
||||
void {{className}}::setNull() {
|
||||
{{property.nullableSetter}};
|
||||
void {{className}}::set{{property.writeName}}Null() {
|
||||
|
||||
{{property.memberName}}{{property.nullableSetter}};
|
||||
|
||||
}
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
|
||||
} // NS DTO
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class AccessSchedule {
|
||||
public:
|
||||
explicit AccessSchedule();
|
||||
public:AccessSchedule();AccessSchedule(const AccessSchedule &other);
|
||||
|
||||
static AccessSchedule fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ActivityLogEntry {
|
||||
public:
|
||||
explicit ActivityLogEntry();
|
||||
public:ActivityLogEntry();ActivityLogEntry(const ActivityLogEntry &other);
|
||||
|
||||
static ActivityLogEntry fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ActivityLogEntryQueryResult {
|
||||
public:
|
||||
explicit ActivityLogEntryQueryResult();
|
||||
public:ActivityLogEntryQueryResult();ActivityLogEntryQueryResult(const ActivityLogEntryQueryResult &other);
|
||||
|
||||
static ActivityLogEntryQueryResult fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class AddVirtualFolderDto {
|
||||
public:
|
||||
explicit AddVirtualFolderDto();
|
||||
public:AddVirtualFolderDto();AddVirtualFolderDto(const AddVirtualFolderDto &other);
|
||||
|
||||
static AddVirtualFolderDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -47,8 +47,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class AlbumInfo {
|
||||
public:
|
||||
explicit AlbumInfo();
|
||||
public:AlbumInfo();AlbumInfo(const AlbumInfo &other);
|
||||
|
||||
static AlbumInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class AlbumInfoRemoteSearchQuery {
|
||||
public:
|
||||
explicit AlbumInfoRemoteSearchQuery();
|
||||
public:AlbumInfoRemoteSearchQuery();AlbumInfoRemoteSearchQuery(const AlbumInfoRemoteSearchQuery &other);
|
||||
|
||||
static AlbumInfoRemoteSearchQuery fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class AllThemeMediaResult {
|
||||
public:
|
||||
explicit AllThemeMediaResult();
|
||||
public:AllThemeMediaResult();AllThemeMediaResult(const AllThemeMediaResult &other);
|
||||
|
||||
static AllThemeMediaResult fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -47,8 +47,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ArtistInfo {
|
||||
public:
|
||||
explicit ArtistInfo();
|
||||
public:ArtistInfo();ArtistInfo(const ArtistInfo &other);
|
||||
|
||||
static ArtistInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ArtistInfoRemoteSearchQuery {
|
||||
public:
|
||||
explicit ArtistInfoRemoteSearchQuery();
|
||||
public:ArtistInfoRemoteSearchQuery();ArtistInfoRemoteSearchQuery(const ArtistInfoRemoteSearchQuery &other);
|
||||
|
||||
static ArtistInfoRemoteSearchQuery fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class AuthenticateUserByName {
|
||||
public:
|
||||
explicit AuthenticateUserByName();
|
||||
public:AuthenticateUserByName();AuthenticateUserByName(const AuthenticateUserByName &other);
|
||||
|
||||
static AuthenticateUserByName fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class AuthenticationInfo {
|
||||
public:
|
||||
explicit AuthenticationInfo();
|
||||
public:AuthenticationInfo();AuthenticationInfo(const AuthenticationInfo &other);
|
||||
|
||||
static AuthenticationInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class AuthenticationInfoQueryResult {
|
||||
public:
|
||||
explicit AuthenticationInfoQueryResult();
|
||||
public:AuthenticationInfoQueryResult();AuthenticationInfoQueryResult(const AuthenticationInfoQueryResult &other);
|
||||
|
||||
static AuthenticationInfoQueryResult fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class AuthenticationResult {
|
||||
public:
|
||||
explicit AuthenticationResult();
|
||||
public:AuthenticationResult();AuthenticationResult(const AuthenticationResult &other);
|
||||
|
||||
static AuthenticationResult fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -48,8 +48,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BaseItem {
|
||||
public:
|
||||
explicit BaseItem();
|
||||
public:BaseItem();BaseItem(const BaseItem &other);
|
||||
|
||||
static BaseItem fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -65,8 +65,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BaseItemDto {
|
||||
public:
|
||||
explicit BaseItemDto();
|
||||
public:BaseItemDto();BaseItemDto(const BaseItemDto &other);
|
||||
|
||||
static BaseItemDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BaseItemDtoQueryResult {
|
||||
public:
|
||||
explicit BaseItemDtoQueryResult();
|
||||
public:BaseItemDtoQueryResult();BaseItemDtoQueryResult(const BaseItemDtoQueryResult &other);
|
||||
|
||||
static BaseItemDtoQueryResult fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BaseItemPerson {
|
||||
public:
|
||||
explicit BaseItemPerson();
|
||||
public:BaseItemPerson();BaseItemPerson(const BaseItemPerson &other);
|
||||
|
||||
static BaseItemPerson fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BookInfo {
|
||||
public:
|
||||
explicit BookInfo();
|
||||
public:BookInfo();BookInfo(const BookInfo &other);
|
||||
|
||||
static BookInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BookInfoRemoteSearchQuery {
|
||||
public:
|
||||
explicit BookInfoRemoteSearchQuery();
|
||||
public:BookInfoRemoteSearchQuery();BookInfoRemoteSearchQuery(const BookInfoRemoteSearchQuery &other);
|
||||
|
||||
static BookInfoRemoteSearchQuery fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BoxSetInfo {
|
||||
public:
|
||||
explicit BoxSetInfo();
|
||||
public:BoxSetInfo();BoxSetInfo(const BoxSetInfo &other);
|
||||
|
||||
static BoxSetInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BoxSetInfoRemoteSearchQuery {
|
||||
public:
|
||||
explicit BoxSetInfoRemoteSearchQuery();
|
||||
public:BoxSetInfoRemoteSearchQuery();BoxSetInfoRemoteSearchQuery(const BoxSetInfoRemoteSearchQuery &other);
|
||||
|
||||
static BoxSetInfoRemoteSearchQuery fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BrandingOptions {
|
||||
public:
|
||||
explicit BrandingOptions();
|
||||
public:BrandingOptions();BrandingOptions(const BrandingOptions &other);
|
||||
|
||||
static BrandingOptions fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class BufferRequestDto {
|
||||
public:
|
||||
explicit BufferRequestDto();
|
||||
public:BufferRequestDto();BufferRequestDto(const BufferRequestDto &other);
|
||||
|
||||
static BufferRequestDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -47,8 +47,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ChannelFeatures {
|
||||
public:
|
||||
explicit ChannelFeatures();
|
||||
public:ChannelFeatures();ChannelFeatures(const ChannelFeatures &other);
|
||||
|
||||
static ChannelFeatures fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -48,8 +48,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ChannelMappingOptionsDto {
|
||||
public:
|
||||
explicit ChannelMappingOptionsDto();
|
||||
public:ChannelMappingOptionsDto();ChannelMappingOptionsDto(const ChannelMappingOptionsDto &other);
|
||||
|
||||
static ChannelMappingOptionsDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ChapterInfo {
|
||||
public:
|
||||
explicit ChapterInfo();
|
||||
public:ChapterInfo();ChapterInfo(const ChapterInfo &other);
|
||||
|
||||
static ChapterInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -47,8 +47,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ClientCapabilities {
|
||||
public:
|
||||
explicit ClientCapabilities();
|
||||
public:ClientCapabilities();ClientCapabilities(const ClientCapabilities &other);
|
||||
|
||||
static ClientCapabilities fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -47,8 +47,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ClientCapabilitiesDto {
|
||||
public:
|
||||
explicit ClientCapabilitiesDto();
|
||||
public:ClientCapabilitiesDto();ClientCapabilitiesDto(const ClientCapabilitiesDto &other);
|
||||
|
||||
static ClientCapabilitiesDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -47,8 +47,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class CodecProfile {
|
||||
public:
|
||||
explicit CodecProfile();
|
||||
public:CodecProfile();CodecProfile(const CodecProfile &other);
|
||||
|
||||
static CodecProfile fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class CollectionCreationResult {
|
||||
public:
|
||||
explicit CollectionCreationResult();
|
||||
public:CollectionCreationResult();CollectionCreationResult(const CollectionCreationResult &other);
|
||||
|
||||
static CollectionCreationResult fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ConfigurationPageInfo {
|
||||
public:
|
||||
explicit ConfigurationPageInfo();
|
||||
public:ConfigurationPageInfo();ConfigurationPageInfo(const ConfigurationPageInfo &other);
|
||||
|
||||
static ConfigurationPageInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -47,8 +47,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ContainerProfile {
|
||||
public:
|
||||
explicit ContainerProfile();
|
||||
public:ContainerProfile();ContainerProfile(const ContainerProfile &other);
|
||||
|
||||
static ContainerProfile fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ControlResponse {
|
||||
public:
|
||||
explicit ControlResponse();
|
||||
public:ControlResponse();ControlResponse(const ControlResponse &other);
|
||||
|
||||
static ControlResponse fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class CountryInfo {
|
||||
public:
|
||||
explicit CountryInfo();
|
||||
public:CountryInfo();CountryInfo(const CountryInfo &other);
|
||||
|
||||
static CountryInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class CreatePlaylistDto {
|
||||
public:
|
||||
explicit CreatePlaylistDto();
|
||||
public:CreatePlaylistDto();CreatePlaylistDto(const CreatePlaylistDto &other);
|
||||
|
||||
static CreatePlaylistDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class CreateUserByName {
|
||||
public:
|
||||
explicit CreateUserByName();
|
||||
public:CreateUserByName();CreateUserByName(const CreateUserByName &other);
|
||||
|
||||
static CreateUserByName fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class CultureDto {
|
||||
public:
|
||||
explicit CultureDto();
|
||||
public:CultureDto();CultureDto(const CultureDto &other);
|
||||
|
||||
static CultureDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class DefaultDirectoryBrowserInfoDto {
|
||||
public:
|
||||
explicit DefaultDirectoryBrowserInfoDto();
|
||||
public:DefaultDirectoryBrowserInfoDto();DefaultDirectoryBrowserInfoDto(const DefaultDirectoryBrowserInfoDto &other);
|
||||
|
||||
static DefaultDirectoryBrowserInfoDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -46,8 +46,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class DeviceIdentification {
|
||||
public:
|
||||
explicit DeviceIdentification();
|
||||
public:DeviceIdentification();DeviceIdentification(const DeviceIdentification &other);
|
||||
|
||||
static DeviceIdentification fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -46,8 +46,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class DeviceInfo {
|
||||
public:
|
||||
explicit DeviceInfo();
|
||||
public:DeviceInfo();DeviceInfo(const DeviceInfo &other);
|
||||
|
||||
static DeviceInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class DeviceInfoQueryResult {
|
||||
public:
|
||||
explicit DeviceInfoQueryResult();
|
||||
public:DeviceInfoQueryResult();DeviceInfoQueryResult(const DeviceInfoQueryResult &other);
|
||||
|
||||
static DeviceInfoQueryResult fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class DeviceOptions {
|
||||
public:
|
||||
explicit DeviceOptions();
|
||||
public:DeviceOptions();DeviceOptions(const DeviceOptions &other);
|
||||
|
||||
static DeviceOptions fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -53,8 +53,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class DeviceProfile {
|
||||
public:
|
||||
explicit DeviceProfile();
|
||||
public:DeviceProfile();DeviceProfile(const DeviceProfile &other);
|
||||
|
||||
static DeviceProfile fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class DeviceProfileInfo {
|
||||
public:
|
||||
explicit DeviceProfileInfo();
|
||||
public:DeviceProfileInfo();DeviceProfileInfo(const DeviceProfileInfo &other);
|
||||
|
||||
static DeviceProfileInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class DirectPlayProfile {
|
||||
public:
|
||||
explicit DirectPlayProfile();
|
||||
public:DirectPlayProfile();DirectPlayProfile(const DirectPlayProfile &other);
|
||||
|
||||
static DirectPlayProfile fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class DisplayPreferencesDto {
|
||||
public:
|
||||
explicit DisplayPreferencesDto();
|
||||
public:DisplayPreferencesDto();DisplayPreferencesDto(const DisplayPreferencesDto &other);
|
||||
|
||||
static DisplayPreferencesDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -41,8 +41,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class EndPointInfo {
|
||||
public:
|
||||
explicit EndPointInfo();
|
||||
public:EndPointInfo();EndPointInfo(const EndPointInfo &other);
|
||||
|
||||
static EndPointInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ExternalIdInfo {
|
||||
public:
|
||||
explicit ExternalIdInfo();
|
||||
public:ExternalIdInfo();ExternalIdInfo(const ExternalIdInfo &other);
|
||||
|
||||
static ExternalIdInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ExternalUrl {
|
||||
public:
|
||||
explicit ExternalUrl();
|
||||
public:ExternalUrl();ExternalUrl(const ExternalUrl &other);
|
||||
|
||||
static ExternalUrl fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class FileSystemEntryInfo {
|
||||
public:
|
||||
explicit FileSystemEntryInfo();
|
||||
public:FileSystemEntryInfo();FileSystemEntryInfo(const FileSystemEntryInfo &other);
|
||||
|
||||
static FileSystemEntryInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class FontFile {
|
||||
public:
|
||||
explicit FontFile();
|
||||
public:FontFile();FontFile(const FontFile &other);
|
||||
|
||||
static FontFile fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ForgotPasswordDto {
|
||||
public:
|
||||
explicit ForgotPasswordDto();
|
||||
public:ForgotPasswordDto();ForgotPasswordDto(const ForgotPasswordDto &other);
|
||||
|
||||
static ForgotPasswordDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ForgotPasswordResult {
|
||||
public:
|
||||
explicit ForgotPasswordResult();
|
||||
public:ForgotPasswordResult();ForgotPasswordResult(const ForgotPasswordResult &other);
|
||||
|
||||
static ForgotPasswordResult fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class GeneralCommand {
|
||||
public:
|
||||
explicit GeneralCommand();
|
||||
public:GeneralCommand();GeneralCommand(const GeneralCommand &other);
|
||||
|
||||
static GeneralCommand fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -48,8 +48,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class GetProgramsDto {
|
||||
public:
|
||||
explicit GetProgramsDto();
|
||||
public:GetProgramsDto();GetProgramsDto(const GetProgramsDto &other);
|
||||
|
||||
static GetProgramsDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -47,8 +47,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class GroupInfoDto {
|
||||
public:
|
||||
explicit GroupInfoDto();
|
||||
public:GroupInfoDto();GroupInfoDto(const GroupInfoDto &other);
|
||||
|
||||
static GroupInfoDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class GuideInfo {
|
||||
public:
|
||||
explicit GuideInfo();
|
||||
public:GuideInfo();GuideInfo(const GuideInfo &other);
|
||||
|
||||
static GuideInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class HttpHeaderInfo {
|
||||
public:
|
||||
explicit HttpHeaderInfo();
|
||||
public:HttpHeaderInfo();HttpHeaderInfo(const HttpHeaderInfo &other);
|
||||
|
||||
static HttpHeaderInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -41,8 +41,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class IgnoreWaitRequestDto {
|
||||
public:
|
||||
explicit IgnoreWaitRequestDto();
|
||||
public:IgnoreWaitRequestDto();IgnoreWaitRequestDto(const IgnoreWaitRequestDto &other);
|
||||
|
||||
static IgnoreWaitRequestDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ImageByNameInfo {
|
||||
public:
|
||||
explicit ImageByNameInfo();
|
||||
public:ImageByNameInfo();ImageByNameInfo(const ImageByNameInfo &other);
|
||||
|
||||
static ImageByNameInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ImageInfo {
|
||||
public:
|
||||
explicit ImageInfo();
|
||||
public:ImageInfo();ImageInfo(const ImageInfo &other);
|
||||
|
||||
static ImageInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ImageOption {
|
||||
public:
|
||||
explicit ImageOption();
|
||||
public:ImageOption();ImageOption(const ImageOption &other);
|
||||
|
||||
static ImageOption fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ImageProviderInfo {
|
||||
public:
|
||||
explicit ImageProviderInfo();
|
||||
public:ImageProviderInfo();ImageProviderInfo(const ImageProviderInfo &other);
|
||||
|
||||
static ImageProviderInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class InstallationInfo {
|
||||
public:
|
||||
explicit InstallationInfo();
|
||||
public:InstallationInfo();InstallationInfo(const InstallationInfo &other);
|
||||
|
||||
static InstallationInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class IPlugin {
|
||||
public:
|
||||
explicit IPlugin();
|
||||
public:IPlugin();IPlugin(const IPlugin &other);
|
||||
|
||||
static IPlugin fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -41,8 +41,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ItemCounts {
|
||||
public:
|
||||
explicit ItemCounts();
|
||||
public:ItemCounts();ItemCounts(const ItemCounts &other);
|
||||
|
||||
static ItemCounts fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class JoinGroupRequestDto {
|
||||
public:
|
||||
explicit JoinGroupRequestDto();
|
||||
public:JoinGroupRequestDto();JoinGroupRequestDto(const JoinGroupRequestDto &other);
|
||||
|
||||
static JoinGroupRequestDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LibraryOptionInfoDto {
|
||||
public:
|
||||
explicit LibraryOptionInfoDto();
|
||||
public:LibraryOptionInfoDto();LibraryOptionInfoDto(const LibraryOptionInfoDto &other);
|
||||
|
||||
static LibraryOptionInfoDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -47,8 +47,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LibraryOptions {
|
||||
public:
|
||||
explicit LibraryOptions();
|
||||
public:LibraryOptions();LibraryOptions(const LibraryOptions &other);
|
||||
|
||||
static LibraryOptions fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -46,8 +46,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LibraryOptionsResultDto {
|
||||
public:
|
||||
explicit LibraryOptionsResultDto();
|
||||
public:LibraryOptionsResultDto();LibraryOptionsResultDto(const LibraryOptionsResultDto &other);
|
||||
|
||||
static LibraryOptionsResultDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -48,8 +48,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LibraryTypeOptionsDto {
|
||||
public:
|
||||
explicit LibraryTypeOptionsDto();
|
||||
public:LibraryTypeOptionsDto();LibraryTypeOptionsDto(const LibraryTypeOptionsDto &other);
|
||||
|
||||
static LibraryTypeOptionsDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LibraryUpdateInfo {
|
||||
public:
|
||||
explicit LibraryUpdateInfo();
|
||||
public:LibraryUpdateInfo();LibraryUpdateInfo(const LibraryUpdateInfo &other);
|
||||
|
||||
static LibraryUpdateInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -46,8 +46,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class ListingsProviderInfo {
|
||||
public:
|
||||
explicit ListingsProviderInfo();
|
||||
public:ListingsProviderInfo();ListingsProviderInfo(const ListingsProviderInfo &other);
|
||||
|
||||
static ListingsProviderInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LiveStreamResponse {
|
||||
public:
|
||||
explicit LiveStreamResponse();
|
||||
public:LiveStreamResponse();LiveStreamResponse(const LiveStreamResponse &other);
|
||||
|
||||
static LiveStreamResponse fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LiveTvInfo {
|
||||
public:
|
||||
explicit LiveTvInfo();
|
||||
public:LiveTvInfo();LiveTvInfo(const LiveTvInfo &other);
|
||||
|
||||
static LiveTvInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LiveTvServiceInfo {
|
||||
public:
|
||||
explicit LiveTvServiceInfo();
|
||||
public:LiveTvServiceInfo();LiveTvServiceInfo(const LiveTvServiceInfo &other);
|
||||
|
||||
static LiveTvServiceInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LocalizationOption {
|
||||
public:
|
||||
explicit LocalizationOption();
|
||||
public:LocalizationOption();LocalizationOption(const LocalizationOption &other);
|
||||
|
||||
static LocalizationOption fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class LogFile {
|
||||
public:
|
||||
explicit LogFile();
|
||||
public:LogFile();LogFile(const LogFile &other);
|
||||
|
||||
static LogFile fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MediaAttachment {
|
||||
public:
|
||||
explicit MediaAttachment();
|
||||
public:MediaAttachment();MediaAttachment(const MediaAttachment &other);
|
||||
|
||||
static MediaAttachment fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MediaEncoderPathDto {
|
||||
public:
|
||||
explicit MediaEncoderPathDto();
|
||||
public:MediaEncoderPathDto();MediaEncoderPathDto(const MediaEncoderPathDto &other);
|
||||
|
||||
static MediaEncoderPathDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MediaPathDto {
|
||||
public:
|
||||
explicit MediaPathDto();
|
||||
public:MediaPathDto();MediaPathDto(const MediaPathDto &other);
|
||||
|
||||
static MediaPathDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MediaPathInfo {
|
||||
public:
|
||||
explicit MediaPathInfo();
|
||||
public:MediaPathInfo();MediaPathInfo(const MediaPathInfo &other);
|
||||
|
||||
static MediaPathInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -53,8 +53,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MediaSourceInfo {
|
||||
public:
|
||||
explicit MediaSourceInfo();
|
||||
public:MediaSourceInfo();MediaSourceInfo(const MediaSourceInfo &other);
|
||||
|
||||
static MediaSourceInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MediaStream {
|
||||
public:
|
||||
explicit MediaStream();
|
||||
public:MediaStream();MediaStream(const MediaStream &other);
|
||||
|
||||
static MediaStream fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MediaUpdateInfoDto {
|
||||
public:
|
||||
explicit MediaUpdateInfoDto();
|
||||
public:MediaUpdateInfoDto();MediaUpdateInfoDto(const MediaUpdateInfoDto &other);
|
||||
|
||||
static MediaUpdateInfoDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MediaUrl {
|
||||
public:
|
||||
explicit MediaUrl();
|
||||
public:MediaUrl();MediaUrl(const MediaUrl &other);
|
||||
|
||||
static MediaUrl fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -50,8 +50,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MetadataEditorInfo {
|
||||
public:
|
||||
explicit MetadataEditorInfo();
|
||||
public:MetadataEditorInfo();MetadataEditorInfo(const MetadataEditorInfo &other);
|
||||
|
||||
static MetadataEditorInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -44,8 +44,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MetadataOptions {
|
||||
public:
|
||||
explicit MetadataOptions();
|
||||
public:MetadataOptions();MetadataOptions(const MetadataOptions &other);
|
||||
|
||||
static MetadataOptions fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -42,8 +42,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MovePlaylistItemRequestDto {
|
||||
public:
|
||||
explicit MovePlaylistItemRequestDto();
|
||||
public:MovePlaylistItemRequestDto();MovePlaylistItemRequestDto(const MovePlaylistItemRequestDto &other);
|
||||
|
||||
static MovePlaylistItemRequestDto fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MovieInfo {
|
||||
public:
|
||||
explicit MovieInfo();
|
||||
public:MovieInfo();MovieInfo(const MovieInfo &other);
|
||||
|
||||
static MovieInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MovieInfoRemoteSearchQuery {
|
||||
public:
|
||||
explicit MovieInfoRemoteSearchQuery();
|
||||
public:MovieInfoRemoteSearchQuery();MovieInfoRemoteSearchQuery(const MovieInfoRemoteSearchQuery &other);
|
||||
|
||||
static MovieInfoRemoteSearchQuery fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
|
@ -45,8 +45,8 @@ namespace DTO {
|
|||
|
||||
|
||||
class MusicVideoInfo {
|
||||
public:
|
||||
explicit MusicVideoInfo();
|
||||
public:MusicVideoInfo();MusicVideoInfo(const MusicVideoInfo &other);
|
||||
|
||||
static MusicVideoInfo fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue