From 03bc3f795a5b2e857b91e0d750c6a70c909f7989 Mon Sep 17 00:00:00 2001 From: Henk Kalkwater Date: Wed, 1 Sep 2021 14:50:02 +0200 Subject: [PATCH] openapi: group endpoints by tag in file This reduces the amount of files generated by arround 300 and makes for quicker compilation times. --- core/GeneratedSources.cmake | 936 ++------- core/codegen/loader_header.hbs | 18 +- core/codegen/loader_implementation.hbs | 19 +- .../http/{getlogentries.h => activitylog.h} | 8 +- .../loader/http/addlistingprovider.h | 67 - .../JellyfinQt/loader/http/addtunerhost.h | 67 - .../JellyfinQt/loader/http/addusertosession.h | 53 - .../JellyfinQt/loader/http/addvirtualfolder.h | 53 - .../loader/http/{getkeys.h => apikey.h} | 8 +- .../loader/http/applysearchcriteria.h | 53 - .../http/{getalbumartists.h => artists.h} | 34 +- .../loader/http/{activate.h => audio.h} | 7 +- .../JellyfinQt/loader/http/authenticateuser.h | 67 - .../loader/http/authenticateuserbyname.h | 67 - .../http/authenticatewithquickconnect.h | 67 - .../JellyfinQt/loader/http/authorize.h | 66 - .../JellyfinQt/loader/http/available.h | 53 - .../http/{getbrandingoptions.h => branding.h} | 32 +- .../loader/http/cancelpackageinstallation.h | 53 - .../loader/http/cancelseriestimer.h | 53 - .../JellyfinQt/loader/http/canceltimer.h | 53 - .../{getlatestchannelitems.h => channels.h} | 60 +- .../JellyfinQt/loader/http/closelivestream.h | 53 - .../http/{createcollection.h => collection.h} | 8 +- .../JellyfinQt/loader/http/completewizard.h | 53 - ...faultmetadataoptions.h => configuration.h} | 33 +- .../loader/http/createadminnotification.h | 53 - .../JellyfinQt/loader/http/createkey.h | 53 - .../JellyfinQt/loader/http/createplaylist.h | 67 - .../JellyfinQt/loader/http/createprofile.h | 53 - .../loader/http/createseriestimer.h | 53 - .../JellyfinQt/loader/http/createtimer.h | 53 - .../JellyfinQt/loader/http/createuserbyname.h | 67 - .../{getconfigurationpages.h => dashboard.h} | 8 +- .../JellyfinQt/loader/http/deauthorize.h | 66 - .../loader/http/deletealternatesources.h | 53 - .../JellyfinQt/loader/http/deletedevice.h | 53 - .../JellyfinQt/loader/http/deleteitem.h | 53 - .../JellyfinQt/loader/http/deleteitemimage.h | 53 - .../loader/http/deleteitemimagebyindex.h | 53 - .../JellyfinQt/loader/http/deleteitems.h | 53 - .../loader/http/deletelistingprovider.h | 53 - .../JellyfinQt/loader/http/deleteprofile.h | 53 - .../JellyfinQt/loader/http/deleterecording.h | 53 - .../JellyfinQt/loader/http/deletesubtitle.h | 53 - .../JellyfinQt/loader/http/deletetunerhost.h | 53 - .../JellyfinQt/loader/http/deleteuser.h | 53 - .../JellyfinQt/loader/http/deleteuserimage.h | 53 - .../loader/http/deleteuserimagebyindex.h | 53 - .../loader/http/deleteuseritemrating.h | 67 - .../http/{getdeviceoptions.h => devices.h} | 34 +- .../JellyfinQt/loader/http/disableplugin.h | 53 - .../JellyfinQt/loader/http/discovertuners.h | 67 - .../JellyfinQt/loader/http/discvovertuners.h | 67 - .../JellyfinQt/loader/http/displaycontent.h | 53 - ...playpreferences.h => displaypreferences.h} | 8 +- .../http/{getdefaultprofile.h => dlna.h} | 34 +- .../http/{postuserimage.h => dlnaserver.h} | 7 +- .../loader/http/downloadremoteimage.h | 53 - .../loader/http/downloadremotesubtitles.h | 53 - .../http/{addmediapath.h => dynamichls.h} | 7 +- .../JellyfinQt/loader/http/enableplugin.h | 53 - ...efaultdirectorybrowser.h => environment.h} | 59 +- .../{getqueryfilterslegacy.h => filter.h} | 21 +- .../JellyfinQt/loader/http/forgotpassword.h | 67 - .../loader/http/forgotpasswordpin.h | 67 - .../loader/http/{getgenres.h => genres.h} | 21 +- .../loader/http/getallchannelfeatures.h | 67 - .../JellyfinQt/loader/http/getancestors.h | 67 - .../JellyfinQt/loader/http/getartistbyname.h | 67 - .../JellyfinQt/loader/http/getartistimage.h | 53 - .../JellyfinQt/loader/http/getartists.h | 67 - .../JellyfinQt/loader/http/getattachment.h | 53 - .../JellyfinQt/loader/http/getaudiostream.h | 53 - .../loader/http/getaudiostreambycontainer.h | 53 - .../JellyfinQt/loader/http/getauthproviders.h | 67 - .../loader/http/getbitratetestbytes.h | 53 - .../loader/http/getbookremotesearchresults.h | 67 - .../http/getboxsetremotesearchresults.h | 67 - .../JellyfinQt/loader/http/getbrandingcss.h | 66 - .../JellyfinQt/loader/http/getbrandingcss_2.h | 66 - .../JellyfinQt/loader/http/getchannel.h | 67 - .../loader/http/getchannelfeatures.h | 67 - .../JellyfinQt/loader/http/getchannelitems.h | 67 - .../loader/http/getchannelmappingoptions.h | 67 - .../JellyfinQt/loader/http/getchannels.h | 67 - .../JellyfinQt/loader/http/getconfiguration.h | 67 - .../loader/http/getconnectionmanager.h | 53 - .../loader/http/getconnectionmanager_2.h | 53 - .../loader/http/getconnectionmanager_3.h | 53 - .../loader/http/getcontentdirectory.h | 53 - .../loader/http/getcontentdirectory_2.h | 53 - .../loader/http/getcontentdirectory_3.h | 53 - .../JellyfinQt/loader/http/getcountries.h | 67 - .../JellyfinQt/loader/http/getcriticreviews.h | 67 - .../JellyfinQt/loader/http/getcultures.h | 67 - .../JellyfinQt/loader/http/getcurrentuser.h | 67 - .../http/getdashboardconfigurationpage.h | 53 - .../loader/http/getdefaultlistingprovider.h | 67 - .../JellyfinQt/loader/http/getdefaulttimer.h | 67 - .../loader/http/getdescriptionxml.h | 53 - .../loader/http/getdescriptionxml_2.h | 53 - .../JellyfinQt/loader/http/getdeviceinfo.h | 67 - .../JellyfinQt/loader/http/getdevices.h | 67 - .../loader/http/getdirectorycontents.h | 67 - .../JellyfinQt/loader/http/getdownload.h | 53 - .../JellyfinQt/loader/http/getdrives.h | 67 - .../JellyfinQt/loader/http/getendpointinfo.h | 67 - .../JellyfinQt/loader/http/getepisodes.h | 67 - .../loader/http/getexternalidinfos.h | 67 - .../JellyfinQt/loader/http/getfallbackfont.h | 53 - .../loader/http/getfallbackfontlist.h | 67 - core/include/JellyfinQt/loader/http/getfile.h | 53 - .../JellyfinQt/loader/http/getfirstuser.h | 67 - .../JellyfinQt/loader/http/getfirstuser_2.h | 67 - .../JellyfinQt/loader/http/getgeneralimage.h | 53 - .../JellyfinQt/loader/http/getgeneralimages.h | 67 - .../include/JellyfinQt/loader/http/getgenre.h | 67 - .../JellyfinQt/loader/http/getgenreimage.h | 53 - .../loader/http/getgenreimagebyindex.h | 53 - .../JellyfinQt/loader/http/getguideinfo.h | 67 - .../loader/http/gethlsaudiosegment.h | 53 - .../loader/http/gethlsaudiosegmentlegacyaac.h | 53 - .../loader/http/gethlsaudiosegmentlegacymp3.h | 53 - .../loader/http/gethlsplaylistlegacy.h | 53 - .../loader/http/gethlsvideosegment.h | 53 - .../loader/http/gethlsvideosegmentlegacy.h | 53 - core/include/JellyfinQt/loader/http/geticon.h | 53 - .../JellyfinQt/loader/http/geticonid.h | 53 - .../loader/http/getinstantmixfromalbum.h | 67 - .../loader/http/getinstantmixfromartists.h | 67 - .../loader/http/getinstantmixfromitem.h | 67 - .../loader/http/getinstantmixfrommusicgenre.h | 67 - .../http/getinstantmixfrommusicgenres.h | 67 - .../loader/http/getinstantmixfromplaylist.h | 67 - .../loader/http/getinstantmixfromsong.h | 67 - .../JellyfinQt/loader/http/getintros.h | 67 - core/include/JellyfinQt/loader/http/getitem.h | 67 - .../JellyfinQt/loader/http/getitemcounts.h | 67 - .../JellyfinQt/loader/http/getitemimage.h | 53 - .../JellyfinQt/loader/http/getitemimage2.h | 53 - .../loader/http/getitemimagebyindex.h | 53 - .../include/JellyfinQt/loader/http/getitems.h | 67 - .../JellyfinQt/loader/http/getlatestmedia.h | 67 - .../loader/http/getlibraryoptionsinfo.h | 67 - .../JellyfinQt/loader/http/getlineups.h | 67 - .../JellyfinQt/loader/http/getlivehlsstream.h | 53 - .../loader/http/getliverecordingfile.h | 53 - .../loader/http/getlivestreamfile.h | 53 - .../loader/http/getlivetvchannels.h | 67 - .../JellyfinQt/loader/http/getlivetvinfo.h | 67 - .../loader/http/getlivetvprograms.h | 67 - .../JellyfinQt/loader/http/getlocaltrailers.h | 67 - .../JellyfinQt/loader/http/getlogfile.h | 53 - .../loader/http/getmasterhlsaudioplaylist.h | 53 - .../loader/http/getmasterhlsvideoplaylist.h | 53 - .../JellyfinQt/loader/http/getmediafolders.h | 67 - .../loader/http/getmediainfoimage.h | 53 - .../loader/http/getmediareceiverregistrar.h | 53 - .../loader/http/getmediareceiverregistrar_2.h | 53 - .../loader/http/getmediareceiverregistrar_3.h | 53 - .../loader/http/getmovieremotesearchresults.h | 67 - .../http/getmusicalbumremotesearchresults.h | 67 - .../http/getmusicartistremotesearchresults.h | 67 - .../JellyfinQt/loader/http/getmusicgenre.h | 67 - .../loader/http/getmusicgenreimage.h | 53 - .../loader/http/getmusicgenreimagebyindex.h | 53 - .../http/getmusicvideoremotesearchresults.h | 67 - .../loader/http/getnamedconfiguration.h | 66 - .../JellyfinQt/loader/http/getnetworkshares.h | 67 - .../JellyfinQt/loader/http/getnextup.h | 67 - .../JellyfinQt/loader/http/getnotifications.h | 67 - .../loader/http/getnotificationservices.h | 67 - .../loader/http/getnotificationtypes.h | 67 - .../JellyfinQt/loader/http/getpackageinfo.h | 67 - .../JellyfinQt/loader/http/getpackages.h | 67 - .../loader/http/getparentalratings.h | 67 - .../JellyfinQt/loader/http/getparentpath.h | 66 - .../JellyfinQt/loader/http/getperson.h | 67 - .../JellyfinQt/loader/http/getpersonimage.h | 53 - .../loader/http/getpersonimagebyindex.h | 53 - .../http/getpersonremotesearchresults.h | 67 - .../JellyfinQt/loader/http/getphysicalpaths.h | 67 - .../JellyfinQt/loader/http/getpingsystem.h | 66 - .../JellyfinQt/loader/http/getplaybackinfo.h | 67 - .../JellyfinQt/loader/http/getpluginimage.h | 53 - .../loader/http/getpluginmanifest.h | 53 - .../JellyfinQt/loader/http/getplugins.h | 67 - .../JellyfinQt/loader/http/getprofile.h | 67 - .../JellyfinQt/loader/http/getprofileinfos.h | 67 - .../JellyfinQt/loader/http/getprogram.h | 67 - .../JellyfinQt/loader/http/getprograms.h | 67 - .../loader/http/getpublicsysteminfo.h | 67 - .../JellyfinQt/loader/http/getpublicusers.h | 67 - .../JellyfinQt/loader/http/getqueryfilters.h | 67 - .../JellyfinQt/loader/http/getratingimage.h | 53 - .../JellyfinQt/loader/http/getratingimages.h | 67 - .../loader/http/getrecommendedprograms.h | 67 - .../JellyfinQt/loader/http/getrecording.h | 67 - .../loader/http/getrecordingfolders.h | 67 - .../loader/http/getrecordinggroup.h | 53 - .../loader/http/getrecordinggroups.h | 67 - .../JellyfinQt/loader/http/getrecordings.h | 67 - .../loader/http/getrecordingsseries.h | 67 - .../JellyfinQt/loader/http/getremoteimage.h | 53 - .../JellyfinQt/loader/http/getremoteimages.h | 67 - .../loader/http/getremotesearchimage.h | 53 - .../loader/http/getremotesubtitles.h | 53 - .../JellyfinQt/loader/http/getresumeitems.h | 67 - .../JellyfinQt/loader/http/getrootfolder.h | 67 - .../loader/http/getschedulesdirectcountries.h | 66 - .../JellyfinQt/loader/http/getseasons.h | 67 - .../http/getseriesremotesearchresults.h | 67 - .../JellyfinQt/loader/http/getseriestimer.h | 67 - .../JellyfinQt/loader/http/getseriestimers.h | 67 - .../JellyfinQt/loader/http/getserverlogs.h | 67 - .../JellyfinQt/loader/http/getsessions.h | 67 - .../JellyfinQt/loader/http/getsimilaralbums.h | 67 - .../loader/http/getsimilarartists.h | 67 - .../JellyfinQt/loader/http/getsimilaritems.h | 67 - .../JellyfinQt/loader/http/getsimilarmovies.h | 67 - .../JellyfinQt/loader/http/getsimilarshows.h | 67 - .../loader/http/getsimilartrailers.h | 67 - .../loader/http/getspecialfeatures.h | 67 - .../JellyfinQt/loader/http/getstatus.h | 67 - .../JellyfinQt/loader/http/getstudio.h | 67 - .../JellyfinQt/loader/http/getstudioimage.h | 53 - .../loader/http/getstudioimagebyindex.h | 53 - .../JellyfinQt/loader/http/getsubtitle.h | 53 - .../loader/http/getsubtitleplaylist.h | 53 - .../loader/http/getsubtitlewithticks.h | 53 - .../JellyfinQt/loader/http/getsysteminfo.h | 67 - core/include/JellyfinQt/loader/http/gettask.h | 67 - .../JellyfinQt/loader/http/getthememedia.h | 67 - .../JellyfinQt/loader/http/getthemesongs.h | 67 - .../JellyfinQt/loader/http/getthemevideos.h | 67 - .../include/JellyfinQt/loader/http/gettimer.h | 67 - .../JellyfinQt/loader/http/gettimers.h | 67 - .../http/gettrailerremotesearchresults.h | 67 - .../loader/http/gettunerhosttypes.h | 67 - .../loader/http/getuniversalaudiostream.h | 53 - .../JellyfinQt/loader/http/getuserbyid.h | 67 - .../JellyfinQt/loader/http/getuserimage.h | 53 - .../loader/http/getuserimagebyindex.h | 53 - .../include/JellyfinQt/loader/http/getusers.h | 67 - .../JellyfinQt/loader/http/getuserviews.h | 67 - .../loader/http/getvarianthlsaudioplaylist.h | 53 - .../loader/http/getvarianthlsvideoplaylist.h | 53 - .../JellyfinQt/loader/http/getvideostream.h | 53 - .../loader/http/getvideostreambycontainer.h | 53 - .../JellyfinQt/loader/http/getwakeonlaninfo.h | 67 - core/include/JellyfinQt/loader/http/getyear.h | 67 - .../JellyfinQt/loader/http/headartistimage.h | 53 - .../JellyfinQt/loader/http/headaudiostream.h | 53 - .../loader/http/headaudiostreambycontainer.h | 53 - .../JellyfinQt/loader/http/headgenreimage.h | 53 - .../loader/http/headgenreimagebyindex.h | 53 - .../JellyfinQt/loader/http/headitemimage.h | 53 - .../JellyfinQt/loader/http/headitemimage2.h | 53 - .../loader/http/headitemimagebyindex.h | 53 - .../loader/http/headmasterhlsaudioplaylist.h | 53 - .../loader/http/headmasterhlsvideoplaylist.h | 53 - .../loader/http/headmusicgenreimage.h | 53 - .../loader/http/headmusicgenreimagebyindex.h | 53 - .../JellyfinQt/loader/http/headpersonimage.h | 53 - .../loader/http/headpersonimagebyindex.h | 53 - .../JellyfinQt/loader/http/headstudioimage.h | 53 - .../loader/http/headstudioimagebyindex.h | 53 - .../loader/http/headuniversalaudiostream.h | 53 - .../JellyfinQt/loader/http/headuserimage.h | 53 - .../loader/http/headuserimagebyindex.h | 53 - .../JellyfinQt/loader/http/headvideostream.h | 53 - .../loader/http/headvideostreambycontainer.h | 53 - .../http/{addtocollection.h => hlssegment.h} | 7 +- .../http/{getitemimageinfos.h => image.h} | 8 +- .../{getmediainfoimages.h => imagebyname.h} | 34 +- .../include/JellyfinQt/loader/http/initiate.h | 67 - .../JellyfinQt/loader/http/installpackage.h | 53 - .../JellyfinQt/loader/http/instantmix.h | 145 ++ .../JellyfinQt/loader/http/itemlookup.h | 184 ++ .../JellyfinQt/loader/http/itemrefresh.h | 54 + .../http/{getitemsbyuserid.h => items.h} | 34 +- .../{getmetadataeditorinfo.h => itemupdate.h} | 8 +- core/include/JellyfinQt/loader/http/library.h | 249 +++ ...getvirtualfolders.h => librarystructure.h} | 8 +- core/include/JellyfinQt/loader/http/livetv.h | 417 ++++ ...etlocalizationoptions.h => localization.h} | 47 +- .../JellyfinQt/loader/http/markfavoriteitem.h | 67 - .../JellyfinQt/loader/http/markplayeditem.h | 67 - .../{getpostedplaybackinfo.h => mediainfo.h} | 34 +- .../JellyfinQt/loader/http/mergeversions.h | 53 - .../include/JellyfinQt/loader/http/moveitem.h | 53 - .../{getmovierecommendations.h => movies.h} | 8 +- .../http/{getmusicgenres.h => musicgenres.h} | 21 +- ...notificationssummary.h => notifications.h} | 47 +- .../loader/http/onplaybackprogress.h | 53 - .../JellyfinQt/loader/http/onplaybackstart.h | 53 - .../loader/http/onplaybackstopped.h | 53 - .../JellyfinQt/loader/http/openlivestream.h | 67 - .../http/{getrepositories.h => package.h} | 34 +- .../loader/http/{getpersons.h => persons.h} | 21 +- .../loader/http/pingplaybacksession.h | 53 - core/include/JellyfinQt/loader/http/play.h | 53 - .../http/{getplaylistitems.h => playlists.h} | 21 +- .../http/{markunplayeditem.h => playstate.h} | 21 +- .../{getpluginconfiguration.h => plugins.h} | 21 +- core/include/JellyfinQt/loader/http/post.h | 53 - .../JellyfinQt/loader/http/postaddedmovies.h | 53 - .../JellyfinQt/loader/http/postaddedseries.h | 53 - .../JellyfinQt/loader/http/postcapabilities.h | 53 - .../loader/http/postfullcapabilities.h | 53 - .../JellyfinQt/loader/http/postpingsystem.h | 66 - .../JellyfinQt/loader/http/postupdatedmedia.h | 53 - .../loader/http/postupdatedmovies.h | 53 - .../loader/http/postupdatedseries.h | 53 - .../loader/http/postuserimagebyindex.h | 53 - .../processconnectionmanagercontrolrequest.h | 53 - .../processcontentdirectorycontrolrequest.h | 53 - ...cessmediareceiverregistrarcontrolrequest.h | 53 - .../loader/http/{connect.h => quickconnect.h} | 58 +- .../JellyfinQt/loader/http/refreshlibrary.h | 53 - ...etremoteimageproviders.h => remoteimage.h} | 21 +- .../loader/http/removefromcollection.h | 53 - .../loader/http/removefromplaylist.h | 53 - .../JellyfinQt/loader/http/removemediapath.h | 53 - .../loader/http/removeuserfromsession.h | 53 - .../loader/http/removevirtualfolder.h | 53 - .../loader/http/renamevirtualfolder.h | 53 - .../loader/http/reportplaybackprogress.h | 53 - .../loader/http/reportplaybackstart.h | 53 - .../loader/http/reportplaybackstopped.h | 53 - .../loader/http/reportsessionended.h | 53 - .../JellyfinQt/loader/http/reportviewing.h | 53 - .../JellyfinQt/loader/http/resettuner.h | 53 - .../loader/http/restartapplication.h | 53 - .../JellyfinQt/loader/http/revokekey.h | 53 - .../http/{gettasks.h => scheduledtasks.h} | 21 +- .../loader/http/{get.h => search.h} | 8 +- .../loader/http/sendfullgeneralcommand.h | 53 - .../loader/http/sendgeneralcommand.h | 53 - .../loader/http/sendmessagecommand.h | 53 - .../loader/http/sendplaystatecommand.h | 53 - .../loader/http/sendsystemcommand.h | 53 - ...{getpasswordresetproviders.h => session.h} | 34 +- .../loader/http/setchannelmapping.h | 67 - .../JellyfinQt/loader/http/setitemimage.h | 53 - .../loader/http/setitemimagebyindex.h | 53 - core/include/JellyfinQt/loader/http/setread.h | 53 - .../JellyfinQt/loader/http/setremoteaccess.h | 53 - .../JellyfinQt/loader/http/setrepositories.h | 53 - .../JellyfinQt/loader/http/setunread.h | 53 - .../loader/http/shutdownapplication.h | 53 - .../JellyfinQt/loader/http/starttask.h | 53 - .../{getstartupconfiguration.h => startup.h} | 34 +- .../loader/http/stopencodingprocess.h | 53 - .../include/JellyfinQt/loader/http/stoptask.h | 53 - .../loader/http/{getstudios.h => studios.h} | 21 +- .../{searchremotesubtitles.h => subtitle.h} | 21 +- .../http/{getsuggestions.h => suggestions.h} | 8 +- .../http/{syncplaygetgroups.h => syncplay.h} | 8 +- .../loader/http/syncplaybuffering.h | 53 - .../loader/http/syncplaycreategroup.h | 53 - .../loader/http/syncplayjoingroup.h | 53 - .../loader/http/syncplayleavegroup.h | 53 - .../loader/http/syncplaymoveplaylistitem.h | 53 - .../JellyfinQt/loader/http/syncplaynextitem.h | 53 - .../JellyfinQt/loader/http/syncplaypause.h | 53 - .../JellyfinQt/loader/http/syncplayping.h | 53 - .../loader/http/syncplaypreviousitem.h | 53 - .../JellyfinQt/loader/http/syncplayqueue.h | 53 - .../JellyfinQt/loader/http/syncplayready.h | 53 - .../loader/http/syncplayremovefromplaylist.h | 53 - .../JellyfinQt/loader/http/syncplayseek.h | 53 - .../loader/http/syncplaysetignorewait.h | 53 - .../loader/http/syncplaysetnewqueue.h | 53 - .../loader/http/syncplaysetplaylistitem.h | 53 - .../loader/http/syncplaysetrepeatmode.h | 53 - .../loader/http/syncplaysetshufflemode.h | 53 - .../JellyfinQt/loader/http/syncplaystop.h | 53 - .../JellyfinQt/loader/http/syncplayunpause.h | 53 - core/include/JellyfinQt/loader/http/system.h | 143 ++ .../loader/http/{getutctime.h => timesync.h} | 8 +- .../loader/http/{gettrailers.h => trailers.h} | 8 +- .../http/{getupcomingepisodes.h => tvshows.h} | 47 +- .../JellyfinQt/loader/http/uninstallplugin.h | 53 - .../loader/http/uninstallpluginbyversion.h | 53 - .../JellyfinQt/loader/http/universalaudio.h | 54 + .../loader/http/unmarkfavoriteitem.h | 67 - .../loader/http/updateconfiguration.h | 53 - .../loader/http/updatedeviceoptions.h | 53 - .../loader/http/updatedisplaypreferences.h | 53 - .../loader/http/updateinitialconfiguration.h | 53 - .../JellyfinQt/loader/http/updateitem.h | 53 - .../loader/http/updateitemcontenttype.h | 53 - .../loader/http/updateitemimageindex.h | 53 - .../loader/http/updatelibraryoptions.h | 53 - .../loader/http/updatemediaencoderpath.h | 53 - .../JellyfinQt/loader/http/updatemediapath.h | 53 - .../loader/http/updatenamedconfiguration.h | 53 - .../loader/http/updatepluginconfiguration.h | 53 - .../loader/http/updatepluginsecurityinfo.h | 53 - .../JellyfinQt/loader/http/updateprofile.h | 53 - .../loader/http/updateseriestimer.h | 53 - .../loader/http/updatestartupuser.h | 53 - .../JellyfinQt/loader/http/updatetask.h | 53 - .../JellyfinQt/loader/http/updatetimer.h | 53 - .../JellyfinQt/loader/http/updateuser.h | 53 - .../loader/http/updateuserconfiguration.h | 53 - .../loader/http/updateusereasypassword.h | 53 - .../loader/http/updateuseritemrating.h | 67 - .../loader/http/updateuserpassword.h | 53 - .../JellyfinQt/loader/http/updateuserpolicy.h | 53 - .../JellyfinQt/loader/http/uploadsubtitle.h | 53 - core/include/JellyfinQt/loader/http/user.h | 184 ++ .../JellyfinQt/loader/http/userlibrary.h | 184 ++ .../{getgroupingoptions.h => userviews.h} | 21 +- .../JellyfinQt/loader/http/validatepath.h | 53 - .../JellyfinQt/loader/http/videoattachments.h | 54 + .../http/{addtoplaylist.h => videohls.h} | 7 +- .../http/{getadditionalpart.h => videos.h} | 8 +- .../loader/http/{getyears.h => years.h} | 21 +- core/include/JellyfinQt/viewmodel/item.h | 1 - core/include/JellyfinQt/viewmodel/itemmodel.h | 1 - .../JellyfinQt/viewmodel/playbackmanager.h | 2 +- core/include/JellyfinQt/viewmodel/user.h | 1 - core/include/JellyfinQt/viewmodel/usermodel.h | 2 +- core/openapigenerator.d | 255 +-- core/src/loader/addlistingproviderparams.cpp | 104 - core/src/loader/addmediapathparams.cpp | 62 - core/src/loader/addtocollectionparams.cpp | 59 - core/src/loader/addtoplaylistparams.cpp | 92 - core/src/loader/addusertosessionparams.cpp | 59 - core/src/loader/addvirtualfolderparams.cpp | 125 -- core/src/loader/applysearchcriteriaparams.cpp | 71 - .../loader/authenticateuserbynameparams.cpp | 41 - core/src/loader/authenticateuserparams.cpp | 80 - .../authenticatewithquickconnectparams.cpp | 41 - core/src/loader/authorizeparams.cpp | 50 - core/src/loader/availableparams.cpp | 62 - .../cancelpackageinstallationparams.cpp | 50 - core/src/loader/cancelseriestimerparams.cpp | 50 - core/src/loader/canceltimerparams.cpp | 50 - core/src/loader/closelivestreamparams.cpp | 50 - core/src/loader/connectparams.cpp | 50 - .../loader/createadminnotificationparams.cpp | 125 -- core/src/loader/createcollectionparams.cpp | 125 -- core/src/loader/createkeyparams.cpp | 50 - core/src/loader/createplaylistparams.cpp | 125 -- core/src/loader/createseriestimerparams.cpp | 41 - core/src/loader/createtimerparams.cpp | 41 - core/src/loader/createuserbynameparams.cpp | 41 - .../loader/deletealternatesourcesparams.cpp | 50 - core/src/loader/deletedeviceparams.cpp | 50 - .../loader/deleteitemimagebyindexparams.cpp | 68 - core/src/loader/deleteitemimageparams.cpp | 80 - core/src/loader/deleteitemparams.cpp | 50 - core/src/loader/deleteitemsparams.cpp | 62 - .../loader/deletelistingproviderparams.cpp | 62 - core/src/loader/deleteprofileparams.cpp | 50 - core/src/loader/deleterecordingparams.cpp | 50 - core/src/loader/deletesubtitleparams.cpp | 59 - core/src/loader/deletetunerhostparams.cpp | 62 - .../loader/deleteuserimagebyindexparams.cpp | 68 - core/src/loader/deleteuserimageparams.cpp | 80 - .../src/loader/deleteuseritemratingparams.cpp | 59 - core/src/loader/deleteuserparams.cpp | 50 - core/src/loader/disablepluginparams.cpp | 59 - core/src/loader/discovertunersparams.cpp | 62 - core/src/loader/discvovertunersparams.cpp | 62 - core/src/loader/displaycontentparams.cpp | 77 - core/src/loader/downloadremoteimageparams.cpp | 80 - .../loader/downloadremotesubtitlesparams.cpp | 59 - core/src/loader/enablepluginparams.cpp | 59 - core/src/loader/forgotpasswordparams.cpp | 41 - core/src/loader/forgotpasswordpinparams.cpp | 41 - core/src/loader/getadditionalpartparams.cpp | 71 - core/src/loader/getalbumartistsparams.cpp | 671 ------- .../loader/getallchannelfeaturesparams.cpp | 41 - core/src/loader/getancestorsparams.cpp | 71 - core/src/loader/getartistbynameparams.cpp | 71 - core/src/loader/getartistimageparams.cpp | 362 ---- core/src/loader/getartistsparams.cpp | 671 ------- core/src/loader/getattachmentparams.cpp | 68 - .../getaudiostreambycontainerparams.cpp | 1046 ---------- core/src/loader/getaudiostreamparams.cpp | 1058 ---------- core/src/loader/getauthprovidersparams.cpp | 41 - core/src/loader/getbitratetestbytesparams.cpp | 62 - .../getbookremotesearchresultsparams.cpp | 41 - .../getboxsetremotesearchresultsparams.cpp | 41 - core/src/loader/getbrandingcss_2params.cpp | 41 - core/src/loader/getbrandingcssparams.cpp | 41 - core/src/loader/getbrandingoptionsparams.cpp | 41 - core/src/loader/getchannelfeaturesparams.cpp | 50 - core/src/loader/getchannelitemsparams.cpp | 218 --- .../loader/getchannelmappingoptionsparams.cpp | 62 - core/src/loader/getchannelparams.cpp | 71 - core/src/loader/getchannelsparams.cpp | 167 -- .../loader/getconfigurationpagesparams.cpp | 83 - core/src/loader/getconfigurationparams.cpp | 41 - .../loader/getconnectionmanager_2params.cpp | 50 - .../loader/getconnectionmanager_3params.cpp | 50 - .../src/loader/getconnectionmanagerparams.cpp | 50 - .../loader/getcontentdirectory_2params.cpp | 50 - .../loader/getcontentdirectory_3params.cpp | 50 - core/src/loader/getcontentdirectoryparams.cpp | 50 - core/src/loader/getcountriesparams.cpp | 41 - core/src/loader/getcriticreviewsparams.cpp | 50 - core/src/loader/getculturesparams.cpp | 41 - core/src/loader/getcurrentuserparams.cpp | 41 - .../getdashboardconfigurationpageparams.cpp | 62 - .../getdefaultdirectorybrowserparams.cpp | 41 - .../getdefaultlistingproviderparams.cpp | 41 - .../getdefaultmetadataoptionsparams.cpp | 41 - core/src/loader/getdefaultprofileparams.cpp | 41 - core/src/loader/getdefaulttimerparams.cpp | 62 - core/src/loader/getdescriptionxml_2params.cpp | 50 - core/src/loader/getdescriptionxmlparams.cpp | 50 - core/src/loader/getdeviceinfoparams.cpp | 50 - core/src/loader/getdeviceoptionsparams.cpp | 50 - core/src/loader/getdevicesparams.cpp | 83 - .../src/loader/getdirectorycontentsparams.cpp | 92 - .../loader/getdisplaypreferencesparams.cpp | 68 - core/src/loader/getdownloadparams.cpp | 50 - core/src/loader/getdrivesparams.cpp | 41 - core/src/loader/getendpointinfoparams.cpp | 41 - core/src/loader/getepisodesparams.cpp | 344 ---- core/src/loader/getexternalidinfosparams.cpp | 50 - core/src/loader/getfallbackfontlistparams.cpp | 41 - core/src/loader/getfallbackfontparams.cpp | 50 - core/src/loader/getfileparams.cpp | 50 - core/src/loader/getfirstuser_2params.cpp | 41 - core/src/loader/getfirstuserparams.cpp | 41 - core/src/loader/getgeneralimageparams.cpp | 59 - core/src/loader/getgeneralimagesparams.cpp | 41 - .../src/loader/getgenreimagebyindexparams.cpp | 362 ---- core/src/loader/getgenreimageparams.cpp | 374 ---- core/src/loader/getgenreparams.cpp | 71 - core/src/loader/getgenresparams.cpp | 377 ---- core/src/loader/getgroupingoptionsparams.cpp | 50 - core/src/loader/getguideinfoparams.cpp | 41 - .../gethlsaudiosegmentlegacyaacparams.cpp | 59 - .../gethlsaudiosegmentlegacymp3params.cpp | 59 - core/src/loader/gethlsaudiosegmentparams.cpp | 1085 ----------- .../src/loader/gethlsplaylistlegacyparams.cpp | 59 - .../loader/gethlsvideosegmentlegacyparams.cpp | 77 - core/src/loader/gethlsvideosegmentparams.cpp | 1064 ---------- core/src/loader/geticonidparams.cpp | 59 - core/src/loader/geticonparams.cpp | 50 - .../loader/getinstantmixfromalbumparams.cpp | 197 -- .../loader/getinstantmixfromartistsparams.cpp | 197 -- .../loader/getinstantmixfromitemparams.cpp | 197 -- .../getinstantmixfrommusicgenreparams.cpp | 197 -- .../getinstantmixfrommusicgenresparams.cpp | 197 -- .../getinstantmixfromplaylistparams.cpp | 197 -- .../loader/getinstantmixfromsongparams.cpp | 197 -- core/src/loader/getintrosparams.cpp | 59 - core/src/loader/getitemcountsparams.cpp | 83 - core/src/loader/getitemimage2params.cpp | 290 --- core/src/loader/getitemimagebyindexparams.cpp | 362 ---- core/src/loader/getitemimageinfosparams.cpp | 50 - core/src/loader/getitemimageparams.cpp | 374 ---- core/src/loader/getitemparams.cpp | 59 - core/src/loader/getitemsbyuseridparams.cpp | 1709 ---------------- core/src/loader/getitemsparams.cpp | 1721 ----------------- core/src/loader/getkeysparams.cpp | 41 - .../loader/getlatestchannelitemsparams.cpp | 167 -- core/src/loader/getlatestmediaparams.cpp | 260 --- .../loader/getlibraryoptionsinfoparams.cpp | 83 - core/src/loader/getlineupsparams.cpp | 125 -- core/src/loader/getlivehlsstreamparams.cpp | 1121 ----------- .../src/loader/getliverecordingfileparams.cpp | 50 - core/src/loader/getlivestreamfileparams.cpp | 59 - core/src/loader/getlivetvchannelsparams.cpp | 482 ----- core/src/loader/getlivetvinfoparams.cpp | 41 - core/src/loader/getlivetvprogramsparams.cpp | 608 ------ .../loader/getlocalizationoptionsparams.cpp | 41 - core/src/loader/getlocaltrailersparams.cpp | 59 - core/src/loader/getlogentriesparams.cpp | 125 -- core/src/loader/getlogfileparams.cpp | 50 - .../getmasterhlsaudioplaylistparams.cpp | 1067 ---------- .../getmasterhlsvideoplaylistparams.cpp | 1046 ---------- core/src/loader/getmediafoldersparams.cpp | 62 - core/src/loader/getmediainfoimageparams.cpp | 59 - core/src/loader/getmediainfoimagesparams.cpp | 41 - .../getmediareceiverregistrar_2params.cpp | 50 - .../getmediareceiverregistrar_3params.cpp | 50 - .../getmediareceiverregistrarparams.cpp | 50 - .../loader/getmetadataeditorinfoparams.cpp | 50 - .../loader/getmovierecommendationsparams.cpp | 146 -- .../getmovieremotesearchresultsparams.cpp | 41 - ...getmusicalbumremotesearchresultsparams.cpp | 41 - ...etmusicartistremotesearchresultsparams.cpp | 41 - .../getmusicgenreimagebyindexparams.cpp | 362 ---- core/src/loader/getmusicgenreimageparams.cpp | 374 ---- core/src/loader/getmusicgenreparams.cpp | 71 - core/src/loader/getmusicgenresparams.cpp | 377 ---- ...getmusicvideoremotesearchresultsparams.cpp | 41 - .../loader/getnamedconfigurationparams.cpp | 50 - core/src/loader/getnetworksharesparams.cpp | 41 - core/src/loader/getnextupparams.cpp | 293 --- .../loader/getnotificationservicesparams.cpp | 41 - core/src/loader/getnotificationsparams.cpp | 50 - .../loader/getnotificationssummaryparams.cpp | 50 - .../src/loader/getnotificationtypesparams.cpp | 41 - core/src/loader/getpackageinfoparams.cpp | 71 - core/src/loader/getpackagesparams.cpp | 41 - core/src/loader/getparams.cpp | 407 ---- core/src/loader/getparentalratingsparams.cpp | 41 - core/src/loader/getparentpathparams.cpp | 50 - .../getpasswordresetprovidersparams.cpp | 41 - .../loader/getpersonimagebyindexparams.cpp | 362 ---- core/src/loader/getpersonimageparams.cpp | 374 ---- core/src/loader/getpersonparams.cpp | 71 - .../getpersonremotesearchresultsparams.cpp | 41 - core/src/loader/getpersonsparams.cpp | 314 --- core/src/loader/getphysicalpathsparams.cpp | 41 - core/src/loader/getpingsystemparams.cpp | 41 - core/src/loader/getplaybackinfoparams.cpp | 59 - core/src/loader/getplaylistitemsparams.cpp | 206 -- .../loader/getpluginconfigurationparams.cpp | 50 - core/src/loader/getpluginimageparams.cpp | 59 - core/src/loader/getpluginmanifestparams.cpp | 50 - core/src/loader/getpluginsparams.cpp | 41 - .../loader/getpostedplaybackinfoparams.cpp | 344 ---- core/src/loader/getprofileinfosparams.cpp | 41 - core/src/loader/getprofileparams.cpp | 50 - core/src/loader/getprogramparams.cpp | 71 - core/src/loader/getprogramsparams.cpp | 41 - core/src/loader/getpublicsysteminfoparams.cpp | 41 - core/src/loader/getpublicusersparams.cpp | 41 - .../loader/getqueryfilterslegacyparams.cpp | 125 -- core/src/loader/getqueryfiltersparams.cpp | 251 --- core/src/loader/getratingimageparams.cpp | 59 - core/src/loader/getratingimagesparams.cpp | 41 - .../loader/getrecommendedprogramsparams.cpp | 377 ---- core/src/loader/getrecordingfoldersparams.cpp | 62 - core/src/loader/getrecordinggroupparams.cpp | 50 - core/src/loader/getrecordinggroupsparams.cpp | 62 - core/src/loader/getrecordingparams.cpp | 71 - core/src/loader/getrecordingsparams.cpp | 440 ----- core/src/loader/getrecordingsseriesparams.cpp | 335 ---- core/src/loader/getremoteimageparams.cpp | 50 - .../loader/getremoteimageprovidersparams.cpp | 50 - core/src/loader/getremoteimagesparams.cpp | 155 -- .../src/loader/getremotesearchimageparams.cpp | 59 - core/src/loader/getremotesubtitlesparams.cpp | 50 - core/src/loader/getrepositoriesparams.cpp | 41 - core/src/loader/getresumeitemsparams.cpp | 323 ---- core/src/loader/getrootfolderparams.cpp | 50 - .../getschedulesdirectcountriesparams.cpp | 41 - core/src/loader/getseasonsparams.cpp | 239 --- .../getseriesremotesearchresultsparams.cpp | 41 - core/src/loader/getseriestimerparams.cpp | 50 - core/src/loader/getseriestimersparams.cpp | 83 - core/src/loader/getserverlogsparams.cpp | 41 - core/src/loader/getsessionsparams.cpp | 104 - core/src/loader/getsimilaralbumsparams.cpp | 134 -- core/src/loader/getsimilarartistsparams.cpp | 134 -- core/src/loader/getsimilaritemsparams.cpp | 134 -- core/src/loader/getsimilarmoviesparams.cpp | 134 -- core/src/loader/getsimilarshowsparams.cpp | 134 -- core/src/loader/getsimilartrailersparams.cpp | 134 -- core/src/loader/getspecialfeaturesparams.cpp | 59 - .../loader/getstartupconfigurationparams.cpp | 41 - core/src/loader/getstatusparams.cpp | 41 - .../loader/getstudioimagebyindexparams.cpp | 362 ---- core/src/loader/getstudioimageparams.cpp | 374 ---- core/src/loader/getstudioparams.cpp | 71 - core/src/loader/getstudiosparams.cpp | 398 ---- core/src/loader/getsubtitleparams.cpp | 161 -- core/src/loader/getsubtitleplaylistparams.cpp | 77 - .../src/loader/getsubtitlewithticksparams.cpp | 149 -- core/src/loader/getsuggestionsparams.cpp | 155 -- core/src/loader/getsysteminfoparams.cpp | 41 - core/src/loader/gettaskparams.cpp | 50 - core/src/loader/gettasksparams.cpp | 83 - core/src/loader/getthememediaparams.cpp | 92 - core/src/loader/getthemesongsparams.cpp | 92 - core/src/loader/getthemevideosparams.cpp | 92 - core/src/loader/gettimerparams.cpp | 50 - core/src/loader/gettimersparams.cpp | 125 -- .../gettrailerremotesearchresultsparams.cpp | 41 - core/src/loader/gettrailersparams.cpp | 1700 ---------------- core/src/loader/gettunerhosttypesparams.cpp | 41 - .../loader/getuniversalaudiostreamparams.cpp | 407 ---- core/src/loader/getupcomingepisodesparams.cpp | 230 --- core/src/loader/getuserbyidparams.cpp | 50 - core/src/loader/getuserimagebyindexparams.cpp | 362 ---- core/src/loader/getuserimageparams.cpp | 374 ---- core/src/loader/getusersparams.cpp | 83 - core/src/loader/getuserviewsparams.cpp | 113 -- core/src/loader/getutctimeparams.cpp | 41 - .../getvarianthlsaudioplaylistparams.cpp | 1058 ---------- .../getvarianthlsvideoplaylistparams.cpp | 1037 ---------- .../getvideostreambycontainerparams.cpp | 1055 ---------- core/src/loader/getvideostreamparams.cpp | 1058 ---------- core/src/loader/getvirtualfoldersparams.cpp | 41 - core/src/loader/getwakeonlaninfoparams.cpp | 41 - core/src/loader/getyearparams.cpp | 71 - core/src/loader/getyearsparams.cpp | 356 ---- core/src/loader/headartistimageparams.cpp | 362 ---- .../headaudiostreambycontainerparams.cpp | 1046 ---------- core/src/loader/headaudiostreamparams.cpp | 1058 ---------- .../loader/headgenreimagebyindexparams.cpp | 362 ---- core/src/loader/headgenreimageparams.cpp | 374 ---- core/src/loader/headitemimage2params.cpp | 290 --- .../src/loader/headitemimagebyindexparams.cpp | 362 ---- core/src/loader/headitemimageparams.cpp | 374 ---- .../headmasterhlsaudioplaylistparams.cpp | 1067 ---------- .../headmasterhlsvideoplaylistparams.cpp | 1046 ---------- .../headmusicgenreimagebyindexparams.cpp | 362 ---- core/src/loader/headmusicgenreimageparams.cpp | 374 ---- .../loader/headpersonimagebyindexparams.cpp | 362 ---- core/src/loader/headpersonimageparams.cpp | 374 ---- .../loader/headstudioimagebyindexparams.cpp | 362 ---- core/src/loader/headstudioimageparams.cpp | 374 ---- .../loader/headuniversalaudiostreamparams.cpp | 407 ---- .../src/loader/headuserimagebyindexparams.cpp | 362 ---- core/src/loader/headuserimageparams.cpp | 374 ---- .../headvideostreambycontainerparams.cpp | 1055 ---------- core/src/loader/headvideostreamparams.cpp | 1058 ---------- core/src/loader/http/activate.cpp | 40 - .../{getlogentries.cpp => activitylog.cpp} | 4 +- core/src/loader/http/addlistingprovider.cpp | 69 - core/src/loader/http/addmediapath.cpp | 40 - core/src/loader/http/addtocollection.cpp | 40 - core/src/loader/http/addtoplaylist.cpp | 40 - core/src/loader/http/addtunerhost.cpp | 60 - core/src/loader/http/addusertosession.cpp | 40 - core/src/loader/http/addvirtualfolder.cpp | 40 - .../loader/http/{getkeys.cpp => apikey.cpp} | 4 +- core/src/loader/http/applysearchcriteria.cpp | 40 - .../http/{getalbumartists.cpp => artists.cpp} | 135 +- .../{deauthorizeparams.cpp => http/audio.cpp} | 6 +- core/src/loader/http/authenticateuser.cpp | 64 - .../loader/http/authenticateuserbyname.cpp | 60 - .../http/authenticatewithquickconnect.cpp | 60 - core/src/loader/http/authorize.cpp | 61 - core/src/loader/http/available.cpp | 40 - .../{getbrandingoptions.cpp => branding.cpp} | 42 +- .../loader/http/cancelpackageinstallation.cpp | 40 - core/src/loader/http/cancelseriestimer.cpp | 40 - core/src/loader/http/canceltimer.cpp | 40 - core/src/loader/http/channels.cpp | 196 ++ core/src/loader/http/closelivestream.cpp | 40 - .../{createcollection.cpp => collection.cpp} | 4 +- core/src/loader/http/completewizard.cpp | 40 - ...tmetadataoptions.cpp => configuration.cpp} | 42 +- core/src/loader/http/connect.cpp | 61 - .../loader/http/createadminnotification.cpp | 40 - core/src/loader/http/createkey.cpp | 40 - core/src/loader/http/createplaylist.cpp | 72 - core/src/loader/http/createprofile.cpp | 40 - core/src/loader/http/createseriestimer.cpp | 40 - core/src/loader/http/createtimer.cpp | 40 - core/src/loader/http/createuserbyname.cpp | 60 - ...etconfigurationpages.cpp => dashboard.cpp} | 4 +- core/src/loader/http/deauthorize.cpp | 60 - .../loader/http/deletealternatesources.cpp | 40 - core/src/loader/http/deletedevice.cpp | 40 - core/src/loader/http/deleteitem.cpp | 40 - core/src/loader/http/deleteitemimage.cpp | 40 - .../loader/http/deleteitemimagebyindex.cpp | 40 - core/src/loader/http/deleteitems.cpp | 40 - .../src/loader/http/deletelistingprovider.cpp | 40 - core/src/loader/http/deleteprofile.cpp | 40 - core/src/loader/http/deleterecording.cpp | 40 - core/src/loader/http/deletesubtitle.cpp | 40 - core/src/loader/http/deletetunerhost.cpp | 40 - core/src/loader/http/deleteuser.cpp | 40 - core/src/loader/http/deleteuserimage.cpp | 40 - .../loader/http/deleteuserimagebyindex.cpp | 40 - core/src/loader/http/deleteuseritemrating.cpp | 60 - .../http/{getdevices.cpp => devices.cpp} | 44 +- core/src/loader/http/disableplugin.cpp | 40 - core/src/loader/http/discovertuners.cpp | 63 - core/src/loader/http/discvovertuners.cpp | 63 - core/src/loader/http/displaycontent.cpp | 40 - ...preferences.cpp => displaypreferences.cpp} | 4 +- .../http/{getdefaultprofile.cpp => dlna.cpp} | 42 +- .../dlnaserver.cpp} | 6 +- core/src/loader/http/downloadremoteimage.cpp | 40 - .../loader/http/downloadremotesubtitles.cpp | 40 - .../dynamichls.cpp} | 6 +- core/src/loader/http/enableplugin.cpp | 40 - core/src/loader/http/environment.cpp | 144 ++ .../http/{getqueryfilters.cpp => filter.cpp} | 35 +- core/src/loader/http/forgotpassword.cpp | 60 - core/src/loader/http/forgotpasswordpin.cpp | 60 - .../loader/http/{getgenres.cpp => genres.cpp} | 26 +- .../src/loader/http/getallchannelfeatures.cpp | 60 - core/src/loader/http/getancestors.cpp | 63 - core/src/loader/http/getartistbyname.cpp | 63 - core/src/loader/http/getartistimage.cpp | 40 - core/src/loader/http/getartists.cpp | 150 -- core/src/loader/http/getattachment.cpp | 40 - core/src/loader/http/getaudiostream.cpp | 40 - .../loader/http/getaudiostreambycontainer.cpp | 40 - core/src/loader/http/getauthproviders.cpp | 60 - core/src/loader/http/getbitratetestbytes.cpp | 40 - .../http/getbookremotesearchresults.cpp | 60 - .../http/getboxsetremotesearchresults.cpp | 60 - core/src/loader/http/getbrandingcss.cpp | 60 - core/src/loader/http/getbrandingcss_2.cpp | 60 - core/src/loader/http/getchannel.cpp | 63 - core/src/loader/http/getchannelfeatures.cpp | 60 - core/src/loader/http/getchannelitems.cpp | 84 - .../loader/http/getchannelmappingoptions.cpp | 63 - core/src/loader/http/getchannels.cpp | 78 - core/src/loader/http/getconfiguration.cpp | 60 - core/src/loader/http/getconnectionmanager.cpp | 40 - .../loader/http/getconnectionmanager_2.cpp | 40 - .../loader/http/getconnectionmanager_3.cpp | 40 - core/src/loader/http/getcontentdirectory.cpp | 40 - .../src/loader/http/getcontentdirectory_2.cpp | 40 - .../src/loader/http/getcontentdirectory_3.cpp | 40 - core/src/loader/http/getcountries.cpp | 60 - core/src/loader/http/getcriticreviews.cpp | 60 - core/src/loader/http/getcultures.cpp | 60 - core/src/loader/http/getcurrentuser.cpp | 60 - .../http/getdashboardconfigurationpage.cpp | 40 - .../http/getdefaultdirectorybrowser.cpp | 60 - .../loader/http/getdefaultlistingprovider.cpp | 60 - core/src/loader/http/getdefaulttimer.cpp | 63 - core/src/loader/http/getdescriptionxml.cpp | 40 - core/src/loader/http/getdescriptionxml_2.cpp | 40 - core/src/loader/http/getdeviceinfo.cpp | 61 - core/src/loader/http/getdeviceoptions.cpp | 61 - core/src/loader/http/getdirectorycontents.cpp | 67 - core/src/loader/http/getdownload.cpp | 40 - core/src/loader/http/getdrives.cpp | 60 - core/src/loader/http/getendpointinfo.cpp | 60 - core/src/loader/http/getepisodes.cpp | 102 - core/src/loader/http/getexternalidinfos.cpp | 60 - core/src/loader/http/getfallbackfont.cpp | 40 - core/src/loader/http/getfallbackfontlist.cpp | 60 - core/src/loader/http/getfile.cpp | 40 - core/src/loader/http/getfirstuser.cpp | 60 - core/src/loader/http/getfirstuser_2.cpp | 60 - core/src/loader/http/getgeneralimage.cpp | 40 - core/src/loader/http/getgeneralimages.cpp | 60 - core/src/loader/http/getgenre.cpp | 63 - core/src/loader/http/getgenreimage.cpp | 40 - core/src/loader/http/getgenreimagebyindex.cpp | 40 - core/src/loader/http/getgroupingoptions.cpp | 60 - core/src/loader/http/getguideinfo.cpp | 60 - core/src/loader/http/gethlsaudiosegment.cpp | 40 - .../http/gethlsaudiosegmentlegacyaac.cpp | 40 - .../http/gethlsaudiosegmentlegacymp3.cpp | 40 - core/src/loader/http/gethlsplaylistlegacy.cpp | 40 - core/src/loader/http/gethlsvideosegment.cpp | 40 - .../loader/http/gethlsvideosegmentlegacy.cpp | 40 - core/src/loader/http/geticon.cpp | 40 - core/src/loader/http/geticonid.cpp | 40 - .../loader/http/getinstantmixfromalbum.cpp | 81 - .../loader/http/getinstantmixfromartists.cpp | 81 - .../src/loader/http/getinstantmixfromitem.cpp | 81 - .../http/getinstantmixfrommusicgenre.cpp | 81 - .../http/getinstantmixfrommusicgenres.cpp | 81 - .../loader/http/getinstantmixfromplaylist.cpp | 81 - .../src/loader/http/getinstantmixfromsong.cpp | 81 - core/src/loader/http/getintros.cpp | 60 - core/src/loader/http/getitem.cpp | 60 - core/src/loader/http/getitemcounts.cpp | 66 - core/src/loader/http/getitemimage.cpp | 40 - core/src/loader/http/getitemimage2.cpp | 40 - core/src/loader/http/getitemimagebyindex.cpp | 40 - core/src/loader/http/getitems.cpp | 300 --- core/src/loader/http/getitemsbyuserid.cpp | 297 --- .../src/loader/http/getlatestchannelitems.cpp | 78 - core/src/loader/http/getlatestmedia.cpp | 90 - .../src/loader/http/getlibraryoptionsinfo.cpp | 66 - core/src/loader/http/getlineups.cpp | 72 - core/src/loader/http/getlivehlsstream.cpp | 40 - core/src/loader/http/getliverecordingfile.cpp | 40 - core/src/loader/http/getlivestreamfile.cpp | 40 - core/src/loader/http/getlivetvchannels.cpp | 123 -- core/src/loader/http/getlivetvinfo.cpp | 60 - core/src/loader/http/getlivetvprograms.cpp | 141 -- core/src/loader/http/getlocaltrailers.cpp | 60 - core/src/loader/http/getlogfile.cpp | 40 - .../loader/http/getmasterhlsaudioplaylist.cpp | 40 - .../loader/http/getmasterhlsvideoplaylist.cpp | 40 - core/src/loader/http/getmediafolders.cpp | 63 - core/src/loader/http/getmediainfoimage.cpp | 40 - .../loader/http/getmediareceiverregistrar.cpp | 40 - .../http/getmediareceiverregistrar_2.cpp | 40 - .../http/getmediareceiverregistrar_3.cpp | 40 - .../http/getmovieremotesearchresults.cpp | 60 - .../http/getmusicalbumremotesearchresults.cpp | 60 - .../getmusicartistremotesearchresults.cpp | 60 - core/src/loader/http/getmusicgenre.cpp | 63 - core/src/loader/http/getmusicgenreimage.cpp | 40 - .../loader/http/getmusicgenreimagebyindex.cpp | 40 - .../http/getmusicvideoremotesearchresults.cpp | 60 - .../src/loader/http/getnamedconfiguration.cpp | 60 - core/src/loader/http/getnetworkshares.cpp | 60 - core/src/loader/http/getnextup.cpp | 96 - core/src/loader/http/getnotifications.cpp | 60 - .../loader/http/getnotificationservices.cpp | 60 - core/src/loader/http/getnotificationtypes.cpp | 60 - core/src/loader/http/getpackages.cpp | 60 - core/src/loader/http/getparentalratings.cpp | 60 - core/src/loader/http/getparentpath.cpp | 61 - .../loader/http/getpasswordresetproviders.cpp | 60 - core/src/loader/http/getperson.cpp | 63 - core/src/loader/http/getpersonimage.cpp | 40 - .../src/loader/http/getpersonimagebyindex.cpp | 40 - .../http/getpersonremotesearchresults.cpp | 60 - core/src/loader/http/getphysicalpaths.cpp | 60 - core/src/loader/http/getpingsystem.cpp | 60 - core/src/loader/http/getplaybackinfo.cpp | 61 - core/src/loader/http/getpluginimage.cpp | 40 - core/src/loader/http/getpluginmanifest.cpp | 40 - core/src/loader/http/getplugins.cpp | 60 - core/src/loader/http/getprofile.cpp | 60 - core/src/loader/http/getprofileinfos.cpp | 60 - core/src/loader/http/getprogram.cpp | 63 - core/src/loader/http/getprograms.cpp | 60 - core/src/loader/http/getpublicsysteminfo.cpp | 60 - core/src/loader/http/getpublicusers.cpp | 60 - .../src/loader/http/getqueryfilterslegacy.cpp | 72 - core/src/loader/http/getratingimage.cpp | 40 - core/src/loader/http/getratingimages.cpp | 60 - .../loader/http/getrecommendedprograms.cpp | 108 -- core/src/loader/http/getrecording.cpp | 63 - core/src/loader/http/getrecordingfolders.cpp | 63 - core/src/loader/http/getrecordinggroup.cpp | 40 - core/src/loader/http/getrecordinggroups.cpp | 63 - core/src/loader/http/getrecordings.cpp | 117 -- core/src/loader/http/getrecordingsseries.cpp | 102 - core/src/loader/http/getremoteimage.cpp | 40 - .../loader/http/getremoteimageproviders.cpp | 60 - core/src/loader/http/getremotesearchimage.cpp | 40 - core/src/loader/http/getremotesubtitles.cpp | 40 - core/src/loader/http/getrepositories.cpp | 60 - core/src/loader/http/getresumeitems.cpp | 99 - core/src/loader/http/getrootfolder.cpp | 60 - .../http/getschedulesdirectcountries.cpp | 60 - core/src/loader/http/getseasons.cpp | 87 - .../http/getseriesremotesearchresults.cpp | 60 - core/src/loader/http/getseriestimer.cpp | 60 - core/src/loader/http/getseriestimers.cpp | 66 - core/src/loader/http/getserverlogs.cpp | 60 - core/src/loader/http/getsimilaralbums.cpp | 72 - core/src/loader/http/getsimilarartists.cpp | 72 - core/src/loader/http/getsimilaritems.cpp | 72 - core/src/loader/http/getsimilarmovies.cpp | 72 - core/src/loader/http/getsimilarshows.cpp | 72 - core/src/loader/http/getsimilartrailers.cpp | 72 - core/src/loader/http/getspecialfeatures.cpp | 60 - core/src/loader/http/getstatus.cpp | 60 - core/src/loader/http/getstudio.cpp | 63 - core/src/loader/http/getstudioimage.cpp | 40 - .../src/loader/http/getstudioimagebyindex.cpp | 40 - core/src/loader/http/getsubtitle.cpp | 40 - core/src/loader/http/getsubtitleplaylist.cpp | 40 - core/src/loader/http/getsubtitlewithticks.cpp | 40 - core/src/loader/http/getsysteminfo.cpp | 60 - core/src/loader/http/gettask.cpp | 60 - core/src/loader/http/getthememedia.cpp | 66 - core/src/loader/http/getthemesongs.cpp | 66 - core/src/loader/http/getthemevideos.cpp | 66 - core/src/loader/http/gettimer.cpp | 60 - core/src/loader/http/gettimers.cpp | 72 - .../http/gettrailerremotesearchresults.cpp | 60 - core/src/loader/http/gettunerhosttypes.cpp | 60 - .../loader/http/getuniversalaudiostream.cpp | 40 - core/src/loader/http/getupcomingepisodes.cpp | 87 - core/src/loader/http/getuserbyid.cpp | 60 - core/src/loader/http/getuserimage.cpp | 40 - core/src/loader/http/getuserimagebyindex.cpp | 40 - core/src/loader/http/getusers.cpp | 66 - .../http/getvarianthlsaudioplaylist.cpp | 40 - .../http/getvarianthlsvideoplaylist.cpp | 40 - core/src/loader/http/getvideostream.cpp | 40 - .../loader/http/getvideostreambycontainer.cpp | 40 - core/src/loader/http/getwakeonlaninfo.cpp | 60 - core/src/loader/http/getyear.cpp | 63 - core/src/loader/http/headartistimage.cpp | 40 - core/src/loader/http/headaudiostream.cpp | 40 - .../http/headaudiostreambycontainer.cpp | 40 - core/src/loader/http/headgenreimage.cpp | 40 - .../src/loader/http/headgenreimagebyindex.cpp | 40 - core/src/loader/http/headitemimage.cpp | 40 - core/src/loader/http/headitemimage2.cpp | 40 - core/src/loader/http/headitemimagebyindex.cpp | 40 - .../http/headmasterhlsaudioplaylist.cpp | 40 - .../http/headmasterhlsvideoplaylist.cpp | 40 - core/src/loader/http/headmusicgenreimage.cpp | 40 - .../http/headmusicgenreimagebyindex.cpp | 40 - core/src/loader/http/headpersonimage.cpp | 40 - .../loader/http/headpersonimagebyindex.cpp | 40 - core/src/loader/http/headstudioimage.cpp | 40 - .../loader/http/headstudioimagebyindex.cpp | 40 - .../loader/http/headuniversalaudiostream.cpp | 40 - core/src/loader/http/headuserimage.cpp | 40 - core/src/loader/http/headuserimagebyindex.cpp | 40 - core/src/loader/http/headvideostream.cpp | 40 - .../http/headvideostreambycontainer.cpp | 40 - .../hlssegment.cpp} | 6 +- .../http/{getitemimageinfos.cpp => image.cpp} | 4 +- ...getmediainfoimages.cpp => imagebyname.cpp} | 42 +- core/src/loader/http/initiate.cpp | 60 - core/src/loader/http/installpackage.cpp | 40 - core/src/loader/http/instantmix.cpp | 321 +++ core/src/loader/http/itemlookup.cpp | 231 +++ core/src/loader/http/itemrefresh.cpp | 41 + core/src/loader/http/items.cpp | 614 ++++++ ...tmetadataeditorinfo.cpp => itemupdate.cpp} | 4 +- core/src/loader/http/library.cpp | 434 +++++ ...irtualfolders.cpp => librarystructure.cpp} | 4 +- core/src/loader/http/livetv.cpp | 930 +++++++++ ...calizationoptions.cpp => localization.cpp} | 61 +- core/src/loader/http/markfavoriteitem.cpp | 60 - core/src/loader/http/markunplayeditem.cpp | 60 - ...etpostedplaybackinfo.cpp => mediainfo.cpp} | 76 +- core/src/loader/http/mergeversions.cpp | 40 - core/src/loader/http/moveitem.cpp | 40 - ...getmovierecommendations.cpp => movies.cpp} | 4 +- .../{getmusicgenres.cpp => musicgenres.cpp} | 26 +- ...ficationssummary.cpp => notifications.cpp} | 61 +- core/src/loader/http/onplaybackprogress.cpp | 40 - core/src/loader/http/onplaybackstart.cpp | 40 - core/src/loader/http/onplaybackstopped.cpp | 40 - core/src/loader/http/openlivestream.cpp | 93 - .../http/{getpackageinfo.cpp => package.cpp} | 42 +- .../http/{getpersons.cpp => persons.cpp} | 26 +- core/src/loader/http/pingplaybacksession.cpp | 40 - core/src/loader/http/play.cpp | 40 - .../{getplaylistitems.cpp => playlists.cpp} | 35 +- .../{markplayeditem.cpp => playstate.cpp} | 23 +- ...getpluginconfiguration.cpp => plugins.cpp} | 23 +- core/src/loader/http/post.cpp | 40 - core/src/loader/http/postaddedmovies.cpp | 40 - core/src/loader/http/postaddedseries.cpp | 40 - core/src/loader/http/postcapabilities.cpp | 40 - core/src/loader/http/postfullcapabilities.cpp | 40 - core/src/loader/http/postpingsystem.cpp | 60 - core/src/loader/http/postupdatedmedia.cpp | 40 - core/src/loader/http/postupdatedmovies.cpp | 40 - core/src/loader/http/postupdatedseries.cpp | 40 - core/src/loader/http/postuserimage.cpp | 40 - core/src/loader/http/postuserimagebyindex.cpp | 40 - ...processconnectionmanagercontrolrequest.cpp | 40 - .../processcontentdirectorycontrolrequest.cpp | 40 - ...ssmediareceiverregistrarcontrolrequest.cpp | 40 - core/src/loader/http/quickconnect.cpp | 138 ++ core/src/loader/http/refreshlibrary.cpp | 40 - .../{getremoteimages.cpp => remoteimage.cpp} | 23 +- core/src/loader/http/removefromcollection.cpp | 40 - core/src/loader/http/removefromplaylist.cpp | 40 - core/src/loader/http/removemediapath.cpp | 40 - .../src/loader/http/removeuserfromsession.cpp | 40 - core/src/loader/http/removevirtualfolder.cpp | 40 - core/src/loader/http/renamevirtualfolder.cpp | 40 - .../loader/http/reportplaybackprogress.cpp | 40 - core/src/loader/http/reportplaybackstart.cpp | 40 - .../src/loader/http/reportplaybackstopped.cpp | 40 - core/src/loader/http/reportsessionended.cpp | 40 - core/src/loader/http/reportviewing.cpp | 40 - core/src/loader/http/resettuner.cpp | 40 - core/src/loader/http/restartapplication.cpp | 40 - core/src/loader/http/revokekey.cpp | 40 - .../http/{gettasks.cpp => scheduledtasks.cpp} | 23 +- core/src/loader/http/{get.cpp => search.cpp} | 4 +- .../loader/http/sendfullgeneralcommand.cpp | 40 - core/src/loader/http/sendgeneralcommand.cpp | 40 - core/src/loader/http/sendmessagecommand.cpp | 40 - core/src/loader/http/sendplaystatecommand.cpp | 40 - core/src/loader/http/sendsystemcommand.cpp | 40 - .../http/{getsessions.cpp => session.cpp} | 42 +- core/src/loader/http/setchannelmapping.cpp | 60 - core/src/loader/http/setitemimage.cpp | 40 - core/src/loader/http/setitemimagebyindex.cpp | 40 - core/src/loader/http/setread.cpp | 40 - core/src/loader/http/setremoteaccess.cpp | 40 - core/src/loader/http/setrepositories.cpp | 40 - core/src/loader/http/setunread.cpp | 40 - core/src/loader/http/shutdownapplication.cpp | 40 - core/src/loader/http/starttask.cpp | 40 - ...etstartupconfiguration.cpp => startup.cpp} | 42 +- core/src/loader/http/stopencodingprocess.cpp | 40 - core/src/loader/http/stoptask.cpp | 40 - .../http/{getstudios.cpp => studios.cpp} | 26 +- ...searchremotesubtitles.cpp => subtitle.cpp} | 23 +- .../{getsuggestions.cpp => suggestions.cpp} | 4 +- .../{syncplaygetgroups.cpp => syncplay.cpp} | 4 +- core/src/loader/http/syncplaybuffering.cpp | 40 - core/src/loader/http/syncplaycreategroup.cpp | 40 - core/src/loader/http/syncplayjoingroup.cpp | 40 - core/src/loader/http/syncplayleavegroup.cpp | 40 - .../loader/http/syncplaymoveplaylistitem.cpp | 40 - core/src/loader/http/syncplaynextitem.cpp | 40 - core/src/loader/http/syncplaypause.cpp | 40 - core/src/loader/http/syncplayping.cpp | 40 - core/src/loader/http/syncplaypreviousitem.cpp | 40 - core/src/loader/http/syncplayqueue.cpp | 40 - core/src/loader/http/syncplayready.cpp | 40 - .../http/syncplayremovefromplaylist.cpp | 40 - core/src/loader/http/syncplayseek.cpp | 40 - .../src/loader/http/syncplaysetignorewait.cpp | 40 - core/src/loader/http/syncplaysetnewqueue.cpp | 40 - .../loader/http/syncplaysetplaylistitem.cpp | 40 - .../src/loader/http/syncplaysetrepeatmode.cpp | 40 - .../loader/http/syncplaysetshufflemode.cpp | 40 - core/src/loader/http/syncplaystop.cpp | 40 - core/src/loader/http/syncplayunpause.cpp | 40 - core/src/loader/http/system.cpp | 174 ++ .../http/{getutctime.cpp => timesync.cpp} | 4 +- .../http/{gettrailers.cpp => trailers.cpp} | 4 +- core/src/loader/http/tvshows.cpp | 249 +++ core/src/loader/http/uninstallplugin.cpp | 40 - .../loader/http/uninstallpluginbyversion.cpp | 40 - core/src/loader/http/universalaudio.cpp | 41 + core/src/loader/http/unmarkfavoriteitem.cpp | 60 - core/src/loader/http/updateconfiguration.cpp | 40 - core/src/loader/http/updatedeviceoptions.cpp | 40 - .../loader/http/updatedisplaypreferences.cpp | 40 - .../http/updateinitialconfiguration.cpp | 40 - core/src/loader/http/updateitem.cpp | 40 - .../src/loader/http/updateitemcontenttype.cpp | 40 - core/src/loader/http/updateitemimageindex.cpp | 40 - core/src/loader/http/updatelibraryoptions.cpp | 40 - .../loader/http/updatemediaencoderpath.cpp | 40 - core/src/loader/http/updatemediapath.cpp | 40 - .../loader/http/updatenamedconfiguration.cpp | 40 - .../loader/http/updatepluginconfiguration.cpp | 40 - .../loader/http/updatepluginsecurityinfo.cpp | 40 - core/src/loader/http/updateprofile.cpp | 40 - core/src/loader/http/updateseriestimer.cpp | 40 - core/src/loader/http/updatestartupuser.cpp | 40 - core/src/loader/http/updatetask.cpp | 40 - core/src/loader/http/updatetimer.cpp | 40 - core/src/loader/http/updateuser.cpp | 40 - .../loader/http/updateuserconfiguration.cpp | 40 - .../loader/http/updateusereasypassword.cpp | 40 - core/src/loader/http/updateuseritemrating.cpp | 63 - core/src/loader/http/updateuserpassword.cpp | 40 - core/src/loader/http/updateuserpolicy.cpp | 40 - core/src/loader/http/uploadsubtitle.cpp | 40 - core/src/loader/http/user.cpp | 241 +++ core/src/loader/http/userlibrary.cpp | 264 +++ .../http/{getuserviews.cpp => userviews.cpp} | 23 +- core/src/loader/http/validatepath.cpp | 40 - core/src/loader/http/videoattachments.cpp | 41 + .../videohls.cpp} | 6 +- .../{getadditionalpart.cpp => videos.cpp} | 4 +- .../loader/http/{getyears.cpp => years.cpp} | 26 +- core/src/loader/initiateparams.cpp | 41 - core/src/loader/installpackageparams.cpp | 113 -- core/src/loader/markfavoriteitemparams.cpp | 59 - core/src/loader/markplayeditemparams.cpp | 80 - core/src/loader/markunplayeditemparams.cpp | 59 - core/src/loader/mergeversionsparams.cpp | 50 - core/src/loader/moveitemparams.cpp | 68 - core/src/loader/onplaybackprogressparams.cpp | 290 --- core/src/loader/onplaybackstartparams.cpp | 206 -- core/src/loader/onplaybackstoppedparams.cpp | 164 -- core/src/loader/openlivestreamparams.cpp | 272 --- core/src/loader/pingplaybacksessionparams.cpp | 62 - core/src/loader/playparams.cpp | 89 - core/src/loader/postaddedmoviesparams.cpp | 83 - core/src/loader/postaddedseriesparams.cpp | 62 - core/src/loader/postcapabilitiesparams.cpp | 167 -- .../src/loader/postfullcapabilitiesparams.cpp | 62 - core/src/loader/postparams.cpp | 134 -- core/src/loader/postpingsystemparams.cpp | 41 - core/src/loader/postupdatedmediaparams.cpp | 41 - core/src/loader/postupdatedmoviesparams.cpp | 83 - core/src/loader/postupdatedseriesparams.cpp | 62 - .../src/loader/postuserimagebyindexparams.cpp | 68 - core/src/loader/postuserimageparams.cpp | 80 - ...sconnectionmanagercontrolrequestparams.cpp | 50 - ...sscontentdirectorycontrolrequestparams.cpp | 50 - ...areceiverregistrarcontrolrequestparams.cpp | 50 - core/src/loader/refreshlibraryparams.cpp | 41 - .../src/loader/removefromcollectionparams.cpp | 59 - core/src/loader/removefromplaylistparams.cpp | 71 - core/src/loader/removemediapathparams.cpp | 104 - .../loader/removeuserfromsessionparams.cpp | 59 - core/src/loader/removevirtualfolderparams.cpp | 83 - core/src/loader/renamevirtualfolderparams.cpp | 104 - .../loader/reportplaybackprogressparams.cpp | 41 - core/src/loader/reportplaybackstartparams.cpp | 41 - .../loader/reportplaybackstoppedparams.cpp | 41 - core/src/loader/reportsessionendedparams.cpp | 41 - core/src/loader/reportviewingparams.cpp | 71 - core/src/loader/resettunerparams.cpp | 50 - core/src/loader/restartapplicationparams.cpp | 41 - core/src/loader/revokekeyparams.cpp | 50 - .../loader/searchremotesubtitlesparams.cpp | 80 - .../loader/sendfullgeneralcommandparams.cpp | 50 - core/src/loader/sendgeneralcommandparams.cpp | 59 - core/src/loader/sendmessagecommandparams.cpp | 101 - .../src/loader/sendplaystatecommandparams.cpp | 101 - core/src/loader/sendsystemcommandparams.cpp | 59 - core/src/loader/setchannelmappingparams.cpp | 41 - core/src/loader/setitemimagebyindexparams.cpp | 68 - core/src/loader/setitemimageparams.cpp | 59 - core/src/loader/setreadparams.cpp | 50 - core/src/loader/setremoteaccessparams.cpp | 41 - core/src/loader/setrepositoriesparams.cpp | 41 - core/src/loader/setunreadparams.cpp | 50 - core/src/loader/shutdownapplicationparams.cpp | 41 - core/src/loader/starttaskparams.cpp | 50 - core/src/loader/stopencodingprocessparams.cpp | 83 - core/src/loader/stoptaskparams.cpp | 50 - core/src/loader/syncplaybufferingparams.cpp | 41 - core/src/loader/syncplaycreategroupparams.cpp | 41 - core/src/loader/syncplaygetgroupsparams.cpp | 41 - core/src/loader/syncplayjoingroupparams.cpp | 41 - core/src/loader/syncplayleavegroupparams.cpp | 41 - .../loader/syncplaymoveplaylistitemparams.cpp | 41 - core/src/loader/syncplaynextitemparams.cpp | 41 - core/src/loader/syncplaypauseparams.cpp | 41 - core/src/loader/syncplaypingparams.cpp | 41 - .../src/loader/syncplaypreviousitemparams.cpp | 41 - core/src/loader/syncplayqueueparams.cpp | 41 - core/src/loader/syncplayreadyparams.cpp | 41 - .../syncplayremovefromplaylistparams.cpp | 41 - core/src/loader/syncplayseekparams.cpp | 41 - .../loader/syncplaysetignorewaitparams.cpp | 41 - core/src/loader/syncplaysetnewqueueparams.cpp | 41 - .../loader/syncplaysetplaylistitemparams.cpp | 41 - .../loader/syncplaysetrepeatmodeparams.cpp | 41 - .../loader/syncplaysetshufflemodeparams.cpp | 41 - core/src/loader/syncplaystopparams.cpp | 41 - core/src/loader/syncplayunpauseparams.cpp | 41 - .../loader/uninstallpluginbyversionparams.cpp | 59 - core/src/loader/uninstallpluginparams.cpp | 50 - core/src/loader/unmarkfavoriteitemparams.cpp | 59 - core/src/loader/updateconfigurationparams.cpp | 41 - core/src/loader/updatedeviceoptionsparams.cpp | 50 - .../loader/updatedisplaypreferencesparams.cpp | 68 - .../updateinitialconfigurationparams.cpp | 41 - .../loader/updateitemcontenttypeparams.cpp | 71 - .../src/loader/updateitemimageindexparams.cpp | 89 - core/src/loader/updateitemparams.cpp | 50 - .../src/loader/updatelibraryoptionsparams.cpp | 41 - .../loader/updatemediaencoderpathparams.cpp | 41 - core/src/loader/updatemediapathparams.cpp | 62 - .../loader/updatenamedconfigurationparams.cpp | 50 - .../updatepluginconfigurationparams.cpp | 50 - .../loader/updatepluginsecurityinfoparams.cpp | 41 - core/src/loader/updateprofileparams.cpp | 50 - core/src/loader/updateseriestimerparams.cpp | 50 - core/src/loader/updatestartupuserparams.cpp | 41 - core/src/loader/updatetaskparams.cpp | 50 - core/src/loader/updatetimerparams.cpp | 50 - .../loader/updateuserconfigurationparams.cpp | 50 - .../loader/updateusereasypasswordparams.cpp | 50 - .../src/loader/updateuseritemratingparams.cpp | 80 - core/src/loader/updateuserparams.cpp | 50 - core/src/loader/updateuserpasswordparams.cpp | 50 - core/src/loader/updateuserpolicyparams.cpp | 50 - core/src/loader/uploadsubtitleparams.cpp | 50 - core/src/loader/validatepathparams.cpp | 41 - core/src/viewmodel/item.cpp | 4 + core/src/viewmodel/itemmodel.cpp | 9 +- core/src/viewmodel/playbackmanager.cpp | 1 + core/src/viewmodel/user.cpp | 2 +- 1262 files changed, 7949 insertions(+), 105833 deletions(-) rename core/include/JellyfinQt/loader/http/{getlogentries.h => activitylog.h} (93%) delete mode 100644 core/include/JellyfinQt/loader/http/addlistingprovider.h delete mode 100644 core/include/JellyfinQt/loader/http/addtunerhost.h delete mode 100644 core/include/JellyfinQt/loader/http/addusertosession.h delete mode 100644 core/include/JellyfinQt/loader/http/addvirtualfolder.h rename core/include/JellyfinQt/loader/http/{getkeys.h => apikey.h} (94%) delete mode 100644 core/include/JellyfinQt/loader/http/applysearchcriteria.h rename core/include/JellyfinQt/loader/http/{getalbumartists.h => artists.h} (68%) rename core/include/JellyfinQt/loader/http/{activate.h => audio.h} (91%) delete mode 100644 core/include/JellyfinQt/loader/http/authenticateuser.h delete mode 100644 core/include/JellyfinQt/loader/http/authenticateuserbyname.h delete mode 100644 core/include/JellyfinQt/loader/http/authenticatewithquickconnect.h delete mode 100644 core/include/JellyfinQt/loader/http/authorize.h delete mode 100644 core/include/JellyfinQt/loader/http/available.h rename core/include/JellyfinQt/loader/http/{getbrandingoptions.h => branding.h} (70%) delete mode 100644 core/include/JellyfinQt/loader/http/cancelpackageinstallation.h delete mode 100644 core/include/JellyfinQt/loader/http/cancelseriestimer.h delete mode 100644 core/include/JellyfinQt/loader/http/canceltimer.h rename core/include/JellyfinQt/loader/http/{getlatestchannelitems.h => channels.h} (53%) delete mode 100644 core/include/JellyfinQt/loader/http/closelivestream.h rename core/include/JellyfinQt/loader/http/{createcollection.h => collection.h} (93%) delete mode 100644 core/include/JellyfinQt/loader/http/completewizard.h rename core/include/JellyfinQt/loader/http/{getdefaultmetadataoptions.h => configuration.h} (68%) delete mode 100644 core/include/JellyfinQt/loader/http/createadminnotification.h delete mode 100644 core/include/JellyfinQt/loader/http/createkey.h delete mode 100644 core/include/JellyfinQt/loader/http/createplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/createprofile.h delete mode 100644 core/include/JellyfinQt/loader/http/createseriestimer.h delete mode 100644 core/include/JellyfinQt/loader/http/createtimer.h delete mode 100644 core/include/JellyfinQt/loader/http/createuserbyname.h rename core/include/JellyfinQt/loader/http/{getconfigurationpages.h => dashboard.h} (93%) delete mode 100644 core/include/JellyfinQt/loader/http/deauthorize.h delete mode 100644 core/include/JellyfinQt/loader/http/deletealternatesources.h delete mode 100644 core/include/JellyfinQt/loader/http/deletedevice.h delete mode 100644 core/include/JellyfinQt/loader/http/deleteitem.h delete mode 100644 core/include/JellyfinQt/loader/http/deleteitemimage.h delete mode 100644 core/include/JellyfinQt/loader/http/deleteitemimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/deleteitems.h delete mode 100644 core/include/JellyfinQt/loader/http/deletelistingprovider.h delete mode 100644 core/include/JellyfinQt/loader/http/deleteprofile.h delete mode 100644 core/include/JellyfinQt/loader/http/deleterecording.h delete mode 100644 core/include/JellyfinQt/loader/http/deletesubtitle.h delete mode 100644 core/include/JellyfinQt/loader/http/deletetunerhost.h delete mode 100644 core/include/JellyfinQt/loader/http/deleteuser.h delete mode 100644 core/include/JellyfinQt/loader/http/deleteuserimage.h delete mode 100644 core/include/JellyfinQt/loader/http/deleteuserimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/deleteuseritemrating.h rename core/include/JellyfinQt/loader/http/{getdeviceoptions.h => devices.h} (69%) delete mode 100644 core/include/JellyfinQt/loader/http/disableplugin.h delete mode 100644 core/include/JellyfinQt/loader/http/discovertuners.h delete mode 100644 core/include/JellyfinQt/loader/http/discvovertuners.h delete mode 100644 core/include/JellyfinQt/loader/http/displaycontent.h rename core/include/JellyfinQt/loader/http/{getdisplaypreferences.h => displaypreferences.h} (92%) rename core/include/JellyfinQt/loader/http/{getdefaultprofile.h => dlna.h} (68%) rename core/include/JellyfinQt/loader/http/{postuserimage.h => dlnaserver.h} (93%) delete mode 100644 core/include/JellyfinQt/loader/http/downloadremoteimage.h delete mode 100644 core/include/JellyfinQt/loader/http/downloadremotesubtitles.h rename core/include/JellyfinQt/loader/http/{addmediapath.h => dynamichls.h} (91%) delete mode 100644 core/include/JellyfinQt/loader/http/enableplugin.h rename core/include/JellyfinQt/loader/http/{getdefaultdirectorybrowser.h => environment.h} (53%) rename core/include/JellyfinQt/loader/http/{getqueryfilterslegacy.h => filter.h} (79%) delete mode 100644 core/include/JellyfinQt/loader/http/forgotpassword.h delete mode 100644 core/include/JellyfinQt/loader/http/forgotpasswordpin.h rename core/include/JellyfinQt/loader/http/{getgenres.h => genres.h} (80%) delete mode 100644 core/include/JellyfinQt/loader/http/getallchannelfeatures.h delete mode 100644 core/include/JellyfinQt/loader/http/getancestors.h delete mode 100644 core/include/JellyfinQt/loader/http/getartistbyname.h delete mode 100644 core/include/JellyfinQt/loader/http/getartistimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getartists.h delete mode 100644 core/include/JellyfinQt/loader/http/getattachment.h delete mode 100644 core/include/JellyfinQt/loader/http/getaudiostream.h delete mode 100644 core/include/JellyfinQt/loader/http/getaudiostreambycontainer.h delete mode 100644 core/include/JellyfinQt/loader/http/getauthproviders.h delete mode 100644 core/include/JellyfinQt/loader/http/getbitratetestbytes.h delete mode 100644 core/include/JellyfinQt/loader/http/getbookremotesearchresults.h delete mode 100644 core/include/JellyfinQt/loader/http/getboxsetremotesearchresults.h delete mode 100644 core/include/JellyfinQt/loader/http/getbrandingcss.h delete mode 100644 core/include/JellyfinQt/loader/http/getbrandingcss_2.h delete mode 100644 core/include/JellyfinQt/loader/http/getchannel.h delete mode 100644 core/include/JellyfinQt/loader/http/getchannelfeatures.h delete mode 100644 core/include/JellyfinQt/loader/http/getchannelitems.h delete mode 100644 core/include/JellyfinQt/loader/http/getchannelmappingoptions.h delete mode 100644 core/include/JellyfinQt/loader/http/getchannels.h delete mode 100644 core/include/JellyfinQt/loader/http/getconfiguration.h delete mode 100644 core/include/JellyfinQt/loader/http/getconnectionmanager.h delete mode 100644 core/include/JellyfinQt/loader/http/getconnectionmanager_2.h delete mode 100644 core/include/JellyfinQt/loader/http/getconnectionmanager_3.h delete mode 100644 core/include/JellyfinQt/loader/http/getcontentdirectory.h delete mode 100644 core/include/JellyfinQt/loader/http/getcontentdirectory_2.h delete mode 100644 core/include/JellyfinQt/loader/http/getcontentdirectory_3.h delete mode 100644 core/include/JellyfinQt/loader/http/getcountries.h delete mode 100644 core/include/JellyfinQt/loader/http/getcriticreviews.h delete mode 100644 core/include/JellyfinQt/loader/http/getcultures.h delete mode 100644 core/include/JellyfinQt/loader/http/getcurrentuser.h delete mode 100644 core/include/JellyfinQt/loader/http/getdashboardconfigurationpage.h delete mode 100644 core/include/JellyfinQt/loader/http/getdefaultlistingprovider.h delete mode 100644 core/include/JellyfinQt/loader/http/getdefaulttimer.h delete mode 100644 core/include/JellyfinQt/loader/http/getdescriptionxml.h delete mode 100644 core/include/JellyfinQt/loader/http/getdescriptionxml_2.h delete mode 100644 core/include/JellyfinQt/loader/http/getdeviceinfo.h delete mode 100644 core/include/JellyfinQt/loader/http/getdevices.h delete mode 100644 core/include/JellyfinQt/loader/http/getdirectorycontents.h delete mode 100644 core/include/JellyfinQt/loader/http/getdownload.h delete mode 100644 core/include/JellyfinQt/loader/http/getdrives.h delete mode 100644 core/include/JellyfinQt/loader/http/getendpointinfo.h delete mode 100644 core/include/JellyfinQt/loader/http/getepisodes.h delete mode 100644 core/include/JellyfinQt/loader/http/getexternalidinfos.h delete mode 100644 core/include/JellyfinQt/loader/http/getfallbackfont.h delete mode 100644 core/include/JellyfinQt/loader/http/getfallbackfontlist.h delete mode 100644 core/include/JellyfinQt/loader/http/getfile.h delete mode 100644 core/include/JellyfinQt/loader/http/getfirstuser.h delete mode 100644 core/include/JellyfinQt/loader/http/getfirstuser_2.h delete mode 100644 core/include/JellyfinQt/loader/http/getgeneralimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getgeneralimages.h delete mode 100644 core/include/JellyfinQt/loader/http/getgenre.h delete mode 100644 core/include/JellyfinQt/loader/http/getgenreimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getgenreimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/getguideinfo.h delete mode 100644 core/include/JellyfinQt/loader/http/gethlsaudiosegment.h delete mode 100644 core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacyaac.h delete mode 100644 core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacymp3.h delete mode 100644 core/include/JellyfinQt/loader/http/gethlsplaylistlegacy.h delete mode 100644 core/include/JellyfinQt/loader/http/gethlsvideosegment.h delete mode 100644 core/include/JellyfinQt/loader/http/gethlsvideosegmentlegacy.h delete mode 100644 core/include/JellyfinQt/loader/http/geticon.h delete mode 100644 core/include/JellyfinQt/loader/http/geticonid.h delete mode 100644 core/include/JellyfinQt/loader/http/getinstantmixfromalbum.h delete mode 100644 core/include/JellyfinQt/loader/http/getinstantmixfromartists.h delete mode 100644 core/include/JellyfinQt/loader/http/getinstantmixfromitem.h delete mode 100644 core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenre.h delete mode 100644 core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenres.h delete mode 100644 core/include/JellyfinQt/loader/http/getinstantmixfromplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/getinstantmixfromsong.h delete mode 100644 core/include/JellyfinQt/loader/http/getintros.h delete mode 100644 core/include/JellyfinQt/loader/http/getitem.h delete mode 100644 core/include/JellyfinQt/loader/http/getitemcounts.h delete mode 100644 core/include/JellyfinQt/loader/http/getitemimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getitemimage2.h delete mode 100644 core/include/JellyfinQt/loader/http/getitemimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/getitems.h delete mode 100644 core/include/JellyfinQt/loader/http/getlatestmedia.h delete mode 100644 core/include/JellyfinQt/loader/http/getlibraryoptionsinfo.h delete mode 100644 core/include/JellyfinQt/loader/http/getlineups.h delete mode 100644 core/include/JellyfinQt/loader/http/getlivehlsstream.h delete mode 100644 core/include/JellyfinQt/loader/http/getliverecordingfile.h delete mode 100644 core/include/JellyfinQt/loader/http/getlivestreamfile.h delete mode 100644 core/include/JellyfinQt/loader/http/getlivetvchannels.h delete mode 100644 core/include/JellyfinQt/loader/http/getlivetvinfo.h delete mode 100644 core/include/JellyfinQt/loader/http/getlivetvprograms.h delete mode 100644 core/include/JellyfinQt/loader/http/getlocaltrailers.h delete mode 100644 core/include/JellyfinQt/loader/http/getlogfile.h delete mode 100644 core/include/JellyfinQt/loader/http/getmasterhlsaudioplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/getmasterhlsvideoplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/getmediafolders.h delete mode 100644 core/include/JellyfinQt/loader/http/getmediainfoimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getmediareceiverregistrar.h delete mode 100644 core/include/JellyfinQt/loader/http/getmediareceiverregistrar_2.h delete mode 100644 core/include/JellyfinQt/loader/http/getmediareceiverregistrar_3.h delete mode 100644 core/include/JellyfinQt/loader/http/getmovieremotesearchresults.h delete mode 100644 core/include/JellyfinQt/loader/http/getmusicalbumremotesearchresults.h delete mode 100644 core/include/JellyfinQt/loader/http/getmusicartistremotesearchresults.h delete mode 100644 core/include/JellyfinQt/loader/http/getmusicgenre.h delete mode 100644 core/include/JellyfinQt/loader/http/getmusicgenreimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getmusicgenreimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/getmusicvideoremotesearchresults.h delete mode 100644 core/include/JellyfinQt/loader/http/getnamedconfiguration.h delete mode 100644 core/include/JellyfinQt/loader/http/getnetworkshares.h delete mode 100644 core/include/JellyfinQt/loader/http/getnextup.h delete mode 100644 core/include/JellyfinQt/loader/http/getnotifications.h delete mode 100644 core/include/JellyfinQt/loader/http/getnotificationservices.h delete mode 100644 core/include/JellyfinQt/loader/http/getnotificationtypes.h delete mode 100644 core/include/JellyfinQt/loader/http/getpackageinfo.h delete mode 100644 core/include/JellyfinQt/loader/http/getpackages.h delete mode 100644 core/include/JellyfinQt/loader/http/getparentalratings.h delete mode 100644 core/include/JellyfinQt/loader/http/getparentpath.h delete mode 100644 core/include/JellyfinQt/loader/http/getperson.h delete mode 100644 core/include/JellyfinQt/loader/http/getpersonimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getpersonimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/getpersonremotesearchresults.h delete mode 100644 core/include/JellyfinQt/loader/http/getphysicalpaths.h delete mode 100644 core/include/JellyfinQt/loader/http/getpingsystem.h delete mode 100644 core/include/JellyfinQt/loader/http/getplaybackinfo.h delete mode 100644 core/include/JellyfinQt/loader/http/getpluginimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getpluginmanifest.h delete mode 100644 core/include/JellyfinQt/loader/http/getplugins.h delete mode 100644 core/include/JellyfinQt/loader/http/getprofile.h delete mode 100644 core/include/JellyfinQt/loader/http/getprofileinfos.h delete mode 100644 core/include/JellyfinQt/loader/http/getprogram.h delete mode 100644 core/include/JellyfinQt/loader/http/getprograms.h delete mode 100644 core/include/JellyfinQt/loader/http/getpublicsysteminfo.h delete mode 100644 core/include/JellyfinQt/loader/http/getpublicusers.h delete mode 100644 core/include/JellyfinQt/loader/http/getqueryfilters.h delete mode 100644 core/include/JellyfinQt/loader/http/getratingimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getratingimages.h delete mode 100644 core/include/JellyfinQt/loader/http/getrecommendedprograms.h delete mode 100644 core/include/JellyfinQt/loader/http/getrecording.h delete mode 100644 core/include/JellyfinQt/loader/http/getrecordingfolders.h delete mode 100644 core/include/JellyfinQt/loader/http/getrecordinggroup.h delete mode 100644 core/include/JellyfinQt/loader/http/getrecordinggroups.h delete mode 100644 core/include/JellyfinQt/loader/http/getrecordings.h delete mode 100644 core/include/JellyfinQt/loader/http/getrecordingsseries.h delete mode 100644 core/include/JellyfinQt/loader/http/getremoteimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getremoteimages.h delete mode 100644 core/include/JellyfinQt/loader/http/getremotesearchimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getremotesubtitles.h delete mode 100644 core/include/JellyfinQt/loader/http/getresumeitems.h delete mode 100644 core/include/JellyfinQt/loader/http/getrootfolder.h delete mode 100644 core/include/JellyfinQt/loader/http/getschedulesdirectcountries.h delete mode 100644 core/include/JellyfinQt/loader/http/getseasons.h delete mode 100644 core/include/JellyfinQt/loader/http/getseriesremotesearchresults.h delete mode 100644 core/include/JellyfinQt/loader/http/getseriestimer.h delete mode 100644 core/include/JellyfinQt/loader/http/getseriestimers.h delete mode 100644 core/include/JellyfinQt/loader/http/getserverlogs.h delete mode 100644 core/include/JellyfinQt/loader/http/getsessions.h delete mode 100644 core/include/JellyfinQt/loader/http/getsimilaralbums.h delete mode 100644 core/include/JellyfinQt/loader/http/getsimilarartists.h delete mode 100644 core/include/JellyfinQt/loader/http/getsimilaritems.h delete mode 100644 core/include/JellyfinQt/loader/http/getsimilarmovies.h delete mode 100644 core/include/JellyfinQt/loader/http/getsimilarshows.h delete mode 100644 core/include/JellyfinQt/loader/http/getsimilartrailers.h delete mode 100644 core/include/JellyfinQt/loader/http/getspecialfeatures.h delete mode 100644 core/include/JellyfinQt/loader/http/getstatus.h delete mode 100644 core/include/JellyfinQt/loader/http/getstudio.h delete mode 100644 core/include/JellyfinQt/loader/http/getstudioimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getstudioimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/getsubtitle.h delete mode 100644 core/include/JellyfinQt/loader/http/getsubtitleplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/getsubtitlewithticks.h delete mode 100644 core/include/JellyfinQt/loader/http/getsysteminfo.h delete mode 100644 core/include/JellyfinQt/loader/http/gettask.h delete mode 100644 core/include/JellyfinQt/loader/http/getthememedia.h delete mode 100644 core/include/JellyfinQt/loader/http/getthemesongs.h delete mode 100644 core/include/JellyfinQt/loader/http/getthemevideos.h delete mode 100644 core/include/JellyfinQt/loader/http/gettimer.h delete mode 100644 core/include/JellyfinQt/loader/http/gettimers.h delete mode 100644 core/include/JellyfinQt/loader/http/gettrailerremotesearchresults.h delete mode 100644 core/include/JellyfinQt/loader/http/gettunerhosttypes.h delete mode 100644 core/include/JellyfinQt/loader/http/getuniversalaudiostream.h delete mode 100644 core/include/JellyfinQt/loader/http/getuserbyid.h delete mode 100644 core/include/JellyfinQt/loader/http/getuserimage.h delete mode 100644 core/include/JellyfinQt/loader/http/getuserimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/getusers.h delete mode 100644 core/include/JellyfinQt/loader/http/getuserviews.h delete mode 100644 core/include/JellyfinQt/loader/http/getvarianthlsaudioplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/getvarianthlsvideoplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/getvideostream.h delete mode 100644 core/include/JellyfinQt/loader/http/getvideostreambycontainer.h delete mode 100644 core/include/JellyfinQt/loader/http/getwakeonlaninfo.h delete mode 100644 core/include/JellyfinQt/loader/http/getyear.h delete mode 100644 core/include/JellyfinQt/loader/http/headartistimage.h delete mode 100644 core/include/JellyfinQt/loader/http/headaudiostream.h delete mode 100644 core/include/JellyfinQt/loader/http/headaudiostreambycontainer.h delete mode 100644 core/include/JellyfinQt/loader/http/headgenreimage.h delete mode 100644 core/include/JellyfinQt/loader/http/headgenreimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/headitemimage.h delete mode 100644 core/include/JellyfinQt/loader/http/headitemimage2.h delete mode 100644 core/include/JellyfinQt/loader/http/headitemimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/headmasterhlsaudioplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/headmasterhlsvideoplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/headmusicgenreimage.h delete mode 100644 core/include/JellyfinQt/loader/http/headmusicgenreimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/headpersonimage.h delete mode 100644 core/include/JellyfinQt/loader/http/headpersonimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/headstudioimage.h delete mode 100644 core/include/JellyfinQt/loader/http/headstudioimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/headuniversalaudiostream.h delete mode 100644 core/include/JellyfinQt/loader/http/headuserimage.h delete mode 100644 core/include/JellyfinQt/loader/http/headuserimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/headvideostream.h delete mode 100644 core/include/JellyfinQt/loader/http/headvideostreambycontainer.h rename core/include/JellyfinQt/loader/http/{addtocollection.h => hlssegment.h} (91%) rename core/include/JellyfinQt/loader/http/{getitemimageinfos.h => image.h} (93%) rename core/include/JellyfinQt/loader/http/{getmediainfoimages.h => imagebyname.h} (67%) delete mode 100644 core/include/JellyfinQt/loader/http/initiate.h delete mode 100644 core/include/JellyfinQt/loader/http/installpackage.h create mode 100644 core/include/JellyfinQt/loader/http/instantmix.h create mode 100644 core/include/JellyfinQt/loader/http/itemlookup.h create mode 100644 core/include/JellyfinQt/loader/http/itemrefresh.h rename core/include/JellyfinQt/loader/http/{getitemsbyuserid.h => items.h} (68%) rename core/include/JellyfinQt/loader/http/{getmetadataeditorinfo.h => itemupdate.h} (93%) create mode 100644 core/include/JellyfinQt/loader/http/library.h rename core/include/JellyfinQt/loader/http/{getvirtualfolders.h => librarystructure.h} (93%) create mode 100644 core/include/JellyfinQt/loader/http/livetv.h rename core/include/JellyfinQt/loader/http/{getlocalizationoptions.h => localization.h} (60%) delete mode 100644 core/include/JellyfinQt/loader/http/markfavoriteitem.h delete mode 100644 core/include/JellyfinQt/loader/http/markplayeditem.h rename core/include/JellyfinQt/loader/http/{getpostedplaybackinfo.h => mediainfo.h} (68%) delete mode 100644 core/include/JellyfinQt/loader/http/mergeversions.h delete mode 100644 core/include/JellyfinQt/loader/http/moveitem.h rename core/include/JellyfinQt/loader/http/{getmovierecommendations.h => movies.h} (92%) rename core/include/JellyfinQt/loader/http/{getmusicgenres.h => musicgenres.h} (79%) rename core/include/JellyfinQt/loader/http/{getnotificationssummary.h => notifications.h} (58%) delete mode 100644 core/include/JellyfinQt/loader/http/onplaybackprogress.h delete mode 100644 core/include/JellyfinQt/loader/http/onplaybackstart.h delete mode 100644 core/include/JellyfinQt/loader/http/onplaybackstopped.h delete mode 100644 core/include/JellyfinQt/loader/http/openlivestream.h rename core/include/JellyfinQt/loader/http/{getrepositories.h => package.h} (68%) rename core/include/JellyfinQt/loader/http/{getpersons.h => persons.h} (80%) delete mode 100644 core/include/JellyfinQt/loader/http/pingplaybacksession.h delete mode 100644 core/include/JellyfinQt/loader/http/play.h rename core/include/JellyfinQt/loader/http/{getplaylistitems.h => playlists.h} (79%) rename core/include/JellyfinQt/loader/http/{markunplayeditem.h => playstate.h} (79%) rename core/include/JellyfinQt/loader/http/{getpluginconfiguration.h => plugins.h} (79%) delete mode 100644 core/include/JellyfinQt/loader/http/post.h delete mode 100644 core/include/JellyfinQt/loader/http/postaddedmovies.h delete mode 100644 core/include/JellyfinQt/loader/http/postaddedseries.h delete mode 100644 core/include/JellyfinQt/loader/http/postcapabilities.h delete mode 100644 core/include/JellyfinQt/loader/http/postfullcapabilities.h delete mode 100644 core/include/JellyfinQt/loader/http/postpingsystem.h delete mode 100644 core/include/JellyfinQt/loader/http/postupdatedmedia.h delete mode 100644 core/include/JellyfinQt/loader/http/postupdatedmovies.h delete mode 100644 core/include/JellyfinQt/loader/http/postupdatedseries.h delete mode 100644 core/include/JellyfinQt/loader/http/postuserimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/processconnectionmanagercontrolrequest.h delete mode 100644 core/include/JellyfinQt/loader/http/processcontentdirectorycontrolrequest.h delete mode 100644 core/include/JellyfinQt/loader/http/processmediareceiverregistrarcontrolrequest.h rename core/include/JellyfinQt/loader/http/{connect.h => quickconnect.h} (54%) delete mode 100644 core/include/JellyfinQt/loader/http/refreshlibrary.h rename core/include/JellyfinQt/loader/http/{getremoteimageproviders.h => remoteimage.h} (78%) delete mode 100644 core/include/JellyfinQt/loader/http/removefromcollection.h delete mode 100644 core/include/JellyfinQt/loader/http/removefromplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/removemediapath.h delete mode 100644 core/include/JellyfinQt/loader/http/removeuserfromsession.h delete mode 100644 core/include/JellyfinQt/loader/http/removevirtualfolder.h delete mode 100644 core/include/JellyfinQt/loader/http/renamevirtualfolder.h delete mode 100644 core/include/JellyfinQt/loader/http/reportplaybackprogress.h delete mode 100644 core/include/JellyfinQt/loader/http/reportplaybackstart.h delete mode 100644 core/include/JellyfinQt/loader/http/reportplaybackstopped.h delete mode 100644 core/include/JellyfinQt/loader/http/reportsessionended.h delete mode 100644 core/include/JellyfinQt/loader/http/reportviewing.h delete mode 100644 core/include/JellyfinQt/loader/http/resettuner.h delete mode 100644 core/include/JellyfinQt/loader/http/restartapplication.h delete mode 100644 core/include/JellyfinQt/loader/http/revokekey.h rename core/include/JellyfinQt/loader/http/{gettasks.h => scheduledtasks.h} (80%) rename core/include/JellyfinQt/loader/http/{get.h => search.h} (94%) delete mode 100644 core/include/JellyfinQt/loader/http/sendfullgeneralcommand.h delete mode 100644 core/include/JellyfinQt/loader/http/sendgeneralcommand.h delete mode 100644 core/include/JellyfinQt/loader/http/sendmessagecommand.h delete mode 100644 core/include/JellyfinQt/loader/http/sendplaystatecommand.h delete mode 100644 core/include/JellyfinQt/loader/http/sendsystemcommand.h rename core/include/JellyfinQt/loader/http/{getpasswordresetproviders.h => session.h} (69%) delete mode 100644 core/include/JellyfinQt/loader/http/setchannelmapping.h delete mode 100644 core/include/JellyfinQt/loader/http/setitemimage.h delete mode 100644 core/include/JellyfinQt/loader/http/setitemimagebyindex.h delete mode 100644 core/include/JellyfinQt/loader/http/setread.h delete mode 100644 core/include/JellyfinQt/loader/http/setremoteaccess.h delete mode 100644 core/include/JellyfinQt/loader/http/setrepositories.h delete mode 100644 core/include/JellyfinQt/loader/http/setunread.h delete mode 100644 core/include/JellyfinQt/loader/http/shutdownapplication.h delete mode 100644 core/include/JellyfinQt/loader/http/starttask.h rename core/include/JellyfinQt/loader/http/{getstartupconfiguration.h => startup.h} (69%) delete mode 100644 core/include/JellyfinQt/loader/http/stopencodingprocess.h delete mode 100644 core/include/JellyfinQt/loader/http/stoptask.h rename core/include/JellyfinQt/loader/http/{getstudios.h => studios.h} (80%) rename core/include/JellyfinQt/loader/http/{searchremotesubtitles.h => subtitle.h} (78%) rename core/include/JellyfinQt/loader/http/{getsuggestions.h => suggestions.h} (93%) rename core/include/JellyfinQt/loader/http/{syncplaygetgroups.h => syncplay.h} (93%) delete mode 100644 core/include/JellyfinQt/loader/http/syncplaybuffering.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaycreategroup.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplayjoingroup.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplayleavegroup.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaymoveplaylistitem.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaynextitem.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaypause.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplayping.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaypreviousitem.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplayqueue.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplayready.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplayremovefromplaylist.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplayseek.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaysetignorewait.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaysetnewqueue.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaysetplaylistitem.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaysetrepeatmode.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaysetshufflemode.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplaystop.h delete mode 100644 core/include/JellyfinQt/loader/http/syncplayunpause.h create mode 100644 core/include/JellyfinQt/loader/http/system.h rename core/include/JellyfinQt/loader/http/{getutctime.h => timesync.h} (94%) rename core/include/JellyfinQt/loader/http/{gettrailers.h => trailers.h} (94%) rename core/include/JellyfinQt/loader/http/{getupcomingepisodes.h => tvshows.h} (60%) delete mode 100644 core/include/JellyfinQt/loader/http/uninstallplugin.h delete mode 100644 core/include/JellyfinQt/loader/http/uninstallpluginbyversion.h create mode 100644 core/include/JellyfinQt/loader/http/universalaudio.h delete mode 100644 core/include/JellyfinQt/loader/http/unmarkfavoriteitem.h delete mode 100644 core/include/JellyfinQt/loader/http/updateconfiguration.h delete mode 100644 core/include/JellyfinQt/loader/http/updatedeviceoptions.h delete mode 100644 core/include/JellyfinQt/loader/http/updatedisplaypreferences.h delete mode 100644 core/include/JellyfinQt/loader/http/updateinitialconfiguration.h delete mode 100644 core/include/JellyfinQt/loader/http/updateitem.h delete mode 100644 core/include/JellyfinQt/loader/http/updateitemcontenttype.h delete mode 100644 core/include/JellyfinQt/loader/http/updateitemimageindex.h delete mode 100644 core/include/JellyfinQt/loader/http/updatelibraryoptions.h delete mode 100644 core/include/JellyfinQt/loader/http/updatemediaencoderpath.h delete mode 100644 core/include/JellyfinQt/loader/http/updatemediapath.h delete mode 100644 core/include/JellyfinQt/loader/http/updatenamedconfiguration.h delete mode 100644 core/include/JellyfinQt/loader/http/updatepluginconfiguration.h delete mode 100644 core/include/JellyfinQt/loader/http/updatepluginsecurityinfo.h delete mode 100644 core/include/JellyfinQt/loader/http/updateprofile.h delete mode 100644 core/include/JellyfinQt/loader/http/updateseriestimer.h delete mode 100644 core/include/JellyfinQt/loader/http/updatestartupuser.h delete mode 100644 core/include/JellyfinQt/loader/http/updatetask.h delete mode 100644 core/include/JellyfinQt/loader/http/updatetimer.h delete mode 100644 core/include/JellyfinQt/loader/http/updateuser.h delete mode 100644 core/include/JellyfinQt/loader/http/updateuserconfiguration.h delete mode 100644 core/include/JellyfinQt/loader/http/updateusereasypassword.h delete mode 100644 core/include/JellyfinQt/loader/http/updateuseritemrating.h delete mode 100644 core/include/JellyfinQt/loader/http/updateuserpassword.h delete mode 100644 core/include/JellyfinQt/loader/http/updateuserpolicy.h delete mode 100644 core/include/JellyfinQt/loader/http/uploadsubtitle.h create mode 100644 core/include/JellyfinQt/loader/http/user.h create mode 100644 core/include/JellyfinQt/loader/http/userlibrary.h rename core/include/JellyfinQt/loader/http/{getgroupingoptions.h => userviews.h} (79%) delete mode 100644 core/include/JellyfinQt/loader/http/validatepath.h create mode 100644 core/include/JellyfinQt/loader/http/videoattachments.h rename core/include/JellyfinQt/loader/http/{addtoplaylist.h => videohls.h} (91%) rename core/include/JellyfinQt/loader/http/{getadditionalpart.h => videos.h} (93%) rename core/include/JellyfinQt/loader/http/{getyears.h => years.h} (80%) delete mode 100644 core/src/loader/addlistingproviderparams.cpp delete mode 100644 core/src/loader/addmediapathparams.cpp delete mode 100644 core/src/loader/addtocollectionparams.cpp delete mode 100644 core/src/loader/addtoplaylistparams.cpp delete mode 100644 core/src/loader/addusertosessionparams.cpp delete mode 100644 core/src/loader/addvirtualfolderparams.cpp delete mode 100644 core/src/loader/applysearchcriteriaparams.cpp delete mode 100644 core/src/loader/authenticateuserbynameparams.cpp delete mode 100644 core/src/loader/authenticateuserparams.cpp delete mode 100644 core/src/loader/authenticatewithquickconnectparams.cpp delete mode 100644 core/src/loader/authorizeparams.cpp delete mode 100644 core/src/loader/availableparams.cpp delete mode 100644 core/src/loader/cancelpackageinstallationparams.cpp delete mode 100644 core/src/loader/cancelseriestimerparams.cpp delete mode 100644 core/src/loader/canceltimerparams.cpp delete mode 100644 core/src/loader/closelivestreamparams.cpp delete mode 100644 core/src/loader/connectparams.cpp delete mode 100644 core/src/loader/createadminnotificationparams.cpp delete mode 100644 core/src/loader/createcollectionparams.cpp delete mode 100644 core/src/loader/createkeyparams.cpp delete mode 100644 core/src/loader/createplaylistparams.cpp delete mode 100644 core/src/loader/createseriestimerparams.cpp delete mode 100644 core/src/loader/createtimerparams.cpp delete mode 100644 core/src/loader/createuserbynameparams.cpp delete mode 100644 core/src/loader/deletealternatesourcesparams.cpp delete mode 100644 core/src/loader/deletedeviceparams.cpp delete mode 100644 core/src/loader/deleteitemimagebyindexparams.cpp delete mode 100644 core/src/loader/deleteitemimageparams.cpp delete mode 100644 core/src/loader/deleteitemparams.cpp delete mode 100644 core/src/loader/deleteitemsparams.cpp delete mode 100644 core/src/loader/deletelistingproviderparams.cpp delete mode 100644 core/src/loader/deleteprofileparams.cpp delete mode 100644 core/src/loader/deleterecordingparams.cpp delete mode 100644 core/src/loader/deletesubtitleparams.cpp delete mode 100644 core/src/loader/deletetunerhostparams.cpp delete mode 100644 core/src/loader/deleteuserimagebyindexparams.cpp delete mode 100644 core/src/loader/deleteuserimageparams.cpp delete mode 100644 core/src/loader/deleteuseritemratingparams.cpp delete mode 100644 core/src/loader/deleteuserparams.cpp delete mode 100644 core/src/loader/disablepluginparams.cpp delete mode 100644 core/src/loader/discovertunersparams.cpp delete mode 100644 core/src/loader/discvovertunersparams.cpp delete mode 100644 core/src/loader/displaycontentparams.cpp delete mode 100644 core/src/loader/downloadremoteimageparams.cpp delete mode 100644 core/src/loader/downloadremotesubtitlesparams.cpp delete mode 100644 core/src/loader/enablepluginparams.cpp delete mode 100644 core/src/loader/forgotpasswordparams.cpp delete mode 100644 core/src/loader/forgotpasswordpinparams.cpp delete mode 100644 core/src/loader/getadditionalpartparams.cpp delete mode 100644 core/src/loader/getalbumartistsparams.cpp delete mode 100644 core/src/loader/getallchannelfeaturesparams.cpp delete mode 100644 core/src/loader/getancestorsparams.cpp delete mode 100644 core/src/loader/getartistbynameparams.cpp delete mode 100644 core/src/loader/getartistimageparams.cpp delete mode 100644 core/src/loader/getartistsparams.cpp delete mode 100644 core/src/loader/getattachmentparams.cpp delete mode 100644 core/src/loader/getaudiostreambycontainerparams.cpp delete mode 100644 core/src/loader/getaudiostreamparams.cpp delete mode 100644 core/src/loader/getauthprovidersparams.cpp delete mode 100644 core/src/loader/getbitratetestbytesparams.cpp delete mode 100644 core/src/loader/getbookremotesearchresultsparams.cpp delete mode 100644 core/src/loader/getboxsetremotesearchresultsparams.cpp delete mode 100644 core/src/loader/getbrandingcss_2params.cpp delete mode 100644 core/src/loader/getbrandingcssparams.cpp delete mode 100644 core/src/loader/getbrandingoptionsparams.cpp delete mode 100644 core/src/loader/getchannelfeaturesparams.cpp delete mode 100644 core/src/loader/getchannelitemsparams.cpp delete mode 100644 core/src/loader/getchannelmappingoptionsparams.cpp delete mode 100644 core/src/loader/getchannelparams.cpp delete mode 100644 core/src/loader/getchannelsparams.cpp delete mode 100644 core/src/loader/getconfigurationpagesparams.cpp delete mode 100644 core/src/loader/getconfigurationparams.cpp delete mode 100644 core/src/loader/getconnectionmanager_2params.cpp delete mode 100644 core/src/loader/getconnectionmanager_3params.cpp delete mode 100644 core/src/loader/getconnectionmanagerparams.cpp delete mode 100644 core/src/loader/getcontentdirectory_2params.cpp delete mode 100644 core/src/loader/getcontentdirectory_3params.cpp delete mode 100644 core/src/loader/getcontentdirectoryparams.cpp delete mode 100644 core/src/loader/getcountriesparams.cpp delete mode 100644 core/src/loader/getcriticreviewsparams.cpp delete mode 100644 core/src/loader/getculturesparams.cpp delete mode 100644 core/src/loader/getcurrentuserparams.cpp delete mode 100644 core/src/loader/getdashboardconfigurationpageparams.cpp delete mode 100644 core/src/loader/getdefaultdirectorybrowserparams.cpp delete mode 100644 core/src/loader/getdefaultlistingproviderparams.cpp delete mode 100644 core/src/loader/getdefaultmetadataoptionsparams.cpp delete mode 100644 core/src/loader/getdefaultprofileparams.cpp delete mode 100644 core/src/loader/getdefaulttimerparams.cpp delete mode 100644 core/src/loader/getdescriptionxml_2params.cpp delete mode 100644 core/src/loader/getdescriptionxmlparams.cpp delete mode 100644 core/src/loader/getdeviceinfoparams.cpp delete mode 100644 core/src/loader/getdeviceoptionsparams.cpp delete mode 100644 core/src/loader/getdevicesparams.cpp delete mode 100644 core/src/loader/getdirectorycontentsparams.cpp delete mode 100644 core/src/loader/getdisplaypreferencesparams.cpp delete mode 100644 core/src/loader/getdownloadparams.cpp delete mode 100644 core/src/loader/getdrivesparams.cpp delete mode 100644 core/src/loader/getendpointinfoparams.cpp delete mode 100644 core/src/loader/getepisodesparams.cpp delete mode 100644 core/src/loader/getexternalidinfosparams.cpp delete mode 100644 core/src/loader/getfallbackfontlistparams.cpp delete mode 100644 core/src/loader/getfallbackfontparams.cpp delete mode 100644 core/src/loader/getfileparams.cpp delete mode 100644 core/src/loader/getfirstuser_2params.cpp delete mode 100644 core/src/loader/getfirstuserparams.cpp delete mode 100644 core/src/loader/getgeneralimageparams.cpp delete mode 100644 core/src/loader/getgeneralimagesparams.cpp delete mode 100644 core/src/loader/getgenreimagebyindexparams.cpp delete mode 100644 core/src/loader/getgenreimageparams.cpp delete mode 100644 core/src/loader/getgenreparams.cpp delete mode 100644 core/src/loader/getgenresparams.cpp delete mode 100644 core/src/loader/getgroupingoptionsparams.cpp delete mode 100644 core/src/loader/getguideinfoparams.cpp delete mode 100644 core/src/loader/gethlsaudiosegmentlegacyaacparams.cpp delete mode 100644 core/src/loader/gethlsaudiosegmentlegacymp3params.cpp delete mode 100644 core/src/loader/gethlsaudiosegmentparams.cpp delete mode 100644 core/src/loader/gethlsplaylistlegacyparams.cpp delete mode 100644 core/src/loader/gethlsvideosegmentlegacyparams.cpp delete mode 100644 core/src/loader/gethlsvideosegmentparams.cpp delete mode 100644 core/src/loader/geticonidparams.cpp delete mode 100644 core/src/loader/geticonparams.cpp delete mode 100644 core/src/loader/getinstantmixfromalbumparams.cpp delete mode 100644 core/src/loader/getinstantmixfromartistsparams.cpp delete mode 100644 core/src/loader/getinstantmixfromitemparams.cpp delete mode 100644 core/src/loader/getinstantmixfrommusicgenreparams.cpp delete mode 100644 core/src/loader/getinstantmixfrommusicgenresparams.cpp delete mode 100644 core/src/loader/getinstantmixfromplaylistparams.cpp delete mode 100644 core/src/loader/getinstantmixfromsongparams.cpp delete mode 100644 core/src/loader/getintrosparams.cpp delete mode 100644 core/src/loader/getitemcountsparams.cpp delete mode 100644 core/src/loader/getitemimage2params.cpp delete mode 100644 core/src/loader/getitemimagebyindexparams.cpp delete mode 100644 core/src/loader/getitemimageinfosparams.cpp delete mode 100644 core/src/loader/getitemimageparams.cpp delete mode 100644 core/src/loader/getitemparams.cpp delete mode 100644 core/src/loader/getitemsbyuseridparams.cpp delete mode 100644 core/src/loader/getitemsparams.cpp delete mode 100644 core/src/loader/getkeysparams.cpp delete mode 100644 core/src/loader/getlatestchannelitemsparams.cpp delete mode 100644 core/src/loader/getlatestmediaparams.cpp delete mode 100644 core/src/loader/getlibraryoptionsinfoparams.cpp delete mode 100644 core/src/loader/getlineupsparams.cpp delete mode 100644 core/src/loader/getlivehlsstreamparams.cpp delete mode 100644 core/src/loader/getliverecordingfileparams.cpp delete mode 100644 core/src/loader/getlivestreamfileparams.cpp delete mode 100644 core/src/loader/getlivetvchannelsparams.cpp delete mode 100644 core/src/loader/getlivetvinfoparams.cpp delete mode 100644 core/src/loader/getlivetvprogramsparams.cpp delete mode 100644 core/src/loader/getlocalizationoptionsparams.cpp delete mode 100644 core/src/loader/getlocaltrailersparams.cpp delete mode 100644 core/src/loader/getlogentriesparams.cpp delete mode 100644 core/src/loader/getlogfileparams.cpp delete mode 100644 core/src/loader/getmasterhlsaudioplaylistparams.cpp delete mode 100644 core/src/loader/getmasterhlsvideoplaylistparams.cpp delete mode 100644 core/src/loader/getmediafoldersparams.cpp delete mode 100644 core/src/loader/getmediainfoimageparams.cpp delete mode 100644 core/src/loader/getmediainfoimagesparams.cpp delete mode 100644 core/src/loader/getmediareceiverregistrar_2params.cpp delete mode 100644 core/src/loader/getmediareceiverregistrar_3params.cpp delete mode 100644 core/src/loader/getmediareceiverregistrarparams.cpp delete mode 100644 core/src/loader/getmetadataeditorinfoparams.cpp delete mode 100644 core/src/loader/getmovierecommendationsparams.cpp delete mode 100644 core/src/loader/getmovieremotesearchresultsparams.cpp delete mode 100644 core/src/loader/getmusicalbumremotesearchresultsparams.cpp delete mode 100644 core/src/loader/getmusicartistremotesearchresultsparams.cpp delete mode 100644 core/src/loader/getmusicgenreimagebyindexparams.cpp delete mode 100644 core/src/loader/getmusicgenreimageparams.cpp delete mode 100644 core/src/loader/getmusicgenreparams.cpp delete mode 100644 core/src/loader/getmusicgenresparams.cpp delete mode 100644 core/src/loader/getmusicvideoremotesearchresultsparams.cpp delete mode 100644 core/src/loader/getnamedconfigurationparams.cpp delete mode 100644 core/src/loader/getnetworksharesparams.cpp delete mode 100644 core/src/loader/getnextupparams.cpp delete mode 100644 core/src/loader/getnotificationservicesparams.cpp delete mode 100644 core/src/loader/getnotificationsparams.cpp delete mode 100644 core/src/loader/getnotificationssummaryparams.cpp delete mode 100644 core/src/loader/getnotificationtypesparams.cpp delete mode 100644 core/src/loader/getpackageinfoparams.cpp delete mode 100644 core/src/loader/getpackagesparams.cpp delete mode 100644 core/src/loader/getparams.cpp delete mode 100644 core/src/loader/getparentalratingsparams.cpp delete mode 100644 core/src/loader/getparentpathparams.cpp delete mode 100644 core/src/loader/getpasswordresetprovidersparams.cpp delete mode 100644 core/src/loader/getpersonimagebyindexparams.cpp delete mode 100644 core/src/loader/getpersonimageparams.cpp delete mode 100644 core/src/loader/getpersonparams.cpp delete mode 100644 core/src/loader/getpersonremotesearchresultsparams.cpp delete mode 100644 core/src/loader/getpersonsparams.cpp delete mode 100644 core/src/loader/getphysicalpathsparams.cpp delete mode 100644 core/src/loader/getpingsystemparams.cpp delete mode 100644 core/src/loader/getplaybackinfoparams.cpp delete mode 100644 core/src/loader/getplaylistitemsparams.cpp delete mode 100644 core/src/loader/getpluginconfigurationparams.cpp delete mode 100644 core/src/loader/getpluginimageparams.cpp delete mode 100644 core/src/loader/getpluginmanifestparams.cpp delete mode 100644 core/src/loader/getpluginsparams.cpp delete mode 100644 core/src/loader/getpostedplaybackinfoparams.cpp delete mode 100644 core/src/loader/getprofileinfosparams.cpp delete mode 100644 core/src/loader/getprofileparams.cpp delete mode 100644 core/src/loader/getprogramparams.cpp delete mode 100644 core/src/loader/getprogramsparams.cpp delete mode 100644 core/src/loader/getpublicsysteminfoparams.cpp delete mode 100644 core/src/loader/getpublicusersparams.cpp delete mode 100644 core/src/loader/getqueryfilterslegacyparams.cpp delete mode 100644 core/src/loader/getqueryfiltersparams.cpp delete mode 100644 core/src/loader/getratingimageparams.cpp delete mode 100644 core/src/loader/getratingimagesparams.cpp delete mode 100644 core/src/loader/getrecommendedprogramsparams.cpp delete mode 100644 core/src/loader/getrecordingfoldersparams.cpp delete mode 100644 core/src/loader/getrecordinggroupparams.cpp delete mode 100644 core/src/loader/getrecordinggroupsparams.cpp delete mode 100644 core/src/loader/getrecordingparams.cpp delete mode 100644 core/src/loader/getrecordingsparams.cpp delete mode 100644 core/src/loader/getrecordingsseriesparams.cpp delete mode 100644 core/src/loader/getremoteimageparams.cpp delete mode 100644 core/src/loader/getremoteimageprovidersparams.cpp delete mode 100644 core/src/loader/getremoteimagesparams.cpp delete mode 100644 core/src/loader/getremotesearchimageparams.cpp delete mode 100644 core/src/loader/getremotesubtitlesparams.cpp delete mode 100644 core/src/loader/getrepositoriesparams.cpp delete mode 100644 core/src/loader/getresumeitemsparams.cpp delete mode 100644 core/src/loader/getrootfolderparams.cpp delete mode 100644 core/src/loader/getschedulesdirectcountriesparams.cpp delete mode 100644 core/src/loader/getseasonsparams.cpp delete mode 100644 core/src/loader/getseriesremotesearchresultsparams.cpp delete mode 100644 core/src/loader/getseriestimerparams.cpp delete mode 100644 core/src/loader/getseriestimersparams.cpp delete mode 100644 core/src/loader/getserverlogsparams.cpp delete mode 100644 core/src/loader/getsessionsparams.cpp delete mode 100644 core/src/loader/getsimilaralbumsparams.cpp delete mode 100644 core/src/loader/getsimilarartistsparams.cpp delete mode 100644 core/src/loader/getsimilaritemsparams.cpp delete mode 100644 core/src/loader/getsimilarmoviesparams.cpp delete mode 100644 core/src/loader/getsimilarshowsparams.cpp delete mode 100644 core/src/loader/getsimilartrailersparams.cpp delete mode 100644 core/src/loader/getspecialfeaturesparams.cpp delete mode 100644 core/src/loader/getstartupconfigurationparams.cpp delete mode 100644 core/src/loader/getstatusparams.cpp delete mode 100644 core/src/loader/getstudioimagebyindexparams.cpp delete mode 100644 core/src/loader/getstudioimageparams.cpp delete mode 100644 core/src/loader/getstudioparams.cpp delete mode 100644 core/src/loader/getstudiosparams.cpp delete mode 100644 core/src/loader/getsubtitleparams.cpp delete mode 100644 core/src/loader/getsubtitleplaylistparams.cpp delete mode 100644 core/src/loader/getsubtitlewithticksparams.cpp delete mode 100644 core/src/loader/getsuggestionsparams.cpp delete mode 100644 core/src/loader/getsysteminfoparams.cpp delete mode 100644 core/src/loader/gettaskparams.cpp delete mode 100644 core/src/loader/gettasksparams.cpp delete mode 100644 core/src/loader/getthememediaparams.cpp delete mode 100644 core/src/loader/getthemesongsparams.cpp delete mode 100644 core/src/loader/getthemevideosparams.cpp delete mode 100644 core/src/loader/gettimerparams.cpp delete mode 100644 core/src/loader/gettimersparams.cpp delete mode 100644 core/src/loader/gettrailerremotesearchresultsparams.cpp delete mode 100644 core/src/loader/gettrailersparams.cpp delete mode 100644 core/src/loader/gettunerhosttypesparams.cpp delete mode 100644 core/src/loader/getuniversalaudiostreamparams.cpp delete mode 100644 core/src/loader/getupcomingepisodesparams.cpp delete mode 100644 core/src/loader/getuserbyidparams.cpp delete mode 100644 core/src/loader/getuserimagebyindexparams.cpp delete mode 100644 core/src/loader/getuserimageparams.cpp delete mode 100644 core/src/loader/getusersparams.cpp delete mode 100644 core/src/loader/getuserviewsparams.cpp delete mode 100644 core/src/loader/getutctimeparams.cpp delete mode 100644 core/src/loader/getvarianthlsaudioplaylistparams.cpp delete mode 100644 core/src/loader/getvarianthlsvideoplaylistparams.cpp delete mode 100644 core/src/loader/getvideostreambycontainerparams.cpp delete mode 100644 core/src/loader/getvideostreamparams.cpp delete mode 100644 core/src/loader/getvirtualfoldersparams.cpp delete mode 100644 core/src/loader/getwakeonlaninfoparams.cpp delete mode 100644 core/src/loader/getyearparams.cpp delete mode 100644 core/src/loader/getyearsparams.cpp delete mode 100644 core/src/loader/headartistimageparams.cpp delete mode 100644 core/src/loader/headaudiostreambycontainerparams.cpp delete mode 100644 core/src/loader/headaudiostreamparams.cpp delete mode 100644 core/src/loader/headgenreimagebyindexparams.cpp delete mode 100644 core/src/loader/headgenreimageparams.cpp delete mode 100644 core/src/loader/headitemimage2params.cpp delete mode 100644 core/src/loader/headitemimagebyindexparams.cpp delete mode 100644 core/src/loader/headitemimageparams.cpp delete mode 100644 core/src/loader/headmasterhlsaudioplaylistparams.cpp delete mode 100644 core/src/loader/headmasterhlsvideoplaylistparams.cpp delete mode 100644 core/src/loader/headmusicgenreimagebyindexparams.cpp delete mode 100644 core/src/loader/headmusicgenreimageparams.cpp delete mode 100644 core/src/loader/headpersonimagebyindexparams.cpp delete mode 100644 core/src/loader/headpersonimageparams.cpp delete mode 100644 core/src/loader/headstudioimagebyindexparams.cpp delete mode 100644 core/src/loader/headstudioimageparams.cpp delete mode 100644 core/src/loader/headuniversalaudiostreamparams.cpp delete mode 100644 core/src/loader/headuserimagebyindexparams.cpp delete mode 100644 core/src/loader/headuserimageparams.cpp delete mode 100644 core/src/loader/headvideostreambycontainerparams.cpp delete mode 100644 core/src/loader/headvideostreamparams.cpp delete mode 100644 core/src/loader/http/activate.cpp rename core/src/loader/http/{getlogentries.cpp => activitylog.cpp} (98%) delete mode 100644 core/src/loader/http/addlistingprovider.cpp delete mode 100644 core/src/loader/http/addmediapath.cpp delete mode 100644 core/src/loader/http/addtocollection.cpp delete mode 100644 core/src/loader/http/addtoplaylist.cpp delete mode 100644 core/src/loader/http/addtunerhost.cpp delete mode 100644 core/src/loader/http/addusertosession.cpp delete mode 100644 core/src/loader/http/addvirtualfolder.cpp rename core/src/loader/http/{getkeys.cpp => apikey.cpp} (97%) delete mode 100644 core/src/loader/http/applysearchcriteria.cpp rename core/src/loader/http/{getalbumartists.cpp => artists.cpp} (53%) rename core/src/loader/{deauthorizeparams.cpp => http/audio.cpp} (95%) delete mode 100644 core/src/loader/http/authenticateuser.cpp delete mode 100644 core/src/loader/http/authenticateuserbyname.cpp delete mode 100644 core/src/loader/http/authenticatewithquickconnect.cpp delete mode 100644 core/src/loader/http/authorize.cpp delete mode 100644 core/src/loader/http/available.cpp rename core/src/loader/http/{getbrandingoptions.cpp => branding.cpp} (62%) delete mode 100644 core/src/loader/http/cancelpackageinstallation.cpp delete mode 100644 core/src/loader/http/cancelseriestimer.cpp delete mode 100644 core/src/loader/http/canceltimer.cpp create mode 100644 core/src/loader/http/channels.cpp delete mode 100644 core/src/loader/http/closelivestream.cpp rename core/src/loader/http/{createcollection.cpp => collection.cpp} (97%) delete mode 100644 core/src/loader/http/completewizard.cpp rename core/src/loader/http/{getdefaultmetadataoptions.cpp => configuration.cpp} (61%) delete mode 100644 core/src/loader/http/connect.cpp delete mode 100644 core/src/loader/http/createadminnotification.cpp delete mode 100644 core/src/loader/http/createkey.cpp delete mode 100644 core/src/loader/http/createplaylist.cpp delete mode 100644 core/src/loader/http/createprofile.cpp delete mode 100644 core/src/loader/http/createseriestimer.cpp delete mode 100644 core/src/loader/http/createtimer.cpp delete mode 100644 core/src/loader/http/createuserbyname.cpp rename core/src/loader/http/{getconfigurationpages.cpp => dashboard.cpp} (97%) delete mode 100644 core/src/loader/http/deauthorize.cpp delete mode 100644 core/src/loader/http/deletealternatesources.cpp delete mode 100644 core/src/loader/http/deletedevice.cpp delete mode 100644 core/src/loader/http/deleteitem.cpp delete mode 100644 core/src/loader/http/deleteitemimage.cpp delete mode 100644 core/src/loader/http/deleteitemimagebyindex.cpp delete mode 100644 core/src/loader/http/deleteitems.cpp delete mode 100644 core/src/loader/http/deletelistingprovider.cpp delete mode 100644 core/src/loader/http/deleteprofile.cpp delete mode 100644 core/src/loader/http/deleterecording.cpp delete mode 100644 core/src/loader/http/deletesubtitle.cpp delete mode 100644 core/src/loader/http/deletetunerhost.cpp delete mode 100644 core/src/loader/http/deleteuser.cpp delete mode 100644 core/src/loader/http/deleteuserimage.cpp delete mode 100644 core/src/loader/http/deleteuserimagebyindex.cpp delete mode 100644 core/src/loader/http/deleteuseritemrating.cpp rename core/src/loader/http/{getdevices.cpp => devices.cpp} (62%) delete mode 100644 core/src/loader/http/disableplugin.cpp delete mode 100644 core/src/loader/http/discovertuners.cpp delete mode 100644 core/src/loader/http/discvovertuners.cpp delete mode 100644 core/src/loader/http/displaycontent.cpp rename core/src/loader/http/{getdisplaypreferences.cpp => displaypreferences.cpp} (97%) rename core/src/loader/http/{getdefaultprofile.cpp => dlna.cpp} (62%) rename core/src/loader/{activateparams.cpp => http/dlnaserver.cpp} (94%) delete mode 100644 core/src/loader/http/downloadremoteimage.cpp delete mode 100644 core/src/loader/http/downloadremotesubtitles.cpp rename core/src/loader/{addtunerhostparams.cpp => http/dynamichls.cpp} (94%) delete mode 100644 core/src/loader/http/enableplugin.cpp create mode 100644 core/src/loader/http/environment.cpp rename core/src/loader/http/{getqueryfilters.cpp => filter.cpp} (73%) delete mode 100644 core/src/loader/http/forgotpassword.cpp delete mode 100644 core/src/loader/http/forgotpasswordpin.cpp rename core/src/loader/http/{getgenres.cpp => genres.cpp} (84%) delete mode 100644 core/src/loader/http/getallchannelfeatures.cpp delete mode 100644 core/src/loader/http/getancestors.cpp delete mode 100644 core/src/loader/http/getartistbyname.cpp delete mode 100644 core/src/loader/http/getartistimage.cpp delete mode 100644 core/src/loader/http/getartists.cpp delete mode 100644 core/src/loader/http/getattachment.cpp delete mode 100644 core/src/loader/http/getaudiostream.cpp delete mode 100644 core/src/loader/http/getaudiostreambycontainer.cpp delete mode 100644 core/src/loader/http/getauthproviders.cpp delete mode 100644 core/src/loader/http/getbitratetestbytes.cpp delete mode 100644 core/src/loader/http/getbookremotesearchresults.cpp delete mode 100644 core/src/loader/http/getboxsetremotesearchresults.cpp delete mode 100644 core/src/loader/http/getbrandingcss.cpp delete mode 100644 core/src/loader/http/getbrandingcss_2.cpp delete mode 100644 core/src/loader/http/getchannel.cpp delete mode 100644 core/src/loader/http/getchannelfeatures.cpp delete mode 100644 core/src/loader/http/getchannelitems.cpp delete mode 100644 core/src/loader/http/getchannelmappingoptions.cpp delete mode 100644 core/src/loader/http/getchannels.cpp delete mode 100644 core/src/loader/http/getconfiguration.cpp delete mode 100644 core/src/loader/http/getconnectionmanager.cpp delete mode 100644 core/src/loader/http/getconnectionmanager_2.cpp delete mode 100644 core/src/loader/http/getconnectionmanager_3.cpp delete mode 100644 core/src/loader/http/getcontentdirectory.cpp delete mode 100644 core/src/loader/http/getcontentdirectory_2.cpp delete mode 100644 core/src/loader/http/getcontentdirectory_3.cpp delete mode 100644 core/src/loader/http/getcountries.cpp delete mode 100644 core/src/loader/http/getcriticreviews.cpp delete mode 100644 core/src/loader/http/getcultures.cpp delete mode 100644 core/src/loader/http/getcurrentuser.cpp delete mode 100644 core/src/loader/http/getdashboardconfigurationpage.cpp delete mode 100644 core/src/loader/http/getdefaultdirectorybrowser.cpp delete mode 100644 core/src/loader/http/getdefaultlistingprovider.cpp delete mode 100644 core/src/loader/http/getdefaulttimer.cpp delete mode 100644 core/src/loader/http/getdescriptionxml.cpp delete mode 100644 core/src/loader/http/getdescriptionxml_2.cpp delete mode 100644 core/src/loader/http/getdeviceinfo.cpp delete mode 100644 core/src/loader/http/getdeviceoptions.cpp delete mode 100644 core/src/loader/http/getdirectorycontents.cpp delete mode 100644 core/src/loader/http/getdownload.cpp delete mode 100644 core/src/loader/http/getdrives.cpp delete mode 100644 core/src/loader/http/getendpointinfo.cpp delete mode 100644 core/src/loader/http/getepisodes.cpp delete mode 100644 core/src/loader/http/getexternalidinfos.cpp delete mode 100644 core/src/loader/http/getfallbackfont.cpp delete mode 100644 core/src/loader/http/getfallbackfontlist.cpp delete mode 100644 core/src/loader/http/getfile.cpp delete mode 100644 core/src/loader/http/getfirstuser.cpp delete mode 100644 core/src/loader/http/getfirstuser_2.cpp delete mode 100644 core/src/loader/http/getgeneralimage.cpp delete mode 100644 core/src/loader/http/getgeneralimages.cpp delete mode 100644 core/src/loader/http/getgenre.cpp delete mode 100644 core/src/loader/http/getgenreimage.cpp delete mode 100644 core/src/loader/http/getgenreimagebyindex.cpp delete mode 100644 core/src/loader/http/getgroupingoptions.cpp delete mode 100644 core/src/loader/http/getguideinfo.cpp delete mode 100644 core/src/loader/http/gethlsaudiosegment.cpp delete mode 100644 core/src/loader/http/gethlsaudiosegmentlegacyaac.cpp delete mode 100644 core/src/loader/http/gethlsaudiosegmentlegacymp3.cpp delete mode 100644 core/src/loader/http/gethlsplaylistlegacy.cpp delete mode 100644 core/src/loader/http/gethlsvideosegment.cpp delete mode 100644 core/src/loader/http/gethlsvideosegmentlegacy.cpp delete mode 100644 core/src/loader/http/geticon.cpp delete mode 100644 core/src/loader/http/geticonid.cpp delete mode 100644 core/src/loader/http/getinstantmixfromalbum.cpp delete mode 100644 core/src/loader/http/getinstantmixfromartists.cpp delete mode 100644 core/src/loader/http/getinstantmixfromitem.cpp delete mode 100644 core/src/loader/http/getinstantmixfrommusicgenre.cpp delete mode 100644 core/src/loader/http/getinstantmixfrommusicgenres.cpp delete mode 100644 core/src/loader/http/getinstantmixfromplaylist.cpp delete mode 100644 core/src/loader/http/getinstantmixfromsong.cpp delete mode 100644 core/src/loader/http/getintros.cpp delete mode 100644 core/src/loader/http/getitem.cpp delete mode 100644 core/src/loader/http/getitemcounts.cpp delete mode 100644 core/src/loader/http/getitemimage.cpp delete mode 100644 core/src/loader/http/getitemimage2.cpp delete mode 100644 core/src/loader/http/getitemimagebyindex.cpp delete mode 100644 core/src/loader/http/getitems.cpp delete mode 100644 core/src/loader/http/getitemsbyuserid.cpp delete mode 100644 core/src/loader/http/getlatestchannelitems.cpp delete mode 100644 core/src/loader/http/getlatestmedia.cpp delete mode 100644 core/src/loader/http/getlibraryoptionsinfo.cpp delete mode 100644 core/src/loader/http/getlineups.cpp delete mode 100644 core/src/loader/http/getlivehlsstream.cpp delete mode 100644 core/src/loader/http/getliverecordingfile.cpp delete mode 100644 core/src/loader/http/getlivestreamfile.cpp delete mode 100644 core/src/loader/http/getlivetvchannels.cpp delete mode 100644 core/src/loader/http/getlivetvinfo.cpp delete mode 100644 core/src/loader/http/getlivetvprograms.cpp delete mode 100644 core/src/loader/http/getlocaltrailers.cpp delete mode 100644 core/src/loader/http/getlogfile.cpp delete mode 100644 core/src/loader/http/getmasterhlsaudioplaylist.cpp delete mode 100644 core/src/loader/http/getmasterhlsvideoplaylist.cpp delete mode 100644 core/src/loader/http/getmediafolders.cpp delete mode 100644 core/src/loader/http/getmediainfoimage.cpp delete mode 100644 core/src/loader/http/getmediareceiverregistrar.cpp delete mode 100644 core/src/loader/http/getmediareceiverregistrar_2.cpp delete mode 100644 core/src/loader/http/getmediareceiverregistrar_3.cpp delete mode 100644 core/src/loader/http/getmovieremotesearchresults.cpp delete mode 100644 core/src/loader/http/getmusicalbumremotesearchresults.cpp delete mode 100644 core/src/loader/http/getmusicartistremotesearchresults.cpp delete mode 100644 core/src/loader/http/getmusicgenre.cpp delete mode 100644 core/src/loader/http/getmusicgenreimage.cpp delete mode 100644 core/src/loader/http/getmusicgenreimagebyindex.cpp delete mode 100644 core/src/loader/http/getmusicvideoremotesearchresults.cpp delete mode 100644 core/src/loader/http/getnamedconfiguration.cpp delete mode 100644 core/src/loader/http/getnetworkshares.cpp delete mode 100644 core/src/loader/http/getnextup.cpp delete mode 100644 core/src/loader/http/getnotifications.cpp delete mode 100644 core/src/loader/http/getnotificationservices.cpp delete mode 100644 core/src/loader/http/getnotificationtypes.cpp delete mode 100644 core/src/loader/http/getpackages.cpp delete mode 100644 core/src/loader/http/getparentalratings.cpp delete mode 100644 core/src/loader/http/getparentpath.cpp delete mode 100644 core/src/loader/http/getpasswordresetproviders.cpp delete mode 100644 core/src/loader/http/getperson.cpp delete mode 100644 core/src/loader/http/getpersonimage.cpp delete mode 100644 core/src/loader/http/getpersonimagebyindex.cpp delete mode 100644 core/src/loader/http/getpersonremotesearchresults.cpp delete mode 100644 core/src/loader/http/getphysicalpaths.cpp delete mode 100644 core/src/loader/http/getpingsystem.cpp delete mode 100644 core/src/loader/http/getplaybackinfo.cpp delete mode 100644 core/src/loader/http/getpluginimage.cpp delete mode 100644 core/src/loader/http/getpluginmanifest.cpp delete mode 100644 core/src/loader/http/getplugins.cpp delete mode 100644 core/src/loader/http/getprofile.cpp delete mode 100644 core/src/loader/http/getprofileinfos.cpp delete mode 100644 core/src/loader/http/getprogram.cpp delete mode 100644 core/src/loader/http/getprograms.cpp delete mode 100644 core/src/loader/http/getpublicsysteminfo.cpp delete mode 100644 core/src/loader/http/getpublicusers.cpp delete mode 100644 core/src/loader/http/getqueryfilterslegacy.cpp delete mode 100644 core/src/loader/http/getratingimage.cpp delete mode 100644 core/src/loader/http/getratingimages.cpp delete mode 100644 core/src/loader/http/getrecommendedprograms.cpp delete mode 100644 core/src/loader/http/getrecording.cpp delete mode 100644 core/src/loader/http/getrecordingfolders.cpp delete mode 100644 core/src/loader/http/getrecordinggroup.cpp delete mode 100644 core/src/loader/http/getrecordinggroups.cpp delete mode 100644 core/src/loader/http/getrecordings.cpp delete mode 100644 core/src/loader/http/getrecordingsseries.cpp delete mode 100644 core/src/loader/http/getremoteimage.cpp delete mode 100644 core/src/loader/http/getremoteimageproviders.cpp delete mode 100644 core/src/loader/http/getremotesearchimage.cpp delete mode 100644 core/src/loader/http/getremotesubtitles.cpp delete mode 100644 core/src/loader/http/getrepositories.cpp delete mode 100644 core/src/loader/http/getresumeitems.cpp delete mode 100644 core/src/loader/http/getrootfolder.cpp delete mode 100644 core/src/loader/http/getschedulesdirectcountries.cpp delete mode 100644 core/src/loader/http/getseasons.cpp delete mode 100644 core/src/loader/http/getseriesremotesearchresults.cpp delete mode 100644 core/src/loader/http/getseriestimer.cpp delete mode 100644 core/src/loader/http/getseriestimers.cpp delete mode 100644 core/src/loader/http/getserverlogs.cpp delete mode 100644 core/src/loader/http/getsimilaralbums.cpp delete mode 100644 core/src/loader/http/getsimilarartists.cpp delete mode 100644 core/src/loader/http/getsimilaritems.cpp delete mode 100644 core/src/loader/http/getsimilarmovies.cpp delete mode 100644 core/src/loader/http/getsimilarshows.cpp delete mode 100644 core/src/loader/http/getsimilartrailers.cpp delete mode 100644 core/src/loader/http/getspecialfeatures.cpp delete mode 100644 core/src/loader/http/getstatus.cpp delete mode 100644 core/src/loader/http/getstudio.cpp delete mode 100644 core/src/loader/http/getstudioimage.cpp delete mode 100644 core/src/loader/http/getstudioimagebyindex.cpp delete mode 100644 core/src/loader/http/getsubtitle.cpp delete mode 100644 core/src/loader/http/getsubtitleplaylist.cpp delete mode 100644 core/src/loader/http/getsubtitlewithticks.cpp delete mode 100644 core/src/loader/http/getsysteminfo.cpp delete mode 100644 core/src/loader/http/gettask.cpp delete mode 100644 core/src/loader/http/getthememedia.cpp delete mode 100644 core/src/loader/http/getthemesongs.cpp delete mode 100644 core/src/loader/http/getthemevideos.cpp delete mode 100644 core/src/loader/http/gettimer.cpp delete mode 100644 core/src/loader/http/gettimers.cpp delete mode 100644 core/src/loader/http/gettrailerremotesearchresults.cpp delete mode 100644 core/src/loader/http/gettunerhosttypes.cpp delete mode 100644 core/src/loader/http/getuniversalaudiostream.cpp delete mode 100644 core/src/loader/http/getupcomingepisodes.cpp delete mode 100644 core/src/loader/http/getuserbyid.cpp delete mode 100644 core/src/loader/http/getuserimage.cpp delete mode 100644 core/src/loader/http/getuserimagebyindex.cpp delete mode 100644 core/src/loader/http/getusers.cpp delete mode 100644 core/src/loader/http/getvarianthlsaudioplaylist.cpp delete mode 100644 core/src/loader/http/getvarianthlsvideoplaylist.cpp delete mode 100644 core/src/loader/http/getvideostream.cpp delete mode 100644 core/src/loader/http/getvideostreambycontainer.cpp delete mode 100644 core/src/loader/http/getwakeonlaninfo.cpp delete mode 100644 core/src/loader/http/getyear.cpp delete mode 100644 core/src/loader/http/headartistimage.cpp delete mode 100644 core/src/loader/http/headaudiostream.cpp delete mode 100644 core/src/loader/http/headaudiostreambycontainer.cpp delete mode 100644 core/src/loader/http/headgenreimage.cpp delete mode 100644 core/src/loader/http/headgenreimagebyindex.cpp delete mode 100644 core/src/loader/http/headitemimage.cpp delete mode 100644 core/src/loader/http/headitemimage2.cpp delete mode 100644 core/src/loader/http/headitemimagebyindex.cpp delete mode 100644 core/src/loader/http/headmasterhlsaudioplaylist.cpp delete mode 100644 core/src/loader/http/headmasterhlsvideoplaylist.cpp delete mode 100644 core/src/loader/http/headmusicgenreimage.cpp delete mode 100644 core/src/loader/http/headmusicgenreimagebyindex.cpp delete mode 100644 core/src/loader/http/headpersonimage.cpp delete mode 100644 core/src/loader/http/headpersonimagebyindex.cpp delete mode 100644 core/src/loader/http/headstudioimage.cpp delete mode 100644 core/src/loader/http/headstudioimagebyindex.cpp delete mode 100644 core/src/loader/http/headuniversalaudiostream.cpp delete mode 100644 core/src/loader/http/headuserimage.cpp delete mode 100644 core/src/loader/http/headuserimagebyindex.cpp delete mode 100644 core/src/loader/http/headvideostream.cpp delete mode 100644 core/src/loader/http/headvideostreambycontainer.cpp rename core/src/loader/{completewizardparams.cpp => http/hlssegment.cpp} (94%) rename core/src/loader/http/{getitemimageinfos.cpp => image.cpp} (97%) rename core/src/loader/http/{getmediainfoimages.cpp => imagebyname.cpp} (62%) delete mode 100644 core/src/loader/http/initiate.cpp delete mode 100644 core/src/loader/http/installpackage.cpp create mode 100644 core/src/loader/http/instantmix.cpp create mode 100644 core/src/loader/http/itemlookup.cpp create mode 100644 core/src/loader/http/itemrefresh.cpp create mode 100644 core/src/loader/http/items.cpp rename core/src/loader/http/{getmetadataeditorinfo.cpp => itemupdate.cpp} (97%) create mode 100644 core/src/loader/http/library.cpp rename core/src/loader/http/{getvirtualfolders.cpp => librarystructure.cpp} (97%) create mode 100644 core/src/loader/http/livetv.cpp rename core/src/loader/http/{getlocalizationoptions.cpp => localization.cpp} (53%) delete mode 100644 core/src/loader/http/markfavoriteitem.cpp delete mode 100644 core/src/loader/http/markunplayeditem.cpp rename core/src/loader/http/{getpostedplaybackinfo.cpp => mediainfo.cpp} (59%) delete mode 100644 core/src/loader/http/mergeversions.cpp delete mode 100644 core/src/loader/http/moveitem.cpp rename core/src/loader/http/{getmovierecommendations.cpp => movies.cpp} (97%) rename core/src/loader/http/{getmusicgenres.cpp => musicgenres.cpp} (84%) rename core/src/loader/http/{getnotificationssummary.cpp => notifications.cpp} (51%) delete mode 100644 core/src/loader/http/onplaybackprogress.cpp delete mode 100644 core/src/loader/http/onplaybackstart.cpp delete mode 100644 core/src/loader/http/onplaybackstopped.cpp delete mode 100644 core/src/loader/http/openlivestream.cpp rename core/src/loader/http/{getpackageinfo.cpp => package.cpp} (64%) rename core/src/loader/http/{getpersons.cpp => persons.cpp} (83%) delete mode 100644 core/src/loader/http/pingplaybacksession.cpp delete mode 100644 core/src/loader/http/play.cpp rename core/src/loader/http/{getplaylistitems.cpp => playlists.cpp} (74%) rename core/src/loader/http/{markplayeditem.cpp => playstate.cpp} (74%) rename core/src/loader/http/{getpluginconfiguration.cpp => plugins.cpp} (78%) delete mode 100644 core/src/loader/http/post.cpp delete mode 100644 core/src/loader/http/postaddedmovies.cpp delete mode 100644 core/src/loader/http/postaddedseries.cpp delete mode 100644 core/src/loader/http/postcapabilities.cpp delete mode 100644 core/src/loader/http/postfullcapabilities.cpp delete mode 100644 core/src/loader/http/postpingsystem.cpp delete mode 100644 core/src/loader/http/postupdatedmedia.cpp delete mode 100644 core/src/loader/http/postupdatedmovies.cpp delete mode 100644 core/src/loader/http/postupdatedseries.cpp delete mode 100644 core/src/loader/http/postuserimage.cpp delete mode 100644 core/src/loader/http/postuserimagebyindex.cpp delete mode 100644 core/src/loader/http/processconnectionmanagercontrolrequest.cpp delete mode 100644 core/src/loader/http/processcontentdirectorycontrolrequest.cpp delete mode 100644 core/src/loader/http/processmediareceiverregistrarcontrolrequest.cpp create mode 100644 core/src/loader/http/quickconnect.cpp delete mode 100644 core/src/loader/http/refreshlibrary.cpp rename core/src/loader/http/{getremoteimages.cpp => remoteimage.cpp} (77%) delete mode 100644 core/src/loader/http/removefromcollection.cpp delete mode 100644 core/src/loader/http/removefromplaylist.cpp delete mode 100644 core/src/loader/http/removemediapath.cpp delete mode 100644 core/src/loader/http/removeuserfromsession.cpp delete mode 100644 core/src/loader/http/removevirtualfolder.cpp delete mode 100644 core/src/loader/http/renamevirtualfolder.cpp delete mode 100644 core/src/loader/http/reportplaybackprogress.cpp delete mode 100644 core/src/loader/http/reportplaybackstart.cpp delete mode 100644 core/src/loader/http/reportplaybackstopped.cpp delete mode 100644 core/src/loader/http/reportsessionended.cpp delete mode 100644 core/src/loader/http/reportviewing.cpp delete mode 100644 core/src/loader/http/resettuner.cpp delete mode 100644 core/src/loader/http/restartapplication.cpp delete mode 100644 core/src/loader/http/revokekey.cpp rename core/src/loader/http/{gettasks.cpp => scheduledtasks.cpp} (78%) rename core/src/loader/http/{get.cpp => search.cpp} (99%) delete mode 100644 core/src/loader/http/sendfullgeneralcommand.cpp delete mode 100644 core/src/loader/http/sendgeneralcommand.cpp delete mode 100644 core/src/loader/http/sendmessagecommand.cpp delete mode 100644 core/src/loader/http/sendplaystatecommand.cpp delete mode 100644 core/src/loader/http/sendsystemcommand.cpp rename core/src/loader/http/{getsessions.cpp => session.cpp} (64%) delete mode 100644 core/src/loader/http/setchannelmapping.cpp delete mode 100644 core/src/loader/http/setitemimage.cpp delete mode 100644 core/src/loader/http/setitemimagebyindex.cpp delete mode 100644 core/src/loader/http/setread.cpp delete mode 100644 core/src/loader/http/setremoteaccess.cpp delete mode 100644 core/src/loader/http/setrepositories.cpp delete mode 100644 core/src/loader/http/setunread.cpp delete mode 100644 core/src/loader/http/shutdownapplication.cpp delete mode 100644 core/src/loader/http/starttask.cpp rename core/src/loader/http/{getstartupconfiguration.cpp => startup.cpp} (63%) delete mode 100644 core/src/loader/http/stopencodingprocess.cpp delete mode 100644 core/src/loader/http/stoptask.cpp rename core/src/loader/http/{getstudios.cpp => studios.cpp} (85%) rename core/src/loader/http/{searchremotesubtitles.cpp => subtitle.cpp} (77%) rename core/src/loader/http/{getsuggestions.cpp => suggestions.cpp} (98%) rename core/src/loader/http/{syncplaygetgroups.cpp => syncplay.cpp} (97%) delete mode 100644 core/src/loader/http/syncplaybuffering.cpp delete mode 100644 core/src/loader/http/syncplaycreategroup.cpp delete mode 100644 core/src/loader/http/syncplayjoingroup.cpp delete mode 100644 core/src/loader/http/syncplayleavegroup.cpp delete mode 100644 core/src/loader/http/syncplaymoveplaylistitem.cpp delete mode 100644 core/src/loader/http/syncplaynextitem.cpp delete mode 100644 core/src/loader/http/syncplaypause.cpp delete mode 100644 core/src/loader/http/syncplayping.cpp delete mode 100644 core/src/loader/http/syncplaypreviousitem.cpp delete mode 100644 core/src/loader/http/syncplayqueue.cpp delete mode 100644 core/src/loader/http/syncplayready.cpp delete mode 100644 core/src/loader/http/syncplayremovefromplaylist.cpp delete mode 100644 core/src/loader/http/syncplayseek.cpp delete mode 100644 core/src/loader/http/syncplaysetignorewait.cpp delete mode 100644 core/src/loader/http/syncplaysetnewqueue.cpp delete mode 100644 core/src/loader/http/syncplaysetplaylistitem.cpp delete mode 100644 core/src/loader/http/syncplaysetrepeatmode.cpp delete mode 100644 core/src/loader/http/syncplaysetshufflemode.cpp delete mode 100644 core/src/loader/http/syncplaystop.cpp delete mode 100644 core/src/loader/http/syncplayunpause.cpp create mode 100644 core/src/loader/http/system.cpp rename core/src/loader/http/{getutctime.cpp => timesync.cpp} (97%) rename core/src/loader/http/{gettrailers.cpp => trailers.cpp} (99%) create mode 100644 core/src/loader/http/tvshows.cpp delete mode 100644 core/src/loader/http/uninstallplugin.cpp delete mode 100644 core/src/loader/http/uninstallpluginbyversion.cpp create mode 100644 core/src/loader/http/universalaudio.cpp delete mode 100644 core/src/loader/http/unmarkfavoriteitem.cpp delete mode 100644 core/src/loader/http/updateconfiguration.cpp delete mode 100644 core/src/loader/http/updatedeviceoptions.cpp delete mode 100644 core/src/loader/http/updatedisplaypreferences.cpp delete mode 100644 core/src/loader/http/updateinitialconfiguration.cpp delete mode 100644 core/src/loader/http/updateitem.cpp delete mode 100644 core/src/loader/http/updateitemcontenttype.cpp delete mode 100644 core/src/loader/http/updateitemimageindex.cpp delete mode 100644 core/src/loader/http/updatelibraryoptions.cpp delete mode 100644 core/src/loader/http/updatemediaencoderpath.cpp delete mode 100644 core/src/loader/http/updatemediapath.cpp delete mode 100644 core/src/loader/http/updatenamedconfiguration.cpp delete mode 100644 core/src/loader/http/updatepluginconfiguration.cpp delete mode 100644 core/src/loader/http/updatepluginsecurityinfo.cpp delete mode 100644 core/src/loader/http/updateprofile.cpp delete mode 100644 core/src/loader/http/updateseriestimer.cpp delete mode 100644 core/src/loader/http/updatestartupuser.cpp delete mode 100644 core/src/loader/http/updatetask.cpp delete mode 100644 core/src/loader/http/updatetimer.cpp delete mode 100644 core/src/loader/http/updateuser.cpp delete mode 100644 core/src/loader/http/updateuserconfiguration.cpp delete mode 100644 core/src/loader/http/updateusereasypassword.cpp delete mode 100644 core/src/loader/http/updateuseritemrating.cpp delete mode 100644 core/src/loader/http/updateuserpassword.cpp delete mode 100644 core/src/loader/http/updateuserpolicy.cpp delete mode 100644 core/src/loader/http/uploadsubtitle.cpp create mode 100644 core/src/loader/http/user.cpp create mode 100644 core/src/loader/http/userlibrary.cpp rename core/src/loader/http/{getuserviews.cpp => userviews.cpp} (77%) delete mode 100644 core/src/loader/http/validatepath.cpp create mode 100644 core/src/loader/http/videoattachments.cpp rename core/src/loader/{createprofileparams.cpp => http/videohls.cpp} (94%) rename core/src/loader/http/{getadditionalpart.cpp => videos.cpp} (97%) rename core/src/loader/http/{getyears.cpp => years.cpp} (84%) delete mode 100644 core/src/loader/initiateparams.cpp delete mode 100644 core/src/loader/installpackageparams.cpp delete mode 100644 core/src/loader/markfavoriteitemparams.cpp delete mode 100644 core/src/loader/markplayeditemparams.cpp delete mode 100644 core/src/loader/markunplayeditemparams.cpp delete mode 100644 core/src/loader/mergeversionsparams.cpp delete mode 100644 core/src/loader/moveitemparams.cpp delete mode 100644 core/src/loader/onplaybackprogressparams.cpp delete mode 100644 core/src/loader/onplaybackstartparams.cpp delete mode 100644 core/src/loader/onplaybackstoppedparams.cpp delete mode 100644 core/src/loader/openlivestreamparams.cpp delete mode 100644 core/src/loader/pingplaybacksessionparams.cpp delete mode 100644 core/src/loader/playparams.cpp delete mode 100644 core/src/loader/postaddedmoviesparams.cpp delete mode 100644 core/src/loader/postaddedseriesparams.cpp delete mode 100644 core/src/loader/postcapabilitiesparams.cpp delete mode 100644 core/src/loader/postfullcapabilitiesparams.cpp delete mode 100644 core/src/loader/postparams.cpp delete mode 100644 core/src/loader/postpingsystemparams.cpp delete mode 100644 core/src/loader/postupdatedmediaparams.cpp delete mode 100644 core/src/loader/postupdatedmoviesparams.cpp delete mode 100644 core/src/loader/postupdatedseriesparams.cpp delete mode 100644 core/src/loader/postuserimagebyindexparams.cpp delete mode 100644 core/src/loader/postuserimageparams.cpp delete mode 100644 core/src/loader/processconnectionmanagercontrolrequestparams.cpp delete mode 100644 core/src/loader/processcontentdirectorycontrolrequestparams.cpp delete mode 100644 core/src/loader/processmediareceiverregistrarcontrolrequestparams.cpp delete mode 100644 core/src/loader/refreshlibraryparams.cpp delete mode 100644 core/src/loader/removefromcollectionparams.cpp delete mode 100644 core/src/loader/removefromplaylistparams.cpp delete mode 100644 core/src/loader/removemediapathparams.cpp delete mode 100644 core/src/loader/removeuserfromsessionparams.cpp delete mode 100644 core/src/loader/removevirtualfolderparams.cpp delete mode 100644 core/src/loader/renamevirtualfolderparams.cpp delete mode 100644 core/src/loader/reportplaybackprogressparams.cpp delete mode 100644 core/src/loader/reportplaybackstartparams.cpp delete mode 100644 core/src/loader/reportplaybackstoppedparams.cpp delete mode 100644 core/src/loader/reportsessionendedparams.cpp delete mode 100644 core/src/loader/reportviewingparams.cpp delete mode 100644 core/src/loader/resettunerparams.cpp delete mode 100644 core/src/loader/restartapplicationparams.cpp delete mode 100644 core/src/loader/revokekeyparams.cpp delete mode 100644 core/src/loader/searchremotesubtitlesparams.cpp delete mode 100644 core/src/loader/sendfullgeneralcommandparams.cpp delete mode 100644 core/src/loader/sendgeneralcommandparams.cpp delete mode 100644 core/src/loader/sendmessagecommandparams.cpp delete mode 100644 core/src/loader/sendplaystatecommandparams.cpp delete mode 100644 core/src/loader/sendsystemcommandparams.cpp delete mode 100644 core/src/loader/setchannelmappingparams.cpp delete mode 100644 core/src/loader/setitemimagebyindexparams.cpp delete mode 100644 core/src/loader/setitemimageparams.cpp delete mode 100644 core/src/loader/setreadparams.cpp delete mode 100644 core/src/loader/setremoteaccessparams.cpp delete mode 100644 core/src/loader/setrepositoriesparams.cpp delete mode 100644 core/src/loader/setunreadparams.cpp delete mode 100644 core/src/loader/shutdownapplicationparams.cpp delete mode 100644 core/src/loader/starttaskparams.cpp delete mode 100644 core/src/loader/stopencodingprocessparams.cpp delete mode 100644 core/src/loader/stoptaskparams.cpp delete mode 100644 core/src/loader/syncplaybufferingparams.cpp delete mode 100644 core/src/loader/syncplaycreategroupparams.cpp delete mode 100644 core/src/loader/syncplaygetgroupsparams.cpp delete mode 100644 core/src/loader/syncplayjoingroupparams.cpp delete mode 100644 core/src/loader/syncplayleavegroupparams.cpp delete mode 100644 core/src/loader/syncplaymoveplaylistitemparams.cpp delete mode 100644 core/src/loader/syncplaynextitemparams.cpp delete mode 100644 core/src/loader/syncplaypauseparams.cpp delete mode 100644 core/src/loader/syncplaypingparams.cpp delete mode 100644 core/src/loader/syncplaypreviousitemparams.cpp delete mode 100644 core/src/loader/syncplayqueueparams.cpp delete mode 100644 core/src/loader/syncplayreadyparams.cpp delete mode 100644 core/src/loader/syncplayremovefromplaylistparams.cpp delete mode 100644 core/src/loader/syncplayseekparams.cpp delete mode 100644 core/src/loader/syncplaysetignorewaitparams.cpp delete mode 100644 core/src/loader/syncplaysetnewqueueparams.cpp delete mode 100644 core/src/loader/syncplaysetplaylistitemparams.cpp delete mode 100644 core/src/loader/syncplaysetrepeatmodeparams.cpp delete mode 100644 core/src/loader/syncplaysetshufflemodeparams.cpp delete mode 100644 core/src/loader/syncplaystopparams.cpp delete mode 100644 core/src/loader/syncplayunpauseparams.cpp delete mode 100644 core/src/loader/uninstallpluginbyversionparams.cpp delete mode 100644 core/src/loader/uninstallpluginparams.cpp delete mode 100644 core/src/loader/unmarkfavoriteitemparams.cpp delete mode 100644 core/src/loader/updateconfigurationparams.cpp delete mode 100644 core/src/loader/updatedeviceoptionsparams.cpp delete mode 100644 core/src/loader/updatedisplaypreferencesparams.cpp delete mode 100644 core/src/loader/updateinitialconfigurationparams.cpp delete mode 100644 core/src/loader/updateitemcontenttypeparams.cpp delete mode 100644 core/src/loader/updateitemimageindexparams.cpp delete mode 100644 core/src/loader/updateitemparams.cpp delete mode 100644 core/src/loader/updatelibraryoptionsparams.cpp delete mode 100644 core/src/loader/updatemediaencoderpathparams.cpp delete mode 100644 core/src/loader/updatemediapathparams.cpp delete mode 100644 core/src/loader/updatenamedconfigurationparams.cpp delete mode 100644 core/src/loader/updatepluginconfigurationparams.cpp delete mode 100644 core/src/loader/updatepluginsecurityinfoparams.cpp delete mode 100644 core/src/loader/updateprofileparams.cpp delete mode 100644 core/src/loader/updateseriestimerparams.cpp delete mode 100644 core/src/loader/updatestartupuserparams.cpp delete mode 100644 core/src/loader/updatetaskparams.cpp delete mode 100644 core/src/loader/updatetimerparams.cpp delete mode 100644 core/src/loader/updateuserconfigurationparams.cpp delete mode 100644 core/src/loader/updateusereasypasswordparams.cpp delete mode 100644 core/src/loader/updateuseritemratingparams.cpp delete mode 100644 core/src/loader/updateuserparams.cpp delete mode 100644 core/src/loader/updateuserpasswordparams.cpp delete mode 100644 core/src/loader/updateuserpolicyparams.cpp delete mode 100644 core/src/loader/uploadsubtitleparams.cpp delete mode 100644 core/src/loader/validatepathparams.cpp diff --git a/core/GeneratedSources.cmake b/core/GeneratedSources.cmake index a01e106..de283d0 100644 --- a/core/GeneratedSources.cmake +++ b/core/GeneratedSources.cmake @@ -295,414 +295,66 @@ set(openapi_HEADERS ./include/JellyfinQt/dto/sendcommand.h ./include/JellyfinQt/dto/groupupdatetype.h ./include/JellyfinQt/dto/objectgroupupdate.h - ./include/JellyfinQt/loader/http/getlogentries.h - ./include/JellyfinQt/loader/http/getkeys.h - ./include/JellyfinQt/loader/http/createkey.h - ./include/JellyfinQt/loader/http/revokekey.h - ./include/JellyfinQt/loader/http/getartists.h - ./include/JellyfinQt/loader/http/getartistbyname.h - ./include/JellyfinQt/loader/http/getalbumartists.h - ./include/JellyfinQt/loader/http/getaudiostream.h - ./include/JellyfinQt/loader/http/headaudiostream.h - ./include/JellyfinQt/loader/http/getaudiostreambycontainer.h - ./include/JellyfinQt/loader/http/headaudiostreambycontainer.h - ./include/JellyfinQt/loader/http/getbrandingoptions.h - ./include/JellyfinQt/loader/http/getbrandingcss.h - ./include/JellyfinQt/loader/http/getbrandingcss_2.h - ./include/JellyfinQt/loader/http/getchannels.h - ./include/JellyfinQt/loader/http/getchannelfeatures.h - ./include/JellyfinQt/loader/http/getchannelitems.h - ./include/JellyfinQt/loader/http/getallchannelfeatures.h - ./include/JellyfinQt/loader/http/getlatestchannelitems.h - ./include/JellyfinQt/loader/http/createcollection.h - ./include/JellyfinQt/loader/http/addtocollection.h - ./include/JellyfinQt/loader/http/removefromcollection.h - ./include/JellyfinQt/loader/http/getconfiguration.h - ./include/JellyfinQt/loader/http/updateconfiguration.h - ./include/JellyfinQt/loader/http/getnamedconfiguration.h - ./include/JellyfinQt/loader/http/updatenamedconfiguration.h - ./include/JellyfinQt/loader/http/getdefaultmetadataoptions.h - ./include/JellyfinQt/loader/http/updatemediaencoderpath.h - ./include/JellyfinQt/loader/http/getdashboardconfigurationpage.h - ./include/JellyfinQt/loader/http/getconfigurationpages.h - ./include/JellyfinQt/loader/http/getdevices.h - ./include/JellyfinQt/loader/http/deletedevice.h - ./include/JellyfinQt/loader/http/getdeviceinfo.h - ./include/JellyfinQt/loader/http/getdeviceoptions.h - ./include/JellyfinQt/loader/http/updatedeviceoptions.h - ./include/JellyfinQt/loader/http/getdisplaypreferences.h - ./include/JellyfinQt/loader/http/updatedisplaypreferences.h - ./include/JellyfinQt/loader/http/getprofileinfos.h - ./include/JellyfinQt/loader/http/createprofile.h - ./include/JellyfinQt/loader/http/getprofile.h - ./include/JellyfinQt/loader/http/deleteprofile.h - ./include/JellyfinQt/loader/http/updateprofile.h - ./include/JellyfinQt/loader/http/getdefaultprofile.h - ./include/JellyfinQt/loader/http/getconnectionmanager.h - ./include/JellyfinQt/loader/http/getconnectionmanager_2.h - ./include/JellyfinQt/loader/http/getconnectionmanager_3.h - ./include/JellyfinQt/loader/http/processconnectionmanagercontrolrequest.h - ./include/JellyfinQt/loader/http/getcontentdirectory.h - ./include/JellyfinQt/loader/http/getcontentdirectory_2.h - ./include/JellyfinQt/loader/http/getcontentdirectory_3.h - ./include/JellyfinQt/loader/http/processcontentdirectorycontrolrequest.h - ./include/JellyfinQt/loader/http/getdescriptionxml.h - ./include/JellyfinQt/loader/http/getdescriptionxml_2.h - ./include/JellyfinQt/loader/http/geticonid.h - ./include/JellyfinQt/loader/http/getmediareceiverregistrar.h - ./include/JellyfinQt/loader/http/processmediareceiverregistrarcontrolrequest.h - ./include/JellyfinQt/loader/http/getmediareceiverregistrar_2.h - ./include/JellyfinQt/loader/http/getmediareceiverregistrar_3.h - ./include/JellyfinQt/loader/http/geticon.h - ./include/JellyfinQt/loader/http/gethlsaudiosegment.h - ./include/JellyfinQt/loader/http/getvarianthlsaudioplaylist.h - ./include/JellyfinQt/loader/http/getmasterhlsaudioplaylist.h - ./include/JellyfinQt/loader/http/headmasterhlsaudioplaylist.h - ./include/JellyfinQt/loader/http/gethlsvideosegment.h - ./include/JellyfinQt/loader/http/getvarianthlsvideoplaylist.h - ./include/JellyfinQt/loader/http/getmasterhlsvideoplaylist.h - ./include/JellyfinQt/loader/http/headmasterhlsvideoplaylist.h - ./include/JellyfinQt/loader/http/getdefaultdirectorybrowser.h - ./include/JellyfinQt/loader/http/getdirectorycontents.h - ./include/JellyfinQt/loader/http/getdrives.h - ./include/JellyfinQt/loader/http/getnetworkshares.h - ./include/JellyfinQt/loader/http/getparentpath.h - ./include/JellyfinQt/loader/http/validatepath.h - ./include/JellyfinQt/loader/http/getqueryfilterslegacy.h - ./include/JellyfinQt/loader/http/getqueryfilters.h - ./include/JellyfinQt/loader/http/getgenres.h - ./include/JellyfinQt/loader/http/getgenre.h - ./include/JellyfinQt/loader/http/gethlsaudiosegmentlegacyaac.h - ./include/JellyfinQt/loader/http/gethlsaudiosegmentlegacymp3.h - ./include/JellyfinQt/loader/http/gethlsvideosegmentlegacy.h - ./include/JellyfinQt/loader/http/gethlsplaylistlegacy.h - ./include/JellyfinQt/loader/http/stopencodingprocess.h - ./include/JellyfinQt/loader/http/getartistimage.h - ./include/JellyfinQt/loader/http/headartistimage.h - ./include/JellyfinQt/loader/http/getgenreimage.h - ./include/JellyfinQt/loader/http/headgenreimage.h - ./include/JellyfinQt/loader/http/getgenreimagebyindex.h - ./include/JellyfinQt/loader/http/headgenreimagebyindex.h - ./include/JellyfinQt/loader/http/getitemimageinfos.h - ./include/JellyfinQt/loader/http/deleteitemimage.h - ./include/JellyfinQt/loader/http/setitemimage.h - ./include/JellyfinQt/loader/http/getitemimage.h - ./include/JellyfinQt/loader/http/headitemimage.h - ./include/JellyfinQt/loader/http/deleteitemimagebyindex.h - ./include/JellyfinQt/loader/http/setitemimagebyindex.h - ./include/JellyfinQt/loader/http/getitemimagebyindex.h - ./include/JellyfinQt/loader/http/headitemimagebyindex.h - ./include/JellyfinQt/loader/http/getitemimage2.h - ./include/JellyfinQt/loader/http/headitemimage2.h - ./include/JellyfinQt/loader/http/updateitemimageindex.h - ./include/JellyfinQt/loader/http/getmusicgenreimage.h - ./include/JellyfinQt/loader/http/headmusicgenreimage.h - ./include/JellyfinQt/loader/http/getmusicgenreimagebyindex.h - ./include/JellyfinQt/loader/http/headmusicgenreimagebyindex.h - ./include/JellyfinQt/loader/http/getpersonimage.h - ./include/JellyfinQt/loader/http/headpersonimage.h - ./include/JellyfinQt/loader/http/getpersonimagebyindex.h - ./include/JellyfinQt/loader/http/headpersonimagebyindex.h - ./include/JellyfinQt/loader/http/getstudioimage.h - ./include/JellyfinQt/loader/http/headstudioimage.h - ./include/JellyfinQt/loader/http/getstudioimagebyindex.h - ./include/JellyfinQt/loader/http/headstudioimagebyindex.h - ./include/JellyfinQt/loader/http/postuserimage.h - ./include/JellyfinQt/loader/http/deleteuserimage.h - ./include/JellyfinQt/loader/http/getuserimage.h - ./include/JellyfinQt/loader/http/headuserimage.h - ./include/JellyfinQt/loader/http/getuserimagebyindex.h - ./include/JellyfinQt/loader/http/headuserimagebyindex.h - ./include/JellyfinQt/loader/http/postuserimagebyindex.h - ./include/JellyfinQt/loader/http/deleteuserimagebyindex.h - ./include/JellyfinQt/loader/http/getgeneralimages.h - ./include/JellyfinQt/loader/http/getgeneralimage.h - ./include/JellyfinQt/loader/http/getmediainfoimages.h - ./include/JellyfinQt/loader/http/getmediainfoimage.h - ./include/JellyfinQt/loader/http/getratingimages.h - ./include/JellyfinQt/loader/http/getratingimage.h - ./include/JellyfinQt/loader/http/getinstantmixfromalbum.h - ./include/JellyfinQt/loader/http/getinstantmixfromartists.h - ./include/JellyfinQt/loader/http/getinstantmixfromitem.h - ./include/JellyfinQt/loader/http/getinstantmixfrommusicgenres.h - ./include/JellyfinQt/loader/http/getinstantmixfrommusicgenre.h - ./include/JellyfinQt/loader/http/getinstantmixfromplaylist.h - ./include/JellyfinQt/loader/http/getinstantmixfromsong.h - ./include/JellyfinQt/loader/http/getexternalidinfos.h - ./include/JellyfinQt/loader/http/applysearchcriteria.h - ./include/JellyfinQt/loader/http/getbookremotesearchresults.h - ./include/JellyfinQt/loader/http/getboxsetremotesearchresults.h - ./include/JellyfinQt/loader/http/getremotesearchimage.h - ./include/JellyfinQt/loader/http/getmovieremotesearchresults.h - ./include/JellyfinQt/loader/http/getmusicalbumremotesearchresults.h - ./include/JellyfinQt/loader/http/getmusicartistremotesearchresults.h - ./include/JellyfinQt/loader/http/getmusicvideoremotesearchresults.h - ./include/JellyfinQt/loader/http/getpersonremotesearchresults.h - ./include/JellyfinQt/loader/http/getseriesremotesearchresults.h - ./include/JellyfinQt/loader/http/gettrailerremotesearchresults.h - ./include/JellyfinQt/loader/http/post.h - ./include/JellyfinQt/loader/http/getitems.h - ./include/JellyfinQt/loader/http/deleteitems.h - ./include/JellyfinQt/loader/http/getitemsbyuserid.h - ./include/JellyfinQt/loader/http/getresumeitems.h - ./include/JellyfinQt/loader/http/updateitem.h - ./include/JellyfinQt/loader/http/deleteitem.h - ./include/JellyfinQt/loader/http/updateitemcontenttype.h - ./include/JellyfinQt/loader/http/getmetadataeditorinfo.h - ./include/JellyfinQt/loader/http/getsimilaralbums.h - ./include/JellyfinQt/loader/http/getsimilarartists.h - ./include/JellyfinQt/loader/http/getancestors.h - ./include/JellyfinQt/loader/http/getcriticreviews.h - ./include/JellyfinQt/loader/http/getdownload.h - ./include/JellyfinQt/loader/http/getfile.h - ./include/JellyfinQt/loader/http/getsimilaritems.h - ./include/JellyfinQt/loader/http/getthememedia.h - ./include/JellyfinQt/loader/http/getthemesongs.h - ./include/JellyfinQt/loader/http/getthemevideos.h - ./include/JellyfinQt/loader/http/getitemcounts.h - ./include/JellyfinQt/loader/http/getlibraryoptionsinfo.h - ./include/JellyfinQt/loader/http/postupdatedmedia.h - ./include/JellyfinQt/loader/http/getmediafolders.h - ./include/JellyfinQt/loader/http/postaddedmovies.h - ./include/JellyfinQt/loader/http/postupdatedmovies.h - ./include/JellyfinQt/loader/http/getphysicalpaths.h - ./include/JellyfinQt/loader/http/refreshlibrary.h - ./include/JellyfinQt/loader/http/postaddedseries.h - ./include/JellyfinQt/loader/http/postupdatedseries.h - ./include/JellyfinQt/loader/http/getsimilarmovies.h - ./include/JellyfinQt/loader/http/getsimilarshows.h - ./include/JellyfinQt/loader/http/getsimilartrailers.h - ./include/JellyfinQt/loader/http/getvirtualfolders.h - ./include/JellyfinQt/loader/http/addvirtualfolder.h - ./include/JellyfinQt/loader/http/removevirtualfolder.h - ./include/JellyfinQt/loader/http/updatelibraryoptions.h - ./include/JellyfinQt/loader/http/renamevirtualfolder.h - ./include/JellyfinQt/loader/http/addmediapath.h - ./include/JellyfinQt/loader/http/removemediapath.h - ./include/JellyfinQt/loader/http/updatemediapath.h - ./include/JellyfinQt/loader/http/getchannelmappingoptions.h - ./include/JellyfinQt/loader/http/setchannelmapping.h - ./include/JellyfinQt/loader/http/getlivetvchannels.h - ./include/JellyfinQt/loader/http/getchannel.h - ./include/JellyfinQt/loader/http/getguideinfo.h - ./include/JellyfinQt/loader/http/getlivetvinfo.h - ./include/JellyfinQt/loader/http/addlistingprovider.h - ./include/JellyfinQt/loader/http/deletelistingprovider.h - ./include/JellyfinQt/loader/http/getdefaultlistingprovider.h - ./include/JellyfinQt/loader/http/getlineups.h - ./include/JellyfinQt/loader/http/getschedulesdirectcountries.h - ./include/JellyfinQt/loader/http/getliverecordingfile.h - ./include/JellyfinQt/loader/http/getlivestreamfile.h - ./include/JellyfinQt/loader/http/getlivetvprograms.h - ./include/JellyfinQt/loader/http/getprograms.h - ./include/JellyfinQt/loader/http/getprogram.h - ./include/JellyfinQt/loader/http/getrecommendedprograms.h - ./include/JellyfinQt/loader/http/getrecordings.h - ./include/JellyfinQt/loader/http/getrecording.h - ./include/JellyfinQt/loader/http/deleterecording.h - ./include/JellyfinQt/loader/http/getrecordingfolders.h - ./include/JellyfinQt/loader/http/getrecordinggroups.h - ./include/JellyfinQt/loader/http/getrecordinggroup.h - ./include/JellyfinQt/loader/http/getrecordingsseries.h - ./include/JellyfinQt/loader/http/getseriestimers.h - ./include/JellyfinQt/loader/http/createseriestimer.h - ./include/JellyfinQt/loader/http/getseriestimer.h - ./include/JellyfinQt/loader/http/cancelseriestimer.h - ./include/JellyfinQt/loader/http/updateseriestimer.h - ./include/JellyfinQt/loader/http/gettimers.h - ./include/JellyfinQt/loader/http/createtimer.h - ./include/JellyfinQt/loader/http/gettimer.h - ./include/JellyfinQt/loader/http/canceltimer.h - ./include/JellyfinQt/loader/http/updatetimer.h - ./include/JellyfinQt/loader/http/getdefaulttimer.h - ./include/JellyfinQt/loader/http/addtunerhost.h - ./include/JellyfinQt/loader/http/deletetunerhost.h - ./include/JellyfinQt/loader/http/gettunerhosttypes.h - ./include/JellyfinQt/loader/http/resettuner.h - ./include/JellyfinQt/loader/http/discovertuners.h - ./include/JellyfinQt/loader/http/discvovertuners.h - ./include/JellyfinQt/loader/http/getcountries.h - ./include/JellyfinQt/loader/http/getcultures.h - ./include/JellyfinQt/loader/http/getlocalizationoptions.h - ./include/JellyfinQt/loader/http/getparentalratings.h - ./include/JellyfinQt/loader/http/getplaybackinfo.h - ./include/JellyfinQt/loader/http/getpostedplaybackinfo.h - ./include/JellyfinQt/loader/http/closelivestream.h - ./include/JellyfinQt/loader/http/openlivestream.h - ./include/JellyfinQt/loader/http/getbitratetestbytes.h - ./include/JellyfinQt/loader/http/getmovierecommendations.h - ./include/JellyfinQt/loader/http/getmusicgenres.h - ./include/JellyfinQt/loader/http/getmusicgenre.h - ./include/JellyfinQt/loader/http/getnotifications.h - ./include/JellyfinQt/loader/http/setread.h - ./include/JellyfinQt/loader/http/getnotificationssummary.h - ./include/JellyfinQt/loader/http/setunread.h - ./include/JellyfinQt/loader/http/createadminnotification.h - ./include/JellyfinQt/loader/http/getnotificationservices.h - ./include/JellyfinQt/loader/http/getnotificationtypes.h - ./include/JellyfinQt/loader/http/getpackages.h - ./include/JellyfinQt/loader/http/getpackageinfo.h - ./include/JellyfinQt/loader/http/installpackage.h - ./include/JellyfinQt/loader/http/cancelpackageinstallation.h - ./include/JellyfinQt/loader/http/getrepositories.h - ./include/JellyfinQt/loader/http/setrepositories.h - ./include/JellyfinQt/loader/http/getpersons.h - ./include/JellyfinQt/loader/http/getperson.h - ./include/JellyfinQt/loader/http/createplaylist.h - ./include/JellyfinQt/loader/http/addtoplaylist.h - ./include/JellyfinQt/loader/http/removefromplaylist.h - ./include/JellyfinQt/loader/http/getplaylistitems.h - ./include/JellyfinQt/loader/http/moveitem.h - ./include/JellyfinQt/loader/http/reportplaybackstart.h - ./include/JellyfinQt/loader/http/pingplaybacksession.h - ./include/JellyfinQt/loader/http/reportplaybackprogress.h - ./include/JellyfinQt/loader/http/reportplaybackstopped.h - ./include/JellyfinQt/loader/http/markplayeditem.h - ./include/JellyfinQt/loader/http/markunplayeditem.h - ./include/JellyfinQt/loader/http/onplaybackstart.h - ./include/JellyfinQt/loader/http/onplaybackstopped.h - ./include/JellyfinQt/loader/http/onplaybackprogress.h - ./include/JellyfinQt/loader/http/getplugins.h - ./include/JellyfinQt/loader/http/uninstallplugin.h - ./include/JellyfinQt/loader/http/uninstallpluginbyversion.h - ./include/JellyfinQt/loader/http/disableplugin.h - ./include/JellyfinQt/loader/http/enableplugin.h - ./include/JellyfinQt/loader/http/getpluginimage.h - ./include/JellyfinQt/loader/http/getpluginconfiguration.h - ./include/JellyfinQt/loader/http/updatepluginconfiguration.h - ./include/JellyfinQt/loader/http/getpluginmanifest.h - ./include/JellyfinQt/loader/http/updatepluginsecurityinfo.h - ./include/JellyfinQt/loader/http/activate.h - ./include/JellyfinQt/loader/http/authorize.h - ./include/JellyfinQt/loader/http/available.h - ./include/JellyfinQt/loader/http/connect.h - ./include/JellyfinQt/loader/http/deauthorize.h - ./include/JellyfinQt/loader/http/initiate.h - ./include/JellyfinQt/loader/http/getstatus.h - ./include/JellyfinQt/loader/http/getremoteimage.h - ./include/JellyfinQt/loader/http/getremoteimages.h - ./include/JellyfinQt/loader/http/downloadremoteimage.h - ./include/JellyfinQt/loader/http/getremoteimageproviders.h - ./include/JellyfinQt/loader/http/gettasks.h - ./include/JellyfinQt/loader/http/gettask.h - ./include/JellyfinQt/loader/http/updatetask.h - ./include/JellyfinQt/loader/http/starttask.h - ./include/JellyfinQt/loader/http/stoptask.h - ./include/JellyfinQt/loader/http/get.h - ./include/JellyfinQt/loader/http/getpasswordresetproviders.h - ./include/JellyfinQt/loader/http/getauthproviders.h - ./include/JellyfinQt/loader/http/getsessions.h - ./include/JellyfinQt/loader/http/sendfullgeneralcommand.h - ./include/JellyfinQt/loader/http/sendgeneralcommand.h - ./include/JellyfinQt/loader/http/sendmessagecommand.h - ./include/JellyfinQt/loader/http/play.h - ./include/JellyfinQt/loader/http/sendplaystatecommand.h - ./include/JellyfinQt/loader/http/sendsystemcommand.h - ./include/JellyfinQt/loader/http/addusertosession.h - ./include/JellyfinQt/loader/http/removeuserfromsession.h - ./include/JellyfinQt/loader/http/displaycontent.h - ./include/JellyfinQt/loader/http/postcapabilities.h - ./include/JellyfinQt/loader/http/postfullcapabilities.h - ./include/JellyfinQt/loader/http/reportsessionended.h - ./include/JellyfinQt/loader/http/reportviewing.h - ./include/JellyfinQt/loader/http/completewizard.h - ./include/JellyfinQt/loader/http/getstartupconfiguration.h - ./include/JellyfinQt/loader/http/updateinitialconfiguration.h - ./include/JellyfinQt/loader/http/getfirstuser_2.h - ./include/JellyfinQt/loader/http/setremoteaccess.h - ./include/JellyfinQt/loader/http/getfirstuser.h - ./include/JellyfinQt/loader/http/updatestartupuser.h - ./include/JellyfinQt/loader/http/getstudios.h - ./include/JellyfinQt/loader/http/getstudio.h - ./include/JellyfinQt/loader/http/getfallbackfontlist.h - ./include/JellyfinQt/loader/http/getfallbackfont.h - ./include/JellyfinQt/loader/http/searchremotesubtitles.h - ./include/JellyfinQt/loader/http/downloadremotesubtitles.h - ./include/JellyfinQt/loader/http/getremotesubtitles.h - ./include/JellyfinQt/loader/http/getsubtitlewithticks.h - ./include/JellyfinQt/loader/http/getsubtitle.h - ./include/JellyfinQt/loader/http/getsubtitleplaylist.h - ./include/JellyfinQt/loader/http/uploadsubtitle.h - ./include/JellyfinQt/loader/http/deletesubtitle.h - ./include/JellyfinQt/loader/http/getsuggestions.h - ./include/JellyfinQt/loader/http/syncplaybuffering.h - ./include/JellyfinQt/loader/http/syncplayjoingroup.h - ./include/JellyfinQt/loader/http/syncplayleavegroup.h - ./include/JellyfinQt/loader/http/syncplaygetgroups.h - ./include/JellyfinQt/loader/http/syncplaymoveplaylistitem.h - ./include/JellyfinQt/loader/http/syncplaycreategroup.h - ./include/JellyfinQt/loader/http/syncplaynextitem.h - ./include/JellyfinQt/loader/http/syncplaypause.h - ./include/JellyfinQt/loader/http/syncplayping.h - ./include/JellyfinQt/loader/http/syncplaypreviousitem.h - ./include/JellyfinQt/loader/http/syncplayqueue.h - ./include/JellyfinQt/loader/http/syncplayready.h - ./include/JellyfinQt/loader/http/syncplayremovefromplaylist.h - ./include/JellyfinQt/loader/http/syncplayseek.h - ./include/JellyfinQt/loader/http/syncplaysetignorewait.h - ./include/JellyfinQt/loader/http/syncplaysetnewqueue.h - ./include/JellyfinQt/loader/http/syncplaysetplaylistitem.h - ./include/JellyfinQt/loader/http/syncplaysetrepeatmode.h - ./include/JellyfinQt/loader/http/syncplaysetshufflemode.h - ./include/JellyfinQt/loader/http/syncplaystop.h - ./include/JellyfinQt/loader/http/syncplayunpause.h - ./include/JellyfinQt/loader/http/getendpointinfo.h - ./include/JellyfinQt/loader/http/getsysteminfo.h - ./include/JellyfinQt/loader/http/getpublicsysteminfo.h - ./include/JellyfinQt/loader/http/getserverlogs.h - ./include/JellyfinQt/loader/http/getlogfile.h - ./include/JellyfinQt/loader/http/getpingsystem.h - ./include/JellyfinQt/loader/http/postpingsystem.h - ./include/JellyfinQt/loader/http/restartapplication.h - ./include/JellyfinQt/loader/http/shutdownapplication.h - ./include/JellyfinQt/loader/http/getwakeonlaninfo.h - ./include/JellyfinQt/loader/http/getutctime.h - ./include/JellyfinQt/loader/http/gettrailers.h - ./include/JellyfinQt/loader/http/getepisodes.h - ./include/JellyfinQt/loader/http/getseasons.h - ./include/JellyfinQt/loader/http/getnextup.h - ./include/JellyfinQt/loader/http/getupcomingepisodes.h - ./include/JellyfinQt/loader/http/getuniversalaudiostream.h - ./include/JellyfinQt/loader/http/headuniversalaudiostream.h - ./include/JellyfinQt/loader/http/getusers.h - ./include/JellyfinQt/loader/http/getuserbyid.h - ./include/JellyfinQt/loader/http/deleteuser.h - ./include/JellyfinQt/loader/http/updateuser.h - ./include/JellyfinQt/loader/http/authenticateuser.h - ./include/JellyfinQt/loader/http/updateuserconfiguration.h - ./include/JellyfinQt/loader/http/updateusereasypassword.h - ./include/JellyfinQt/loader/http/updateuserpassword.h - ./include/JellyfinQt/loader/http/updateuserpolicy.h - ./include/JellyfinQt/loader/http/authenticateuserbyname.h - ./include/JellyfinQt/loader/http/authenticatewithquickconnect.h - ./include/JellyfinQt/loader/http/forgotpassword.h - ./include/JellyfinQt/loader/http/forgotpasswordpin.h - ./include/JellyfinQt/loader/http/getcurrentuser.h - ./include/JellyfinQt/loader/http/createuserbyname.h - ./include/JellyfinQt/loader/http/getpublicusers.h - ./include/JellyfinQt/loader/http/markfavoriteitem.h - ./include/JellyfinQt/loader/http/unmarkfavoriteitem.h - ./include/JellyfinQt/loader/http/getitem.h - ./include/JellyfinQt/loader/http/getintros.h - ./include/JellyfinQt/loader/http/getlocaltrailers.h - ./include/JellyfinQt/loader/http/deleteuseritemrating.h - ./include/JellyfinQt/loader/http/updateuseritemrating.h - ./include/JellyfinQt/loader/http/getspecialfeatures.h - ./include/JellyfinQt/loader/http/getlatestmedia.h - ./include/JellyfinQt/loader/http/getrootfolder.h - ./include/JellyfinQt/loader/http/getgroupingoptions.h - ./include/JellyfinQt/loader/http/getuserviews.h - ./include/JellyfinQt/loader/http/getattachment.h - ./include/JellyfinQt/loader/http/getlivehlsstream.h - ./include/JellyfinQt/loader/http/getvideostreambycontainer.h - ./include/JellyfinQt/loader/http/headvideostreambycontainer.h - ./include/JellyfinQt/loader/http/getadditionalpart.h - ./include/JellyfinQt/loader/http/deletealternatesources.h - ./include/JellyfinQt/loader/http/getvideostream.h - ./include/JellyfinQt/loader/http/headvideostream.h - ./include/JellyfinQt/loader/http/mergeversions.h - ./include/JellyfinQt/loader/http/getyears.h - ./include/JellyfinQt/loader/http/getyear.h + ./include/JellyfinQt/loader/http/subtitle.h + ./include/JellyfinQt/loader/http/activitylog.h + ./include/JellyfinQt/loader/http/library.h + ./include/JellyfinQt/loader/http/items.h + ./include/JellyfinQt/loader/http/dynamichls.h + ./include/JellyfinQt/loader/http/videoattachments.h + ./include/JellyfinQt/loader/http/itemupdate.h + ./include/JellyfinQt/loader/http/audio.h + ./include/JellyfinQt/loader/http/persons.h + ./include/JellyfinQt/loader/http/collection.h + ./include/JellyfinQt/loader/http/dlnaserver.h + ./include/JellyfinQt/loader/http/movies.h + ./include/JellyfinQt/loader/http/dashboard.h + ./include/JellyfinQt/loader/http/hlssegment.h + ./include/JellyfinQt/loader/http/branding.h + ./include/JellyfinQt/loader/http/startup.h + ./include/JellyfinQt/loader/http/channels.h + ./include/JellyfinQt/loader/http/localization.h + ./include/JellyfinQt/loader/http/videohls.h + ./include/JellyfinQt/loader/http/itemlookup.h + ./include/JellyfinQt/loader/http/system.h + ./include/JellyfinQt/loader/http/mediainfo.h + ./include/JellyfinQt/loader/http/genres.h + ./include/JellyfinQt/loader/http/syncplay.h + ./include/JellyfinQt/loader/http/universalaudio.h + ./include/JellyfinQt/loader/http/suggestions.h + ./include/JellyfinQt/loader/http/itemrefresh.h + ./include/JellyfinQt/loader/http/scheduledtasks.h + ./include/JellyfinQt/loader/http/imagebyname.h + ./include/JellyfinQt/loader/http/musicgenres.h + ./include/JellyfinQt/loader/http/user.h + ./include/JellyfinQt/loader/http/playlists.h + ./include/JellyfinQt/loader/http/userviews.h + ./include/JellyfinQt/loader/http/studios.h + ./include/JellyfinQt/loader/http/years.h + ./include/JellyfinQt/loader/http/trailers.h + ./include/JellyfinQt/loader/http/image.h + ./include/JellyfinQt/loader/http/librarystructure.h + ./include/JellyfinQt/loader/http/notifications.h + ./include/JellyfinQt/loader/http/videos.h + ./include/JellyfinQt/loader/http/package.h + ./include/JellyfinQt/loader/http/artists.h + ./include/JellyfinQt/loader/http/playstate.h + ./include/JellyfinQt/loader/http/quickconnect.h + ./include/JellyfinQt/loader/http/remoteimage.h + ./include/JellyfinQt/loader/http/userlibrary.h + ./include/JellyfinQt/loader/http/dlna.h + ./include/JellyfinQt/loader/http/configuration.h + ./include/JellyfinQt/loader/http/livetv.h + ./include/JellyfinQt/loader/http/timesync.h + ./include/JellyfinQt/loader/http/session.h + ./include/JellyfinQt/loader/http/displaypreferences.h + ./include/JellyfinQt/loader/http/instantmix.h + ./include/JellyfinQt/loader/http/apikey.h + ./include/JellyfinQt/loader/http/devices.h + ./include/JellyfinQt/loader/http/filter.h + ./include/JellyfinQt/loader/http/tvshows.h + ./include/JellyfinQt/loader/http/plugins.h + ./include/JellyfinQt/loader/http/environment.h + ./include/JellyfinQt/loader/http/search.h ./include/JellyfinQt/loader/requesttypes.h) set(openapi_SOURCES @@ -970,412 +622,64 @@ set(openapi_SOURCES ./src/dto/sendcommand.cpp ./src/dto/groupupdatetype.cpp ./src/dto/objectgroupupdate.cpp - ./src/loader/http/getlogentries.cpp - ./src/loader/http/getkeys.cpp - ./src/loader/http/createkey.cpp - ./src/loader/http/revokekey.cpp - ./src/loader/http/getartists.cpp - ./src/loader/http/getartistbyname.cpp - ./src/loader/http/getalbumartists.cpp - ./src/loader/http/getaudiostream.cpp - ./src/loader/http/headaudiostream.cpp - ./src/loader/http/getaudiostreambycontainer.cpp - ./src/loader/http/headaudiostreambycontainer.cpp - ./src/loader/http/getbrandingoptions.cpp - ./src/loader/http/getbrandingcss.cpp - ./src/loader/http/getbrandingcss_2.cpp - ./src/loader/http/getchannels.cpp - ./src/loader/http/getchannelfeatures.cpp - ./src/loader/http/getchannelitems.cpp - ./src/loader/http/getallchannelfeatures.cpp - ./src/loader/http/getlatestchannelitems.cpp - ./src/loader/http/createcollection.cpp - ./src/loader/http/addtocollection.cpp - ./src/loader/http/removefromcollection.cpp - ./src/loader/http/getconfiguration.cpp - ./src/loader/http/updateconfiguration.cpp - ./src/loader/http/getnamedconfiguration.cpp - ./src/loader/http/updatenamedconfiguration.cpp - ./src/loader/http/getdefaultmetadataoptions.cpp - ./src/loader/http/updatemediaencoderpath.cpp - ./src/loader/http/getdashboardconfigurationpage.cpp - ./src/loader/http/getconfigurationpages.cpp - ./src/loader/http/getdevices.cpp - ./src/loader/http/deletedevice.cpp - ./src/loader/http/getdeviceinfo.cpp - ./src/loader/http/getdeviceoptions.cpp - ./src/loader/http/updatedeviceoptions.cpp - ./src/loader/http/getdisplaypreferences.cpp - ./src/loader/http/updatedisplaypreferences.cpp - ./src/loader/http/getprofileinfos.cpp - ./src/loader/http/createprofile.cpp - ./src/loader/http/getprofile.cpp - ./src/loader/http/deleteprofile.cpp - ./src/loader/http/updateprofile.cpp - ./src/loader/http/getdefaultprofile.cpp - ./src/loader/http/getconnectionmanager.cpp - ./src/loader/http/getconnectionmanager_2.cpp - ./src/loader/http/getconnectionmanager_3.cpp - ./src/loader/http/processconnectionmanagercontrolrequest.cpp - ./src/loader/http/getcontentdirectory.cpp - ./src/loader/http/getcontentdirectory_2.cpp - ./src/loader/http/getcontentdirectory_3.cpp - ./src/loader/http/processcontentdirectorycontrolrequest.cpp - ./src/loader/http/getdescriptionxml.cpp - ./src/loader/http/getdescriptionxml_2.cpp - ./src/loader/http/geticonid.cpp - ./src/loader/http/getmediareceiverregistrar.cpp - ./src/loader/http/processmediareceiverregistrarcontrolrequest.cpp - ./src/loader/http/getmediareceiverregistrar_2.cpp - ./src/loader/http/getmediareceiverregistrar_3.cpp - ./src/loader/http/geticon.cpp - ./src/loader/http/gethlsaudiosegment.cpp - ./src/loader/http/getvarianthlsaudioplaylist.cpp - ./src/loader/http/getmasterhlsaudioplaylist.cpp - ./src/loader/http/headmasterhlsaudioplaylist.cpp - ./src/loader/http/gethlsvideosegment.cpp - ./src/loader/http/getvarianthlsvideoplaylist.cpp - ./src/loader/http/getmasterhlsvideoplaylist.cpp - ./src/loader/http/headmasterhlsvideoplaylist.cpp - ./src/loader/http/getdefaultdirectorybrowser.cpp - ./src/loader/http/getdirectorycontents.cpp - ./src/loader/http/getdrives.cpp - ./src/loader/http/getnetworkshares.cpp - ./src/loader/http/getparentpath.cpp - ./src/loader/http/validatepath.cpp - ./src/loader/http/getqueryfilterslegacy.cpp - ./src/loader/http/getqueryfilters.cpp - ./src/loader/http/getgenres.cpp - ./src/loader/http/getgenre.cpp - ./src/loader/http/gethlsaudiosegmentlegacyaac.cpp - ./src/loader/http/gethlsaudiosegmentlegacymp3.cpp - ./src/loader/http/gethlsvideosegmentlegacy.cpp - ./src/loader/http/gethlsplaylistlegacy.cpp - ./src/loader/http/stopencodingprocess.cpp - ./src/loader/http/getartistimage.cpp - ./src/loader/http/headartistimage.cpp - ./src/loader/http/getgenreimage.cpp - ./src/loader/http/headgenreimage.cpp - ./src/loader/http/getgenreimagebyindex.cpp - ./src/loader/http/headgenreimagebyindex.cpp - ./src/loader/http/getitemimageinfos.cpp - ./src/loader/http/deleteitemimage.cpp - ./src/loader/http/setitemimage.cpp - ./src/loader/http/getitemimage.cpp - ./src/loader/http/headitemimage.cpp - ./src/loader/http/deleteitemimagebyindex.cpp - ./src/loader/http/setitemimagebyindex.cpp - ./src/loader/http/getitemimagebyindex.cpp - ./src/loader/http/headitemimagebyindex.cpp - ./src/loader/http/getitemimage2.cpp - ./src/loader/http/headitemimage2.cpp - ./src/loader/http/updateitemimageindex.cpp - ./src/loader/http/getmusicgenreimage.cpp - ./src/loader/http/headmusicgenreimage.cpp - ./src/loader/http/getmusicgenreimagebyindex.cpp - ./src/loader/http/headmusicgenreimagebyindex.cpp - ./src/loader/http/getpersonimage.cpp - ./src/loader/http/headpersonimage.cpp - ./src/loader/http/getpersonimagebyindex.cpp - ./src/loader/http/headpersonimagebyindex.cpp - ./src/loader/http/getstudioimage.cpp - ./src/loader/http/headstudioimage.cpp - ./src/loader/http/getstudioimagebyindex.cpp - ./src/loader/http/headstudioimagebyindex.cpp - ./src/loader/http/postuserimage.cpp - ./src/loader/http/deleteuserimage.cpp - ./src/loader/http/getuserimage.cpp - ./src/loader/http/headuserimage.cpp - ./src/loader/http/getuserimagebyindex.cpp - ./src/loader/http/headuserimagebyindex.cpp - ./src/loader/http/postuserimagebyindex.cpp - ./src/loader/http/deleteuserimagebyindex.cpp - ./src/loader/http/getgeneralimages.cpp - ./src/loader/http/getgeneralimage.cpp - ./src/loader/http/getmediainfoimages.cpp - ./src/loader/http/getmediainfoimage.cpp - ./src/loader/http/getratingimages.cpp - ./src/loader/http/getratingimage.cpp - ./src/loader/http/getinstantmixfromalbum.cpp - ./src/loader/http/getinstantmixfromartists.cpp - ./src/loader/http/getinstantmixfromitem.cpp - ./src/loader/http/getinstantmixfrommusicgenres.cpp - ./src/loader/http/getinstantmixfrommusicgenre.cpp - ./src/loader/http/getinstantmixfromplaylist.cpp - ./src/loader/http/getinstantmixfromsong.cpp - ./src/loader/http/getexternalidinfos.cpp - ./src/loader/http/applysearchcriteria.cpp - ./src/loader/http/getbookremotesearchresults.cpp - ./src/loader/http/getboxsetremotesearchresults.cpp - ./src/loader/http/getremotesearchimage.cpp - ./src/loader/http/getmovieremotesearchresults.cpp - ./src/loader/http/getmusicalbumremotesearchresults.cpp - ./src/loader/http/getmusicartistremotesearchresults.cpp - ./src/loader/http/getmusicvideoremotesearchresults.cpp - ./src/loader/http/getpersonremotesearchresults.cpp - ./src/loader/http/getseriesremotesearchresults.cpp - ./src/loader/http/gettrailerremotesearchresults.cpp - ./src/loader/http/post.cpp - ./src/loader/http/getitems.cpp - ./src/loader/http/deleteitems.cpp - ./src/loader/http/getitemsbyuserid.cpp - ./src/loader/http/getresumeitems.cpp - ./src/loader/http/updateitem.cpp - ./src/loader/http/deleteitem.cpp - ./src/loader/http/updateitemcontenttype.cpp - ./src/loader/http/getmetadataeditorinfo.cpp - ./src/loader/http/getsimilaralbums.cpp - ./src/loader/http/getsimilarartists.cpp - ./src/loader/http/getancestors.cpp - ./src/loader/http/getcriticreviews.cpp - ./src/loader/http/getdownload.cpp - ./src/loader/http/getfile.cpp - ./src/loader/http/getsimilaritems.cpp - ./src/loader/http/getthememedia.cpp - ./src/loader/http/getthemesongs.cpp - ./src/loader/http/getthemevideos.cpp - ./src/loader/http/getitemcounts.cpp - ./src/loader/http/getlibraryoptionsinfo.cpp - ./src/loader/http/postupdatedmedia.cpp - ./src/loader/http/getmediafolders.cpp - ./src/loader/http/postaddedmovies.cpp - ./src/loader/http/postupdatedmovies.cpp - ./src/loader/http/getphysicalpaths.cpp - ./src/loader/http/refreshlibrary.cpp - ./src/loader/http/postaddedseries.cpp - ./src/loader/http/postupdatedseries.cpp - ./src/loader/http/getsimilarmovies.cpp - ./src/loader/http/getsimilarshows.cpp - ./src/loader/http/getsimilartrailers.cpp - ./src/loader/http/getvirtualfolders.cpp - ./src/loader/http/addvirtualfolder.cpp - ./src/loader/http/removevirtualfolder.cpp - ./src/loader/http/updatelibraryoptions.cpp - ./src/loader/http/renamevirtualfolder.cpp - ./src/loader/http/addmediapath.cpp - ./src/loader/http/removemediapath.cpp - ./src/loader/http/updatemediapath.cpp - ./src/loader/http/getchannelmappingoptions.cpp - ./src/loader/http/setchannelmapping.cpp - ./src/loader/http/getlivetvchannels.cpp - ./src/loader/http/getchannel.cpp - ./src/loader/http/getguideinfo.cpp - ./src/loader/http/getlivetvinfo.cpp - ./src/loader/http/addlistingprovider.cpp - ./src/loader/http/deletelistingprovider.cpp - ./src/loader/http/getdefaultlistingprovider.cpp - ./src/loader/http/getlineups.cpp - ./src/loader/http/getschedulesdirectcountries.cpp - ./src/loader/http/getliverecordingfile.cpp - ./src/loader/http/getlivestreamfile.cpp - ./src/loader/http/getlivetvprograms.cpp - ./src/loader/http/getprograms.cpp - ./src/loader/http/getprogram.cpp - ./src/loader/http/getrecommendedprograms.cpp - ./src/loader/http/getrecordings.cpp - ./src/loader/http/getrecording.cpp - ./src/loader/http/deleterecording.cpp - ./src/loader/http/getrecordingfolders.cpp - ./src/loader/http/getrecordinggroups.cpp - ./src/loader/http/getrecordinggroup.cpp - ./src/loader/http/getrecordingsseries.cpp - ./src/loader/http/getseriestimers.cpp - ./src/loader/http/createseriestimer.cpp - ./src/loader/http/getseriestimer.cpp - ./src/loader/http/cancelseriestimer.cpp - ./src/loader/http/updateseriestimer.cpp - ./src/loader/http/gettimers.cpp - ./src/loader/http/createtimer.cpp - ./src/loader/http/gettimer.cpp - ./src/loader/http/canceltimer.cpp - ./src/loader/http/updatetimer.cpp - ./src/loader/http/getdefaulttimer.cpp - ./src/loader/http/addtunerhost.cpp - ./src/loader/http/deletetunerhost.cpp - ./src/loader/http/gettunerhosttypes.cpp - ./src/loader/http/resettuner.cpp - ./src/loader/http/discovertuners.cpp - ./src/loader/http/discvovertuners.cpp - ./src/loader/http/getcountries.cpp - ./src/loader/http/getcultures.cpp - ./src/loader/http/getlocalizationoptions.cpp - ./src/loader/http/getparentalratings.cpp - ./src/loader/http/getplaybackinfo.cpp - ./src/loader/http/getpostedplaybackinfo.cpp - ./src/loader/http/closelivestream.cpp - ./src/loader/http/openlivestream.cpp - ./src/loader/http/getbitratetestbytes.cpp - ./src/loader/http/getmovierecommendations.cpp - ./src/loader/http/getmusicgenres.cpp - ./src/loader/http/getmusicgenre.cpp - ./src/loader/http/getnotifications.cpp - ./src/loader/http/setread.cpp - ./src/loader/http/getnotificationssummary.cpp - ./src/loader/http/setunread.cpp - ./src/loader/http/createadminnotification.cpp - ./src/loader/http/getnotificationservices.cpp - ./src/loader/http/getnotificationtypes.cpp - ./src/loader/http/getpackages.cpp - ./src/loader/http/getpackageinfo.cpp - ./src/loader/http/installpackage.cpp - ./src/loader/http/cancelpackageinstallation.cpp - ./src/loader/http/getrepositories.cpp - ./src/loader/http/setrepositories.cpp - ./src/loader/http/getpersons.cpp - ./src/loader/http/getperson.cpp - ./src/loader/http/createplaylist.cpp - ./src/loader/http/addtoplaylist.cpp - ./src/loader/http/removefromplaylist.cpp - ./src/loader/http/getplaylistitems.cpp - ./src/loader/http/moveitem.cpp - ./src/loader/http/reportplaybackstart.cpp - ./src/loader/http/pingplaybacksession.cpp - ./src/loader/http/reportplaybackprogress.cpp - ./src/loader/http/reportplaybackstopped.cpp - ./src/loader/http/markplayeditem.cpp - ./src/loader/http/markunplayeditem.cpp - ./src/loader/http/onplaybackstart.cpp - ./src/loader/http/onplaybackstopped.cpp - ./src/loader/http/onplaybackprogress.cpp - ./src/loader/http/getplugins.cpp - ./src/loader/http/uninstallplugin.cpp - ./src/loader/http/uninstallpluginbyversion.cpp - ./src/loader/http/disableplugin.cpp - ./src/loader/http/enableplugin.cpp - ./src/loader/http/getpluginimage.cpp - ./src/loader/http/getpluginconfiguration.cpp - ./src/loader/http/updatepluginconfiguration.cpp - ./src/loader/http/getpluginmanifest.cpp - ./src/loader/http/updatepluginsecurityinfo.cpp - ./src/loader/http/activate.cpp - ./src/loader/http/authorize.cpp - ./src/loader/http/available.cpp - ./src/loader/http/connect.cpp - ./src/loader/http/deauthorize.cpp - ./src/loader/http/initiate.cpp - ./src/loader/http/getstatus.cpp - ./src/loader/http/getremoteimage.cpp - ./src/loader/http/getremoteimages.cpp - ./src/loader/http/downloadremoteimage.cpp - ./src/loader/http/getremoteimageproviders.cpp - ./src/loader/http/gettasks.cpp - ./src/loader/http/gettask.cpp - ./src/loader/http/updatetask.cpp - ./src/loader/http/starttask.cpp - ./src/loader/http/stoptask.cpp - ./src/loader/http/get.cpp - ./src/loader/http/getpasswordresetproviders.cpp - ./src/loader/http/getauthproviders.cpp - ./src/loader/http/getsessions.cpp - ./src/loader/http/sendfullgeneralcommand.cpp - ./src/loader/http/sendgeneralcommand.cpp - ./src/loader/http/sendmessagecommand.cpp - ./src/loader/http/play.cpp - ./src/loader/http/sendplaystatecommand.cpp - ./src/loader/http/sendsystemcommand.cpp - ./src/loader/http/addusertosession.cpp - ./src/loader/http/removeuserfromsession.cpp - ./src/loader/http/displaycontent.cpp - ./src/loader/http/postcapabilities.cpp - ./src/loader/http/postfullcapabilities.cpp - ./src/loader/http/reportsessionended.cpp - ./src/loader/http/reportviewing.cpp - ./src/loader/http/completewizard.cpp - ./src/loader/http/getstartupconfiguration.cpp - ./src/loader/http/updateinitialconfiguration.cpp - ./src/loader/http/getfirstuser_2.cpp - ./src/loader/http/setremoteaccess.cpp - ./src/loader/http/getfirstuser.cpp - ./src/loader/http/updatestartupuser.cpp - ./src/loader/http/getstudios.cpp - ./src/loader/http/getstudio.cpp - ./src/loader/http/getfallbackfontlist.cpp - ./src/loader/http/getfallbackfont.cpp - ./src/loader/http/searchremotesubtitles.cpp - ./src/loader/http/downloadremotesubtitles.cpp - ./src/loader/http/getremotesubtitles.cpp - ./src/loader/http/getsubtitlewithticks.cpp - ./src/loader/http/getsubtitle.cpp - ./src/loader/http/getsubtitleplaylist.cpp - ./src/loader/http/uploadsubtitle.cpp - ./src/loader/http/deletesubtitle.cpp - ./src/loader/http/getsuggestions.cpp - ./src/loader/http/syncplaybuffering.cpp - ./src/loader/http/syncplayjoingroup.cpp - ./src/loader/http/syncplayleavegroup.cpp - ./src/loader/http/syncplaygetgroups.cpp - ./src/loader/http/syncplaymoveplaylistitem.cpp - ./src/loader/http/syncplaycreategroup.cpp - ./src/loader/http/syncplaynextitem.cpp - ./src/loader/http/syncplaypause.cpp - ./src/loader/http/syncplayping.cpp - ./src/loader/http/syncplaypreviousitem.cpp - ./src/loader/http/syncplayqueue.cpp - ./src/loader/http/syncplayready.cpp - ./src/loader/http/syncplayremovefromplaylist.cpp - ./src/loader/http/syncplayseek.cpp - ./src/loader/http/syncplaysetignorewait.cpp - ./src/loader/http/syncplaysetnewqueue.cpp - ./src/loader/http/syncplaysetplaylistitem.cpp - ./src/loader/http/syncplaysetrepeatmode.cpp - ./src/loader/http/syncplaysetshufflemode.cpp - ./src/loader/http/syncplaystop.cpp - ./src/loader/http/syncplayunpause.cpp - ./src/loader/http/getendpointinfo.cpp - ./src/loader/http/getsysteminfo.cpp - ./src/loader/http/getpublicsysteminfo.cpp - ./src/loader/http/getserverlogs.cpp - ./src/loader/http/getlogfile.cpp - ./src/loader/http/getpingsystem.cpp - ./src/loader/http/postpingsystem.cpp - ./src/loader/http/restartapplication.cpp - ./src/loader/http/shutdownapplication.cpp - ./src/loader/http/getwakeonlaninfo.cpp - ./src/loader/http/getutctime.cpp - ./src/loader/http/gettrailers.cpp - ./src/loader/http/getepisodes.cpp - ./src/loader/http/getseasons.cpp - ./src/loader/http/getnextup.cpp - ./src/loader/http/getupcomingepisodes.cpp - ./src/loader/http/getuniversalaudiostream.cpp - ./src/loader/http/headuniversalaudiostream.cpp - ./src/loader/http/getusers.cpp - ./src/loader/http/getuserbyid.cpp - ./src/loader/http/deleteuser.cpp - ./src/loader/http/updateuser.cpp - ./src/loader/http/authenticateuser.cpp - ./src/loader/http/updateuserconfiguration.cpp - ./src/loader/http/updateusereasypassword.cpp - ./src/loader/http/updateuserpassword.cpp - ./src/loader/http/updateuserpolicy.cpp - ./src/loader/http/authenticateuserbyname.cpp - ./src/loader/http/authenticatewithquickconnect.cpp - ./src/loader/http/forgotpassword.cpp - ./src/loader/http/forgotpasswordpin.cpp - ./src/loader/http/getcurrentuser.cpp - ./src/loader/http/createuserbyname.cpp - ./src/loader/http/getpublicusers.cpp - ./src/loader/http/markfavoriteitem.cpp - ./src/loader/http/unmarkfavoriteitem.cpp - ./src/loader/http/getitem.cpp - ./src/loader/http/getintros.cpp - ./src/loader/http/getlocaltrailers.cpp - ./src/loader/http/deleteuseritemrating.cpp - ./src/loader/http/updateuseritemrating.cpp - ./src/loader/http/getspecialfeatures.cpp - ./src/loader/http/getlatestmedia.cpp - ./src/loader/http/getrootfolder.cpp - ./src/loader/http/getgroupingoptions.cpp - ./src/loader/http/getuserviews.cpp - ./src/loader/http/getattachment.cpp - ./src/loader/http/getlivehlsstream.cpp - ./src/loader/http/getvideostreambycontainer.cpp - ./src/loader/http/headvideostreambycontainer.cpp - ./src/loader/http/getadditionalpart.cpp - ./src/loader/http/deletealternatesources.cpp - ./src/loader/http/getvideostream.cpp - ./src/loader/http/headvideostream.cpp - ./src/loader/http/mergeversions.cpp - ./src/loader/http/getyears.cpp - ./src/loader/http/getyear.cpp + ./src/loader/http/subtitle.cpp + ./src/loader/http/activitylog.cpp + ./src/loader/http/library.cpp + ./src/loader/http/items.cpp + ./src/loader/http/dynamichls.cpp + ./src/loader/http/videoattachments.cpp + ./src/loader/http/itemupdate.cpp + ./src/loader/http/audio.cpp + ./src/loader/http/persons.cpp + ./src/loader/http/collection.cpp + ./src/loader/http/dlnaserver.cpp + ./src/loader/http/movies.cpp + ./src/loader/http/dashboard.cpp + ./src/loader/http/hlssegment.cpp + ./src/loader/http/branding.cpp + ./src/loader/http/startup.cpp + ./src/loader/http/channels.cpp + ./src/loader/http/localization.cpp + ./src/loader/http/videohls.cpp + ./src/loader/http/itemlookup.cpp + ./src/loader/http/system.cpp + ./src/loader/http/mediainfo.cpp + ./src/loader/http/genres.cpp + ./src/loader/http/syncplay.cpp + ./src/loader/http/universalaudio.cpp + ./src/loader/http/suggestions.cpp + ./src/loader/http/itemrefresh.cpp + ./src/loader/http/scheduledtasks.cpp + ./src/loader/http/imagebyname.cpp + ./src/loader/http/musicgenres.cpp + ./src/loader/http/user.cpp + ./src/loader/http/playlists.cpp + ./src/loader/http/userviews.cpp + ./src/loader/http/studios.cpp + ./src/loader/http/years.cpp + ./src/loader/http/trailers.cpp + ./src/loader/http/image.cpp + ./src/loader/http/librarystructure.cpp + ./src/loader/http/notifications.cpp + ./src/loader/http/videos.cpp + ./src/loader/http/package.cpp + ./src/loader/http/artists.cpp + ./src/loader/http/playstate.cpp + ./src/loader/http/quickconnect.cpp + ./src/loader/http/remoteimage.cpp + ./src/loader/http/userlibrary.cpp + ./src/loader/http/dlna.cpp + ./src/loader/http/configuration.cpp + ./src/loader/http/livetv.cpp + ./src/loader/http/timesync.cpp + ./src/loader/http/session.cpp + ./src/loader/http/displaypreferences.cpp + ./src/loader/http/instantmix.cpp + ./src/loader/http/apikey.cpp + ./src/loader/http/devices.cpp + ./src/loader/http/filter.cpp + ./src/loader/http/tvshows.cpp + ./src/loader/http/plugins.cpp + ./src/loader/http/environment.cpp + ./src/loader/http/search.cpp ./src/loader/requesttypes.cpp) diff --git a/core/codegen/loader_header.hbs b/core/codegen/loader_header.hbs index aa764c4..76b6aab 100644 --- a/core/codegen/loader_header.hbs +++ b/core/codegen/loader_header.hbs @@ -1,21 +1,23 @@ -{{#if endpoint.hasSuccessResponse}} - using namespace {{dtoNamespace}}; -{{#if endpoint.description.length > 0}} +{{#each endpoints as |e|}} +{{#if e.endpoint.hasSuccessResponse}} + +{{#if e.endpoint.description.length > 0}} /** - * @brief {{endpoint.description}} + * @brief {{e.endpoint.description}} */ {{/if}} -class {{className}}Loader : public {{supportNamespace}}::HttpLoader<{{endpoint.resultType}}, {{endpoint.parameterType}}> { +class {{e.className}}Loader : public {{supportNamespace}}::HttpLoader<{{e.endpoint.resultType}}, {{e.endpoint.parameterType}}> { public: - explicit {{className}}Loader(ApiClient *apiClient = nullptr); + explicit {{e.className}}Loader(ApiClient *apiClient = nullptr); protected: - QString path(const {{endpoint.parameterType}}& parameters) const override; - QUrlQuery query(const {{endpoint.parameterType}}& parameters) const override; + QString path(const {{e.endpoint.parameterType}}& parameters) const override; + QUrlQuery query(const {{e.endpoint.parameterType}}& parameters) const override; }; {{/if}} +{{/each}} diff --git a/core/codegen/loader_implementation.hbs b/core/codegen/loader_implementation.hbs index 27cb06a..42b2103 100644 --- a/core/codegen/loader_implementation.hbs +++ b/core/codegen/loader_implementation.hbs @@ -1,29 +1,31 @@ -{{#if endpoint.hasSuccessResponse}} using namespace {{dtoNamespace}}; -{{className}}Loader::{{className}}Loader(ApiClient *apiClient) - : {{supportNamespace}}::HttpLoader<{{endpoint.resultType}}, {{endpoint.parameterType}}>(apiClient) {} +{{#each endpoints as |e|}} +{{#if e.endpoint.hasSuccessResponse}} -QString {{className}}Loader::path(const {{endpoint.parameterType}} ¶ms) const { +{{e.className}}Loader::{{e.className}}Loader(ApiClient *apiClient) + : {{supportNamespace}}::HttpLoader<{{e.endpoint.resultType}}, {{e.endpoint.parameterType}}>(apiClient) {} + +QString {{e.className}}Loader::path(const {{e.endpoint.parameterType}} ¶ms) const { Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - return {{pathStringInterpolation "params"}}; + return {{e.pathStringInterpolation "params"}}; } -QUrlQuery {{className}}Loader::query(const {{endpoint.parameterType}} ¶ms) const { +QUrlQuery {{e.className}}Loader::query(const {{e.endpoint.parameterType}} ¶ms) const { Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings QUrlQuery result; - {{#each endpoint.requiredQueryParameters as |p|}} + {{#each e.endpoint.requiredQueryParameters as |p|}} result.addQueryItem("{{p.name}}", Support::toString<{{p.type.typeNameWithQualifiers}}>(params.{{p.type.name}}())); {{/each}} // Optional parameters - {{#each endpoint.optionalQueryParameters as |p|}} + {{#each e.endpoint.optionalQueryParameters as |p|}} if (!params.{{p.type.name}}Null()) { result.addQueryItem("{{p.name}}", Support::toString<{{p.type.typeNameWithQualifiers}}>(params.{{p.type.name}}())); } @@ -34,3 +36,4 @@ QUrlQuery {{className}}Loader::query(const {{endpoint.parameterType}} ¶ms) c } {{/if}} +{{/each}} diff --git a/core/include/JellyfinQt/loader/http/getlogentries.h b/core/include/JellyfinQt/loader/http/activitylog.h similarity index 93% rename from core/include/JellyfinQt/loader/http/getlogentries.h rename to core/include/JellyfinQt/loader/http/activitylog.h index b9140e4..7611474 100644 --- a/core/include/JellyfinQt/loader/http/getlogentries.h +++ b/core/include/JellyfinQt/loader/http/activitylog.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETLOGENTRIES_H -#define JELLYFIN_LOADER_HTTP_GETLOGENTRIES_H +#ifndef JELLYFIN_LOADER_HTTP_ACTIVITYLOG_H +#define JELLYFIN_LOADER_HTTP_ACTIVITYLOG_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets activity log entries. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETLOGENTRIES_H +#endif // JELLYFIN_LOADER_HTTP_ACTIVITYLOG_H diff --git a/core/include/JellyfinQt/loader/http/addlistingprovider.h b/core/include/JellyfinQt/loader/http/addlistingprovider.h deleted file mode 100644 index fa574d2..0000000 --- a/core/include/JellyfinQt/loader/http/addlistingprovider.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_ADDLISTINGPROVIDER_H -#define JELLYFIN_LOADER_HTTP_ADDLISTINGPROVIDER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/listingsproviderinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Adds a listings provider. - */ - -class AddListingProviderLoader : public Jellyfin::Support::HttpLoader { -public: - explicit AddListingProviderLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const AddListingProviderParams& parameters) const override; - QUrlQuery query(const AddListingProviderParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_ADDLISTINGPROVIDER_H diff --git a/core/include/JellyfinQt/loader/http/addtunerhost.h b/core/include/JellyfinQt/loader/http/addtunerhost.h deleted file mode 100644 index 3052573..0000000 --- a/core/include/JellyfinQt/loader/http/addtunerhost.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_ADDTUNERHOST_H -#define JELLYFIN_LOADER_HTTP_ADDTUNERHOST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/tunerhostinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Adds a tuner host. - */ - -class AddTunerHostLoader : public Jellyfin::Support::HttpLoader { -public: - explicit AddTunerHostLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const AddTunerHostParams& parameters) const override; - QUrlQuery query(const AddTunerHostParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_ADDTUNERHOST_H diff --git a/core/include/JellyfinQt/loader/http/addusertosession.h b/core/include/JellyfinQt/loader/http/addusertosession.h deleted file mode 100644 index a899c63..0000000 --- a/core/include/JellyfinQt/loader/http/addusertosession.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_ADDUSERTOSESSION_H -#define JELLYFIN_LOADER_HTTP_ADDUSERTOSESSION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_ADDUSERTOSESSION_H diff --git a/core/include/JellyfinQt/loader/http/addvirtualfolder.h b/core/include/JellyfinQt/loader/http/addvirtualfolder.h deleted file mode 100644 index 6c2809b..0000000 --- a/core/include/JellyfinQt/loader/http/addvirtualfolder.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_ADDVIRTUALFOLDER_H -#define JELLYFIN_LOADER_HTTP_ADDVIRTUALFOLDER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_ADDVIRTUALFOLDER_H diff --git a/core/include/JellyfinQt/loader/http/getkeys.h b/core/include/JellyfinQt/loader/http/apikey.h similarity index 94% rename from core/include/JellyfinQt/loader/http/getkeys.h rename to core/include/JellyfinQt/loader/http/apikey.h index 9780477..e3fe1d9 100644 --- a/core/include/JellyfinQt/loader/http/getkeys.h +++ b/core/include/JellyfinQt/loader/http/apikey.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETKEYS_H -#define JELLYFIN_LOADER_HTTP_GETKEYS_H +#ifndef JELLYFIN_LOADER_HTTP_APIKEY_H +#define JELLYFIN_LOADER_HTTP_APIKEY_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Get all keys. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETKEYS_H +#endif // JELLYFIN_LOADER_HTTP_APIKEY_H diff --git a/core/include/JellyfinQt/loader/http/applysearchcriteria.h b/core/include/JellyfinQt/loader/http/applysearchcriteria.h deleted file mode 100644 index da4e948..0000000 --- a/core/include/JellyfinQt/loader/http/applysearchcriteria.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_APPLYSEARCHCRITERIA_H -#define JELLYFIN_LOADER_HTTP_APPLYSEARCHCRITERIA_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_APPLYSEARCHCRITERIA_H diff --git a/core/include/JellyfinQt/loader/http/getalbumartists.h b/core/include/JellyfinQt/loader/http/artists.h similarity index 68% rename from core/include/JellyfinQt/loader/http/getalbumartists.h rename to core/include/JellyfinQt/loader/http/artists.h index 3b2596a..6be63c0 100644 --- a/core/include/JellyfinQt/loader/http/getalbumartists.h +++ b/core/include/JellyfinQt/loader/http/artists.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETALBUMARTISTS_H -#define JELLYFIN_LOADER_HTTP_GETALBUMARTISTS_H +#ifndef JELLYFIN_LOADER_HTTP_ARTISTS_H +#define JELLYFIN_LOADER_HTTP_ARTISTS_H #include @@ -36,6 +36,8 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { // Forward declaration @@ -45,8 +47,32 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets all artists from a given item, folder, or the entire library. + */ + +class GetArtistsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetArtistsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetArtistsParams& parameters) const override; + QUrlQuery query(const GetArtistsParams& parameters) const override; +}; +/** + * @brief Gets an artist by name. + */ + +class GetArtistByNameLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetArtistByNameLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetArtistByNameParams& parameters) const override; + QUrlQuery query(const GetArtistByNameParams& parameters) const override; +}; /** * @brief Gets all album artists from a given item, folder, or the entire library. */ @@ -64,4 +90,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETALBUMARTISTS_H +#endif // JELLYFIN_LOADER_HTTP_ARTISTS_H diff --git a/core/include/JellyfinQt/loader/http/activate.h b/core/include/JellyfinQt/loader/http/audio.h similarity index 91% rename from core/include/JellyfinQt/loader/http/activate.h rename to core/include/JellyfinQt/loader/http/audio.h index 00de23c..b4c2bdc 100644 --- a/core/include/JellyfinQt/loader/http/activate.h +++ b/core/include/JellyfinQt/loader/http/audio.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_ACTIVATE_H -#define JELLYFIN_LOADER_HTTP_ACTIVATE_H +#ifndef JELLYFIN_LOADER_HTTP_AUDIO_H +#define JELLYFIN_LOADER_HTTP_AUDIO_H #include @@ -44,10 +44,11 @@ namespace Jellyfin { namespace Loader { namespace HTTP { +using namespace Jellyfin::DTO; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_ACTIVATE_H +#endif // JELLYFIN_LOADER_HTTP_AUDIO_H diff --git a/core/include/JellyfinQt/loader/http/authenticateuser.h b/core/include/JellyfinQt/loader/http/authenticateuser.h deleted file mode 100644 index 1677561..0000000 --- a/core/include/JellyfinQt/loader/http/authenticateuser.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_AUTHENTICATEUSER_H -#define JELLYFIN_LOADER_HTTP_AUTHENTICATEUSER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/authenticationresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Authenticates a user. - */ - -class AuthenticateUserLoader : public Jellyfin::Support::HttpLoader { -public: - explicit AuthenticateUserLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const AuthenticateUserParams& parameters) const override; - QUrlQuery query(const AuthenticateUserParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_AUTHENTICATEUSER_H diff --git a/core/include/JellyfinQt/loader/http/authenticateuserbyname.h b/core/include/JellyfinQt/loader/http/authenticateuserbyname.h deleted file mode 100644 index 7316b6e..0000000 --- a/core/include/JellyfinQt/loader/http/authenticateuserbyname.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_AUTHENTICATEUSERBYNAME_H -#define JELLYFIN_LOADER_HTTP_AUTHENTICATEUSERBYNAME_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/authenticationresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Authenticates a user by name. - */ - -class AuthenticateUserByNameLoader : public Jellyfin::Support::HttpLoader { -public: - explicit AuthenticateUserByNameLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const AuthenticateUserByNameParams& parameters) const override; - QUrlQuery query(const AuthenticateUserByNameParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_AUTHENTICATEUSERBYNAME_H diff --git a/core/include/JellyfinQt/loader/http/authenticatewithquickconnect.h b/core/include/JellyfinQt/loader/http/authenticatewithquickconnect.h deleted file mode 100644 index c30e300..0000000 --- a/core/include/JellyfinQt/loader/http/authenticatewithquickconnect.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_AUTHENTICATEWITHQUICKCONNECT_H -#define JELLYFIN_LOADER_HTTP_AUTHENTICATEWITHQUICKCONNECT_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/authenticationresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Authenticates a user with quick connect. - */ - -class AuthenticateWithQuickConnectLoader : public Jellyfin::Support::HttpLoader { -public: - explicit AuthenticateWithQuickConnectLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const AuthenticateWithQuickConnectParams& parameters) const override; - QUrlQuery query(const AuthenticateWithQuickConnectParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_AUTHENTICATEWITHQUICKCONNECT_H diff --git a/core/include/JellyfinQt/loader/http/authorize.h b/core/include/JellyfinQt/loader/http/authorize.h deleted file mode 100644 index be17de6..0000000 --- a/core/include/JellyfinQt/loader/http/authorize.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_AUTHORIZE_H -#define JELLYFIN_LOADER_HTTP_AUTHORIZE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Authorizes a pending quick connect request. - */ - -class AuthorizeLoader : public Jellyfin::Support::HttpLoader { -public: - explicit AuthorizeLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const AuthorizeParams& parameters) const override; - QUrlQuery query(const AuthorizeParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_AUTHORIZE_H diff --git a/core/include/JellyfinQt/loader/http/available.h b/core/include/JellyfinQt/loader/http/available.h deleted file mode 100644 index b6c7b33..0000000 --- a/core/include/JellyfinQt/loader/http/available.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_AVAILABLE_H -#define JELLYFIN_LOADER_HTTP_AVAILABLE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_AVAILABLE_H diff --git a/core/include/JellyfinQt/loader/http/getbrandingoptions.h b/core/include/JellyfinQt/loader/http/branding.h similarity index 70% rename from core/include/JellyfinQt/loader/http/getbrandingoptions.h rename to core/include/JellyfinQt/loader/http/branding.h index e5bedbe..a4d78d0 100644 --- a/core/include/JellyfinQt/loader/http/getbrandingoptions.h +++ b/core/include/JellyfinQt/loader/http/branding.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETBRANDINGOPTIONS_H -#define JELLYFIN_LOADER_HTTP_GETBRANDINGOPTIONS_H +#ifndef JELLYFIN_LOADER_HTTP_BRANDING_H +#define JELLYFIN_LOADER_HTTP_BRANDING_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets branding configuration. */ @@ -59,9 +59,33 @@ protected: QString path(const GetBrandingOptionsParams& parameters) const override; QUrlQuery query(const GetBrandingOptionsParams& parameters) const override; }; +/** + * @brief Gets branding css. + */ + +class GetBrandingCssLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetBrandingCssLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetBrandingCssParams& parameters) const override; + QUrlQuery query(const GetBrandingCssParams& parameters) const override; +}; +/** + * @brief Gets branding css. + */ + +class GetBrandingCss_2Loader : public Jellyfin::Support::HttpLoader { +public: + explicit GetBrandingCss_2Loader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetBrandingCss_2Params& parameters) const override; + QUrlQuery query(const GetBrandingCss_2Params& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETBRANDINGOPTIONS_H +#endif // JELLYFIN_LOADER_HTTP_BRANDING_H diff --git a/core/include/JellyfinQt/loader/http/cancelpackageinstallation.h b/core/include/JellyfinQt/loader/http/cancelpackageinstallation.h deleted file mode 100644 index 0c0797b..0000000 --- a/core/include/JellyfinQt/loader/http/cancelpackageinstallation.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CANCELPACKAGEINSTALLATION_H -#define JELLYFIN_LOADER_HTTP_CANCELPACKAGEINSTALLATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CANCELPACKAGEINSTALLATION_H diff --git a/core/include/JellyfinQt/loader/http/cancelseriestimer.h b/core/include/JellyfinQt/loader/http/cancelseriestimer.h deleted file mode 100644 index c61f89d..0000000 --- a/core/include/JellyfinQt/loader/http/cancelseriestimer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CANCELSERIESTIMER_H -#define JELLYFIN_LOADER_HTTP_CANCELSERIESTIMER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CANCELSERIESTIMER_H diff --git a/core/include/JellyfinQt/loader/http/canceltimer.h b/core/include/JellyfinQt/loader/http/canceltimer.h deleted file mode 100644 index 1f69a24..0000000 --- a/core/include/JellyfinQt/loader/http/canceltimer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CANCELTIMER_H -#define JELLYFIN_LOADER_HTTP_CANCELTIMER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CANCELTIMER_H diff --git a/core/include/JellyfinQt/loader/http/getlatestchannelitems.h b/core/include/JellyfinQt/loader/http/channels.h similarity index 53% rename from core/include/JellyfinQt/loader/http/getlatestchannelitems.h rename to core/include/JellyfinQt/loader/http/channels.h index 24da3e7..f6e3b5a 100644 --- a/core/include/JellyfinQt/loader/http/getlatestchannelitems.h +++ b/core/include/JellyfinQt/loader/http/channels.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETLATESTCHANNELITEMS_H -#define JELLYFIN_LOADER_HTTP_GETLATESTCHANNELITEMS_H +#ifndef JELLYFIN_LOADER_HTTP_CHANNELS_H +#define JELLYFIN_LOADER_HTTP_CHANNELS_H #include @@ -36,6 +36,10 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/channelfeatures.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/channelfeatures.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { // Forward declaration @@ -45,8 +49,56 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets available channels. + */ + +class GetChannelsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetChannelsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetChannelsParams& parameters) const override; + QUrlQuery query(const GetChannelsParams& parameters) const override; +}; +/** + * @brief Get channel features. + */ + +class GetChannelFeaturesLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetChannelFeaturesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetChannelFeaturesParams& parameters) const override; + QUrlQuery query(const GetChannelFeaturesParams& parameters) const override; +}; +/** + * @brief Get channel items. + */ + +class GetChannelItemsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetChannelItemsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetChannelItemsParams& parameters) const override; + QUrlQuery query(const GetChannelItemsParams& parameters) const override; +}; +/** + * @brief Get all channel features. + */ + +class GetAllChannelFeaturesLoader : public Jellyfin::Support::HttpLoader, GetAllChannelFeaturesParams> { +public: + explicit GetAllChannelFeaturesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetAllChannelFeaturesParams& parameters) const override; + QUrlQuery query(const GetAllChannelFeaturesParams& parameters) const override; +}; /** * @brief Gets latest channel items. */ @@ -64,4 +116,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETLATESTCHANNELITEMS_H +#endif // JELLYFIN_LOADER_HTTP_CHANNELS_H diff --git a/core/include/JellyfinQt/loader/http/closelivestream.h b/core/include/JellyfinQt/loader/http/closelivestream.h deleted file mode 100644 index b3c511a..0000000 --- a/core/include/JellyfinQt/loader/http/closelivestream.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CLOSELIVESTREAM_H -#define JELLYFIN_LOADER_HTTP_CLOSELIVESTREAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CLOSELIVESTREAM_H diff --git a/core/include/JellyfinQt/loader/http/createcollection.h b/core/include/JellyfinQt/loader/http/collection.h similarity index 93% rename from core/include/JellyfinQt/loader/http/createcollection.h rename to core/include/JellyfinQt/loader/http/collection.h index e6d66fa..6fb0dc2 100644 --- a/core/include/JellyfinQt/loader/http/createcollection.h +++ b/core/include/JellyfinQt/loader/http/collection.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_CREATECOLLECTION_H -#define JELLYFIN_LOADER_HTTP_CREATECOLLECTION_H +#ifndef JELLYFIN_LOADER_HTTP_COLLECTION_H +#define JELLYFIN_LOADER_HTTP_COLLECTION_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Creates a new collection. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_CREATECOLLECTION_H +#endif // JELLYFIN_LOADER_HTTP_COLLECTION_H diff --git a/core/include/JellyfinQt/loader/http/completewizard.h b/core/include/JellyfinQt/loader/http/completewizard.h deleted file mode 100644 index 2b8aff3..0000000 --- a/core/include/JellyfinQt/loader/http/completewizard.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_COMPLETEWIZARD_H -#define JELLYFIN_LOADER_HTTP_COMPLETEWIZARD_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_COMPLETEWIZARD_H diff --git a/core/include/JellyfinQt/loader/http/getdefaultmetadataoptions.h b/core/include/JellyfinQt/loader/http/configuration.h similarity index 68% rename from core/include/JellyfinQt/loader/http/getdefaultmetadataoptions.h rename to core/include/JellyfinQt/loader/http/configuration.h index 0d3356c..25d344b 100644 --- a/core/include/JellyfinQt/loader/http/getdefaultmetadataoptions.h +++ b/core/include/JellyfinQt/loader/http/configuration.h @@ -27,14 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETDEFAULTMETADATAOPTIONS_H -#define JELLYFIN_LOADER_HTTP_GETDEFAULTMETADATAOPTIONS_H +#ifndef JELLYFIN_LOADER_HTTP_CONFIGURATION_H +#define JELLYFIN_LOADER_HTTP_CONFIGURATION_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/serverconfiguration.h" #include "JellyfinQt/dto/metadataoptions.h" namespace Jellyfin { @@ -45,8 +46,32 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets application configuration. + */ + +class GetConfigurationLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetConfigurationLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetConfigurationParams& parameters) const override; + QUrlQuery query(const GetConfigurationParams& parameters) const override; +}; +/** + * @brief Gets a named configuration. + */ + +class GetNamedConfigurationLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetNamedConfigurationLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetNamedConfigurationParams& parameters) const override; + QUrlQuery query(const GetNamedConfigurationParams& parameters) const override; +}; /** * @brief Gets a default MetadataOptions object. */ @@ -64,4 +89,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETDEFAULTMETADATAOPTIONS_H +#endif // JELLYFIN_LOADER_HTTP_CONFIGURATION_H diff --git a/core/include/JellyfinQt/loader/http/createadminnotification.h b/core/include/JellyfinQt/loader/http/createadminnotification.h deleted file mode 100644 index 2ed1ecd..0000000 --- a/core/include/JellyfinQt/loader/http/createadminnotification.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CREATEADMINNOTIFICATION_H -#define JELLYFIN_LOADER_HTTP_CREATEADMINNOTIFICATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CREATEADMINNOTIFICATION_H diff --git a/core/include/JellyfinQt/loader/http/createkey.h b/core/include/JellyfinQt/loader/http/createkey.h deleted file mode 100644 index fb98537..0000000 --- a/core/include/JellyfinQt/loader/http/createkey.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CREATEKEY_H -#define JELLYFIN_LOADER_HTTP_CREATEKEY_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CREATEKEY_H diff --git a/core/include/JellyfinQt/loader/http/createplaylist.h b/core/include/JellyfinQt/loader/http/createplaylist.h deleted file mode 100644 index e95e460..0000000 --- a/core/include/JellyfinQt/loader/http/createplaylist.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CREATEPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_CREATEPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/playlistcreationresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Creates a new playlist. - */ - -class CreatePlaylistLoader : public Jellyfin::Support::HttpLoader { -public: - explicit CreatePlaylistLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const CreatePlaylistParams& parameters) const override; - QUrlQuery query(const CreatePlaylistParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CREATEPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/createprofile.h b/core/include/JellyfinQt/loader/http/createprofile.h deleted file mode 100644 index a76afe8..0000000 --- a/core/include/JellyfinQt/loader/http/createprofile.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CREATEPROFILE_H -#define JELLYFIN_LOADER_HTTP_CREATEPROFILE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CREATEPROFILE_H diff --git a/core/include/JellyfinQt/loader/http/createseriestimer.h b/core/include/JellyfinQt/loader/http/createseriestimer.h deleted file mode 100644 index b67525e..0000000 --- a/core/include/JellyfinQt/loader/http/createseriestimer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CREATESERIESTIMER_H -#define JELLYFIN_LOADER_HTTP_CREATESERIESTIMER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CREATESERIESTIMER_H diff --git a/core/include/JellyfinQt/loader/http/createtimer.h b/core/include/JellyfinQt/loader/http/createtimer.h deleted file mode 100644 index 4a98eb9..0000000 --- a/core/include/JellyfinQt/loader/http/createtimer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CREATETIMER_H -#define JELLYFIN_LOADER_HTTP_CREATETIMER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CREATETIMER_H diff --git a/core/include/JellyfinQt/loader/http/createuserbyname.h b/core/include/JellyfinQt/loader/http/createuserbyname.h deleted file mode 100644 index 20e021f..0000000 --- a/core/include/JellyfinQt/loader/http/createuserbyname.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_CREATEUSERBYNAME_H -#define JELLYFIN_LOADER_HTTP_CREATEUSERBYNAME_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/userdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Creates a user. - */ - -class CreateUserByNameLoader : public Jellyfin::Support::HttpLoader { -public: - explicit CreateUserByNameLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const CreateUserByNameParams& parameters) const override; - QUrlQuery query(const CreateUserByNameParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_CREATEUSERBYNAME_H diff --git a/core/include/JellyfinQt/loader/http/getconfigurationpages.h b/core/include/JellyfinQt/loader/http/dashboard.h similarity index 93% rename from core/include/JellyfinQt/loader/http/getconfigurationpages.h rename to core/include/JellyfinQt/loader/http/dashboard.h index 59e655f..a0c7081 100644 --- a/core/include/JellyfinQt/loader/http/getconfigurationpages.h +++ b/core/include/JellyfinQt/loader/http/dashboard.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETCONFIGURATIONPAGES_H -#define JELLYFIN_LOADER_HTTP_GETCONFIGURATIONPAGES_H +#ifndef JELLYFIN_LOADER_HTTP_DASHBOARD_H +#define JELLYFIN_LOADER_HTTP_DASHBOARD_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets the configuration pages. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETCONFIGURATIONPAGES_H +#endif // JELLYFIN_LOADER_HTTP_DASHBOARD_H diff --git a/core/include/JellyfinQt/loader/http/deauthorize.h b/core/include/JellyfinQt/loader/http/deauthorize.h deleted file mode 100644 index cdfdc3f..0000000 --- a/core/include/JellyfinQt/loader/http/deauthorize.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DEAUTHORIZE_H -#define JELLYFIN_LOADER_HTTP_DEAUTHORIZE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Deauthorize all quick connect devices for the current user. - */ - -class DeauthorizeLoader : public Jellyfin::Support::HttpLoader { -public: - explicit DeauthorizeLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const DeauthorizeParams& parameters) const override; - QUrlQuery query(const DeauthorizeParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DEAUTHORIZE_H diff --git a/core/include/JellyfinQt/loader/http/deletealternatesources.h b/core/include/JellyfinQt/loader/http/deletealternatesources.h deleted file mode 100644 index bede8cd..0000000 --- a/core/include/JellyfinQt/loader/http/deletealternatesources.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEALTERNATESOURCES_H -#define JELLYFIN_LOADER_HTTP_DELETEALTERNATESOURCES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEALTERNATESOURCES_H diff --git a/core/include/JellyfinQt/loader/http/deletedevice.h b/core/include/JellyfinQt/loader/http/deletedevice.h deleted file mode 100644 index f2beada..0000000 --- a/core/include/JellyfinQt/loader/http/deletedevice.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEDEVICE_H -#define JELLYFIN_LOADER_HTTP_DELETEDEVICE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEDEVICE_H diff --git a/core/include/JellyfinQt/loader/http/deleteitem.h b/core/include/JellyfinQt/loader/http/deleteitem.h deleted file mode 100644 index 1aed7c7..0000000 --- a/core/include/JellyfinQt/loader/http/deleteitem.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEITEM_H -#define JELLYFIN_LOADER_HTTP_DELETEITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEITEM_H diff --git a/core/include/JellyfinQt/loader/http/deleteitemimage.h b/core/include/JellyfinQt/loader/http/deleteitemimage.h deleted file mode 100644 index f28d79d..0000000 --- a/core/include/JellyfinQt/loader/http/deleteitemimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEITEMIMAGE_H -#define JELLYFIN_LOADER_HTTP_DELETEITEMIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEITEMIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/deleteitemimagebyindex.h b/core/include/JellyfinQt/loader/http/deleteitemimagebyindex.h deleted file mode 100644 index 6093a5a..0000000 --- a/core/include/JellyfinQt/loader/http/deleteitemimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEITEMIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_DELETEITEMIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEITEMIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/deleteitems.h b/core/include/JellyfinQt/loader/http/deleteitems.h deleted file mode 100644 index a6fc16a..0000000 --- a/core/include/JellyfinQt/loader/http/deleteitems.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEITEMS_H -#define JELLYFIN_LOADER_HTTP_DELETEITEMS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEITEMS_H diff --git a/core/include/JellyfinQt/loader/http/deletelistingprovider.h b/core/include/JellyfinQt/loader/http/deletelistingprovider.h deleted file mode 100644 index 908de0c..0000000 --- a/core/include/JellyfinQt/loader/http/deletelistingprovider.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETELISTINGPROVIDER_H -#define JELLYFIN_LOADER_HTTP_DELETELISTINGPROVIDER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETELISTINGPROVIDER_H diff --git a/core/include/JellyfinQt/loader/http/deleteprofile.h b/core/include/JellyfinQt/loader/http/deleteprofile.h deleted file mode 100644 index c9e2471..0000000 --- a/core/include/JellyfinQt/loader/http/deleteprofile.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEPROFILE_H -#define JELLYFIN_LOADER_HTTP_DELETEPROFILE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEPROFILE_H diff --git a/core/include/JellyfinQt/loader/http/deleterecording.h b/core/include/JellyfinQt/loader/http/deleterecording.h deleted file mode 100644 index fe867fb..0000000 --- a/core/include/JellyfinQt/loader/http/deleterecording.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETERECORDING_H -#define JELLYFIN_LOADER_HTTP_DELETERECORDING_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETERECORDING_H diff --git a/core/include/JellyfinQt/loader/http/deletesubtitle.h b/core/include/JellyfinQt/loader/http/deletesubtitle.h deleted file mode 100644 index 38e7fce..0000000 --- a/core/include/JellyfinQt/loader/http/deletesubtitle.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETESUBTITLE_H -#define JELLYFIN_LOADER_HTTP_DELETESUBTITLE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETESUBTITLE_H diff --git a/core/include/JellyfinQt/loader/http/deletetunerhost.h b/core/include/JellyfinQt/loader/http/deletetunerhost.h deleted file mode 100644 index 05ea43b..0000000 --- a/core/include/JellyfinQt/loader/http/deletetunerhost.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETETUNERHOST_H -#define JELLYFIN_LOADER_HTTP_DELETETUNERHOST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETETUNERHOST_H diff --git a/core/include/JellyfinQt/loader/http/deleteuser.h b/core/include/JellyfinQt/loader/http/deleteuser.h deleted file mode 100644 index 86abe7a..0000000 --- a/core/include/JellyfinQt/loader/http/deleteuser.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEUSER_H -#define JELLYFIN_LOADER_HTTP_DELETEUSER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEUSER_H diff --git a/core/include/JellyfinQt/loader/http/deleteuserimage.h b/core/include/JellyfinQt/loader/http/deleteuserimage.h deleted file mode 100644 index aa53f39..0000000 --- a/core/include/JellyfinQt/loader/http/deleteuserimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEUSERIMAGE_H -#define JELLYFIN_LOADER_HTTP_DELETEUSERIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEUSERIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/deleteuserimagebyindex.h b/core/include/JellyfinQt/loader/http/deleteuserimagebyindex.h deleted file mode 100644 index 00a3d5e..0000000 --- a/core/include/JellyfinQt/loader/http/deleteuserimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEUSERIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_DELETEUSERIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEUSERIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/deleteuseritemrating.h b/core/include/JellyfinQt/loader/http/deleteuseritemrating.h deleted file mode 100644 index 2551a2e..0000000 --- a/core/include/JellyfinQt/loader/http/deleteuseritemrating.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DELETEUSERITEMRATING_H -#define JELLYFIN_LOADER_HTTP_DELETEUSERITEMRATING_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/useritemdatadto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Deletes a user's saved personal rating for an item. - */ - -class DeleteUserItemRatingLoader : public Jellyfin::Support::HttpLoader { -public: - explicit DeleteUserItemRatingLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const DeleteUserItemRatingParams& parameters) const override; - QUrlQuery query(const DeleteUserItemRatingParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DELETEUSERITEMRATING_H diff --git a/core/include/JellyfinQt/loader/http/getdeviceoptions.h b/core/include/JellyfinQt/loader/http/devices.h similarity index 69% rename from core/include/JellyfinQt/loader/http/getdeviceoptions.h rename to core/include/JellyfinQt/loader/http/devices.h index 6a347c0..d585611 100644 --- a/core/include/JellyfinQt/loader/http/getdeviceoptions.h +++ b/core/include/JellyfinQt/loader/http/devices.h @@ -27,14 +27,16 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETDEVICEOPTIONS_H -#define JELLYFIN_LOADER_HTTP_GETDEVICEOPTIONS_H +#ifndef JELLYFIN_LOADER_HTTP_DEVICES_H +#define JELLYFIN_LOADER_HTTP_DEVICES_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/deviceinfoqueryresult.h" +#include "JellyfinQt/dto/deviceinfo.h" #include "JellyfinQt/dto/deviceoptions.h" namespace Jellyfin { @@ -45,8 +47,32 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Get Devices. + */ + +class GetDevicesLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetDevicesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetDevicesParams& parameters) const override; + QUrlQuery query(const GetDevicesParams& parameters) const override; +}; +/** + * @brief Get info for a device. + */ + +class GetDeviceInfoLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetDeviceInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetDeviceInfoParams& parameters) const override; + QUrlQuery query(const GetDeviceInfoParams& parameters) const override; +}; /** * @brief Get options for a device. */ @@ -64,4 +90,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETDEVICEOPTIONS_H +#endif // JELLYFIN_LOADER_HTTP_DEVICES_H diff --git a/core/include/JellyfinQt/loader/http/disableplugin.h b/core/include/JellyfinQt/loader/http/disableplugin.h deleted file mode 100644 index 99f0d50..0000000 --- a/core/include/JellyfinQt/loader/http/disableplugin.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DISABLEPLUGIN_H -#define JELLYFIN_LOADER_HTTP_DISABLEPLUGIN_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DISABLEPLUGIN_H diff --git a/core/include/JellyfinQt/loader/http/discovertuners.h b/core/include/JellyfinQt/loader/http/discovertuners.h deleted file mode 100644 index 219ca03..0000000 --- a/core/include/JellyfinQt/loader/http/discovertuners.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DISCOVERTUNERS_H -#define JELLYFIN_LOADER_HTTP_DISCOVERTUNERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/tunerhostinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Discover tuners. - */ - -class DiscoverTunersLoader : public Jellyfin::Support::HttpLoader, DiscoverTunersParams> { -public: - explicit DiscoverTunersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const DiscoverTunersParams& parameters) const override; - QUrlQuery query(const DiscoverTunersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DISCOVERTUNERS_H diff --git a/core/include/JellyfinQt/loader/http/discvovertuners.h b/core/include/JellyfinQt/loader/http/discvovertuners.h deleted file mode 100644 index 4eb7d97..0000000 --- a/core/include/JellyfinQt/loader/http/discvovertuners.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DISCVOVERTUNERS_H -#define JELLYFIN_LOADER_HTTP_DISCVOVERTUNERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/tunerhostinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Discover tuners. - */ - -class DiscvoverTunersLoader : public Jellyfin::Support::HttpLoader, DiscvoverTunersParams> { -public: - explicit DiscvoverTunersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const DiscvoverTunersParams& parameters) const override; - QUrlQuery query(const DiscvoverTunersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DISCVOVERTUNERS_H diff --git a/core/include/JellyfinQt/loader/http/displaycontent.h b/core/include/JellyfinQt/loader/http/displaycontent.h deleted file mode 100644 index 1be80f2..0000000 --- a/core/include/JellyfinQt/loader/http/displaycontent.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DISPLAYCONTENT_H -#define JELLYFIN_LOADER_HTTP_DISPLAYCONTENT_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DISPLAYCONTENT_H diff --git a/core/include/JellyfinQt/loader/http/getdisplaypreferences.h b/core/include/JellyfinQt/loader/http/displaypreferences.h similarity index 92% rename from core/include/JellyfinQt/loader/http/getdisplaypreferences.h rename to core/include/JellyfinQt/loader/http/displaypreferences.h index d26fbaf..a2734b2 100644 --- a/core/include/JellyfinQt/loader/http/getdisplaypreferences.h +++ b/core/include/JellyfinQt/loader/http/displaypreferences.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETDISPLAYPREFERENCES_H -#define JELLYFIN_LOADER_HTTP_GETDISPLAYPREFERENCES_H +#ifndef JELLYFIN_LOADER_HTTP_DISPLAYPREFERENCES_H +#define JELLYFIN_LOADER_HTTP_DISPLAYPREFERENCES_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Get Display Preferences. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETDISPLAYPREFERENCES_H +#endif // JELLYFIN_LOADER_HTTP_DISPLAYPREFERENCES_H diff --git a/core/include/JellyfinQt/loader/http/getdefaultprofile.h b/core/include/JellyfinQt/loader/http/dlna.h similarity index 68% rename from core/include/JellyfinQt/loader/http/getdefaultprofile.h rename to core/include/JellyfinQt/loader/http/dlna.h index 17c21e3..a54c208 100644 --- a/core/include/JellyfinQt/loader/http/getdefaultprofile.h +++ b/core/include/JellyfinQt/loader/http/dlna.h @@ -27,14 +27,16 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETDEFAULTPROFILE_H -#define JELLYFIN_LOADER_HTTP_GETDEFAULTPROFILE_H +#ifndef JELLYFIN_LOADER_HTTP_DLNA_H +#define JELLYFIN_LOADER_HTTP_DLNA_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/deviceprofileinfo.h" +#include "JellyfinQt/dto/deviceprofile.h" #include "JellyfinQt/dto/deviceprofile.h" namespace Jellyfin { @@ -45,8 +47,32 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Get profile infos. + */ + +class GetProfileInfosLoader : public Jellyfin::Support::HttpLoader, GetProfileInfosParams> { +public: + explicit GetProfileInfosLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetProfileInfosParams& parameters) const override; + QUrlQuery query(const GetProfileInfosParams& parameters) const override; +}; +/** + * @brief Gets a single profile. + */ + +class GetProfileLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetProfileLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetProfileParams& parameters) const override; + QUrlQuery query(const GetProfileParams& parameters) const override; +}; /** * @brief Gets the default profile. */ @@ -64,4 +90,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETDEFAULTPROFILE_H +#endif // JELLYFIN_LOADER_HTTP_DLNA_H diff --git a/core/include/JellyfinQt/loader/http/postuserimage.h b/core/include/JellyfinQt/loader/http/dlnaserver.h similarity index 93% rename from core/include/JellyfinQt/loader/http/postuserimage.h rename to core/include/JellyfinQt/loader/http/dlnaserver.h index dc81c7f..ce854e7 100644 --- a/core/include/JellyfinQt/loader/http/postuserimage.h +++ b/core/include/JellyfinQt/loader/http/dlnaserver.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_POSTUSERIMAGE_H -#define JELLYFIN_LOADER_HTTP_POSTUSERIMAGE_H +#ifndef JELLYFIN_LOADER_HTTP_DLNASERVER_H +#define JELLYFIN_LOADER_HTTP_DLNASERVER_H #include @@ -44,10 +44,11 @@ namespace Jellyfin { namespace Loader { namespace HTTP { +using namespace Jellyfin::DTO; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_POSTUSERIMAGE_H +#endif // JELLYFIN_LOADER_HTTP_DLNASERVER_H diff --git a/core/include/JellyfinQt/loader/http/downloadremoteimage.h b/core/include/JellyfinQt/loader/http/downloadremoteimage.h deleted file mode 100644 index 96529a6..0000000 --- a/core/include/JellyfinQt/loader/http/downloadremoteimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DOWNLOADREMOTEIMAGE_H -#define JELLYFIN_LOADER_HTTP_DOWNLOADREMOTEIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DOWNLOADREMOTEIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/downloadremotesubtitles.h b/core/include/JellyfinQt/loader/http/downloadremotesubtitles.h deleted file mode 100644 index e33d5da..0000000 --- a/core/include/JellyfinQt/loader/http/downloadremotesubtitles.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_DOWNLOADREMOTESUBTITLES_H -#define JELLYFIN_LOADER_HTTP_DOWNLOADREMOTESUBTITLES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_DOWNLOADREMOTESUBTITLES_H diff --git a/core/include/JellyfinQt/loader/http/addmediapath.h b/core/include/JellyfinQt/loader/http/dynamichls.h similarity index 91% rename from core/include/JellyfinQt/loader/http/addmediapath.h rename to core/include/JellyfinQt/loader/http/dynamichls.h index 1363b80..2e349df 100644 --- a/core/include/JellyfinQt/loader/http/addmediapath.h +++ b/core/include/JellyfinQt/loader/http/dynamichls.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_ADDMEDIAPATH_H -#define JELLYFIN_LOADER_HTTP_ADDMEDIAPATH_H +#ifndef JELLYFIN_LOADER_HTTP_DYNAMICHLS_H +#define JELLYFIN_LOADER_HTTP_DYNAMICHLS_H #include @@ -44,10 +44,11 @@ namespace Jellyfin { namespace Loader { namespace HTTP { +using namespace Jellyfin::DTO; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_ADDMEDIAPATH_H +#endif // JELLYFIN_LOADER_HTTP_DYNAMICHLS_H diff --git a/core/include/JellyfinQt/loader/http/enableplugin.h b/core/include/JellyfinQt/loader/http/enableplugin.h deleted file mode 100644 index 7c01521..0000000 --- a/core/include/JellyfinQt/loader/http/enableplugin.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_ENABLEPLUGIN_H -#define JELLYFIN_LOADER_HTTP_ENABLEPLUGIN_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_ENABLEPLUGIN_H diff --git a/core/include/JellyfinQt/loader/http/getdefaultdirectorybrowser.h b/core/include/JellyfinQt/loader/http/environment.h similarity index 53% rename from core/include/JellyfinQt/loader/http/getdefaultdirectorybrowser.h rename to core/include/JellyfinQt/loader/http/environment.h index ed73db2..12bb971 100644 --- a/core/include/JellyfinQt/loader/http/getdefaultdirectorybrowser.h +++ b/core/include/JellyfinQt/loader/http/environment.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETDEFAULTDIRECTORYBROWSER_H -#define JELLYFIN_LOADER_HTTP_GETDEFAULTDIRECTORYBROWSER_H +#ifndef JELLYFIN_LOADER_HTTP_ENVIRONMENT_H +#define JELLYFIN_LOADER_HTTP_ENVIRONMENT_H #include @@ -36,6 +36,9 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/defaultdirectorybrowserinfodto.h" +#include "JellyfinQt/dto/filesystementryinfo.h" +#include "JellyfinQt/dto/filesystementryinfo.h" +#include "JellyfinQt/dto/filesystementryinfo.h" namespace Jellyfin { // Forward declaration @@ -45,8 +48,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Get Default directory browser. */ @@ -59,9 +62,57 @@ protected: QString path(const GetDefaultDirectoryBrowserParams& parameters) const override; QUrlQuery query(const GetDefaultDirectoryBrowserParams& parameters) const override; }; +/** + * @brief Gets the contents of a given directory in the file system. + */ + +class GetDirectoryContentsLoader : public Jellyfin::Support::HttpLoader, GetDirectoryContentsParams> { +public: + explicit GetDirectoryContentsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetDirectoryContentsParams& parameters) const override; + QUrlQuery query(const GetDirectoryContentsParams& parameters) const override; +}; +/** + * @brief Gets available drives from the server's file system. + */ + +class GetDrivesLoader : public Jellyfin::Support::HttpLoader, GetDrivesParams> { +public: + explicit GetDrivesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetDrivesParams& parameters) const override; + QUrlQuery query(const GetDrivesParams& parameters) const override; +}; +/** + * @brief Gets network paths. + */ + +class GetNetworkSharesLoader : public Jellyfin::Support::HttpLoader, GetNetworkSharesParams> { +public: + explicit GetNetworkSharesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetNetworkSharesParams& parameters) const override; + QUrlQuery query(const GetNetworkSharesParams& parameters) const override; +}; +/** + * @brief Gets the parent path of a given path. + */ + +class GetParentPathLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetParentPathLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetParentPathParams& parameters) const override; + QUrlQuery query(const GetParentPathParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETDEFAULTDIRECTORYBROWSER_H +#endif // JELLYFIN_LOADER_HTTP_ENVIRONMENT_H diff --git a/core/include/JellyfinQt/loader/http/getqueryfilterslegacy.h b/core/include/JellyfinQt/loader/http/filter.h similarity index 79% rename from core/include/JellyfinQt/loader/http/getqueryfilterslegacy.h rename to core/include/JellyfinQt/loader/http/filter.h index 159f03a..a8e5872 100644 --- a/core/include/JellyfinQt/loader/http/getqueryfilterslegacy.h +++ b/core/include/JellyfinQt/loader/http/filter.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETQUERYFILTERSLEGACY_H -#define JELLYFIN_LOADER_HTTP_GETQUERYFILTERSLEGACY_H +#ifndef JELLYFIN_LOADER_HTTP_FILTER_H +#define JELLYFIN_LOADER_HTTP_FILTER_H #include @@ -36,6 +36,7 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/queryfilterslegacy.h" +#include "JellyfinQt/dto/queryfilters.h" namespace Jellyfin { // Forward declaration @@ -45,8 +46,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets legacy query filters. */ @@ -59,9 +60,21 @@ protected: QString path(const GetQueryFiltersLegacyParams& parameters) const override; QUrlQuery query(const GetQueryFiltersLegacyParams& parameters) const override; }; +/** + * @brief Gets query filters. + */ + +class GetQueryFiltersLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetQueryFiltersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetQueryFiltersParams& parameters) const override; + QUrlQuery query(const GetQueryFiltersParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETQUERYFILTERSLEGACY_H +#endif // JELLYFIN_LOADER_HTTP_FILTER_H diff --git a/core/include/JellyfinQt/loader/http/forgotpassword.h b/core/include/JellyfinQt/loader/http/forgotpassword.h deleted file mode 100644 index 5bb8923..0000000 --- a/core/include/JellyfinQt/loader/http/forgotpassword.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_FORGOTPASSWORD_H -#define JELLYFIN_LOADER_HTTP_FORGOTPASSWORD_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/forgotpasswordresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Initiates the forgot password process for a local user. - */ - -class ForgotPasswordLoader : public Jellyfin::Support::HttpLoader { -public: - explicit ForgotPasswordLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const ForgotPasswordParams& parameters) const override; - QUrlQuery query(const ForgotPasswordParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_FORGOTPASSWORD_H diff --git a/core/include/JellyfinQt/loader/http/forgotpasswordpin.h b/core/include/JellyfinQt/loader/http/forgotpasswordpin.h deleted file mode 100644 index abc8ff6..0000000 --- a/core/include/JellyfinQt/loader/http/forgotpasswordpin.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_FORGOTPASSWORDPIN_H -#define JELLYFIN_LOADER_HTTP_FORGOTPASSWORDPIN_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/pinredeemresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Redeems a forgot password pin. - */ - -class ForgotPasswordPinLoader : public Jellyfin::Support::HttpLoader { -public: - explicit ForgotPasswordPinLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const ForgotPasswordPinParams& parameters) const override; - QUrlQuery query(const ForgotPasswordPinParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_FORGOTPASSWORDPIN_H diff --git a/core/include/JellyfinQt/loader/http/getgenres.h b/core/include/JellyfinQt/loader/http/genres.h similarity index 80% rename from core/include/JellyfinQt/loader/http/getgenres.h rename to core/include/JellyfinQt/loader/http/genres.h index e8b990a..86c726e 100644 --- a/core/include/JellyfinQt/loader/http/getgenres.h +++ b/core/include/JellyfinQt/loader/http/genres.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETGENRES_H -#define JELLYFIN_LOADER_HTTP_GETGENRES_H +#ifndef JELLYFIN_LOADER_HTTP_GENRES_H +#define JELLYFIN_LOADER_HTTP_GENRES_H #include @@ -36,6 +36,7 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { // Forward declaration @@ -45,8 +46,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets all genres from a given item, folder, or the entire library. */ @@ -59,9 +60,21 @@ protected: QString path(const GetGenresParams& parameters) const override; QUrlQuery query(const GetGenresParams& parameters) const override; }; +/** + * @brief Gets a genre, by name. + */ + +class GetGenreLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetGenreLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetGenreParams& parameters) const override; + QUrlQuery query(const GetGenreParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETGENRES_H +#endif // JELLYFIN_LOADER_HTTP_GENRES_H diff --git a/core/include/JellyfinQt/loader/http/getallchannelfeatures.h b/core/include/JellyfinQt/loader/http/getallchannelfeatures.h deleted file mode 100644 index b54d9d9..0000000 --- a/core/include/JellyfinQt/loader/http/getallchannelfeatures.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETALLCHANNELFEATURES_H -#define JELLYFIN_LOADER_HTTP_GETALLCHANNELFEATURES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/channelfeatures.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get all channel features. - */ - -class GetAllChannelFeaturesLoader : public Jellyfin::Support::HttpLoader, GetAllChannelFeaturesParams> { -public: - explicit GetAllChannelFeaturesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetAllChannelFeaturesParams& parameters) const override; - QUrlQuery query(const GetAllChannelFeaturesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETALLCHANNELFEATURES_H diff --git a/core/include/JellyfinQt/loader/http/getancestors.h b/core/include/JellyfinQt/loader/http/getancestors.h deleted file mode 100644 index 916f3f1..0000000 --- a/core/include/JellyfinQt/loader/http/getancestors.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETANCESTORS_H -#define JELLYFIN_LOADER_HTTP_GETANCESTORS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets all parents of an item. - */ - -class GetAncestorsLoader : public Jellyfin::Support::HttpLoader, GetAncestorsParams> { -public: - explicit GetAncestorsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetAncestorsParams& parameters) const override; - QUrlQuery query(const GetAncestorsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETANCESTORS_H diff --git a/core/include/JellyfinQt/loader/http/getartistbyname.h b/core/include/JellyfinQt/loader/http/getartistbyname.h deleted file mode 100644 index 154932e..0000000 --- a/core/include/JellyfinQt/loader/http/getartistbyname.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETARTISTBYNAME_H -#define JELLYFIN_LOADER_HTTP_GETARTISTBYNAME_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets an artist by name. - */ - -class GetArtistByNameLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetArtistByNameLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetArtistByNameParams& parameters) const override; - QUrlQuery query(const GetArtistByNameParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETARTISTBYNAME_H diff --git a/core/include/JellyfinQt/loader/http/getartistimage.h b/core/include/JellyfinQt/loader/http/getartistimage.h deleted file mode 100644 index 5963a46..0000000 --- a/core/include/JellyfinQt/loader/http/getartistimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETARTISTIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETARTISTIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETARTISTIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getartists.h b/core/include/JellyfinQt/loader/http/getartists.h deleted file mode 100644 index 34042d0..0000000 --- a/core/include/JellyfinQt/loader/http/getartists.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETARTISTS_H -#define JELLYFIN_LOADER_HTTP_GETARTISTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets all artists from a given item, folder, or the entire library. - */ - -class GetArtistsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetArtistsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetArtistsParams& parameters) const override; - QUrlQuery query(const GetArtistsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETARTISTS_H diff --git a/core/include/JellyfinQt/loader/http/getattachment.h b/core/include/JellyfinQt/loader/http/getattachment.h deleted file mode 100644 index 92c5510..0000000 --- a/core/include/JellyfinQt/loader/http/getattachment.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETATTACHMENT_H -#define JELLYFIN_LOADER_HTTP_GETATTACHMENT_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETATTACHMENT_H diff --git a/core/include/JellyfinQt/loader/http/getaudiostream.h b/core/include/JellyfinQt/loader/http/getaudiostream.h deleted file mode 100644 index e05c556..0000000 --- a/core/include/JellyfinQt/loader/http/getaudiostream.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETAUDIOSTREAM_H -#define JELLYFIN_LOADER_HTTP_GETAUDIOSTREAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETAUDIOSTREAM_H diff --git a/core/include/JellyfinQt/loader/http/getaudiostreambycontainer.h b/core/include/JellyfinQt/loader/http/getaudiostreambycontainer.h deleted file mode 100644 index 53cddf1..0000000 --- a/core/include/JellyfinQt/loader/http/getaudiostreambycontainer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETAUDIOSTREAMBYCONTAINER_H -#define JELLYFIN_LOADER_HTTP_GETAUDIOSTREAMBYCONTAINER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETAUDIOSTREAMBYCONTAINER_H diff --git a/core/include/JellyfinQt/loader/http/getauthproviders.h b/core/include/JellyfinQt/loader/http/getauthproviders.h deleted file mode 100644 index 5855d71..0000000 --- a/core/include/JellyfinQt/loader/http/getauthproviders.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETAUTHPROVIDERS_H -#define JELLYFIN_LOADER_HTTP_GETAUTHPROVIDERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/nameidpair.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get all auth providers. - */ - -class GetAuthProvidersLoader : public Jellyfin::Support::HttpLoader, GetAuthProvidersParams> { -public: - explicit GetAuthProvidersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetAuthProvidersParams& parameters) const override; - QUrlQuery query(const GetAuthProvidersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETAUTHPROVIDERS_H diff --git a/core/include/JellyfinQt/loader/http/getbitratetestbytes.h b/core/include/JellyfinQt/loader/http/getbitratetestbytes.h deleted file mode 100644 index 1d9c7c6..0000000 --- a/core/include/JellyfinQt/loader/http/getbitratetestbytes.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETBITRATETESTBYTES_H -#define JELLYFIN_LOADER_HTTP_GETBITRATETESTBYTES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETBITRATETESTBYTES_H diff --git a/core/include/JellyfinQt/loader/http/getbookremotesearchresults.h b/core/include/JellyfinQt/loader/http/getbookremotesearchresults.h deleted file mode 100644 index 3d8be1b..0000000 --- a/core/include/JellyfinQt/loader/http/getbookremotesearchresults.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETBOOKREMOTESEARCHRESULTS_H -#define JELLYFIN_LOADER_HTTP_GETBOOKREMOTESEARCHRESULTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remotesearchresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get book remote search. - */ - -class GetBookRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetBookRemoteSearchResultsParams> { -public: - explicit GetBookRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetBookRemoteSearchResultsParams& parameters) const override; - QUrlQuery query(const GetBookRemoteSearchResultsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETBOOKREMOTESEARCHRESULTS_H diff --git a/core/include/JellyfinQt/loader/http/getboxsetremotesearchresults.h b/core/include/JellyfinQt/loader/http/getboxsetremotesearchresults.h deleted file mode 100644 index 3165106..0000000 --- a/core/include/JellyfinQt/loader/http/getboxsetremotesearchresults.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETBOXSETREMOTESEARCHRESULTS_H -#define JELLYFIN_LOADER_HTTP_GETBOXSETREMOTESEARCHRESULTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remotesearchresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get box set remote search. - */ - -class GetBoxSetRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetBoxSetRemoteSearchResultsParams> { -public: - explicit GetBoxSetRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetBoxSetRemoteSearchResultsParams& parameters) const override; - QUrlQuery query(const GetBoxSetRemoteSearchResultsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETBOXSETREMOTESEARCHRESULTS_H diff --git a/core/include/JellyfinQt/loader/http/getbrandingcss.h b/core/include/JellyfinQt/loader/http/getbrandingcss.h deleted file mode 100644 index ed3509a..0000000 --- a/core/include/JellyfinQt/loader/http/getbrandingcss.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETBRANDINGCSS_H -#define JELLYFIN_LOADER_HTTP_GETBRANDINGCSS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets branding css. - */ - -class GetBrandingCssLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetBrandingCssLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetBrandingCssParams& parameters) const override; - QUrlQuery query(const GetBrandingCssParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETBRANDINGCSS_H diff --git a/core/include/JellyfinQt/loader/http/getbrandingcss_2.h b/core/include/JellyfinQt/loader/http/getbrandingcss_2.h deleted file mode 100644 index 5bb7055..0000000 --- a/core/include/JellyfinQt/loader/http/getbrandingcss_2.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETBRANDINGCSS_2_H -#define JELLYFIN_LOADER_HTTP_GETBRANDINGCSS_2_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets branding css. - */ - -class GetBrandingCss_2Loader : public Jellyfin::Support::HttpLoader { -public: - explicit GetBrandingCss_2Loader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetBrandingCss_2Params& parameters) const override; - QUrlQuery query(const GetBrandingCss_2Params& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETBRANDINGCSS_2_H diff --git a/core/include/JellyfinQt/loader/http/getchannel.h b/core/include/JellyfinQt/loader/http/getchannel.h deleted file mode 100644 index b064eb0..0000000 --- a/core/include/JellyfinQt/loader/http/getchannel.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCHANNEL_H -#define JELLYFIN_LOADER_HTTP_GETCHANNEL_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a live tv channel. - */ - -class GetChannelLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetChannelLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetChannelParams& parameters) const override; - QUrlQuery query(const GetChannelParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCHANNEL_H diff --git a/core/include/JellyfinQt/loader/http/getchannelfeatures.h b/core/include/JellyfinQt/loader/http/getchannelfeatures.h deleted file mode 100644 index f44653b..0000000 --- a/core/include/JellyfinQt/loader/http/getchannelfeatures.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCHANNELFEATURES_H -#define JELLYFIN_LOADER_HTTP_GETCHANNELFEATURES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/channelfeatures.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get channel features. - */ - -class GetChannelFeaturesLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetChannelFeaturesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetChannelFeaturesParams& parameters) const override; - QUrlQuery query(const GetChannelFeaturesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCHANNELFEATURES_H diff --git a/core/include/JellyfinQt/loader/http/getchannelitems.h b/core/include/JellyfinQt/loader/http/getchannelitems.h deleted file mode 100644 index 630853f..0000000 --- a/core/include/JellyfinQt/loader/http/getchannelitems.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCHANNELITEMS_H -#define JELLYFIN_LOADER_HTTP_GETCHANNELITEMS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get channel items. - */ - -class GetChannelItemsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetChannelItemsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetChannelItemsParams& parameters) const override; - QUrlQuery query(const GetChannelItemsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCHANNELITEMS_H diff --git a/core/include/JellyfinQt/loader/http/getchannelmappingoptions.h b/core/include/JellyfinQt/loader/http/getchannelmappingoptions.h deleted file mode 100644 index 55982cf..0000000 --- a/core/include/JellyfinQt/loader/http/getchannelmappingoptions.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCHANNELMAPPINGOPTIONS_H -#define JELLYFIN_LOADER_HTTP_GETCHANNELMAPPINGOPTIONS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/channelmappingoptionsdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get channel mapping options. - */ - -class GetChannelMappingOptionsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetChannelMappingOptionsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetChannelMappingOptionsParams& parameters) const override; - QUrlQuery query(const GetChannelMappingOptionsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCHANNELMAPPINGOPTIONS_H diff --git a/core/include/JellyfinQt/loader/http/getchannels.h b/core/include/JellyfinQt/loader/http/getchannels.h deleted file mode 100644 index b7342b1..0000000 --- a/core/include/JellyfinQt/loader/http/getchannels.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCHANNELS_H -#define JELLYFIN_LOADER_HTTP_GETCHANNELS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available channels. - */ - -class GetChannelsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetChannelsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetChannelsParams& parameters) const override; - QUrlQuery query(const GetChannelsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCHANNELS_H diff --git a/core/include/JellyfinQt/loader/http/getconfiguration.h b/core/include/JellyfinQt/loader/http/getconfiguration.h deleted file mode 100644 index 1f219ba..0000000 --- a/core/include/JellyfinQt/loader/http/getconfiguration.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCONFIGURATION_H -#define JELLYFIN_LOADER_HTTP_GETCONFIGURATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/serverconfiguration.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets application configuration. - */ - -class GetConfigurationLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetConfigurationLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetConfigurationParams& parameters) const override; - QUrlQuery query(const GetConfigurationParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCONFIGURATION_H diff --git a/core/include/JellyfinQt/loader/http/getconnectionmanager.h b/core/include/JellyfinQt/loader/http/getconnectionmanager.h deleted file mode 100644 index 2132542..0000000 --- a/core/include/JellyfinQt/loader/http/getconnectionmanager.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCONNECTIONMANAGER_H -#define JELLYFIN_LOADER_HTTP_GETCONNECTIONMANAGER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCONNECTIONMANAGER_H diff --git a/core/include/JellyfinQt/loader/http/getconnectionmanager_2.h b/core/include/JellyfinQt/loader/http/getconnectionmanager_2.h deleted file mode 100644 index dc3b6db..0000000 --- a/core/include/JellyfinQt/loader/http/getconnectionmanager_2.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCONNECTIONMANAGER_2_H -#define JELLYFIN_LOADER_HTTP_GETCONNECTIONMANAGER_2_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCONNECTIONMANAGER_2_H diff --git a/core/include/JellyfinQt/loader/http/getconnectionmanager_3.h b/core/include/JellyfinQt/loader/http/getconnectionmanager_3.h deleted file mode 100644 index a5a456e..0000000 --- a/core/include/JellyfinQt/loader/http/getconnectionmanager_3.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCONNECTIONMANAGER_3_H -#define JELLYFIN_LOADER_HTTP_GETCONNECTIONMANAGER_3_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCONNECTIONMANAGER_3_H diff --git a/core/include/JellyfinQt/loader/http/getcontentdirectory.h b/core/include/JellyfinQt/loader/http/getcontentdirectory.h deleted file mode 100644 index bcf1d6a..0000000 --- a/core/include/JellyfinQt/loader/http/getcontentdirectory.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCONTENTDIRECTORY_H -#define JELLYFIN_LOADER_HTTP_GETCONTENTDIRECTORY_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCONTENTDIRECTORY_H diff --git a/core/include/JellyfinQt/loader/http/getcontentdirectory_2.h b/core/include/JellyfinQt/loader/http/getcontentdirectory_2.h deleted file mode 100644 index 682b631..0000000 --- a/core/include/JellyfinQt/loader/http/getcontentdirectory_2.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCONTENTDIRECTORY_2_H -#define JELLYFIN_LOADER_HTTP_GETCONTENTDIRECTORY_2_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCONTENTDIRECTORY_2_H diff --git a/core/include/JellyfinQt/loader/http/getcontentdirectory_3.h b/core/include/JellyfinQt/loader/http/getcontentdirectory_3.h deleted file mode 100644 index d3749a8..0000000 --- a/core/include/JellyfinQt/loader/http/getcontentdirectory_3.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCONTENTDIRECTORY_3_H -#define JELLYFIN_LOADER_HTTP_GETCONTENTDIRECTORY_3_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCONTENTDIRECTORY_3_H diff --git a/core/include/JellyfinQt/loader/http/getcountries.h b/core/include/JellyfinQt/loader/http/getcountries.h deleted file mode 100644 index 4e75f0b..0000000 --- a/core/include/JellyfinQt/loader/http/getcountries.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCOUNTRIES_H -#define JELLYFIN_LOADER_HTTP_GETCOUNTRIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/countryinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets known countries. - */ - -class GetCountriesLoader : public Jellyfin::Support::HttpLoader, GetCountriesParams> { -public: - explicit GetCountriesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetCountriesParams& parameters) const override; - QUrlQuery query(const GetCountriesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCOUNTRIES_H diff --git a/core/include/JellyfinQt/loader/http/getcriticreviews.h b/core/include/JellyfinQt/loader/http/getcriticreviews.h deleted file mode 100644 index 4d1cac9..0000000 --- a/core/include/JellyfinQt/loader/http/getcriticreviews.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCRITICREVIEWS_H -#define JELLYFIN_LOADER_HTTP_GETCRITICREVIEWS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets critic review for an item. - */ - -class GetCriticReviewsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetCriticReviewsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetCriticReviewsParams& parameters) const override; - QUrlQuery query(const GetCriticReviewsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCRITICREVIEWS_H diff --git a/core/include/JellyfinQt/loader/http/getcultures.h b/core/include/JellyfinQt/loader/http/getcultures.h deleted file mode 100644 index 0be9f29..0000000 --- a/core/include/JellyfinQt/loader/http/getcultures.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCULTURES_H -#define JELLYFIN_LOADER_HTTP_GETCULTURES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/culturedto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets known cultures. - */ - -class GetCulturesLoader : public Jellyfin::Support::HttpLoader, GetCulturesParams> { -public: - explicit GetCulturesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetCulturesParams& parameters) const override; - QUrlQuery query(const GetCulturesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCULTURES_H diff --git a/core/include/JellyfinQt/loader/http/getcurrentuser.h b/core/include/JellyfinQt/loader/http/getcurrentuser.h deleted file mode 100644 index 0d5a79e..0000000 --- a/core/include/JellyfinQt/loader/http/getcurrentuser.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETCURRENTUSER_H -#define JELLYFIN_LOADER_HTTP_GETCURRENTUSER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/userdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the user based on auth token. - */ - -class GetCurrentUserLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetCurrentUserLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetCurrentUserParams& parameters) const override; - QUrlQuery query(const GetCurrentUserParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETCURRENTUSER_H diff --git a/core/include/JellyfinQt/loader/http/getdashboardconfigurationpage.h b/core/include/JellyfinQt/loader/http/getdashboardconfigurationpage.h deleted file mode 100644 index 84ba0db..0000000 --- a/core/include/JellyfinQt/loader/http/getdashboardconfigurationpage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDASHBOARDCONFIGURATIONPAGE_H -#define JELLYFIN_LOADER_HTTP_GETDASHBOARDCONFIGURATIONPAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDASHBOARDCONFIGURATIONPAGE_H diff --git a/core/include/JellyfinQt/loader/http/getdefaultlistingprovider.h b/core/include/JellyfinQt/loader/http/getdefaultlistingprovider.h deleted file mode 100644 index befb958..0000000 --- a/core/include/JellyfinQt/loader/http/getdefaultlistingprovider.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDEFAULTLISTINGPROVIDER_H -#define JELLYFIN_LOADER_HTTP_GETDEFAULTLISTINGPROVIDER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/listingsproviderinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets default listings provider info. - */ - -class GetDefaultListingProviderLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetDefaultListingProviderLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetDefaultListingProviderParams& parameters) const override; - QUrlQuery query(const GetDefaultListingProviderParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDEFAULTLISTINGPROVIDER_H diff --git a/core/include/JellyfinQt/loader/http/getdefaulttimer.h b/core/include/JellyfinQt/loader/http/getdefaulttimer.h deleted file mode 100644 index 5a9afee..0000000 --- a/core/include/JellyfinQt/loader/http/getdefaulttimer.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDEFAULTTIMER_H -#define JELLYFIN_LOADER_HTTP_GETDEFAULTTIMER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/seriestimerinfodto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the default values for a new timer. - */ - -class GetDefaultTimerLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetDefaultTimerLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetDefaultTimerParams& parameters) const override; - QUrlQuery query(const GetDefaultTimerParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDEFAULTTIMER_H diff --git a/core/include/JellyfinQt/loader/http/getdescriptionxml.h b/core/include/JellyfinQt/loader/http/getdescriptionxml.h deleted file mode 100644 index 9393f25..0000000 --- a/core/include/JellyfinQt/loader/http/getdescriptionxml.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDESCRIPTIONXML_H -#define JELLYFIN_LOADER_HTTP_GETDESCRIPTIONXML_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDESCRIPTIONXML_H diff --git a/core/include/JellyfinQt/loader/http/getdescriptionxml_2.h b/core/include/JellyfinQt/loader/http/getdescriptionxml_2.h deleted file mode 100644 index 5f0bb19..0000000 --- a/core/include/JellyfinQt/loader/http/getdescriptionxml_2.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDESCRIPTIONXML_2_H -#define JELLYFIN_LOADER_HTTP_GETDESCRIPTIONXML_2_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDESCRIPTIONXML_2_H diff --git a/core/include/JellyfinQt/loader/http/getdeviceinfo.h b/core/include/JellyfinQt/loader/http/getdeviceinfo.h deleted file mode 100644 index 037bbe4..0000000 --- a/core/include/JellyfinQt/loader/http/getdeviceinfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDEVICEINFO_H -#define JELLYFIN_LOADER_HTTP_GETDEVICEINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/deviceinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get info for a device. - */ - -class GetDeviceInfoLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetDeviceInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetDeviceInfoParams& parameters) const override; - QUrlQuery query(const GetDeviceInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDEVICEINFO_H diff --git a/core/include/JellyfinQt/loader/http/getdevices.h b/core/include/JellyfinQt/loader/http/getdevices.h deleted file mode 100644 index a8d46a3..0000000 --- a/core/include/JellyfinQt/loader/http/getdevices.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDEVICES_H -#define JELLYFIN_LOADER_HTTP_GETDEVICES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/deviceinfoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get Devices. - */ - -class GetDevicesLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetDevicesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetDevicesParams& parameters) const override; - QUrlQuery query(const GetDevicesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDEVICES_H diff --git a/core/include/JellyfinQt/loader/http/getdirectorycontents.h b/core/include/JellyfinQt/loader/http/getdirectorycontents.h deleted file mode 100644 index a7669de..0000000 --- a/core/include/JellyfinQt/loader/http/getdirectorycontents.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDIRECTORYCONTENTS_H -#define JELLYFIN_LOADER_HTTP_GETDIRECTORYCONTENTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/filesystementryinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the contents of a given directory in the file system. - */ - -class GetDirectoryContentsLoader : public Jellyfin::Support::HttpLoader, GetDirectoryContentsParams> { -public: - explicit GetDirectoryContentsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetDirectoryContentsParams& parameters) const override; - QUrlQuery query(const GetDirectoryContentsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDIRECTORYCONTENTS_H diff --git a/core/include/JellyfinQt/loader/http/getdownload.h b/core/include/JellyfinQt/loader/http/getdownload.h deleted file mode 100644 index b438fbd..0000000 --- a/core/include/JellyfinQt/loader/http/getdownload.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDOWNLOAD_H -#define JELLYFIN_LOADER_HTTP_GETDOWNLOAD_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDOWNLOAD_H diff --git a/core/include/JellyfinQt/loader/http/getdrives.h b/core/include/JellyfinQt/loader/http/getdrives.h deleted file mode 100644 index 3a99a84..0000000 --- a/core/include/JellyfinQt/loader/http/getdrives.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETDRIVES_H -#define JELLYFIN_LOADER_HTTP_GETDRIVES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/filesystementryinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available drives from the server's file system. - */ - -class GetDrivesLoader : public Jellyfin::Support::HttpLoader, GetDrivesParams> { -public: - explicit GetDrivesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetDrivesParams& parameters) const override; - QUrlQuery query(const GetDrivesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETDRIVES_H diff --git a/core/include/JellyfinQt/loader/http/getendpointinfo.h b/core/include/JellyfinQt/loader/http/getendpointinfo.h deleted file mode 100644 index 7041d36..0000000 --- a/core/include/JellyfinQt/loader/http/getendpointinfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETENDPOINTINFO_H -#define JELLYFIN_LOADER_HTTP_GETENDPOINTINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/endpointinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets information about the request endpoint. - */ - -class GetEndpointInfoLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetEndpointInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetEndpointInfoParams& parameters) const override; - QUrlQuery query(const GetEndpointInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETENDPOINTINFO_H diff --git a/core/include/JellyfinQt/loader/http/getepisodes.h b/core/include/JellyfinQt/loader/http/getepisodes.h deleted file mode 100644 index cee2f40..0000000 --- a/core/include/JellyfinQt/loader/http/getepisodes.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETEPISODES_H -#define JELLYFIN_LOADER_HTTP_GETEPISODES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets episodes for a tv season. - */ - -class GetEpisodesLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetEpisodesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetEpisodesParams& parameters) const override; - QUrlQuery query(const GetEpisodesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETEPISODES_H diff --git a/core/include/JellyfinQt/loader/http/getexternalidinfos.h b/core/include/JellyfinQt/loader/http/getexternalidinfos.h deleted file mode 100644 index f02fe71..0000000 --- a/core/include/JellyfinQt/loader/http/getexternalidinfos.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETEXTERNALIDINFOS_H -#define JELLYFIN_LOADER_HTTP_GETEXTERNALIDINFOS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/externalidinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get the item's external id info. - */ - -class GetExternalIdInfosLoader : public Jellyfin::Support::HttpLoader, GetExternalIdInfosParams> { -public: - explicit GetExternalIdInfosLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetExternalIdInfosParams& parameters) const override; - QUrlQuery query(const GetExternalIdInfosParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETEXTERNALIDINFOS_H diff --git a/core/include/JellyfinQt/loader/http/getfallbackfont.h b/core/include/JellyfinQt/loader/http/getfallbackfont.h deleted file mode 100644 index e2b3314..0000000 --- a/core/include/JellyfinQt/loader/http/getfallbackfont.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETFALLBACKFONT_H -#define JELLYFIN_LOADER_HTTP_GETFALLBACKFONT_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETFALLBACKFONT_H diff --git a/core/include/JellyfinQt/loader/http/getfallbackfontlist.h b/core/include/JellyfinQt/loader/http/getfallbackfontlist.h deleted file mode 100644 index b694630..0000000 --- a/core/include/JellyfinQt/loader/http/getfallbackfontlist.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETFALLBACKFONTLIST_H -#define JELLYFIN_LOADER_HTTP_GETFALLBACKFONTLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/fontfile.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a list of available fallback font files. - */ - -class GetFallbackFontListLoader : public Jellyfin::Support::HttpLoader, GetFallbackFontListParams> { -public: - explicit GetFallbackFontListLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetFallbackFontListParams& parameters) const override; - QUrlQuery query(const GetFallbackFontListParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETFALLBACKFONTLIST_H diff --git a/core/include/JellyfinQt/loader/http/getfile.h b/core/include/JellyfinQt/loader/http/getfile.h deleted file mode 100644 index 7a44384..0000000 --- a/core/include/JellyfinQt/loader/http/getfile.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETFILE_H -#define JELLYFIN_LOADER_HTTP_GETFILE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETFILE_H diff --git a/core/include/JellyfinQt/loader/http/getfirstuser.h b/core/include/JellyfinQt/loader/http/getfirstuser.h deleted file mode 100644 index ede23a1..0000000 --- a/core/include/JellyfinQt/loader/http/getfirstuser.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETFIRSTUSER_H -#define JELLYFIN_LOADER_HTTP_GETFIRSTUSER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/startupuserdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the first user. - */ - -class GetFirstUserLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetFirstUserLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetFirstUserParams& parameters) const override; - QUrlQuery query(const GetFirstUserParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETFIRSTUSER_H diff --git a/core/include/JellyfinQt/loader/http/getfirstuser_2.h b/core/include/JellyfinQt/loader/http/getfirstuser_2.h deleted file mode 100644 index 9cafac1..0000000 --- a/core/include/JellyfinQt/loader/http/getfirstuser_2.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETFIRSTUSER_2_H -#define JELLYFIN_LOADER_HTTP_GETFIRSTUSER_2_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/startupuserdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the first user. - */ - -class GetFirstUser_2Loader : public Jellyfin::Support::HttpLoader { -public: - explicit GetFirstUser_2Loader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetFirstUser_2Params& parameters) const override; - QUrlQuery query(const GetFirstUser_2Params& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETFIRSTUSER_2_H diff --git a/core/include/JellyfinQt/loader/http/getgeneralimage.h b/core/include/JellyfinQt/loader/http/getgeneralimage.h deleted file mode 100644 index 59671fb..0000000 --- a/core/include/JellyfinQt/loader/http/getgeneralimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETGENERALIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETGENERALIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETGENERALIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getgeneralimages.h b/core/include/JellyfinQt/loader/http/getgeneralimages.h deleted file mode 100644 index 14ae087..0000000 --- a/core/include/JellyfinQt/loader/http/getgeneralimages.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETGENERALIMAGES_H -#define JELLYFIN_LOADER_HTTP_GETGENERALIMAGES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/imagebynameinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get all general images. - */ - -class GetGeneralImagesLoader : public Jellyfin::Support::HttpLoader, GetGeneralImagesParams> { -public: - explicit GetGeneralImagesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetGeneralImagesParams& parameters) const override; - QUrlQuery query(const GetGeneralImagesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETGENERALIMAGES_H diff --git a/core/include/JellyfinQt/loader/http/getgenre.h b/core/include/JellyfinQt/loader/http/getgenre.h deleted file mode 100644 index 3ba14d5..0000000 --- a/core/include/JellyfinQt/loader/http/getgenre.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETGENRE_H -#define JELLYFIN_LOADER_HTTP_GETGENRE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a genre, by name. - */ - -class GetGenreLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetGenreLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetGenreParams& parameters) const override; - QUrlQuery query(const GetGenreParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETGENRE_H diff --git a/core/include/JellyfinQt/loader/http/getgenreimage.h b/core/include/JellyfinQt/loader/http/getgenreimage.h deleted file mode 100644 index 4d0e2ab..0000000 --- a/core/include/JellyfinQt/loader/http/getgenreimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETGENREIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETGENREIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETGENREIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getgenreimagebyindex.h b/core/include/JellyfinQt/loader/http/getgenreimagebyindex.h deleted file mode 100644 index f1a0e41..0000000 --- a/core/include/JellyfinQt/loader/http/getgenreimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETGENREIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_GETGENREIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETGENREIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/getguideinfo.h b/core/include/JellyfinQt/loader/http/getguideinfo.h deleted file mode 100644 index a9778ab..0000000 --- a/core/include/JellyfinQt/loader/http/getguideinfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETGUIDEINFO_H -#define JELLYFIN_LOADER_HTTP_GETGUIDEINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/guideinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get guid info. - */ - -class GetGuideInfoLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetGuideInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetGuideInfoParams& parameters) const override; - QUrlQuery query(const GetGuideInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETGUIDEINFO_H diff --git a/core/include/JellyfinQt/loader/http/gethlsaudiosegment.h b/core/include/JellyfinQt/loader/http/gethlsaudiosegment.h deleted file mode 100644 index 58b5247..0000000 --- a/core/include/JellyfinQt/loader/http/gethlsaudiosegment.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETHLSAUDIOSEGMENT_H -#define JELLYFIN_LOADER_HTTP_GETHLSAUDIOSEGMENT_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETHLSAUDIOSEGMENT_H diff --git a/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacyaac.h b/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacyaac.h deleted file mode 100644 index fa76ac5..0000000 --- a/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacyaac.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETHLSAUDIOSEGMENTLEGACYAAC_H -#define JELLYFIN_LOADER_HTTP_GETHLSAUDIOSEGMENTLEGACYAAC_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETHLSAUDIOSEGMENTLEGACYAAC_H diff --git a/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacymp3.h b/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacymp3.h deleted file mode 100644 index b500ab5..0000000 --- a/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacymp3.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETHLSAUDIOSEGMENTLEGACYMP3_H -#define JELLYFIN_LOADER_HTTP_GETHLSAUDIOSEGMENTLEGACYMP3_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETHLSAUDIOSEGMENTLEGACYMP3_H diff --git a/core/include/JellyfinQt/loader/http/gethlsplaylistlegacy.h b/core/include/JellyfinQt/loader/http/gethlsplaylistlegacy.h deleted file mode 100644 index e2790c2..0000000 --- a/core/include/JellyfinQt/loader/http/gethlsplaylistlegacy.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETHLSPLAYLISTLEGACY_H -#define JELLYFIN_LOADER_HTTP_GETHLSPLAYLISTLEGACY_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETHLSPLAYLISTLEGACY_H diff --git a/core/include/JellyfinQt/loader/http/gethlsvideosegment.h b/core/include/JellyfinQt/loader/http/gethlsvideosegment.h deleted file mode 100644 index d6b2b81..0000000 --- a/core/include/JellyfinQt/loader/http/gethlsvideosegment.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETHLSVIDEOSEGMENT_H -#define JELLYFIN_LOADER_HTTP_GETHLSVIDEOSEGMENT_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETHLSVIDEOSEGMENT_H diff --git a/core/include/JellyfinQt/loader/http/gethlsvideosegmentlegacy.h b/core/include/JellyfinQt/loader/http/gethlsvideosegmentlegacy.h deleted file mode 100644 index 672a39b..0000000 --- a/core/include/JellyfinQt/loader/http/gethlsvideosegmentlegacy.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETHLSVIDEOSEGMENTLEGACY_H -#define JELLYFIN_LOADER_HTTP_GETHLSVIDEOSEGMENTLEGACY_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETHLSVIDEOSEGMENTLEGACY_H diff --git a/core/include/JellyfinQt/loader/http/geticon.h b/core/include/JellyfinQt/loader/http/geticon.h deleted file mode 100644 index 1c1ee0a..0000000 --- a/core/include/JellyfinQt/loader/http/geticon.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETICON_H -#define JELLYFIN_LOADER_HTTP_GETICON_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETICON_H diff --git a/core/include/JellyfinQt/loader/http/geticonid.h b/core/include/JellyfinQt/loader/http/geticonid.h deleted file mode 100644 index ba7cdb2..0000000 --- a/core/include/JellyfinQt/loader/http/geticonid.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETICONID_H -#define JELLYFIN_LOADER_HTTP_GETICONID_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETICONID_H diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromalbum.h b/core/include/JellyfinQt/loader/http/getinstantmixfromalbum.h deleted file mode 100644 index 790b23e..0000000 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromalbum.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMALBUM_H -#define JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMALBUM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Creates an instant playlist based on a given song. - */ - -class GetInstantMixFromAlbumLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetInstantMixFromAlbumLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetInstantMixFromAlbumParams& parameters) const override; - QUrlQuery query(const GetInstantMixFromAlbumParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMALBUM_H diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromartists.h b/core/include/JellyfinQt/loader/http/getinstantmixfromartists.h deleted file mode 100644 index b54754e..0000000 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromartists.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMARTISTS_H -#define JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMARTISTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Creates an instant playlist based on a given song. - */ - -class GetInstantMixFromArtistsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetInstantMixFromArtistsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetInstantMixFromArtistsParams& parameters) const override; - QUrlQuery query(const GetInstantMixFromArtistsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMARTISTS_H diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromitem.h b/core/include/JellyfinQt/loader/http/getinstantmixfromitem.h deleted file mode 100644 index 85edc0d..0000000 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromitem.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMITEM_H -#define JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Creates an instant playlist based on a given song. - */ - -class GetInstantMixFromItemLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetInstantMixFromItemLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetInstantMixFromItemParams& parameters) const override; - QUrlQuery query(const GetInstantMixFromItemParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMITEM_H diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenre.h b/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenre.h deleted file mode 100644 index 98f71f3..0000000 --- a/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenre.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMMUSICGENRE_H -#define JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMMUSICGENRE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Creates an instant playlist based on a given song. - */ - -class GetInstantMixFromMusicGenreLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetInstantMixFromMusicGenreLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetInstantMixFromMusicGenreParams& parameters) const override; - QUrlQuery query(const GetInstantMixFromMusicGenreParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMMUSICGENRE_H diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenres.h b/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenres.h deleted file mode 100644 index ec97d41..0000000 --- a/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenres.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMMUSICGENRES_H -#define JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMMUSICGENRES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Creates an instant playlist based on a given song. - */ - -class GetInstantMixFromMusicGenresLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetInstantMixFromMusicGenresLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetInstantMixFromMusicGenresParams& parameters) const override; - QUrlQuery query(const GetInstantMixFromMusicGenresParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMMUSICGENRES_H diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromplaylist.h b/core/include/JellyfinQt/loader/http/getinstantmixfromplaylist.h deleted file mode 100644 index 0c0ae87..0000000 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromplaylist.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Creates an instant playlist based on a given song. - */ - -class GetInstantMixFromPlaylistLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetInstantMixFromPlaylistLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetInstantMixFromPlaylistParams& parameters) const override; - QUrlQuery query(const GetInstantMixFromPlaylistParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromsong.h b/core/include/JellyfinQt/loader/http/getinstantmixfromsong.h deleted file mode 100644 index 3134149..0000000 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromsong.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMSONG_H -#define JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMSONG_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Creates an instant playlist based on a given song. - */ - -class GetInstantMixFromSongLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetInstantMixFromSongLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetInstantMixFromSongParams& parameters) const override; - QUrlQuery query(const GetInstantMixFromSongParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETINSTANTMIXFROMSONG_H diff --git a/core/include/JellyfinQt/loader/http/getintros.h b/core/include/JellyfinQt/loader/http/getintros.h deleted file mode 100644 index 9fb6de7..0000000 --- a/core/include/JellyfinQt/loader/http/getintros.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETINTROS_H -#define JELLYFIN_LOADER_HTTP_GETINTROS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets intros to play before the main media item plays. - */ - -class GetIntrosLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetIntrosLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetIntrosParams& parameters) const override; - QUrlQuery query(const GetIntrosParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETINTROS_H diff --git a/core/include/JellyfinQt/loader/http/getitem.h b/core/include/JellyfinQt/loader/http/getitem.h deleted file mode 100644 index 6696bef..0000000 --- a/core/include/JellyfinQt/loader/http/getitem.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETITEM_H -#define JELLYFIN_LOADER_HTTP_GETITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets an item from a user's library. - */ - -class GetItemLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetItemLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetItemParams& parameters) const override; - QUrlQuery query(const GetItemParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETITEM_H diff --git a/core/include/JellyfinQt/loader/http/getitemcounts.h b/core/include/JellyfinQt/loader/http/getitemcounts.h deleted file mode 100644 index f49788c..0000000 --- a/core/include/JellyfinQt/loader/http/getitemcounts.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETITEMCOUNTS_H -#define JELLYFIN_LOADER_HTTP_GETITEMCOUNTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/itemcounts.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get item counts. - */ - -class GetItemCountsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetItemCountsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetItemCountsParams& parameters) const override; - QUrlQuery query(const GetItemCountsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETITEMCOUNTS_H diff --git a/core/include/JellyfinQt/loader/http/getitemimage.h b/core/include/JellyfinQt/loader/http/getitemimage.h deleted file mode 100644 index 53f1e52..0000000 --- a/core/include/JellyfinQt/loader/http/getitemimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETITEMIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETITEMIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETITEMIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getitemimage2.h b/core/include/JellyfinQt/loader/http/getitemimage2.h deleted file mode 100644 index f9cc4b6..0000000 --- a/core/include/JellyfinQt/loader/http/getitemimage2.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETITEMIMAGE2_H -#define JELLYFIN_LOADER_HTTP_GETITEMIMAGE2_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETITEMIMAGE2_H diff --git a/core/include/JellyfinQt/loader/http/getitemimagebyindex.h b/core/include/JellyfinQt/loader/http/getitemimagebyindex.h deleted file mode 100644 index 5dcda15..0000000 --- a/core/include/JellyfinQt/loader/http/getitemimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETITEMIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_GETITEMIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETITEMIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/getitems.h b/core/include/JellyfinQt/loader/http/getitems.h deleted file mode 100644 index 0d6fe1c..0000000 --- a/core/include/JellyfinQt/loader/http/getitems.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETITEMS_H -#define JELLYFIN_LOADER_HTTP_GETITEMS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets items based on a query. - */ - -class GetItemsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetItemsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetItemsParams& parameters) const override; - QUrlQuery query(const GetItemsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETITEMS_H diff --git a/core/include/JellyfinQt/loader/http/getlatestmedia.h b/core/include/JellyfinQt/loader/http/getlatestmedia.h deleted file mode 100644 index 596916b..0000000 --- a/core/include/JellyfinQt/loader/http/getlatestmedia.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLATESTMEDIA_H -#define JELLYFIN_LOADER_HTTP_GETLATESTMEDIA_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets latest media. - */ - -class GetLatestMediaLoader : public Jellyfin::Support::HttpLoader, GetLatestMediaParams> { -public: - explicit GetLatestMediaLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetLatestMediaParams& parameters) const override; - QUrlQuery query(const GetLatestMediaParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLATESTMEDIA_H diff --git a/core/include/JellyfinQt/loader/http/getlibraryoptionsinfo.h b/core/include/JellyfinQt/loader/http/getlibraryoptionsinfo.h deleted file mode 100644 index 59c918c..0000000 --- a/core/include/JellyfinQt/loader/http/getlibraryoptionsinfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLIBRARYOPTIONSINFO_H -#define JELLYFIN_LOADER_HTTP_GETLIBRARYOPTIONSINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/libraryoptionsresultdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the library options info. - */ - -class GetLibraryOptionsInfoLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetLibraryOptionsInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetLibraryOptionsInfoParams& parameters) const override; - QUrlQuery query(const GetLibraryOptionsInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLIBRARYOPTIONSINFO_H diff --git a/core/include/JellyfinQt/loader/http/getlineups.h b/core/include/JellyfinQt/loader/http/getlineups.h deleted file mode 100644 index 7092b69..0000000 --- a/core/include/JellyfinQt/loader/http/getlineups.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLINEUPS_H -#define JELLYFIN_LOADER_HTTP_GETLINEUPS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/nameidpair.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available lineups. - */ - -class GetLineupsLoader : public Jellyfin::Support::HttpLoader, GetLineupsParams> { -public: - explicit GetLineupsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetLineupsParams& parameters) const override; - QUrlQuery query(const GetLineupsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLINEUPS_H diff --git a/core/include/JellyfinQt/loader/http/getlivehlsstream.h b/core/include/JellyfinQt/loader/http/getlivehlsstream.h deleted file mode 100644 index ba0e25f..0000000 --- a/core/include/JellyfinQt/loader/http/getlivehlsstream.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLIVEHLSSTREAM_H -#define JELLYFIN_LOADER_HTTP_GETLIVEHLSSTREAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLIVEHLSSTREAM_H diff --git a/core/include/JellyfinQt/loader/http/getliverecordingfile.h b/core/include/JellyfinQt/loader/http/getliverecordingfile.h deleted file mode 100644 index 4bf267e..0000000 --- a/core/include/JellyfinQt/loader/http/getliverecordingfile.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLIVERECORDINGFILE_H -#define JELLYFIN_LOADER_HTTP_GETLIVERECORDINGFILE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLIVERECORDINGFILE_H diff --git a/core/include/JellyfinQt/loader/http/getlivestreamfile.h b/core/include/JellyfinQt/loader/http/getlivestreamfile.h deleted file mode 100644 index aea6a77..0000000 --- a/core/include/JellyfinQt/loader/http/getlivestreamfile.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLIVESTREAMFILE_H -#define JELLYFIN_LOADER_HTTP_GETLIVESTREAMFILE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLIVESTREAMFILE_H diff --git a/core/include/JellyfinQt/loader/http/getlivetvchannels.h b/core/include/JellyfinQt/loader/http/getlivetvchannels.h deleted file mode 100644 index 0938dac..0000000 --- a/core/include/JellyfinQt/loader/http/getlivetvchannels.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLIVETVCHANNELS_H -#define JELLYFIN_LOADER_HTTP_GETLIVETVCHANNELS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available live tv channels. - */ - -class GetLiveTvChannelsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetLiveTvChannelsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetLiveTvChannelsParams& parameters) const override; - QUrlQuery query(const GetLiveTvChannelsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLIVETVCHANNELS_H diff --git a/core/include/JellyfinQt/loader/http/getlivetvinfo.h b/core/include/JellyfinQt/loader/http/getlivetvinfo.h deleted file mode 100644 index b09978c..0000000 --- a/core/include/JellyfinQt/loader/http/getlivetvinfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLIVETVINFO_H -#define JELLYFIN_LOADER_HTTP_GETLIVETVINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/livetvinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available live tv services. - */ - -class GetLiveTvInfoLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetLiveTvInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetLiveTvInfoParams& parameters) const override; - QUrlQuery query(const GetLiveTvInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLIVETVINFO_H diff --git a/core/include/JellyfinQt/loader/http/getlivetvprograms.h b/core/include/JellyfinQt/loader/http/getlivetvprograms.h deleted file mode 100644 index ed2a243..0000000 --- a/core/include/JellyfinQt/loader/http/getlivetvprograms.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLIVETVPROGRAMS_H -#define JELLYFIN_LOADER_HTTP_GETLIVETVPROGRAMS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available live tv epgs. - */ - -class GetLiveTvProgramsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetLiveTvProgramsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetLiveTvProgramsParams& parameters) const override; - QUrlQuery query(const GetLiveTvProgramsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLIVETVPROGRAMS_H diff --git a/core/include/JellyfinQt/loader/http/getlocaltrailers.h b/core/include/JellyfinQt/loader/http/getlocaltrailers.h deleted file mode 100644 index a1e7160..0000000 --- a/core/include/JellyfinQt/loader/http/getlocaltrailers.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLOCALTRAILERS_H -#define JELLYFIN_LOADER_HTTP_GETLOCALTRAILERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets local trailers for an item. - */ - -class GetLocalTrailersLoader : public Jellyfin::Support::HttpLoader, GetLocalTrailersParams> { -public: - explicit GetLocalTrailersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetLocalTrailersParams& parameters) const override; - QUrlQuery query(const GetLocalTrailersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLOCALTRAILERS_H diff --git a/core/include/JellyfinQt/loader/http/getlogfile.h b/core/include/JellyfinQt/loader/http/getlogfile.h deleted file mode 100644 index f2299be..0000000 --- a/core/include/JellyfinQt/loader/http/getlogfile.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETLOGFILE_H -#define JELLYFIN_LOADER_HTTP_GETLOGFILE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETLOGFILE_H diff --git a/core/include/JellyfinQt/loader/http/getmasterhlsaudioplaylist.h b/core/include/JellyfinQt/loader/http/getmasterhlsaudioplaylist.h deleted file mode 100644 index 700c541..0000000 --- a/core/include/JellyfinQt/loader/http/getmasterhlsaudioplaylist.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMASTERHLSAUDIOPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_GETMASTERHLSAUDIOPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMASTERHLSAUDIOPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/getmasterhlsvideoplaylist.h b/core/include/JellyfinQt/loader/http/getmasterhlsvideoplaylist.h deleted file mode 100644 index 9e9d948..0000000 --- a/core/include/JellyfinQt/loader/http/getmasterhlsvideoplaylist.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMASTERHLSVIDEOPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_GETMASTERHLSVIDEOPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMASTERHLSVIDEOPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/getmediafolders.h b/core/include/JellyfinQt/loader/http/getmediafolders.h deleted file mode 100644 index 4b15e6c..0000000 --- a/core/include/JellyfinQt/loader/http/getmediafolders.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMEDIAFOLDERS_H -#define JELLYFIN_LOADER_HTTP_GETMEDIAFOLDERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets all user media folders. - */ - -class GetMediaFoldersLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetMediaFoldersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetMediaFoldersParams& parameters) const override; - QUrlQuery query(const GetMediaFoldersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMEDIAFOLDERS_H diff --git a/core/include/JellyfinQt/loader/http/getmediainfoimage.h b/core/include/JellyfinQt/loader/http/getmediainfoimage.h deleted file mode 100644 index 862a0b9..0000000 --- a/core/include/JellyfinQt/loader/http/getmediainfoimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMEDIAINFOIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETMEDIAINFOIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMEDIAINFOIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar.h b/core/include/JellyfinQt/loader/http/getmediareceiverregistrar.h deleted file mode 100644 index 10bb888..0000000 --- a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMEDIARECEIVERREGISTRAR_H -#define JELLYFIN_LOADER_HTTP_GETMEDIARECEIVERREGISTRAR_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMEDIARECEIVERREGISTRAR_H diff --git a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_2.h b/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_2.h deleted file mode 100644 index 286fa4b..0000000 --- a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_2.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMEDIARECEIVERREGISTRAR_2_H -#define JELLYFIN_LOADER_HTTP_GETMEDIARECEIVERREGISTRAR_2_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMEDIARECEIVERREGISTRAR_2_H diff --git a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_3.h b/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_3.h deleted file mode 100644 index 55e7e82..0000000 --- a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_3.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMEDIARECEIVERREGISTRAR_3_H -#define JELLYFIN_LOADER_HTTP_GETMEDIARECEIVERREGISTRAR_3_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMEDIARECEIVERREGISTRAR_3_H diff --git a/core/include/JellyfinQt/loader/http/getmovieremotesearchresults.h b/core/include/JellyfinQt/loader/http/getmovieremotesearchresults.h deleted file mode 100644 index eaa6436..0000000 --- a/core/include/JellyfinQt/loader/http/getmovieremotesearchresults.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMOVIEREMOTESEARCHRESULTS_H -#define JELLYFIN_LOADER_HTTP_GETMOVIEREMOTESEARCHRESULTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remotesearchresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get movie remote search. - */ - -class GetMovieRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetMovieRemoteSearchResultsParams> { -public: - explicit GetMovieRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetMovieRemoteSearchResultsParams& parameters) const override; - QUrlQuery query(const GetMovieRemoteSearchResultsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMOVIEREMOTESEARCHRESULTS_H diff --git a/core/include/JellyfinQt/loader/http/getmusicalbumremotesearchresults.h b/core/include/JellyfinQt/loader/http/getmusicalbumremotesearchresults.h deleted file mode 100644 index 2ae7998..0000000 --- a/core/include/JellyfinQt/loader/http/getmusicalbumremotesearchresults.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMUSICALBUMREMOTESEARCHRESULTS_H -#define JELLYFIN_LOADER_HTTP_GETMUSICALBUMREMOTESEARCHRESULTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remotesearchresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get music album remote search. - */ - -class GetMusicAlbumRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetMusicAlbumRemoteSearchResultsParams> { -public: - explicit GetMusicAlbumRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetMusicAlbumRemoteSearchResultsParams& parameters) const override; - QUrlQuery query(const GetMusicAlbumRemoteSearchResultsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMUSICALBUMREMOTESEARCHRESULTS_H diff --git a/core/include/JellyfinQt/loader/http/getmusicartistremotesearchresults.h b/core/include/JellyfinQt/loader/http/getmusicartistremotesearchresults.h deleted file mode 100644 index 1455c79..0000000 --- a/core/include/JellyfinQt/loader/http/getmusicartistremotesearchresults.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMUSICARTISTREMOTESEARCHRESULTS_H -#define JELLYFIN_LOADER_HTTP_GETMUSICARTISTREMOTESEARCHRESULTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remotesearchresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get music artist remote search. - */ - -class GetMusicArtistRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetMusicArtistRemoteSearchResultsParams> { -public: - explicit GetMusicArtistRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetMusicArtistRemoteSearchResultsParams& parameters) const override; - QUrlQuery query(const GetMusicArtistRemoteSearchResultsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMUSICARTISTREMOTESEARCHRESULTS_H diff --git a/core/include/JellyfinQt/loader/http/getmusicgenre.h b/core/include/JellyfinQt/loader/http/getmusicgenre.h deleted file mode 100644 index 440ba02..0000000 --- a/core/include/JellyfinQt/loader/http/getmusicgenre.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMUSICGENRE_H -#define JELLYFIN_LOADER_HTTP_GETMUSICGENRE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a music genre, by name. - */ - -class GetMusicGenreLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetMusicGenreLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetMusicGenreParams& parameters) const override; - QUrlQuery query(const GetMusicGenreParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMUSICGENRE_H diff --git a/core/include/JellyfinQt/loader/http/getmusicgenreimage.h b/core/include/JellyfinQt/loader/http/getmusicgenreimage.h deleted file mode 100644 index 95b2388..0000000 --- a/core/include/JellyfinQt/loader/http/getmusicgenreimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMUSICGENREIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETMUSICGENREIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMUSICGENREIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getmusicgenreimagebyindex.h b/core/include/JellyfinQt/loader/http/getmusicgenreimagebyindex.h deleted file mode 100644 index 519edee..0000000 --- a/core/include/JellyfinQt/loader/http/getmusicgenreimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMUSICGENREIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_GETMUSICGENREIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMUSICGENREIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/getmusicvideoremotesearchresults.h b/core/include/JellyfinQt/loader/http/getmusicvideoremotesearchresults.h deleted file mode 100644 index 8f2d87a..0000000 --- a/core/include/JellyfinQt/loader/http/getmusicvideoremotesearchresults.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETMUSICVIDEOREMOTESEARCHRESULTS_H -#define JELLYFIN_LOADER_HTTP_GETMUSICVIDEOREMOTESEARCHRESULTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remotesearchresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get music video remote search. - */ - -class GetMusicVideoRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetMusicVideoRemoteSearchResultsParams> { -public: - explicit GetMusicVideoRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetMusicVideoRemoteSearchResultsParams& parameters) const override; - QUrlQuery query(const GetMusicVideoRemoteSearchResultsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETMUSICVIDEOREMOTESEARCHRESULTS_H diff --git a/core/include/JellyfinQt/loader/http/getnamedconfiguration.h b/core/include/JellyfinQt/loader/http/getnamedconfiguration.h deleted file mode 100644 index 9c0c395..0000000 --- a/core/include/JellyfinQt/loader/http/getnamedconfiguration.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETNAMEDCONFIGURATION_H -#define JELLYFIN_LOADER_HTTP_GETNAMEDCONFIGURATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a named configuration. - */ - -class GetNamedConfigurationLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetNamedConfigurationLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetNamedConfigurationParams& parameters) const override; - QUrlQuery query(const GetNamedConfigurationParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETNAMEDCONFIGURATION_H diff --git a/core/include/JellyfinQt/loader/http/getnetworkshares.h b/core/include/JellyfinQt/loader/http/getnetworkshares.h deleted file mode 100644 index 190e486..0000000 --- a/core/include/JellyfinQt/loader/http/getnetworkshares.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETNETWORKSHARES_H -#define JELLYFIN_LOADER_HTTP_GETNETWORKSHARES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/filesystementryinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets network paths. - */ - -class GetNetworkSharesLoader : public Jellyfin::Support::HttpLoader, GetNetworkSharesParams> { -public: - explicit GetNetworkSharesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetNetworkSharesParams& parameters) const override; - QUrlQuery query(const GetNetworkSharesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETNETWORKSHARES_H diff --git a/core/include/JellyfinQt/loader/http/getnextup.h b/core/include/JellyfinQt/loader/http/getnextup.h deleted file mode 100644 index cb792e9..0000000 --- a/core/include/JellyfinQt/loader/http/getnextup.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETNEXTUP_H -#define JELLYFIN_LOADER_HTTP_GETNEXTUP_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a list of next up episodes. - */ - -class GetNextUpLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetNextUpLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetNextUpParams& parameters) const override; - QUrlQuery query(const GetNextUpParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETNEXTUP_H diff --git a/core/include/JellyfinQt/loader/http/getnotifications.h b/core/include/JellyfinQt/loader/http/getnotifications.h deleted file mode 100644 index 16229d8..0000000 --- a/core/include/JellyfinQt/loader/http/getnotifications.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETNOTIFICATIONS_H -#define JELLYFIN_LOADER_HTTP_GETNOTIFICATIONS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/notificationresultdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a user's notifications. - */ - -class GetNotificationsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetNotificationsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetNotificationsParams& parameters) const override; - QUrlQuery query(const GetNotificationsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETNOTIFICATIONS_H diff --git a/core/include/JellyfinQt/loader/http/getnotificationservices.h b/core/include/JellyfinQt/loader/http/getnotificationservices.h deleted file mode 100644 index 1670012..0000000 --- a/core/include/JellyfinQt/loader/http/getnotificationservices.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETNOTIFICATIONSERVICES_H -#define JELLYFIN_LOADER_HTTP_GETNOTIFICATIONSERVICES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/nameidpair.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets notification services. - */ - -class GetNotificationServicesLoader : public Jellyfin::Support::HttpLoader, GetNotificationServicesParams> { -public: - explicit GetNotificationServicesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetNotificationServicesParams& parameters) const override; - QUrlQuery query(const GetNotificationServicesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETNOTIFICATIONSERVICES_H diff --git a/core/include/JellyfinQt/loader/http/getnotificationtypes.h b/core/include/JellyfinQt/loader/http/getnotificationtypes.h deleted file mode 100644 index e94d870..0000000 --- a/core/include/JellyfinQt/loader/http/getnotificationtypes.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETNOTIFICATIONTYPES_H -#define JELLYFIN_LOADER_HTTP_GETNOTIFICATIONTYPES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/notificationtypeinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets notification types. - */ - -class GetNotificationTypesLoader : public Jellyfin::Support::HttpLoader, GetNotificationTypesParams> { -public: - explicit GetNotificationTypesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetNotificationTypesParams& parameters) const override; - QUrlQuery query(const GetNotificationTypesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETNOTIFICATIONTYPES_H diff --git a/core/include/JellyfinQt/loader/http/getpackageinfo.h b/core/include/JellyfinQt/loader/http/getpackageinfo.h deleted file mode 100644 index b96c988..0000000 --- a/core/include/JellyfinQt/loader/http/getpackageinfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPACKAGEINFO_H -#define JELLYFIN_LOADER_HTTP_GETPACKAGEINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/packageinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a package by name or assembly GUID. - */ - -class GetPackageInfoLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetPackageInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPackageInfoParams& parameters) const override; - QUrlQuery query(const GetPackageInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPACKAGEINFO_H diff --git a/core/include/JellyfinQt/loader/http/getpackages.h b/core/include/JellyfinQt/loader/http/getpackages.h deleted file mode 100644 index 3bf0b5c..0000000 --- a/core/include/JellyfinQt/loader/http/getpackages.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPACKAGES_H -#define JELLYFIN_LOADER_HTTP_GETPACKAGES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/packageinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available packages. - */ - -class GetPackagesLoader : public Jellyfin::Support::HttpLoader, GetPackagesParams> { -public: - explicit GetPackagesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPackagesParams& parameters) const override; - QUrlQuery query(const GetPackagesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPACKAGES_H diff --git a/core/include/JellyfinQt/loader/http/getparentalratings.h b/core/include/JellyfinQt/loader/http/getparentalratings.h deleted file mode 100644 index 270d27c..0000000 --- a/core/include/JellyfinQt/loader/http/getparentalratings.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPARENTALRATINGS_H -#define JELLYFIN_LOADER_HTTP_GETPARENTALRATINGS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/parentalrating.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets known parental ratings. - */ - -class GetParentalRatingsLoader : public Jellyfin::Support::HttpLoader, GetParentalRatingsParams> { -public: - explicit GetParentalRatingsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetParentalRatingsParams& parameters) const override; - QUrlQuery query(const GetParentalRatingsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPARENTALRATINGS_H diff --git a/core/include/JellyfinQt/loader/http/getparentpath.h b/core/include/JellyfinQt/loader/http/getparentpath.h deleted file mode 100644 index d387073..0000000 --- a/core/include/JellyfinQt/loader/http/getparentpath.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPARENTPATH_H -#define JELLYFIN_LOADER_HTTP_GETPARENTPATH_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the parent path of a given path. - */ - -class GetParentPathLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetParentPathLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetParentPathParams& parameters) const override; - QUrlQuery query(const GetParentPathParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPARENTPATH_H diff --git a/core/include/JellyfinQt/loader/http/getperson.h b/core/include/JellyfinQt/loader/http/getperson.h deleted file mode 100644 index a5897f4..0000000 --- a/core/include/JellyfinQt/loader/http/getperson.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPERSON_H -#define JELLYFIN_LOADER_HTTP_GETPERSON_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get person by name. - */ - -class GetPersonLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetPersonLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPersonParams& parameters) const override; - QUrlQuery query(const GetPersonParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPERSON_H diff --git a/core/include/JellyfinQt/loader/http/getpersonimage.h b/core/include/JellyfinQt/loader/http/getpersonimage.h deleted file mode 100644 index 8c4ec21..0000000 --- a/core/include/JellyfinQt/loader/http/getpersonimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPERSONIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETPERSONIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPERSONIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getpersonimagebyindex.h b/core/include/JellyfinQt/loader/http/getpersonimagebyindex.h deleted file mode 100644 index bce19c5..0000000 --- a/core/include/JellyfinQt/loader/http/getpersonimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPERSONIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_GETPERSONIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPERSONIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/getpersonremotesearchresults.h b/core/include/JellyfinQt/loader/http/getpersonremotesearchresults.h deleted file mode 100644 index e6b7431..0000000 --- a/core/include/JellyfinQt/loader/http/getpersonremotesearchresults.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPERSONREMOTESEARCHRESULTS_H -#define JELLYFIN_LOADER_HTTP_GETPERSONREMOTESEARCHRESULTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remotesearchresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get person remote search. - */ - -class GetPersonRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetPersonRemoteSearchResultsParams> { -public: - explicit GetPersonRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPersonRemoteSearchResultsParams& parameters) const override; - QUrlQuery query(const GetPersonRemoteSearchResultsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPERSONREMOTESEARCHRESULTS_H diff --git a/core/include/JellyfinQt/loader/http/getphysicalpaths.h b/core/include/JellyfinQt/loader/http/getphysicalpaths.h deleted file mode 100644 index f459429..0000000 --- a/core/include/JellyfinQt/loader/http/getphysicalpaths.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPHYSICALPATHS_H -#define JELLYFIN_LOADER_HTTP_GETPHYSICALPATHS_H - -#include -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a list of physical paths from virtual folders. - */ - -class GetPhysicalPathsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetPhysicalPathsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPhysicalPathsParams& parameters) const override; - QUrlQuery query(const GetPhysicalPathsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPHYSICALPATHS_H diff --git a/core/include/JellyfinQt/loader/http/getpingsystem.h b/core/include/JellyfinQt/loader/http/getpingsystem.h deleted file mode 100644 index 806a897..0000000 --- a/core/include/JellyfinQt/loader/http/getpingsystem.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPINGSYSTEM_H -#define JELLYFIN_LOADER_HTTP_GETPINGSYSTEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Pings the system. - */ - -class GetPingSystemLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetPingSystemLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPingSystemParams& parameters) const override; - QUrlQuery query(const GetPingSystemParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPINGSYSTEM_H diff --git a/core/include/JellyfinQt/loader/http/getplaybackinfo.h b/core/include/JellyfinQt/loader/http/getplaybackinfo.h deleted file mode 100644 index 9a6a7bd..0000000 --- a/core/include/JellyfinQt/loader/http/getplaybackinfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPLAYBACKINFO_H -#define JELLYFIN_LOADER_HTTP_GETPLAYBACKINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/playbackinforesponse.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets live playback media info for an item. - */ - -class GetPlaybackInfoLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetPlaybackInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPlaybackInfoParams& parameters) const override; - QUrlQuery query(const GetPlaybackInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPLAYBACKINFO_H diff --git a/core/include/JellyfinQt/loader/http/getpluginimage.h b/core/include/JellyfinQt/loader/http/getpluginimage.h deleted file mode 100644 index c443b47..0000000 --- a/core/include/JellyfinQt/loader/http/getpluginimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPLUGINIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETPLUGINIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPLUGINIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getpluginmanifest.h b/core/include/JellyfinQt/loader/http/getpluginmanifest.h deleted file mode 100644 index 24d783c..0000000 --- a/core/include/JellyfinQt/loader/http/getpluginmanifest.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPLUGINMANIFEST_H -#define JELLYFIN_LOADER_HTTP_GETPLUGINMANIFEST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPLUGINMANIFEST_H diff --git a/core/include/JellyfinQt/loader/http/getplugins.h b/core/include/JellyfinQt/loader/http/getplugins.h deleted file mode 100644 index 1087ac8..0000000 --- a/core/include/JellyfinQt/loader/http/getplugins.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPLUGINS_H -#define JELLYFIN_LOADER_HTTP_GETPLUGINS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/plugininfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a list of currently installed plugins. - */ - -class GetPluginsLoader : public Jellyfin::Support::HttpLoader, GetPluginsParams> { -public: - explicit GetPluginsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPluginsParams& parameters) const override; - QUrlQuery query(const GetPluginsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPLUGINS_H diff --git a/core/include/JellyfinQt/loader/http/getprofile.h b/core/include/JellyfinQt/loader/http/getprofile.h deleted file mode 100644 index c98a59e..0000000 --- a/core/include/JellyfinQt/loader/http/getprofile.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPROFILE_H -#define JELLYFIN_LOADER_HTTP_GETPROFILE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/deviceprofile.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a single profile. - */ - -class GetProfileLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetProfileLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetProfileParams& parameters) const override; - QUrlQuery query(const GetProfileParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPROFILE_H diff --git a/core/include/JellyfinQt/loader/http/getprofileinfos.h b/core/include/JellyfinQt/loader/http/getprofileinfos.h deleted file mode 100644 index 7d5dd0e..0000000 --- a/core/include/JellyfinQt/loader/http/getprofileinfos.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPROFILEINFOS_H -#define JELLYFIN_LOADER_HTTP_GETPROFILEINFOS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/deviceprofileinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get profile infos. - */ - -class GetProfileInfosLoader : public Jellyfin::Support::HttpLoader, GetProfileInfosParams> { -public: - explicit GetProfileInfosLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetProfileInfosParams& parameters) const override; - QUrlQuery query(const GetProfileInfosParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPROFILEINFOS_H diff --git a/core/include/JellyfinQt/loader/http/getprogram.h b/core/include/JellyfinQt/loader/http/getprogram.h deleted file mode 100644 index 5ec1a9e..0000000 --- a/core/include/JellyfinQt/loader/http/getprogram.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPROGRAM_H -#define JELLYFIN_LOADER_HTTP_GETPROGRAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a live tv program. - */ - -class GetProgramLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetProgramLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetProgramParams& parameters) const override; - QUrlQuery query(const GetProgramParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPROGRAM_H diff --git a/core/include/JellyfinQt/loader/http/getprograms.h b/core/include/JellyfinQt/loader/http/getprograms.h deleted file mode 100644 index 0dea7f8..0000000 --- a/core/include/JellyfinQt/loader/http/getprograms.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPROGRAMS_H -#define JELLYFIN_LOADER_HTTP_GETPROGRAMS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available live tv epgs. - */ - -class GetProgramsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetProgramsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetProgramsParams& parameters) const override; - QUrlQuery query(const GetProgramsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPROGRAMS_H diff --git a/core/include/JellyfinQt/loader/http/getpublicsysteminfo.h b/core/include/JellyfinQt/loader/http/getpublicsysteminfo.h deleted file mode 100644 index 57fc58a..0000000 --- a/core/include/JellyfinQt/loader/http/getpublicsysteminfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPUBLICSYSTEMINFO_H -#define JELLYFIN_LOADER_HTTP_GETPUBLICSYSTEMINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/publicsysteminfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets public information about the server. - */ - -class GetPublicSystemInfoLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetPublicSystemInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPublicSystemInfoParams& parameters) const override; - QUrlQuery query(const GetPublicSystemInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPUBLICSYSTEMINFO_H diff --git a/core/include/JellyfinQt/loader/http/getpublicusers.h b/core/include/JellyfinQt/loader/http/getpublicusers.h deleted file mode 100644 index 1379beb..0000000 --- a/core/include/JellyfinQt/loader/http/getpublicusers.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETPUBLICUSERS_H -#define JELLYFIN_LOADER_HTTP_GETPUBLICUSERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/userdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a list of publicly visible users for display on a login screen. - */ - -class GetPublicUsersLoader : public Jellyfin::Support::HttpLoader, GetPublicUsersParams> { -public: - explicit GetPublicUsersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetPublicUsersParams& parameters) const override; - QUrlQuery query(const GetPublicUsersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETPUBLICUSERS_H diff --git a/core/include/JellyfinQt/loader/http/getqueryfilters.h b/core/include/JellyfinQt/loader/http/getqueryfilters.h deleted file mode 100644 index e524499..0000000 --- a/core/include/JellyfinQt/loader/http/getqueryfilters.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETQUERYFILTERS_H -#define JELLYFIN_LOADER_HTTP_GETQUERYFILTERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/queryfilters.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets query filters. - */ - -class GetQueryFiltersLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetQueryFiltersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetQueryFiltersParams& parameters) const override; - QUrlQuery query(const GetQueryFiltersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETQUERYFILTERS_H diff --git a/core/include/JellyfinQt/loader/http/getratingimage.h b/core/include/JellyfinQt/loader/http/getratingimage.h deleted file mode 100644 index c9f12c3..0000000 --- a/core/include/JellyfinQt/loader/http/getratingimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRATINGIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETRATINGIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRATINGIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getratingimages.h b/core/include/JellyfinQt/loader/http/getratingimages.h deleted file mode 100644 index 03a91d4..0000000 --- a/core/include/JellyfinQt/loader/http/getratingimages.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRATINGIMAGES_H -#define JELLYFIN_LOADER_HTTP_GETRATINGIMAGES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/imagebynameinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get all general images. - */ - -class GetRatingImagesLoader : public Jellyfin::Support::HttpLoader, GetRatingImagesParams> { -public: - explicit GetRatingImagesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetRatingImagesParams& parameters) const override; - QUrlQuery query(const GetRatingImagesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRATINGIMAGES_H diff --git a/core/include/JellyfinQt/loader/http/getrecommendedprograms.h b/core/include/JellyfinQt/loader/http/getrecommendedprograms.h deleted file mode 100644 index f86af91..0000000 --- a/core/include/JellyfinQt/loader/http/getrecommendedprograms.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRECOMMENDEDPROGRAMS_H -#define JELLYFIN_LOADER_HTTP_GETRECOMMENDEDPROGRAMS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets recommended live tv epgs. - */ - -class GetRecommendedProgramsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetRecommendedProgramsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetRecommendedProgramsParams& parameters) const override; - QUrlQuery query(const GetRecommendedProgramsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRECOMMENDEDPROGRAMS_H diff --git a/core/include/JellyfinQt/loader/http/getrecording.h b/core/include/JellyfinQt/loader/http/getrecording.h deleted file mode 100644 index 457cc39..0000000 --- a/core/include/JellyfinQt/loader/http/getrecording.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRECORDING_H -#define JELLYFIN_LOADER_HTTP_GETRECORDING_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a live tv recording. - */ - -class GetRecordingLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetRecordingLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetRecordingParams& parameters) const override; - QUrlQuery query(const GetRecordingParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRECORDING_H diff --git a/core/include/JellyfinQt/loader/http/getrecordingfolders.h b/core/include/JellyfinQt/loader/http/getrecordingfolders.h deleted file mode 100644 index c52ef31..0000000 --- a/core/include/JellyfinQt/loader/http/getrecordingfolders.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRECORDINGFOLDERS_H -#define JELLYFIN_LOADER_HTTP_GETRECORDINGFOLDERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets recording folders. - */ - -class GetRecordingFoldersLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetRecordingFoldersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetRecordingFoldersParams& parameters) const override; - QUrlQuery query(const GetRecordingFoldersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRECORDINGFOLDERS_H diff --git a/core/include/JellyfinQt/loader/http/getrecordinggroup.h b/core/include/JellyfinQt/loader/http/getrecordinggroup.h deleted file mode 100644 index 37b75d1..0000000 --- a/core/include/JellyfinQt/loader/http/getrecordinggroup.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRECORDINGGROUP_H -#define JELLYFIN_LOADER_HTTP_GETRECORDINGGROUP_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRECORDINGGROUP_H diff --git a/core/include/JellyfinQt/loader/http/getrecordinggroups.h b/core/include/JellyfinQt/loader/http/getrecordinggroups.h deleted file mode 100644 index ea062b8..0000000 --- a/core/include/JellyfinQt/loader/http/getrecordinggroups.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRECORDINGGROUPS_H -#define JELLYFIN_LOADER_HTTP_GETRECORDINGGROUPS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets live tv recording groups. - */ - -class GetRecordingGroupsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetRecordingGroupsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetRecordingGroupsParams& parameters) const override; - QUrlQuery query(const GetRecordingGroupsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRECORDINGGROUPS_H diff --git a/core/include/JellyfinQt/loader/http/getrecordings.h b/core/include/JellyfinQt/loader/http/getrecordings.h deleted file mode 100644 index 8506394..0000000 --- a/core/include/JellyfinQt/loader/http/getrecordings.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRECORDINGS_H -#define JELLYFIN_LOADER_HTTP_GETRECORDINGS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets live tv recordings. - */ - -class GetRecordingsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetRecordingsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetRecordingsParams& parameters) const override; - QUrlQuery query(const GetRecordingsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRECORDINGS_H diff --git a/core/include/JellyfinQt/loader/http/getrecordingsseries.h b/core/include/JellyfinQt/loader/http/getrecordingsseries.h deleted file mode 100644 index 131ce64..0000000 --- a/core/include/JellyfinQt/loader/http/getrecordingsseries.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRECORDINGSSERIES_H -#define JELLYFIN_LOADER_HTTP_GETRECORDINGSSERIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets live tv recording series. - */ - -class GetRecordingsSeriesLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetRecordingsSeriesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetRecordingsSeriesParams& parameters) const override; - QUrlQuery query(const GetRecordingsSeriesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRECORDINGSSERIES_H diff --git a/core/include/JellyfinQt/loader/http/getremoteimage.h b/core/include/JellyfinQt/loader/http/getremoteimage.h deleted file mode 100644 index d2f6c67..0000000 --- a/core/include/JellyfinQt/loader/http/getremoteimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETREMOTEIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETREMOTEIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETREMOTEIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getremoteimages.h b/core/include/JellyfinQt/loader/http/getremoteimages.h deleted file mode 100644 index cd040bd..0000000 --- a/core/include/JellyfinQt/loader/http/getremoteimages.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETREMOTEIMAGES_H -#define JELLYFIN_LOADER_HTTP_GETREMOTEIMAGES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remoteimageresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available remote images for an item. - */ - -class GetRemoteImagesLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetRemoteImagesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetRemoteImagesParams& parameters) const override; - QUrlQuery query(const GetRemoteImagesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETREMOTEIMAGES_H diff --git a/core/include/JellyfinQt/loader/http/getremotesearchimage.h b/core/include/JellyfinQt/loader/http/getremotesearchimage.h deleted file mode 100644 index 2a4efbf..0000000 --- a/core/include/JellyfinQt/loader/http/getremotesearchimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETREMOTESEARCHIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETREMOTESEARCHIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETREMOTESEARCHIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getremotesubtitles.h b/core/include/JellyfinQt/loader/http/getremotesubtitles.h deleted file mode 100644 index 1a3108d..0000000 --- a/core/include/JellyfinQt/loader/http/getremotesubtitles.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETREMOTESUBTITLES_H -#define JELLYFIN_LOADER_HTTP_GETREMOTESUBTITLES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETREMOTESUBTITLES_H diff --git a/core/include/JellyfinQt/loader/http/getresumeitems.h b/core/include/JellyfinQt/loader/http/getresumeitems.h deleted file mode 100644 index 1069bc8..0000000 --- a/core/include/JellyfinQt/loader/http/getresumeitems.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETRESUMEITEMS_H -#define JELLYFIN_LOADER_HTTP_GETRESUMEITEMS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets items based on a query. - */ - -class GetResumeItemsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetResumeItemsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetResumeItemsParams& parameters) const override; - QUrlQuery query(const GetResumeItemsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETRESUMEITEMS_H diff --git a/core/include/JellyfinQt/loader/http/getrootfolder.h b/core/include/JellyfinQt/loader/http/getrootfolder.h deleted file mode 100644 index 983df48..0000000 --- a/core/include/JellyfinQt/loader/http/getrootfolder.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETROOTFOLDER_H -#define JELLYFIN_LOADER_HTTP_GETROOTFOLDER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the root folder from a user's library. - */ - -class GetRootFolderLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetRootFolderLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetRootFolderParams& parameters) const override; - QUrlQuery query(const GetRootFolderParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETROOTFOLDER_H diff --git a/core/include/JellyfinQt/loader/http/getschedulesdirectcountries.h b/core/include/JellyfinQt/loader/http/getschedulesdirectcountries.h deleted file mode 100644 index 80cbe36..0000000 --- a/core/include/JellyfinQt/loader/http/getschedulesdirectcountries.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSCHEDULESDIRECTCOUNTRIES_H -#define JELLYFIN_LOADER_HTTP_GETSCHEDULESDIRECTCOUNTRIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets available countries. - */ - -class GetSchedulesDirectCountriesLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSchedulesDirectCountriesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSchedulesDirectCountriesParams& parameters) const override; - QUrlQuery query(const GetSchedulesDirectCountriesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSCHEDULESDIRECTCOUNTRIES_H diff --git a/core/include/JellyfinQt/loader/http/getseasons.h b/core/include/JellyfinQt/loader/http/getseasons.h deleted file mode 100644 index e118feb..0000000 --- a/core/include/JellyfinQt/loader/http/getseasons.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSEASONS_H -#define JELLYFIN_LOADER_HTTP_GETSEASONS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets seasons for a tv series. - */ - -class GetSeasonsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSeasonsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSeasonsParams& parameters) const override; - QUrlQuery query(const GetSeasonsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSEASONS_H diff --git a/core/include/JellyfinQt/loader/http/getseriesremotesearchresults.h b/core/include/JellyfinQt/loader/http/getseriesremotesearchresults.h deleted file mode 100644 index b0103bf..0000000 --- a/core/include/JellyfinQt/loader/http/getseriesremotesearchresults.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSERIESREMOTESEARCHRESULTS_H -#define JELLYFIN_LOADER_HTTP_GETSERIESREMOTESEARCHRESULTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remotesearchresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get series remote search. - */ - -class GetSeriesRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetSeriesRemoteSearchResultsParams> { -public: - explicit GetSeriesRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSeriesRemoteSearchResultsParams& parameters) const override; - QUrlQuery query(const GetSeriesRemoteSearchResultsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSERIESREMOTESEARCHRESULTS_H diff --git a/core/include/JellyfinQt/loader/http/getseriestimer.h b/core/include/JellyfinQt/loader/http/getseriestimer.h deleted file mode 100644 index 4a9f8b2..0000000 --- a/core/include/JellyfinQt/loader/http/getseriestimer.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSERIESTIMER_H -#define JELLYFIN_LOADER_HTTP_GETSERIESTIMER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/seriestimerinfodto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a live tv series timer. - */ - -class GetSeriesTimerLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSeriesTimerLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSeriesTimerParams& parameters) const override; - QUrlQuery query(const GetSeriesTimerParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSERIESTIMER_H diff --git a/core/include/JellyfinQt/loader/http/getseriestimers.h b/core/include/JellyfinQt/loader/http/getseriestimers.h deleted file mode 100644 index 92168b2..0000000 --- a/core/include/JellyfinQt/loader/http/getseriestimers.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSERIESTIMERS_H -#define JELLYFIN_LOADER_HTTP_GETSERIESTIMERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/seriestimerinfodtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets live tv series timers. - */ - -class GetSeriesTimersLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSeriesTimersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSeriesTimersParams& parameters) const override; - QUrlQuery query(const GetSeriesTimersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSERIESTIMERS_H diff --git a/core/include/JellyfinQt/loader/http/getserverlogs.h b/core/include/JellyfinQt/loader/http/getserverlogs.h deleted file mode 100644 index a559d2d..0000000 --- a/core/include/JellyfinQt/loader/http/getserverlogs.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSERVERLOGS_H -#define JELLYFIN_LOADER_HTTP_GETSERVERLOGS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/logfile.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a list of available server log files. - */ - -class GetServerLogsLoader : public Jellyfin::Support::HttpLoader, GetServerLogsParams> { -public: - explicit GetServerLogsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetServerLogsParams& parameters) const override; - QUrlQuery query(const GetServerLogsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSERVERLOGS_H diff --git a/core/include/JellyfinQt/loader/http/getsessions.h b/core/include/JellyfinQt/loader/http/getsessions.h deleted file mode 100644 index 3746799..0000000 --- a/core/include/JellyfinQt/loader/http/getsessions.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSESSIONS_H -#define JELLYFIN_LOADER_HTTP_GETSESSIONS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/sessioninfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a list of sessions. - */ - -class GetSessionsLoader : public Jellyfin::Support::HttpLoader, GetSessionsParams> { -public: - explicit GetSessionsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSessionsParams& parameters) const override; - QUrlQuery query(const GetSessionsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSESSIONS_H diff --git a/core/include/JellyfinQt/loader/http/getsimilaralbums.h b/core/include/JellyfinQt/loader/http/getsimilaralbums.h deleted file mode 100644 index 498a178..0000000 --- a/core/include/JellyfinQt/loader/http/getsimilaralbums.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSIMILARALBUMS_H -#define JELLYFIN_LOADER_HTTP_GETSIMILARALBUMS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets similar items. - */ - -class GetSimilarAlbumsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSimilarAlbumsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSimilarAlbumsParams& parameters) const override; - QUrlQuery query(const GetSimilarAlbumsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSIMILARALBUMS_H diff --git a/core/include/JellyfinQt/loader/http/getsimilarartists.h b/core/include/JellyfinQt/loader/http/getsimilarartists.h deleted file mode 100644 index e37c234..0000000 --- a/core/include/JellyfinQt/loader/http/getsimilarartists.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSIMILARARTISTS_H -#define JELLYFIN_LOADER_HTTP_GETSIMILARARTISTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets similar items. - */ - -class GetSimilarArtistsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSimilarArtistsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSimilarArtistsParams& parameters) const override; - QUrlQuery query(const GetSimilarArtistsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSIMILARARTISTS_H diff --git a/core/include/JellyfinQt/loader/http/getsimilaritems.h b/core/include/JellyfinQt/loader/http/getsimilaritems.h deleted file mode 100644 index 61cf067..0000000 --- a/core/include/JellyfinQt/loader/http/getsimilaritems.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSIMILARITEMS_H -#define JELLYFIN_LOADER_HTTP_GETSIMILARITEMS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets similar items. - */ - -class GetSimilarItemsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSimilarItemsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSimilarItemsParams& parameters) const override; - QUrlQuery query(const GetSimilarItemsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSIMILARITEMS_H diff --git a/core/include/JellyfinQt/loader/http/getsimilarmovies.h b/core/include/JellyfinQt/loader/http/getsimilarmovies.h deleted file mode 100644 index 15a002e..0000000 --- a/core/include/JellyfinQt/loader/http/getsimilarmovies.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSIMILARMOVIES_H -#define JELLYFIN_LOADER_HTTP_GETSIMILARMOVIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets similar items. - */ - -class GetSimilarMoviesLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSimilarMoviesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSimilarMoviesParams& parameters) const override; - QUrlQuery query(const GetSimilarMoviesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSIMILARMOVIES_H diff --git a/core/include/JellyfinQt/loader/http/getsimilarshows.h b/core/include/JellyfinQt/loader/http/getsimilarshows.h deleted file mode 100644 index 774d5c5..0000000 --- a/core/include/JellyfinQt/loader/http/getsimilarshows.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSIMILARSHOWS_H -#define JELLYFIN_LOADER_HTTP_GETSIMILARSHOWS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets similar items. - */ - -class GetSimilarShowsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSimilarShowsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSimilarShowsParams& parameters) const override; - QUrlQuery query(const GetSimilarShowsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSIMILARSHOWS_H diff --git a/core/include/JellyfinQt/loader/http/getsimilartrailers.h b/core/include/JellyfinQt/loader/http/getsimilartrailers.h deleted file mode 100644 index 1030e72..0000000 --- a/core/include/JellyfinQt/loader/http/getsimilartrailers.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSIMILARTRAILERS_H -#define JELLYFIN_LOADER_HTTP_GETSIMILARTRAILERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets similar items. - */ - -class GetSimilarTrailersLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSimilarTrailersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSimilarTrailersParams& parameters) const override; - QUrlQuery query(const GetSimilarTrailersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSIMILARTRAILERS_H diff --git a/core/include/JellyfinQt/loader/http/getspecialfeatures.h b/core/include/JellyfinQt/loader/http/getspecialfeatures.h deleted file mode 100644 index 567d094..0000000 --- a/core/include/JellyfinQt/loader/http/getspecialfeatures.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSPECIALFEATURES_H -#define JELLYFIN_LOADER_HTTP_GETSPECIALFEATURES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets special features for an item. - */ - -class GetSpecialFeaturesLoader : public Jellyfin::Support::HttpLoader, GetSpecialFeaturesParams> { -public: - explicit GetSpecialFeaturesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSpecialFeaturesParams& parameters) const override; - QUrlQuery query(const GetSpecialFeaturesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSPECIALFEATURES_H diff --git a/core/include/JellyfinQt/loader/http/getstatus.h b/core/include/JellyfinQt/loader/http/getstatus.h deleted file mode 100644 index 18540fc..0000000 --- a/core/include/JellyfinQt/loader/http/getstatus.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSTATUS_H -#define JELLYFIN_LOADER_HTTP_GETSTATUS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/quickconnectstate.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the current quick connect state. - */ - -class GetStatusLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetStatusLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetStatusParams& parameters) const override; - QUrlQuery query(const GetStatusParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSTATUS_H diff --git a/core/include/JellyfinQt/loader/http/getstudio.h b/core/include/JellyfinQt/loader/http/getstudio.h deleted file mode 100644 index ad73c3d..0000000 --- a/core/include/JellyfinQt/loader/http/getstudio.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSTUDIO_H -#define JELLYFIN_LOADER_HTTP_GETSTUDIO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a studio by name. - */ - -class GetStudioLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetStudioLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetStudioParams& parameters) const override; - QUrlQuery query(const GetStudioParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSTUDIO_H diff --git a/core/include/JellyfinQt/loader/http/getstudioimage.h b/core/include/JellyfinQt/loader/http/getstudioimage.h deleted file mode 100644 index 733e4e6..0000000 --- a/core/include/JellyfinQt/loader/http/getstudioimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSTUDIOIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETSTUDIOIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSTUDIOIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getstudioimagebyindex.h b/core/include/JellyfinQt/loader/http/getstudioimagebyindex.h deleted file mode 100644 index 392032f..0000000 --- a/core/include/JellyfinQt/loader/http/getstudioimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSTUDIOIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_GETSTUDIOIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSTUDIOIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/getsubtitle.h b/core/include/JellyfinQt/loader/http/getsubtitle.h deleted file mode 100644 index 9016bf3..0000000 --- a/core/include/JellyfinQt/loader/http/getsubtitle.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSUBTITLE_H -#define JELLYFIN_LOADER_HTTP_GETSUBTITLE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSUBTITLE_H diff --git a/core/include/JellyfinQt/loader/http/getsubtitleplaylist.h b/core/include/JellyfinQt/loader/http/getsubtitleplaylist.h deleted file mode 100644 index 407a366..0000000 --- a/core/include/JellyfinQt/loader/http/getsubtitleplaylist.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSUBTITLEPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_GETSUBTITLEPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSUBTITLEPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/getsubtitlewithticks.h b/core/include/JellyfinQt/loader/http/getsubtitlewithticks.h deleted file mode 100644 index c17c23b..0000000 --- a/core/include/JellyfinQt/loader/http/getsubtitlewithticks.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSUBTITLEWITHTICKS_H -#define JELLYFIN_LOADER_HTTP_GETSUBTITLEWITHTICKS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSUBTITLEWITHTICKS_H diff --git a/core/include/JellyfinQt/loader/http/getsysteminfo.h b/core/include/JellyfinQt/loader/http/getsysteminfo.h deleted file mode 100644 index 211b92b..0000000 --- a/core/include/JellyfinQt/loader/http/getsysteminfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETSYSTEMINFO_H -#define JELLYFIN_LOADER_HTTP_GETSYSTEMINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/systeminfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets information about the server. - */ - -class GetSystemInfoLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetSystemInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetSystemInfoParams& parameters) const override; - QUrlQuery query(const GetSystemInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETSYSTEMINFO_H diff --git a/core/include/JellyfinQt/loader/http/gettask.h b/core/include/JellyfinQt/loader/http/gettask.h deleted file mode 100644 index 2b13844..0000000 --- a/core/include/JellyfinQt/loader/http/gettask.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETTASK_H -#define JELLYFIN_LOADER_HTTP_GETTASK_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/taskinfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get task by id. - */ - -class GetTaskLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetTaskLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetTaskParams& parameters) const override; - QUrlQuery query(const GetTaskParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETTASK_H diff --git a/core/include/JellyfinQt/loader/http/getthememedia.h b/core/include/JellyfinQt/loader/http/getthememedia.h deleted file mode 100644 index ffff6d0..0000000 --- a/core/include/JellyfinQt/loader/http/getthememedia.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETTHEMEMEDIA_H -#define JELLYFIN_LOADER_HTTP_GETTHEMEMEDIA_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/allthememediaresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get theme songs and videos for an item. - */ - -class GetThemeMediaLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetThemeMediaLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetThemeMediaParams& parameters) const override; - QUrlQuery query(const GetThemeMediaParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETTHEMEMEDIA_H diff --git a/core/include/JellyfinQt/loader/http/getthemesongs.h b/core/include/JellyfinQt/loader/http/getthemesongs.h deleted file mode 100644 index ab95d09..0000000 --- a/core/include/JellyfinQt/loader/http/getthemesongs.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETTHEMESONGS_H -#define JELLYFIN_LOADER_HTTP_GETTHEMESONGS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/thememediaresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get theme songs for an item. - */ - -class GetThemeSongsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetThemeSongsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetThemeSongsParams& parameters) const override; - QUrlQuery query(const GetThemeSongsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETTHEMESONGS_H diff --git a/core/include/JellyfinQt/loader/http/getthemevideos.h b/core/include/JellyfinQt/loader/http/getthemevideos.h deleted file mode 100644 index 8f0a47b..0000000 --- a/core/include/JellyfinQt/loader/http/getthemevideos.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETTHEMEVIDEOS_H -#define JELLYFIN_LOADER_HTTP_GETTHEMEVIDEOS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/thememediaresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get theme videos for an item. - */ - -class GetThemeVideosLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetThemeVideosLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetThemeVideosParams& parameters) const override; - QUrlQuery query(const GetThemeVideosParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETTHEMEVIDEOS_H diff --git a/core/include/JellyfinQt/loader/http/gettimer.h b/core/include/JellyfinQt/loader/http/gettimer.h deleted file mode 100644 index 92af48f..0000000 --- a/core/include/JellyfinQt/loader/http/gettimer.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETTIMER_H -#define JELLYFIN_LOADER_HTTP_GETTIMER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/timerinfodto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a timer. - */ - -class GetTimerLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetTimerLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetTimerParams& parameters) const override; - QUrlQuery query(const GetTimerParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETTIMER_H diff --git a/core/include/JellyfinQt/loader/http/gettimers.h b/core/include/JellyfinQt/loader/http/gettimers.h deleted file mode 100644 index 3d41836..0000000 --- a/core/include/JellyfinQt/loader/http/gettimers.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETTIMERS_H -#define JELLYFIN_LOADER_HTTP_GETTIMERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/timerinfodtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets the live tv timers. - */ - -class GetTimersLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetTimersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetTimersParams& parameters) const override; - QUrlQuery query(const GetTimersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETTIMERS_H diff --git a/core/include/JellyfinQt/loader/http/gettrailerremotesearchresults.h b/core/include/JellyfinQt/loader/http/gettrailerremotesearchresults.h deleted file mode 100644 index 66a7bad..0000000 --- a/core/include/JellyfinQt/loader/http/gettrailerremotesearchresults.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETTRAILERREMOTESEARCHRESULTS_H -#define JELLYFIN_LOADER_HTTP_GETTRAILERREMOTESEARCHRESULTS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/remotesearchresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get trailer remote search. - */ - -class GetTrailerRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetTrailerRemoteSearchResultsParams> { -public: - explicit GetTrailerRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetTrailerRemoteSearchResultsParams& parameters) const override; - QUrlQuery query(const GetTrailerRemoteSearchResultsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETTRAILERREMOTESEARCHRESULTS_H diff --git a/core/include/JellyfinQt/loader/http/gettunerhosttypes.h b/core/include/JellyfinQt/loader/http/gettunerhosttypes.h deleted file mode 100644 index f28ca86..0000000 --- a/core/include/JellyfinQt/loader/http/gettunerhosttypes.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETTUNERHOSTTYPES_H -#define JELLYFIN_LOADER_HTTP_GETTUNERHOSTTYPES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/nameidpair.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get tuner host types. - */ - -class GetTunerHostTypesLoader : public Jellyfin::Support::HttpLoader, GetTunerHostTypesParams> { -public: - explicit GetTunerHostTypesLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetTunerHostTypesParams& parameters) const override; - QUrlQuery query(const GetTunerHostTypesParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETTUNERHOSTTYPES_H diff --git a/core/include/JellyfinQt/loader/http/getuniversalaudiostream.h b/core/include/JellyfinQt/loader/http/getuniversalaudiostream.h deleted file mode 100644 index f9625fa..0000000 --- a/core/include/JellyfinQt/loader/http/getuniversalaudiostream.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETUNIVERSALAUDIOSTREAM_H -#define JELLYFIN_LOADER_HTTP_GETUNIVERSALAUDIOSTREAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETUNIVERSALAUDIOSTREAM_H diff --git a/core/include/JellyfinQt/loader/http/getuserbyid.h b/core/include/JellyfinQt/loader/http/getuserbyid.h deleted file mode 100644 index 9ed6d69..0000000 --- a/core/include/JellyfinQt/loader/http/getuserbyid.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETUSERBYID_H -#define JELLYFIN_LOADER_HTTP_GETUSERBYID_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/userdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a user by Id. - */ - -class GetUserByIdLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetUserByIdLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetUserByIdParams& parameters) const override; - QUrlQuery query(const GetUserByIdParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETUSERBYID_H diff --git a/core/include/JellyfinQt/loader/http/getuserimage.h b/core/include/JellyfinQt/loader/http/getuserimage.h deleted file mode 100644 index abb1254..0000000 --- a/core/include/JellyfinQt/loader/http/getuserimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETUSERIMAGE_H -#define JELLYFIN_LOADER_HTTP_GETUSERIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETUSERIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getuserimagebyindex.h b/core/include/JellyfinQt/loader/http/getuserimagebyindex.h deleted file mode 100644 index 4a9ddd1..0000000 --- a/core/include/JellyfinQt/loader/http/getuserimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETUSERIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_GETUSERIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETUSERIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/getusers.h b/core/include/JellyfinQt/loader/http/getusers.h deleted file mode 100644 index 6eeeff9..0000000 --- a/core/include/JellyfinQt/loader/http/getusers.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETUSERS_H -#define JELLYFIN_LOADER_HTTP_GETUSERS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/userdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a list of users. - */ - -class GetUsersLoader : public Jellyfin::Support::HttpLoader, GetUsersParams> { -public: - explicit GetUsersLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetUsersParams& parameters) const override; - QUrlQuery query(const GetUsersParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETUSERS_H diff --git a/core/include/JellyfinQt/loader/http/getuserviews.h b/core/include/JellyfinQt/loader/http/getuserviews.h deleted file mode 100644 index 50b41f4..0000000 --- a/core/include/JellyfinQt/loader/http/getuserviews.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETUSERVIEWS_H -#define JELLYFIN_LOADER_HTTP_GETUSERVIEWS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdtoqueryresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Get user views. - */ - -class GetUserViewsLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetUserViewsLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetUserViewsParams& parameters) const override; - QUrlQuery query(const GetUserViewsParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETUSERVIEWS_H diff --git a/core/include/JellyfinQt/loader/http/getvarianthlsaudioplaylist.h b/core/include/JellyfinQt/loader/http/getvarianthlsaudioplaylist.h deleted file mode 100644 index cd9dfcb..0000000 --- a/core/include/JellyfinQt/loader/http/getvarianthlsaudioplaylist.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETVARIANTHLSAUDIOPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_GETVARIANTHLSAUDIOPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETVARIANTHLSAUDIOPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/getvarianthlsvideoplaylist.h b/core/include/JellyfinQt/loader/http/getvarianthlsvideoplaylist.h deleted file mode 100644 index dcc8820..0000000 --- a/core/include/JellyfinQt/loader/http/getvarianthlsvideoplaylist.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETVARIANTHLSVIDEOPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_GETVARIANTHLSVIDEOPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETVARIANTHLSVIDEOPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/getvideostream.h b/core/include/JellyfinQt/loader/http/getvideostream.h deleted file mode 100644 index 5d9c5f5..0000000 --- a/core/include/JellyfinQt/loader/http/getvideostream.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETVIDEOSTREAM_H -#define JELLYFIN_LOADER_HTTP_GETVIDEOSTREAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETVIDEOSTREAM_H diff --git a/core/include/JellyfinQt/loader/http/getvideostreambycontainer.h b/core/include/JellyfinQt/loader/http/getvideostreambycontainer.h deleted file mode 100644 index 1019c58..0000000 --- a/core/include/JellyfinQt/loader/http/getvideostreambycontainer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETVIDEOSTREAMBYCONTAINER_H -#define JELLYFIN_LOADER_HTTP_GETVIDEOSTREAMBYCONTAINER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETVIDEOSTREAMBYCONTAINER_H diff --git a/core/include/JellyfinQt/loader/http/getwakeonlaninfo.h b/core/include/JellyfinQt/loader/http/getwakeonlaninfo.h deleted file mode 100644 index 29682c5..0000000 --- a/core/include/JellyfinQt/loader/http/getwakeonlaninfo.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETWAKEONLANINFO_H -#define JELLYFIN_LOADER_HTTP_GETWAKEONLANINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/wakeonlaninfo.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets wake on lan information. - */ - -class GetWakeOnLanInfoLoader : public Jellyfin::Support::HttpLoader, GetWakeOnLanInfoParams> { -public: - explicit GetWakeOnLanInfoLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetWakeOnLanInfoParams& parameters) const override; - QUrlQuery query(const GetWakeOnLanInfoParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETWAKEONLANINFO_H diff --git a/core/include/JellyfinQt/loader/http/getyear.h b/core/include/JellyfinQt/loader/http/getyear.h deleted file mode 100644 index 105ea77..0000000 --- a/core/include/JellyfinQt/loader/http/getyear.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_GETYEAR_H -#define JELLYFIN_LOADER_HTTP_GETYEAR_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/baseitemdto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Gets a year. - */ - -class GetYearLoader : public Jellyfin::Support::HttpLoader { -public: - explicit GetYearLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const GetYearParams& parameters) const override; - QUrlQuery query(const GetYearParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_GETYEAR_H diff --git a/core/include/JellyfinQt/loader/http/headartistimage.h b/core/include/JellyfinQt/loader/http/headartistimage.h deleted file mode 100644 index 1ec4ff6..0000000 --- a/core/include/JellyfinQt/loader/http/headartistimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADARTISTIMAGE_H -#define JELLYFIN_LOADER_HTTP_HEADARTISTIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADARTISTIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/headaudiostream.h b/core/include/JellyfinQt/loader/http/headaudiostream.h deleted file mode 100644 index c372680..0000000 --- a/core/include/JellyfinQt/loader/http/headaudiostream.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADAUDIOSTREAM_H -#define JELLYFIN_LOADER_HTTP_HEADAUDIOSTREAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADAUDIOSTREAM_H diff --git a/core/include/JellyfinQt/loader/http/headaudiostreambycontainer.h b/core/include/JellyfinQt/loader/http/headaudiostreambycontainer.h deleted file mode 100644 index a96a4f0..0000000 --- a/core/include/JellyfinQt/loader/http/headaudiostreambycontainer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADAUDIOSTREAMBYCONTAINER_H -#define JELLYFIN_LOADER_HTTP_HEADAUDIOSTREAMBYCONTAINER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADAUDIOSTREAMBYCONTAINER_H diff --git a/core/include/JellyfinQt/loader/http/headgenreimage.h b/core/include/JellyfinQt/loader/http/headgenreimage.h deleted file mode 100644 index 5001391..0000000 --- a/core/include/JellyfinQt/loader/http/headgenreimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADGENREIMAGE_H -#define JELLYFIN_LOADER_HTTP_HEADGENREIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADGENREIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/headgenreimagebyindex.h b/core/include/JellyfinQt/loader/http/headgenreimagebyindex.h deleted file mode 100644 index 5209252..0000000 --- a/core/include/JellyfinQt/loader/http/headgenreimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADGENREIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_HEADGENREIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADGENREIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/headitemimage.h b/core/include/JellyfinQt/loader/http/headitemimage.h deleted file mode 100644 index 23353cb..0000000 --- a/core/include/JellyfinQt/loader/http/headitemimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADITEMIMAGE_H -#define JELLYFIN_LOADER_HTTP_HEADITEMIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADITEMIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/headitemimage2.h b/core/include/JellyfinQt/loader/http/headitemimage2.h deleted file mode 100644 index 6ca8b3e..0000000 --- a/core/include/JellyfinQt/loader/http/headitemimage2.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADITEMIMAGE2_H -#define JELLYFIN_LOADER_HTTP_HEADITEMIMAGE2_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADITEMIMAGE2_H diff --git a/core/include/JellyfinQt/loader/http/headitemimagebyindex.h b/core/include/JellyfinQt/loader/http/headitemimagebyindex.h deleted file mode 100644 index 3134840..0000000 --- a/core/include/JellyfinQt/loader/http/headitemimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADITEMIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_HEADITEMIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADITEMIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/headmasterhlsaudioplaylist.h b/core/include/JellyfinQt/loader/http/headmasterhlsaudioplaylist.h deleted file mode 100644 index 4c93781..0000000 --- a/core/include/JellyfinQt/loader/http/headmasterhlsaudioplaylist.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADMASTERHLSAUDIOPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_HEADMASTERHLSAUDIOPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADMASTERHLSAUDIOPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/headmasterhlsvideoplaylist.h b/core/include/JellyfinQt/loader/http/headmasterhlsvideoplaylist.h deleted file mode 100644 index 1087ba1..0000000 --- a/core/include/JellyfinQt/loader/http/headmasterhlsvideoplaylist.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADMASTERHLSVIDEOPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_HEADMASTERHLSVIDEOPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADMASTERHLSVIDEOPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/headmusicgenreimage.h b/core/include/JellyfinQt/loader/http/headmusicgenreimage.h deleted file mode 100644 index d44906b..0000000 --- a/core/include/JellyfinQt/loader/http/headmusicgenreimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADMUSICGENREIMAGE_H -#define JELLYFIN_LOADER_HTTP_HEADMUSICGENREIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADMUSICGENREIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/headmusicgenreimagebyindex.h b/core/include/JellyfinQt/loader/http/headmusicgenreimagebyindex.h deleted file mode 100644 index 2d39711..0000000 --- a/core/include/JellyfinQt/loader/http/headmusicgenreimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADMUSICGENREIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_HEADMUSICGENREIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADMUSICGENREIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/headpersonimage.h b/core/include/JellyfinQt/loader/http/headpersonimage.h deleted file mode 100644 index 1f68e29..0000000 --- a/core/include/JellyfinQt/loader/http/headpersonimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADPERSONIMAGE_H -#define JELLYFIN_LOADER_HTTP_HEADPERSONIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADPERSONIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/headpersonimagebyindex.h b/core/include/JellyfinQt/loader/http/headpersonimagebyindex.h deleted file mode 100644 index 70b5437..0000000 --- a/core/include/JellyfinQt/loader/http/headpersonimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADPERSONIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_HEADPERSONIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADPERSONIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/headstudioimage.h b/core/include/JellyfinQt/loader/http/headstudioimage.h deleted file mode 100644 index a299b95..0000000 --- a/core/include/JellyfinQt/loader/http/headstudioimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADSTUDIOIMAGE_H -#define JELLYFIN_LOADER_HTTP_HEADSTUDIOIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADSTUDIOIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/headstudioimagebyindex.h b/core/include/JellyfinQt/loader/http/headstudioimagebyindex.h deleted file mode 100644 index f57f0ac..0000000 --- a/core/include/JellyfinQt/loader/http/headstudioimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADSTUDIOIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_HEADSTUDIOIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADSTUDIOIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/headuniversalaudiostream.h b/core/include/JellyfinQt/loader/http/headuniversalaudiostream.h deleted file mode 100644 index 7751745..0000000 --- a/core/include/JellyfinQt/loader/http/headuniversalaudiostream.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADUNIVERSALAUDIOSTREAM_H -#define JELLYFIN_LOADER_HTTP_HEADUNIVERSALAUDIOSTREAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADUNIVERSALAUDIOSTREAM_H diff --git a/core/include/JellyfinQt/loader/http/headuserimage.h b/core/include/JellyfinQt/loader/http/headuserimage.h deleted file mode 100644 index 63215aa..0000000 --- a/core/include/JellyfinQt/loader/http/headuserimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADUSERIMAGE_H -#define JELLYFIN_LOADER_HTTP_HEADUSERIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADUSERIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/headuserimagebyindex.h b/core/include/JellyfinQt/loader/http/headuserimagebyindex.h deleted file mode 100644 index b95dc22..0000000 --- a/core/include/JellyfinQt/loader/http/headuserimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADUSERIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_HEADUSERIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADUSERIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/headvideostream.h b/core/include/JellyfinQt/loader/http/headvideostream.h deleted file mode 100644 index 0de3aed..0000000 --- a/core/include/JellyfinQt/loader/http/headvideostream.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADVIDEOSTREAM_H -#define JELLYFIN_LOADER_HTTP_HEADVIDEOSTREAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADVIDEOSTREAM_H diff --git a/core/include/JellyfinQt/loader/http/headvideostreambycontainer.h b/core/include/JellyfinQt/loader/http/headvideostreambycontainer.h deleted file mode 100644 index bcfe718..0000000 --- a/core/include/JellyfinQt/loader/http/headvideostreambycontainer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_HEADVIDEOSTREAMBYCONTAINER_H -#define JELLYFIN_LOADER_HTTP_HEADVIDEOSTREAMBYCONTAINER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_HEADVIDEOSTREAMBYCONTAINER_H diff --git a/core/include/JellyfinQt/loader/http/addtocollection.h b/core/include/JellyfinQt/loader/http/hlssegment.h similarity index 91% rename from core/include/JellyfinQt/loader/http/addtocollection.h rename to core/include/JellyfinQt/loader/http/hlssegment.h index 113ec62..cff457c 100644 --- a/core/include/JellyfinQt/loader/http/addtocollection.h +++ b/core/include/JellyfinQt/loader/http/hlssegment.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_ADDTOCOLLECTION_H -#define JELLYFIN_LOADER_HTTP_ADDTOCOLLECTION_H +#ifndef JELLYFIN_LOADER_HTTP_HLSSEGMENT_H +#define JELLYFIN_LOADER_HTTP_HLSSEGMENT_H #include @@ -44,10 +44,11 @@ namespace Jellyfin { namespace Loader { namespace HTTP { +using namespace Jellyfin::DTO; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_ADDTOCOLLECTION_H +#endif // JELLYFIN_LOADER_HTTP_HLSSEGMENT_H diff --git a/core/include/JellyfinQt/loader/http/getitemimageinfos.h b/core/include/JellyfinQt/loader/http/image.h similarity index 93% rename from core/include/JellyfinQt/loader/http/getitemimageinfos.h rename to core/include/JellyfinQt/loader/http/image.h index 764eff8..8157b07 100644 --- a/core/include/JellyfinQt/loader/http/getitemimageinfos.h +++ b/core/include/JellyfinQt/loader/http/image.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETITEMIMAGEINFOS_H -#define JELLYFIN_LOADER_HTTP_GETITEMIMAGEINFOS_H +#ifndef JELLYFIN_LOADER_HTTP_IMAGE_H +#define JELLYFIN_LOADER_HTTP_IMAGE_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Get item image infos. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETITEMIMAGEINFOS_H +#endif // JELLYFIN_LOADER_HTTP_IMAGE_H diff --git a/core/include/JellyfinQt/loader/http/getmediainfoimages.h b/core/include/JellyfinQt/loader/http/imagebyname.h similarity index 67% rename from core/include/JellyfinQt/loader/http/getmediainfoimages.h rename to core/include/JellyfinQt/loader/http/imagebyname.h index 5c99d38..0aab066 100644 --- a/core/include/JellyfinQt/loader/http/getmediainfoimages.h +++ b/core/include/JellyfinQt/loader/http/imagebyname.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETMEDIAINFOIMAGES_H -#define JELLYFIN_LOADER_HTTP_GETMEDIAINFOIMAGES_H +#ifndef JELLYFIN_LOADER_HTTP_IMAGEBYNAME_H +#define JELLYFIN_LOADER_HTTP_IMAGEBYNAME_H #include @@ -36,6 +36,8 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/imagebynameinfo.h" +#include "JellyfinQt/dto/imagebynameinfo.h" +#include "JellyfinQt/dto/imagebynameinfo.h" namespace Jellyfin { // Forward declaration @@ -45,8 +47,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Get all general images. + */ + +class GetGeneralImagesLoader : public Jellyfin::Support::HttpLoader, GetGeneralImagesParams> { +public: + explicit GetGeneralImagesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetGeneralImagesParams& parameters) const override; + QUrlQuery query(const GetGeneralImagesParams& parameters) const override; +}; /** * @brief Get all media info images. */ @@ -59,9 +73,21 @@ protected: QString path(const GetMediaInfoImagesParams& parameters) const override; QUrlQuery query(const GetMediaInfoImagesParams& parameters) const override; }; +/** + * @brief Get all general images. + */ + +class GetRatingImagesLoader : public Jellyfin::Support::HttpLoader, GetRatingImagesParams> { +public: + explicit GetRatingImagesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetRatingImagesParams& parameters) const override; + QUrlQuery query(const GetRatingImagesParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETMEDIAINFOIMAGES_H +#endif // JELLYFIN_LOADER_HTTP_IMAGEBYNAME_H diff --git a/core/include/JellyfinQt/loader/http/initiate.h b/core/include/JellyfinQt/loader/http/initiate.h deleted file mode 100644 index eb2d389..0000000 --- a/core/include/JellyfinQt/loader/http/initiate.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_INITIATE_H -#define JELLYFIN_LOADER_HTTP_INITIATE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/quickconnectresult.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Initiate a new quick connect request. - */ - -class InitiateLoader : public Jellyfin::Support::HttpLoader { -public: - explicit InitiateLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const InitiateParams& parameters) const override; - QUrlQuery query(const InitiateParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_INITIATE_H diff --git a/core/include/JellyfinQt/loader/http/installpackage.h b/core/include/JellyfinQt/loader/http/installpackage.h deleted file mode 100644 index 34d30be..0000000 --- a/core/include/JellyfinQt/loader/http/installpackage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_INSTALLPACKAGE_H -#define JELLYFIN_LOADER_HTTP_INSTALLPACKAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_INSTALLPACKAGE_H diff --git a/core/include/JellyfinQt/loader/http/instantmix.h b/core/include/JellyfinQt/loader/http/instantmix.h new file mode 100644 index 0000000..ff7d764 --- /dev/null +++ b/core/include/JellyfinQt/loader/http/instantmix.h @@ -0,0 +1,145 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_INSTANTMIX_H +#define JELLYFIN_LOADER_HTTP_INSTANTMIX_H + +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +/** + * @brief Creates an instant playlist based on a given song. + */ + +class GetInstantMixFromAlbumLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetInstantMixFromAlbumLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetInstantMixFromAlbumParams& parameters) const override; + QUrlQuery query(const GetInstantMixFromAlbumParams& parameters) const override; +}; +/** + * @brief Creates an instant playlist based on a given song. + */ + +class GetInstantMixFromArtistsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetInstantMixFromArtistsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetInstantMixFromArtistsParams& parameters) const override; + QUrlQuery query(const GetInstantMixFromArtistsParams& parameters) const override; +}; +/** + * @brief Creates an instant playlist based on a given song. + */ + +class GetInstantMixFromItemLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetInstantMixFromItemLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetInstantMixFromItemParams& parameters) const override; + QUrlQuery query(const GetInstantMixFromItemParams& parameters) const override; +}; +/** + * @brief Creates an instant playlist based on a given song. + */ + +class GetInstantMixFromMusicGenresLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetInstantMixFromMusicGenresLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetInstantMixFromMusicGenresParams& parameters) const override; + QUrlQuery query(const GetInstantMixFromMusicGenresParams& parameters) const override; +}; +/** + * @brief Creates an instant playlist based on a given song. + */ + +class GetInstantMixFromMusicGenreLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetInstantMixFromMusicGenreLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetInstantMixFromMusicGenreParams& parameters) const override; + QUrlQuery query(const GetInstantMixFromMusicGenreParams& parameters) const override; +}; +/** + * @brief Creates an instant playlist based on a given song. + */ + +class GetInstantMixFromPlaylistLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetInstantMixFromPlaylistLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetInstantMixFromPlaylistParams& parameters) const override; + QUrlQuery query(const GetInstantMixFromPlaylistParams& parameters) const override; +}; +/** + * @brief Creates an instant playlist based on a given song. + */ + +class GetInstantMixFromSongLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetInstantMixFromSongLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetInstantMixFromSongParams& parameters) const override; + QUrlQuery query(const GetInstantMixFromSongParams& parameters) const override; +}; + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_INSTANTMIX_H diff --git a/core/include/JellyfinQt/loader/http/itemlookup.h b/core/include/JellyfinQt/loader/http/itemlookup.h new file mode 100644 index 0000000..28a33c7 --- /dev/null +++ b/core/include/JellyfinQt/loader/http/itemlookup.h @@ -0,0 +1,184 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_ITEMLOOKUP_H +#define JELLYFIN_LOADER_HTTP_ITEMLOOKUP_H + +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/externalidinfo.h" +#include "JellyfinQt/dto/remotesearchresult.h" +#include "JellyfinQt/dto/remotesearchresult.h" +#include "JellyfinQt/dto/remotesearchresult.h" +#include "JellyfinQt/dto/remotesearchresult.h" +#include "JellyfinQt/dto/remotesearchresult.h" +#include "JellyfinQt/dto/remotesearchresult.h" +#include "JellyfinQt/dto/remotesearchresult.h" +#include "JellyfinQt/dto/remotesearchresult.h" +#include "JellyfinQt/dto/remotesearchresult.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +/** + * @brief Get the item's external id info. + */ + +class GetExternalIdInfosLoader : public Jellyfin::Support::HttpLoader, GetExternalIdInfosParams> { +public: + explicit GetExternalIdInfosLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetExternalIdInfosParams& parameters) const override; + QUrlQuery query(const GetExternalIdInfosParams& parameters) const override; +}; +/** + * @brief Get book remote search. + */ + +class GetBookRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetBookRemoteSearchResultsParams> { +public: + explicit GetBookRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetBookRemoteSearchResultsParams& parameters) const override; + QUrlQuery query(const GetBookRemoteSearchResultsParams& parameters) const override; +}; +/** + * @brief Get box set remote search. + */ + +class GetBoxSetRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetBoxSetRemoteSearchResultsParams> { +public: + explicit GetBoxSetRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetBoxSetRemoteSearchResultsParams& parameters) const override; + QUrlQuery query(const GetBoxSetRemoteSearchResultsParams& parameters) const override; +}; +/** + * @brief Get movie remote search. + */ + +class GetMovieRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetMovieRemoteSearchResultsParams> { +public: + explicit GetMovieRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetMovieRemoteSearchResultsParams& parameters) const override; + QUrlQuery query(const GetMovieRemoteSearchResultsParams& parameters) const override; +}; +/** + * @brief Get music album remote search. + */ + +class GetMusicAlbumRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetMusicAlbumRemoteSearchResultsParams> { +public: + explicit GetMusicAlbumRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetMusicAlbumRemoteSearchResultsParams& parameters) const override; + QUrlQuery query(const GetMusicAlbumRemoteSearchResultsParams& parameters) const override; +}; +/** + * @brief Get music artist remote search. + */ + +class GetMusicArtistRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetMusicArtistRemoteSearchResultsParams> { +public: + explicit GetMusicArtistRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetMusicArtistRemoteSearchResultsParams& parameters) const override; + QUrlQuery query(const GetMusicArtistRemoteSearchResultsParams& parameters) const override; +}; +/** + * @brief Get music video remote search. + */ + +class GetMusicVideoRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetMusicVideoRemoteSearchResultsParams> { +public: + explicit GetMusicVideoRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetMusicVideoRemoteSearchResultsParams& parameters) const override; + QUrlQuery query(const GetMusicVideoRemoteSearchResultsParams& parameters) const override; +}; +/** + * @brief Get person remote search. + */ + +class GetPersonRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetPersonRemoteSearchResultsParams> { +public: + explicit GetPersonRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPersonRemoteSearchResultsParams& parameters) const override; + QUrlQuery query(const GetPersonRemoteSearchResultsParams& parameters) const override; +}; +/** + * @brief Get series remote search. + */ + +class GetSeriesRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetSeriesRemoteSearchResultsParams> { +public: + explicit GetSeriesRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSeriesRemoteSearchResultsParams& parameters) const override; + QUrlQuery query(const GetSeriesRemoteSearchResultsParams& parameters) const override; +}; +/** + * @brief Get trailer remote search. + */ + +class GetTrailerRemoteSearchResultsLoader : public Jellyfin::Support::HttpLoader, GetTrailerRemoteSearchResultsParams> { +public: + explicit GetTrailerRemoteSearchResultsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetTrailerRemoteSearchResultsParams& parameters) const override; + QUrlQuery query(const GetTrailerRemoteSearchResultsParams& parameters) const override; +}; + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_ITEMLOOKUP_H diff --git a/core/include/JellyfinQt/loader/http/itemrefresh.h b/core/include/JellyfinQt/loader/http/itemrefresh.h new file mode 100644 index 0000000..3489f50 --- /dev/null +++ b/core/include/JellyfinQt/loader/http/itemrefresh.h @@ -0,0 +1,54 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_ITEMREFRESH_H +#define JELLYFIN_LOADER_HTTP_ITEMREFRESH_H + +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_ITEMREFRESH_H diff --git a/core/include/JellyfinQt/loader/http/getitemsbyuserid.h b/core/include/JellyfinQt/loader/http/items.h similarity index 68% rename from core/include/JellyfinQt/loader/http/getitemsbyuserid.h rename to core/include/JellyfinQt/loader/http/items.h index 848188a..b37a407 100644 --- a/core/include/JellyfinQt/loader/http/getitemsbyuserid.h +++ b/core/include/JellyfinQt/loader/http/items.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETITEMSBYUSERID_H -#define JELLYFIN_LOADER_HTTP_GETITEMSBYUSERID_H +#ifndef JELLYFIN_LOADER_HTTP_ITEMS_H +#define JELLYFIN_LOADER_HTTP_ITEMS_H #include @@ -36,6 +36,8 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { // Forward declaration @@ -45,8 +47,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets items based on a query. + */ + +class GetItemsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetItemsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetItemsParams& parameters) const override; + QUrlQuery query(const GetItemsParams& parameters) const override; +}; /** * @brief Gets items based on a query. */ @@ -59,9 +73,21 @@ protected: QString path(const GetItemsByUserIdParams& parameters) const override; QUrlQuery query(const GetItemsByUserIdParams& parameters) const override; }; +/** + * @brief Gets items based on a query. + */ + +class GetResumeItemsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetResumeItemsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetResumeItemsParams& parameters) const override; + QUrlQuery query(const GetResumeItemsParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETITEMSBYUSERID_H +#endif // JELLYFIN_LOADER_HTTP_ITEMS_H diff --git a/core/include/JellyfinQt/loader/http/getmetadataeditorinfo.h b/core/include/JellyfinQt/loader/http/itemupdate.h similarity index 93% rename from core/include/JellyfinQt/loader/http/getmetadataeditorinfo.h rename to core/include/JellyfinQt/loader/http/itemupdate.h index 60f3885..76ff1ba 100644 --- a/core/include/JellyfinQt/loader/http/getmetadataeditorinfo.h +++ b/core/include/JellyfinQt/loader/http/itemupdate.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETMETADATAEDITORINFO_H -#define JELLYFIN_LOADER_HTTP_GETMETADATAEDITORINFO_H +#ifndef JELLYFIN_LOADER_HTTP_ITEMUPDATE_H +#define JELLYFIN_LOADER_HTTP_ITEMUPDATE_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets metadata editor info for an item. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETMETADATAEDITORINFO_H +#endif // JELLYFIN_LOADER_HTTP_ITEMUPDATE_H diff --git a/core/include/JellyfinQt/loader/http/library.h b/core/include/JellyfinQt/loader/http/library.h new file mode 100644 index 0000000..e6374d3 --- /dev/null +++ b/core/include/JellyfinQt/loader/http/library.h @@ -0,0 +1,249 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_LIBRARY_H +#define JELLYFIN_LOADER_HTTP_LIBRARY_H + +#include +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/allthememediaresult.h" +#include "JellyfinQt/dto/thememediaresult.h" +#include "JellyfinQt/dto/thememediaresult.h" +#include "JellyfinQt/dto/itemcounts.h" +#include "JellyfinQt/dto/libraryoptionsresultdto.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +/** + * @brief Gets similar items. + */ + +class GetSimilarAlbumsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSimilarAlbumsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSimilarAlbumsParams& parameters) const override; + QUrlQuery query(const GetSimilarAlbumsParams& parameters) const override; +}; +/** + * @brief Gets similar items. + */ + +class GetSimilarArtistsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSimilarArtistsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSimilarArtistsParams& parameters) const override; + QUrlQuery query(const GetSimilarArtistsParams& parameters) const override; +}; +/** + * @brief Gets all parents of an item. + */ + +class GetAncestorsLoader : public Jellyfin::Support::HttpLoader, GetAncestorsParams> { +public: + explicit GetAncestorsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetAncestorsParams& parameters) const override; + QUrlQuery query(const GetAncestorsParams& parameters) const override; +}; +/** + * @brief Gets critic review for an item. + */ + +class GetCriticReviewsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetCriticReviewsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetCriticReviewsParams& parameters) const override; + QUrlQuery query(const GetCriticReviewsParams& parameters) const override; +}; +/** + * @brief Gets similar items. + */ + +class GetSimilarItemsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSimilarItemsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSimilarItemsParams& parameters) const override; + QUrlQuery query(const GetSimilarItemsParams& parameters) const override; +}; +/** + * @brief Get theme songs and videos for an item. + */ + +class GetThemeMediaLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetThemeMediaLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetThemeMediaParams& parameters) const override; + QUrlQuery query(const GetThemeMediaParams& parameters) const override; +}; +/** + * @brief Get theme songs for an item. + */ + +class GetThemeSongsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetThemeSongsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetThemeSongsParams& parameters) const override; + QUrlQuery query(const GetThemeSongsParams& parameters) const override; +}; +/** + * @brief Get theme videos for an item. + */ + +class GetThemeVideosLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetThemeVideosLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetThemeVideosParams& parameters) const override; + QUrlQuery query(const GetThemeVideosParams& parameters) const override; +}; +/** + * @brief Get item counts. + */ + +class GetItemCountsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetItemCountsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetItemCountsParams& parameters) const override; + QUrlQuery query(const GetItemCountsParams& parameters) const override; +}; +/** + * @brief Gets the library options info. + */ + +class GetLibraryOptionsInfoLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetLibraryOptionsInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetLibraryOptionsInfoParams& parameters) const override; + QUrlQuery query(const GetLibraryOptionsInfoParams& parameters) const override; +}; +/** + * @brief Gets all user media folders. + */ + +class GetMediaFoldersLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetMediaFoldersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetMediaFoldersParams& parameters) const override; + QUrlQuery query(const GetMediaFoldersParams& parameters) const override; +}; +/** + * @brief Gets a list of physical paths from virtual folders. + */ + +class GetPhysicalPathsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetPhysicalPathsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPhysicalPathsParams& parameters) const override; + QUrlQuery query(const GetPhysicalPathsParams& parameters) const override; +}; +/** + * @brief Gets similar items. + */ + +class GetSimilarMoviesLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSimilarMoviesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSimilarMoviesParams& parameters) const override; + QUrlQuery query(const GetSimilarMoviesParams& parameters) const override; +}; +/** + * @brief Gets similar items. + */ + +class GetSimilarShowsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSimilarShowsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSimilarShowsParams& parameters) const override; + QUrlQuery query(const GetSimilarShowsParams& parameters) const override; +}; +/** + * @brief Gets similar items. + */ + +class GetSimilarTrailersLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSimilarTrailersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSimilarTrailersParams& parameters) const override; + QUrlQuery query(const GetSimilarTrailersParams& parameters) const override; +}; + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_LIBRARY_H diff --git a/core/include/JellyfinQt/loader/http/getvirtualfolders.h b/core/include/JellyfinQt/loader/http/librarystructure.h similarity index 93% rename from core/include/JellyfinQt/loader/http/getvirtualfolders.h rename to core/include/JellyfinQt/loader/http/librarystructure.h index b5fb6f9..46659e8 100644 --- a/core/include/JellyfinQt/loader/http/getvirtualfolders.h +++ b/core/include/JellyfinQt/loader/http/librarystructure.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETVIRTUALFOLDERS_H -#define JELLYFIN_LOADER_HTTP_GETVIRTUALFOLDERS_H +#ifndef JELLYFIN_LOADER_HTTP_LIBRARYSTRUCTURE_H +#define JELLYFIN_LOADER_HTTP_LIBRARYSTRUCTURE_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets all virtual folders. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETVIRTUALFOLDERS_H +#endif // JELLYFIN_LOADER_HTTP_LIBRARYSTRUCTURE_H diff --git a/core/include/JellyfinQt/loader/http/livetv.h b/core/include/JellyfinQt/loader/http/livetv.h new file mode 100644 index 0000000..4d8cff1 --- /dev/null +++ b/core/include/JellyfinQt/loader/http/livetv.h @@ -0,0 +1,417 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_LIVETV_H +#define JELLYFIN_LOADER_HTTP_LIVETV_H + +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/channelmappingoptionsdto.h" +#include "JellyfinQt/dto/tunerchannelmapping.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" +#include "JellyfinQt/dto/guideinfo.h" +#include "JellyfinQt/dto/livetvinfo.h" +#include "JellyfinQt/dto/listingsproviderinfo.h" +#include "JellyfinQt/dto/listingsproviderinfo.h" +#include "JellyfinQt/dto/nameidpair.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/seriestimerinfodtoqueryresult.h" +#include "JellyfinQt/dto/seriestimerinfodto.h" +#include "JellyfinQt/dto/timerinfodtoqueryresult.h" +#include "JellyfinQt/dto/timerinfodto.h" +#include "JellyfinQt/dto/seriestimerinfodto.h" +#include "JellyfinQt/dto/tunerhostinfo.h" +#include "JellyfinQt/dto/nameidpair.h" +#include "JellyfinQt/dto/tunerhostinfo.h" +#include "JellyfinQt/dto/tunerhostinfo.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +/** + * @brief Get channel mapping options. + */ + +class GetChannelMappingOptionsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetChannelMappingOptionsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetChannelMappingOptionsParams& parameters) const override; + QUrlQuery query(const GetChannelMappingOptionsParams& parameters) const override; +}; +/** + * @brief Set channel mappings. + */ + +class SetChannelMappingLoader : public Jellyfin::Support::HttpLoader { +public: + explicit SetChannelMappingLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const SetChannelMappingParams& parameters) const override; + QUrlQuery query(const SetChannelMappingParams& parameters) const override; +}; +/** + * @brief Gets available live tv channels. + */ + +class GetLiveTvChannelsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetLiveTvChannelsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetLiveTvChannelsParams& parameters) const override; + QUrlQuery query(const GetLiveTvChannelsParams& parameters) const override; +}; +/** + * @brief Gets a live tv channel. + */ + +class GetChannelLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetChannelLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetChannelParams& parameters) const override; + QUrlQuery query(const GetChannelParams& parameters) const override; +}; +/** + * @brief Get guid info. + */ + +class GetGuideInfoLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetGuideInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetGuideInfoParams& parameters) const override; + QUrlQuery query(const GetGuideInfoParams& parameters) const override; +}; +/** + * @brief Gets available live tv services. + */ + +class GetLiveTvInfoLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetLiveTvInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetLiveTvInfoParams& parameters) const override; + QUrlQuery query(const GetLiveTvInfoParams& parameters) const override; +}; +/** + * @brief Adds a listings provider. + */ + +class AddListingProviderLoader : public Jellyfin::Support::HttpLoader { +public: + explicit AddListingProviderLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const AddListingProviderParams& parameters) const override; + QUrlQuery query(const AddListingProviderParams& parameters) const override; +}; +/** + * @brief Gets default listings provider info. + */ + +class GetDefaultListingProviderLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetDefaultListingProviderLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetDefaultListingProviderParams& parameters) const override; + QUrlQuery query(const GetDefaultListingProviderParams& parameters) const override; +}; +/** + * @brief Gets available lineups. + */ + +class GetLineupsLoader : public Jellyfin::Support::HttpLoader, GetLineupsParams> { +public: + explicit GetLineupsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetLineupsParams& parameters) const override; + QUrlQuery query(const GetLineupsParams& parameters) const override; +}; +/** + * @brief Gets available countries. + */ + +class GetSchedulesDirectCountriesLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSchedulesDirectCountriesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSchedulesDirectCountriesParams& parameters) const override; + QUrlQuery query(const GetSchedulesDirectCountriesParams& parameters) const override; +}; +/** + * @brief Gets available live tv epgs. + */ + +class GetLiveTvProgramsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetLiveTvProgramsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetLiveTvProgramsParams& parameters) const override; + QUrlQuery query(const GetLiveTvProgramsParams& parameters) const override; +}; +/** + * @brief Gets available live tv epgs. + */ + +class GetProgramsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetProgramsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetProgramsParams& parameters) const override; + QUrlQuery query(const GetProgramsParams& parameters) const override; +}; +/** + * @brief Gets a live tv program. + */ + +class GetProgramLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetProgramLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetProgramParams& parameters) const override; + QUrlQuery query(const GetProgramParams& parameters) const override; +}; +/** + * @brief Gets recommended live tv epgs. + */ + +class GetRecommendedProgramsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetRecommendedProgramsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetRecommendedProgramsParams& parameters) const override; + QUrlQuery query(const GetRecommendedProgramsParams& parameters) const override; +}; +/** + * @brief Gets live tv recordings. + */ + +class GetRecordingsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetRecordingsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetRecordingsParams& parameters) const override; + QUrlQuery query(const GetRecordingsParams& parameters) const override; +}; +/** + * @brief Gets a live tv recording. + */ + +class GetRecordingLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetRecordingLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetRecordingParams& parameters) const override; + QUrlQuery query(const GetRecordingParams& parameters) const override; +}; +/** + * @brief Gets recording folders. + */ + +class GetRecordingFoldersLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetRecordingFoldersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetRecordingFoldersParams& parameters) const override; + QUrlQuery query(const GetRecordingFoldersParams& parameters) const override; +}; +/** + * @brief Gets live tv recording groups. + */ + +class GetRecordingGroupsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetRecordingGroupsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetRecordingGroupsParams& parameters) const override; + QUrlQuery query(const GetRecordingGroupsParams& parameters) const override; +}; +/** + * @brief Gets live tv recording series. + */ + +class GetRecordingsSeriesLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetRecordingsSeriesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetRecordingsSeriesParams& parameters) const override; + QUrlQuery query(const GetRecordingsSeriesParams& parameters) const override; +}; +/** + * @brief Gets live tv series timers. + */ + +class GetSeriesTimersLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSeriesTimersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSeriesTimersParams& parameters) const override; + QUrlQuery query(const GetSeriesTimersParams& parameters) const override; +}; +/** + * @brief Gets a live tv series timer. + */ + +class GetSeriesTimerLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSeriesTimerLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSeriesTimerParams& parameters) const override; + QUrlQuery query(const GetSeriesTimerParams& parameters) const override; +}; +/** + * @brief Gets the live tv timers. + */ + +class GetTimersLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetTimersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetTimersParams& parameters) const override; + QUrlQuery query(const GetTimersParams& parameters) const override; +}; +/** + * @brief Gets a timer. + */ + +class GetTimerLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetTimerLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetTimerParams& parameters) const override; + QUrlQuery query(const GetTimerParams& parameters) const override; +}; +/** + * @brief Gets the default values for a new timer. + */ + +class GetDefaultTimerLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetDefaultTimerLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetDefaultTimerParams& parameters) const override; + QUrlQuery query(const GetDefaultTimerParams& parameters) const override; +}; +/** + * @brief Adds a tuner host. + */ + +class AddTunerHostLoader : public Jellyfin::Support::HttpLoader { +public: + explicit AddTunerHostLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const AddTunerHostParams& parameters) const override; + QUrlQuery query(const AddTunerHostParams& parameters) const override; +}; +/** + * @brief Get tuner host types. + */ + +class GetTunerHostTypesLoader : public Jellyfin::Support::HttpLoader, GetTunerHostTypesParams> { +public: + explicit GetTunerHostTypesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetTunerHostTypesParams& parameters) const override; + QUrlQuery query(const GetTunerHostTypesParams& parameters) const override; +}; +/** + * @brief Discover tuners. + */ + +class DiscoverTunersLoader : public Jellyfin::Support::HttpLoader, DiscoverTunersParams> { +public: + explicit DiscoverTunersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const DiscoverTunersParams& parameters) const override; + QUrlQuery query(const DiscoverTunersParams& parameters) const override; +}; +/** + * @brief Discover tuners. + */ + +class DiscvoverTunersLoader : public Jellyfin::Support::HttpLoader, DiscvoverTunersParams> { +public: + explicit DiscvoverTunersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const DiscvoverTunersParams& parameters) const override; + QUrlQuery query(const DiscvoverTunersParams& parameters) const override; +}; + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_LIVETV_H diff --git a/core/include/JellyfinQt/loader/http/getlocalizationoptions.h b/core/include/JellyfinQt/loader/http/localization.h similarity index 60% rename from core/include/JellyfinQt/loader/http/getlocalizationoptions.h rename to core/include/JellyfinQt/loader/http/localization.h index 28a08b1..4d88740 100644 --- a/core/include/JellyfinQt/loader/http/getlocalizationoptions.h +++ b/core/include/JellyfinQt/loader/http/localization.h @@ -27,15 +27,18 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETLOCALIZATIONOPTIONS_H -#define JELLYFIN_LOADER_HTTP_GETLOCALIZATIONOPTIONS_H +#ifndef JELLYFIN_LOADER_HTTP_LOCALIZATION_H +#define JELLYFIN_LOADER_HTTP_LOCALIZATION_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/countryinfo.h" +#include "JellyfinQt/dto/culturedto.h" #include "JellyfinQt/dto/localizationoption.h" +#include "JellyfinQt/dto/parentalrating.h" namespace Jellyfin { // Forward declaration @@ -45,8 +48,32 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets known countries. + */ + +class GetCountriesLoader : public Jellyfin::Support::HttpLoader, GetCountriesParams> { +public: + explicit GetCountriesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetCountriesParams& parameters) const override; + QUrlQuery query(const GetCountriesParams& parameters) const override; +}; +/** + * @brief Gets known cultures. + */ + +class GetCulturesLoader : public Jellyfin::Support::HttpLoader, GetCulturesParams> { +public: + explicit GetCulturesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetCulturesParams& parameters) const override; + QUrlQuery query(const GetCulturesParams& parameters) const override; +}; /** * @brief Gets localization options. */ @@ -59,9 +86,21 @@ protected: QString path(const GetLocalizationOptionsParams& parameters) const override; QUrlQuery query(const GetLocalizationOptionsParams& parameters) const override; }; +/** + * @brief Gets known parental ratings. + */ + +class GetParentalRatingsLoader : public Jellyfin::Support::HttpLoader, GetParentalRatingsParams> { +public: + explicit GetParentalRatingsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetParentalRatingsParams& parameters) const override; + QUrlQuery query(const GetParentalRatingsParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETLOCALIZATIONOPTIONS_H +#endif // JELLYFIN_LOADER_HTTP_LOCALIZATION_H diff --git a/core/include/JellyfinQt/loader/http/markfavoriteitem.h b/core/include/JellyfinQt/loader/http/markfavoriteitem.h deleted file mode 100644 index 24b38ba..0000000 --- a/core/include/JellyfinQt/loader/http/markfavoriteitem.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_MARKFAVORITEITEM_H -#define JELLYFIN_LOADER_HTTP_MARKFAVORITEITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/useritemdatadto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Marks an item as a favorite. - */ - -class MarkFavoriteItemLoader : public Jellyfin::Support::HttpLoader { -public: - explicit MarkFavoriteItemLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const MarkFavoriteItemParams& parameters) const override; - QUrlQuery query(const MarkFavoriteItemParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_MARKFAVORITEITEM_H diff --git a/core/include/JellyfinQt/loader/http/markplayeditem.h b/core/include/JellyfinQt/loader/http/markplayeditem.h deleted file mode 100644 index 2a8dd78..0000000 --- a/core/include/JellyfinQt/loader/http/markplayeditem.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_MARKPLAYEDITEM_H -#define JELLYFIN_LOADER_HTTP_MARKPLAYEDITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/useritemdatadto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Marks an item as played for user. - */ - -class MarkPlayedItemLoader : public Jellyfin::Support::HttpLoader { -public: - explicit MarkPlayedItemLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const MarkPlayedItemParams& parameters) const override; - QUrlQuery query(const MarkPlayedItemParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_MARKPLAYEDITEM_H diff --git a/core/include/JellyfinQt/loader/http/getpostedplaybackinfo.h b/core/include/JellyfinQt/loader/http/mediainfo.h similarity index 68% rename from core/include/JellyfinQt/loader/http/getpostedplaybackinfo.h rename to core/include/JellyfinQt/loader/http/mediainfo.h index de36c7f..4fafaff 100644 --- a/core/include/JellyfinQt/loader/http/getpostedplaybackinfo.h +++ b/core/include/JellyfinQt/loader/http/mediainfo.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETPOSTEDPLAYBACKINFO_H -#define JELLYFIN_LOADER_HTTP_GETPOSTEDPLAYBACKINFO_H +#ifndef JELLYFIN_LOADER_HTTP_MEDIAINFO_H +#define JELLYFIN_LOADER_HTTP_MEDIAINFO_H #include @@ -36,6 +36,8 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/playbackinforesponse.h" +#include "JellyfinQt/dto/playbackinforesponse.h" +#include "JellyfinQt/dto/livestreamresponse.h" namespace Jellyfin { // Forward declaration @@ -45,8 +47,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets live playback media info for an item. + */ + +class GetPlaybackInfoLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetPlaybackInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPlaybackInfoParams& parameters) const override; + QUrlQuery query(const GetPlaybackInfoParams& parameters) const override; +}; /** * @brief Gets live playback media info for an item. */ @@ -59,9 +73,21 @@ protected: QString path(const GetPostedPlaybackInfoParams& parameters) const override; QUrlQuery query(const GetPostedPlaybackInfoParams& parameters) const override; }; +/** + * @brief Opens a media source. + */ + +class OpenLiveStreamLoader : public Jellyfin::Support::HttpLoader { +public: + explicit OpenLiveStreamLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const OpenLiveStreamParams& parameters) const override; + QUrlQuery query(const OpenLiveStreamParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETPOSTEDPLAYBACKINFO_H +#endif // JELLYFIN_LOADER_HTTP_MEDIAINFO_H diff --git a/core/include/JellyfinQt/loader/http/mergeversions.h b/core/include/JellyfinQt/loader/http/mergeversions.h deleted file mode 100644 index 22d328f..0000000 --- a/core/include/JellyfinQt/loader/http/mergeversions.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_MERGEVERSIONS_H -#define JELLYFIN_LOADER_HTTP_MERGEVERSIONS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_MERGEVERSIONS_H diff --git a/core/include/JellyfinQt/loader/http/moveitem.h b/core/include/JellyfinQt/loader/http/moveitem.h deleted file mode 100644 index eea925d..0000000 --- a/core/include/JellyfinQt/loader/http/moveitem.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_MOVEITEM_H -#define JELLYFIN_LOADER_HTTP_MOVEITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_MOVEITEM_H diff --git a/core/include/JellyfinQt/loader/http/getmovierecommendations.h b/core/include/JellyfinQt/loader/http/movies.h similarity index 92% rename from core/include/JellyfinQt/loader/http/getmovierecommendations.h rename to core/include/JellyfinQt/loader/http/movies.h index fa01adc..97b816d 100644 --- a/core/include/JellyfinQt/loader/http/getmovierecommendations.h +++ b/core/include/JellyfinQt/loader/http/movies.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETMOVIERECOMMENDATIONS_H -#define JELLYFIN_LOADER_HTTP_GETMOVIERECOMMENDATIONS_H +#ifndef JELLYFIN_LOADER_HTTP_MOVIES_H +#define JELLYFIN_LOADER_HTTP_MOVIES_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets movie recommendations. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETMOVIERECOMMENDATIONS_H +#endif // JELLYFIN_LOADER_HTTP_MOVIES_H diff --git a/core/include/JellyfinQt/loader/http/getmusicgenres.h b/core/include/JellyfinQt/loader/http/musicgenres.h similarity index 79% rename from core/include/JellyfinQt/loader/http/getmusicgenres.h rename to core/include/JellyfinQt/loader/http/musicgenres.h index 65d0e16..34e4f0e 100644 --- a/core/include/JellyfinQt/loader/http/getmusicgenres.h +++ b/core/include/JellyfinQt/loader/http/musicgenres.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETMUSICGENRES_H -#define JELLYFIN_LOADER_HTTP_GETMUSICGENRES_H +#ifndef JELLYFIN_LOADER_HTTP_MUSICGENRES_H +#define JELLYFIN_LOADER_HTTP_MUSICGENRES_H #include @@ -36,6 +36,7 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { // Forward declaration @@ -45,8 +46,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets all music genres from a given item, folder, or the entire library. */ @@ -59,9 +60,21 @@ protected: QString path(const GetMusicGenresParams& parameters) const override; QUrlQuery query(const GetMusicGenresParams& parameters) const override; }; +/** + * @brief Gets a music genre, by name. + */ + +class GetMusicGenreLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetMusicGenreLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetMusicGenreParams& parameters) const override; + QUrlQuery query(const GetMusicGenreParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETMUSICGENRES_H +#endif // JELLYFIN_LOADER_HTTP_MUSICGENRES_H diff --git a/core/include/JellyfinQt/loader/http/getnotificationssummary.h b/core/include/JellyfinQt/loader/http/notifications.h similarity index 58% rename from core/include/JellyfinQt/loader/http/getnotificationssummary.h rename to core/include/JellyfinQt/loader/http/notifications.h index 12b3944..7a274f0 100644 --- a/core/include/JellyfinQt/loader/http/getnotificationssummary.h +++ b/core/include/JellyfinQt/loader/http/notifications.h @@ -27,15 +27,18 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETNOTIFICATIONSSUMMARY_H -#define JELLYFIN_LOADER_HTTP_GETNOTIFICATIONSSUMMARY_H +#ifndef JELLYFIN_LOADER_HTTP_NOTIFICATIONS_H +#define JELLYFIN_LOADER_HTTP_NOTIFICATIONS_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/notificationresultdto.h" #include "JellyfinQt/dto/notificationssummarydto.h" +#include "JellyfinQt/dto/nameidpair.h" +#include "JellyfinQt/dto/notificationtypeinfo.h" namespace Jellyfin { // Forward declaration @@ -45,8 +48,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets a user's notifications. + */ + +class GetNotificationsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetNotificationsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetNotificationsParams& parameters) const override; + QUrlQuery query(const GetNotificationsParams& parameters) const override; +}; /** * @brief Gets a user's notification summary. */ @@ -59,9 +74,33 @@ protected: QString path(const GetNotificationsSummaryParams& parameters) const override; QUrlQuery query(const GetNotificationsSummaryParams& parameters) const override; }; +/** + * @brief Gets notification services. + */ + +class GetNotificationServicesLoader : public Jellyfin::Support::HttpLoader, GetNotificationServicesParams> { +public: + explicit GetNotificationServicesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetNotificationServicesParams& parameters) const override; + QUrlQuery query(const GetNotificationServicesParams& parameters) const override; +}; +/** + * @brief Gets notification types. + */ + +class GetNotificationTypesLoader : public Jellyfin::Support::HttpLoader, GetNotificationTypesParams> { +public: + explicit GetNotificationTypesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetNotificationTypesParams& parameters) const override; + QUrlQuery query(const GetNotificationTypesParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETNOTIFICATIONSSUMMARY_H +#endif // JELLYFIN_LOADER_HTTP_NOTIFICATIONS_H diff --git a/core/include/JellyfinQt/loader/http/onplaybackprogress.h b/core/include/JellyfinQt/loader/http/onplaybackprogress.h deleted file mode 100644 index e483dd5..0000000 --- a/core/include/JellyfinQt/loader/http/onplaybackprogress.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_ONPLAYBACKPROGRESS_H -#define JELLYFIN_LOADER_HTTP_ONPLAYBACKPROGRESS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_ONPLAYBACKPROGRESS_H diff --git a/core/include/JellyfinQt/loader/http/onplaybackstart.h b/core/include/JellyfinQt/loader/http/onplaybackstart.h deleted file mode 100644 index 2f41e4a..0000000 --- a/core/include/JellyfinQt/loader/http/onplaybackstart.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_ONPLAYBACKSTART_H -#define JELLYFIN_LOADER_HTTP_ONPLAYBACKSTART_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_ONPLAYBACKSTART_H diff --git a/core/include/JellyfinQt/loader/http/onplaybackstopped.h b/core/include/JellyfinQt/loader/http/onplaybackstopped.h deleted file mode 100644 index 1023179..0000000 --- a/core/include/JellyfinQt/loader/http/onplaybackstopped.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_ONPLAYBACKSTOPPED_H -#define JELLYFIN_LOADER_HTTP_ONPLAYBACKSTOPPED_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_ONPLAYBACKSTOPPED_H diff --git a/core/include/JellyfinQt/loader/http/openlivestream.h b/core/include/JellyfinQt/loader/http/openlivestream.h deleted file mode 100644 index 0abd0b7..0000000 --- a/core/include/JellyfinQt/loader/http/openlivestream.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_OPENLIVESTREAM_H -#define JELLYFIN_LOADER_HTTP_OPENLIVESTREAM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/livestreamresponse.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Opens a media source. - */ - -class OpenLiveStreamLoader : public Jellyfin::Support::HttpLoader { -public: - explicit OpenLiveStreamLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const OpenLiveStreamParams& parameters) const override; - QUrlQuery query(const OpenLiveStreamParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_OPENLIVESTREAM_H diff --git a/core/include/JellyfinQt/loader/http/getrepositories.h b/core/include/JellyfinQt/loader/http/package.h similarity index 68% rename from core/include/JellyfinQt/loader/http/getrepositories.h rename to core/include/JellyfinQt/loader/http/package.h index 2f980a9..ac15199 100644 --- a/core/include/JellyfinQt/loader/http/getrepositories.h +++ b/core/include/JellyfinQt/loader/http/package.h @@ -27,14 +27,16 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETREPOSITORIES_H -#define JELLYFIN_LOADER_HTTP_GETREPOSITORIES_H +#ifndef JELLYFIN_LOADER_HTTP_PACKAGE_H +#define JELLYFIN_LOADER_HTTP_PACKAGE_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/packageinfo.h" +#include "JellyfinQt/dto/packageinfo.h" #include "JellyfinQt/dto/repositoryinfo.h" namespace Jellyfin { @@ -45,8 +47,32 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets available packages. + */ + +class GetPackagesLoader : public Jellyfin::Support::HttpLoader, GetPackagesParams> { +public: + explicit GetPackagesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPackagesParams& parameters) const override; + QUrlQuery query(const GetPackagesParams& parameters) const override; +}; +/** + * @brief Gets a package by name or assembly GUID. + */ + +class GetPackageInfoLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetPackageInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPackageInfoParams& parameters) const override; + QUrlQuery query(const GetPackageInfoParams& parameters) const override; +}; /** * @brief Gets all package repositories. */ @@ -64,4 +90,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETREPOSITORIES_H +#endif // JELLYFIN_LOADER_HTTP_PACKAGE_H diff --git a/core/include/JellyfinQt/loader/http/getpersons.h b/core/include/JellyfinQt/loader/http/persons.h similarity index 80% rename from core/include/JellyfinQt/loader/http/getpersons.h rename to core/include/JellyfinQt/loader/http/persons.h index c051017..4fa37d7 100644 --- a/core/include/JellyfinQt/loader/http/getpersons.h +++ b/core/include/JellyfinQt/loader/http/persons.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETPERSONS_H -#define JELLYFIN_LOADER_HTTP_GETPERSONS_H +#ifndef JELLYFIN_LOADER_HTTP_PERSONS_H +#define JELLYFIN_LOADER_HTTP_PERSONS_H #include @@ -36,6 +36,7 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { // Forward declaration @@ -45,8 +46,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets all persons. */ @@ -59,9 +60,21 @@ protected: QString path(const GetPersonsParams& parameters) const override; QUrlQuery query(const GetPersonsParams& parameters) const override; }; +/** + * @brief Get person by name. + */ + +class GetPersonLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetPersonLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPersonParams& parameters) const override; + QUrlQuery query(const GetPersonParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETPERSONS_H +#endif // JELLYFIN_LOADER_HTTP_PERSONS_H diff --git a/core/include/JellyfinQt/loader/http/pingplaybacksession.h b/core/include/JellyfinQt/loader/http/pingplaybacksession.h deleted file mode 100644 index 9322be4..0000000 --- a/core/include/JellyfinQt/loader/http/pingplaybacksession.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_PINGPLAYBACKSESSION_H -#define JELLYFIN_LOADER_HTTP_PINGPLAYBACKSESSION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_PINGPLAYBACKSESSION_H diff --git a/core/include/JellyfinQt/loader/http/play.h b/core/include/JellyfinQt/loader/http/play.h deleted file mode 100644 index e07c3c7..0000000 --- a/core/include/JellyfinQt/loader/http/play.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_PLAY_H -#define JELLYFIN_LOADER_HTTP_PLAY_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_PLAY_H diff --git a/core/include/JellyfinQt/loader/http/getplaylistitems.h b/core/include/JellyfinQt/loader/http/playlists.h similarity index 79% rename from core/include/JellyfinQt/loader/http/getplaylistitems.h rename to core/include/JellyfinQt/loader/http/playlists.h index 2f8bffb..d43d751 100644 --- a/core/include/JellyfinQt/loader/http/getplaylistitems.h +++ b/core/include/JellyfinQt/loader/http/playlists.h @@ -27,14 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETPLAYLISTITEMS_H -#define JELLYFIN_LOADER_HTTP_GETPLAYLISTITEMS_H +#ifndef JELLYFIN_LOADER_HTTP_PLAYLISTS_H +#define JELLYFIN_LOADER_HTTP_PLAYLISTS_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/playlistcreationresult.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -45,8 +46,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Creates a new playlist. + */ + +class CreatePlaylistLoader : public Jellyfin::Support::HttpLoader { +public: + explicit CreatePlaylistLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const CreatePlaylistParams& parameters) const override; + QUrlQuery query(const CreatePlaylistParams& parameters) const override; +}; /** * @brief Gets the original items of a playlist. */ @@ -64,4 +77,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETPLAYLISTITEMS_H +#endif // JELLYFIN_LOADER_HTTP_PLAYLISTS_H diff --git a/core/include/JellyfinQt/loader/http/markunplayeditem.h b/core/include/JellyfinQt/loader/http/playstate.h similarity index 79% rename from core/include/JellyfinQt/loader/http/markunplayeditem.h rename to core/include/JellyfinQt/loader/http/playstate.h index cd858f1..6259c12 100644 --- a/core/include/JellyfinQt/loader/http/markunplayeditem.h +++ b/core/include/JellyfinQt/loader/http/playstate.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_MARKUNPLAYEDITEM_H -#define JELLYFIN_LOADER_HTTP_MARKUNPLAYEDITEM_H +#ifndef JELLYFIN_LOADER_HTTP_PLAYSTATE_H +#define JELLYFIN_LOADER_HTTP_PLAYSTATE_H #include @@ -36,6 +36,7 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/useritemdatadto.h" +#include "JellyfinQt/dto/useritemdatadto.h" namespace Jellyfin { // Forward declaration @@ -45,8 +46,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Marks an item as played for user. + */ + +class MarkPlayedItemLoader : public Jellyfin::Support::HttpLoader { +public: + explicit MarkPlayedItemLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const MarkPlayedItemParams& parameters) const override; + QUrlQuery query(const MarkPlayedItemParams& parameters) const override; +}; /** * @brief Marks an item as unplayed for user. */ @@ -64,4 +77,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_MARKUNPLAYEDITEM_H +#endif // JELLYFIN_LOADER_HTTP_PLAYSTATE_H diff --git a/core/include/JellyfinQt/loader/http/getpluginconfiguration.h b/core/include/JellyfinQt/loader/http/plugins.h similarity index 79% rename from core/include/JellyfinQt/loader/http/getpluginconfiguration.h rename to core/include/JellyfinQt/loader/http/plugins.h index c501ff4..7674559 100644 --- a/core/include/JellyfinQt/loader/http/getpluginconfiguration.h +++ b/core/include/JellyfinQt/loader/http/plugins.h @@ -27,14 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETPLUGINCONFIGURATION_H -#define JELLYFIN_LOADER_HTTP_GETPLUGINCONFIGURATION_H +#ifndef JELLYFIN_LOADER_HTTP_PLUGINS_H +#define JELLYFIN_LOADER_HTTP_PLUGINS_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/plugininfo.h" #include "JellyfinQt/dto/basepluginconfiguration.h" namespace Jellyfin { @@ -45,8 +46,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets a list of currently installed plugins. + */ + +class GetPluginsLoader : public Jellyfin::Support::HttpLoader, GetPluginsParams> { +public: + explicit GetPluginsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPluginsParams& parameters) const override; + QUrlQuery query(const GetPluginsParams& parameters) const override; +}; /** * @brief Gets plugin configuration. */ @@ -64,4 +77,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETPLUGINCONFIGURATION_H +#endif // JELLYFIN_LOADER_HTTP_PLUGINS_H diff --git a/core/include/JellyfinQt/loader/http/post.h b/core/include/JellyfinQt/loader/http/post.h deleted file mode 100644 index bf26af3..0000000 --- a/core/include/JellyfinQt/loader/http/post.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POST_H -#define JELLYFIN_LOADER_HTTP_POST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POST_H diff --git a/core/include/JellyfinQt/loader/http/postaddedmovies.h b/core/include/JellyfinQt/loader/http/postaddedmovies.h deleted file mode 100644 index e157189..0000000 --- a/core/include/JellyfinQt/loader/http/postaddedmovies.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POSTADDEDMOVIES_H -#define JELLYFIN_LOADER_HTTP_POSTADDEDMOVIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POSTADDEDMOVIES_H diff --git a/core/include/JellyfinQt/loader/http/postaddedseries.h b/core/include/JellyfinQt/loader/http/postaddedseries.h deleted file mode 100644 index aa8ebce..0000000 --- a/core/include/JellyfinQt/loader/http/postaddedseries.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POSTADDEDSERIES_H -#define JELLYFIN_LOADER_HTTP_POSTADDEDSERIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POSTADDEDSERIES_H diff --git a/core/include/JellyfinQt/loader/http/postcapabilities.h b/core/include/JellyfinQt/loader/http/postcapabilities.h deleted file mode 100644 index ce44c45..0000000 --- a/core/include/JellyfinQt/loader/http/postcapabilities.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POSTCAPABILITIES_H -#define JELLYFIN_LOADER_HTTP_POSTCAPABILITIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POSTCAPABILITIES_H diff --git a/core/include/JellyfinQt/loader/http/postfullcapabilities.h b/core/include/JellyfinQt/loader/http/postfullcapabilities.h deleted file mode 100644 index 05d36e6..0000000 --- a/core/include/JellyfinQt/loader/http/postfullcapabilities.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POSTFULLCAPABILITIES_H -#define JELLYFIN_LOADER_HTTP_POSTFULLCAPABILITIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POSTFULLCAPABILITIES_H diff --git a/core/include/JellyfinQt/loader/http/postpingsystem.h b/core/include/JellyfinQt/loader/http/postpingsystem.h deleted file mode 100644 index c3d2bf7..0000000 --- a/core/include/JellyfinQt/loader/http/postpingsystem.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POSTPINGSYSTEM_H -#define JELLYFIN_LOADER_HTTP_POSTPINGSYSTEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Pings the system. - */ - -class PostPingSystemLoader : public Jellyfin::Support::HttpLoader { -public: - explicit PostPingSystemLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const PostPingSystemParams& parameters) const override; - QUrlQuery query(const PostPingSystemParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POSTPINGSYSTEM_H diff --git a/core/include/JellyfinQt/loader/http/postupdatedmedia.h b/core/include/JellyfinQt/loader/http/postupdatedmedia.h deleted file mode 100644 index 1d3c843..0000000 --- a/core/include/JellyfinQt/loader/http/postupdatedmedia.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POSTUPDATEDMEDIA_H -#define JELLYFIN_LOADER_HTTP_POSTUPDATEDMEDIA_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POSTUPDATEDMEDIA_H diff --git a/core/include/JellyfinQt/loader/http/postupdatedmovies.h b/core/include/JellyfinQt/loader/http/postupdatedmovies.h deleted file mode 100644 index f5c3bf2..0000000 --- a/core/include/JellyfinQt/loader/http/postupdatedmovies.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POSTUPDATEDMOVIES_H -#define JELLYFIN_LOADER_HTTP_POSTUPDATEDMOVIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POSTUPDATEDMOVIES_H diff --git a/core/include/JellyfinQt/loader/http/postupdatedseries.h b/core/include/JellyfinQt/loader/http/postupdatedseries.h deleted file mode 100644 index 24a27b8..0000000 --- a/core/include/JellyfinQt/loader/http/postupdatedseries.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POSTUPDATEDSERIES_H -#define JELLYFIN_LOADER_HTTP_POSTUPDATEDSERIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POSTUPDATEDSERIES_H diff --git a/core/include/JellyfinQt/loader/http/postuserimagebyindex.h b/core/include/JellyfinQt/loader/http/postuserimagebyindex.h deleted file mode 100644 index 0001fea..0000000 --- a/core/include/JellyfinQt/loader/http/postuserimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_POSTUSERIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_POSTUSERIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_POSTUSERIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/processconnectionmanagercontrolrequest.h b/core/include/JellyfinQt/loader/http/processconnectionmanagercontrolrequest.h deleted file mode 100644 index 70a6d73..0000000 --- a/core/include/JellyfinQt/loader/http/processconnectionmanagercontrolrequest.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_PROCESSCONNECTIONMANAGERCONTROLREQUEST_H -#define JELLYFIN_LOADER_HTTP_PROCESSCONNECTIONMANAGERCONTROLREQUEST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_PROCESSCONNECTIONMANAGERCONTROLREQUEST_H diff --git a/core/include/JellyfinQt/loader/http/processcontentdirectorycontrolrequest.h b/core/include/JellyfinQt/loader/http/processcontentdirectorycontrolrequest.h deleted file mode 100644 index 3b7064d..0000000 --- a/core/include/JellyfinQt/loader/http/processcontentdirectorycontrolrequest.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_PROCESSCONTENTDIRECTORYCONTROLREQUEST_H -#define JELLYFIN_LOADER_HTTP_PROCESSCONTENTDIRECTORYCONTROLREQUEST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_PROCESSCONTENTDIRECTORYCONTROLREQUEST_H diff --git a/core/include/JellyfinQt/loader/http/processmediareceiverregistrarcontrolrequest.h b/core/include/JellyfinQt/loader/http/processmediareceiverregistrarcontrolrequest.h deleted file mode 100644 index cd5783b..0000000 --- a/core/include/JellyfinQt/loader/http/processmediareceiverregistrarcontrolrequest.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_PROCESSMEDIARECEIVERREGISTRARCONTROLREQUEST_H -#define JELLYFIN_LOADER_HTTP_PROCESSMEDIARECEIVERREGISTRARCONTROLREQUEST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_PROCESSMEDIARECEIVERREGISTRARCONTROLREQUEST_H diff --git a/core/include/JellyfinQt/loader/http/connect.h b/core/include/JellyfinQt/loader/http/quickconnect.h similarity index 54% rename from core/include/JellyfinQt/loader/http/connect.h rename to core/include/JellyfinQt/loader/http/quickconnect.h index fb33bb0..b6cb092 100644 --- a/core/include/JellyfinQt/loader/http/connect.h +++ b/core/include/JellyfinQt/loader/http/quickconnect.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_CONNECT_H -#define JELLYFIN_LOADER_HTTP_CONNECT_H +#ifndef JELLYFIN_LOADER_HTTP_QUICKCONNECT_H +#define JELLYFIN_LOADER_HTTP_QUICKCONNECT_H #include @@ -36,6 +36,8 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/quickconnectresult.h" +#include "JellyfinQt/dto/quickconnectresult.h" +#include "JellyfinQt/dto/quickconnectstate.h" namespace Jellyfin { // Forward declaration @@ -45,8 +47,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Authorizes a pending quick connect request. + */ + +class AuthorizeLoader : public Jellyfin::Support::HttpLoader { +public: + explicit AuthorizeLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const AuthorizeParams& parameters) const override; + QUrlQuery query(const AuthorizeParams& parameters) const override; +}; /** * @brief Attempts to retrieve authentication information. */ @@ -59,9 +73,45 @@ protected: QString path(const ConnectParams& parameters) const override; QUrlQuery query(const ConnectParams& parameters) const override; }; +/** + * @brief Deauthorize all quick connect devices for the current user. + */ + +class DeauthorizeLoader : public Jellyfin::Support::HttpLoader { +public: + explicit DeauthorizeLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const DeauthorizeParams& parameters) const override; + QUrlQuery query(const DeauthorizeParams& parameters) const override; +}; +/** + * @brief Initiate a new quick connect request. + */ + +class InitiateLoader : public Jellyfin::Support::HttpLoader { +public: + explicit InitiateLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const InitiateParams& parameters) const override; + QUrlQuery query(const InitiateParams& parameters) const override; +}; +/** + * @brief Gets the current quick connect state. + */ + +class GetStatusLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetStatusLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetStatusParams& parameters) const override; + QUrlQuery query(const GetStatusParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_CONNECT_H +#endif // JELLYFIN_LOADER_HTTP_QUICKCONNECT_H diff --git a/core/include/JellyfinQt/loader/http/refreshlibrary.h b/core/include/JellyfinQt/loader/http/refreshlibrary.h deleted file mode 100644 index 71757d1..0000000 --- a/core/include/JellyfinQt/loader/http/refreshlibrary.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REFRESHLIBRARY_H -#define JELLYFIN_LOADER_HTTP_REFRESHLIBRARY_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REFRESHLIBRARY_H diff --git a/core/include/JellyfinQt/loader/http/getremoteimageproviders.h b/core/include/JellyfinQt/loader/http/remoteimage.h similarity index 78% rename from core/include/JellyfinQt/loader/http/getremoteimageproviders.h rename to core/include/JellyfinQt/loader/http/remoteimage.h index 8b80563..ae61a12 100644 --- a/core/include/JellyfinQt/loader/http/getremoteimageproviders.h +++ b/core/include/JellyfinQt/loader/http/remoteimage.h @@ -27,14 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETREMOTEIMAGEPROVIDERS_H -#define JELLYFIN_LOADER_HTTP_GETREMOTEIMAGEPROVIDERS_H +#ifndef JELLYFIN_LOADER_HTTP_REMOTEIMAGE_H +#define JELLYFIN_LOADER_HTTP_REMOTEIMAGE_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/remoteimageresult.h" #include "JellyfinQt/dto/imageproviderinfo.h" namespace Jellyfin { @@ -45,8 +46,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets available remote images for an item. + */ + +class GetRemoteImagesLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetRemoteImagesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetRemoteImagesParams& parameters) const override; + QUrlQuery query(const GetRemoteImagesParams& parameters) const override; +}; /** * @brief Gets available remote image providers for an item. */ @@ -64,4 +77,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETREMOTEIMAGEPROVIDERS_H +#endif // JELLYFIN_LOADER_HTTP_REMOTEIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/removefromcollection.h b/core/include/JellyfinQt/loader/http/removefromcollection.h deleted file mode 100644 index 5fe9ec6..0000000 --- a/core/include/JellyfinQt/loader/http/removefromcollection.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REMOVEFROMCOLLECTION_H -#define JELLYFIN_LOADER_HTTP_REMOVEFROMCOLLECTION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REMOVEFROMCOLLECTION_H diff --git a/core/include/JellyfinQt/loader/http/removefromplaylist.h b/core/include/JellyfinQt/loader/http/removefromplaylist.h deleted file mode 100644 index bfba7cd..0000000 --- a/core/include/JellyfinQt/loader/http/removefromplaylist.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REMOVEFROMPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_REMOVEFROMPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REMOVEFROMPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/removemediapath.h b/core/include/JellyfinQt/loader/http/removemediapath.h deleted file mode 100644 index 271475b..0000000 --- a/core/include/JellyfinQt/loader/http/removemediapath.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REMOVEMEDIAPATH_H -#define JELLYFIN_LOADER_HTTP_REMOVEMEDIAPATH_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REMOVEMEDIAPATH_H diff --git a/core/include/JellyfinQt/loader/http/removeuserfromsession.h b/core/include/JellyfinQt/loader/http/removeuserfromsession.h deleted file mode 100644 index 2182a35..0000000 --- a/core/include/JellyfinQt/loader/http/removeuserfromsession.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REMOVEUSERFROMSESSION_H -#define JELLYFIN_LOADER_HTTP_REMOVEUSERFROMSESSION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REMOVEUSERFROMSESSION_H diff --git a/core/include/JellyfinQt/loader/http/removevirtualfolder.h b/core/include/JellyfinQt/loader/http/removevirtualfolder.h deleted file mode 100644 index 94bcb15..0000000 --- a/core/include/JellyfinQt/loader/http/removevirtualfolder.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REMOVEVIRTUALFOLDER_H -#define JELLYFIN_LOADER_HTTP_REMOVEVIRTUALFOLDER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REMOVEVIRTUALFOLDER_H diff --git a/core/include/JellyfinQt/loader/http/renamevirtualfolder.h b/core/include/JellyfinQt/loader/http/renamevirtualfolder.h deleted file mode 100644 index 0b3c407..0000000 --- a/core/include/JellyfinQt/loader/http/renamevirtualfolder.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_RENAMEVIRTUALFOLDER_H -#define JELLYFIN_LOADER_HTTP_RENAMEVIRTUALFOLDER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_RENAMEVIRTUALFOLDER_H diff --git a/core/include/JellyfinQt/loader/http/reportplaybackprogress.h b/core/include/JellyfinQt/loader/http/reportplaybackprogress.h deleted file mode 100644 index 7422b30..0000000 --- a/core/include/JellyfinQt/loader/http/reportplaybackprogress.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REPORTPLAYBACKPROGRESS_H -#define JELLYFIN_LOADER_HTTP_REPORTPLAYBACKPROGRESS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REPORTPLAYBACKPROGRESS_H diff --git a/core/include/JellyfinQt/loader/http/reportplaybackstart.h b/core/include/JellyfinQt/loader/http/reportplaybackstart.h deleted file mode 100644 index 451c30b..0000000 --- a/core/include/JellyfinQt/loader/http/reportplaybackstart.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REPORTPLAYBACKSTART_H -#define JELLYFIN_LOADER_HTTP_REPORTPLAYBACKSTART_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REPORTPLAYBACKSTART_H diff --git a/core/include/JellyfinQt/loader/http/reportplaybackstopped.h b/core/include/JellyfinQt/loader/http/reportplaybackstopped.h deleted file mode 100644 index 90c09d8..0000000 --- a/core/include/JellyfinQt/loader/http/reportplaybackstopped.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REPORTPLAYBACKSTOPPED_H -#define JELLYFIN_LOADER_HTTP_REPORTPLAYBACKSTOPPED_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REPORTPLAYBACKSTOPPED_H diff --git a/core/include/JellyfinQt/loader/http/reportsessionended.h b/core/include/JellyfinQt/loader/http/reportsessionended.h deleted file mode 100644 index 643f9fc..0000000 --- a/core/include/JellyfinQt/loader/http/reportsessionended.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REPORTSESSIONENDED_H -#define JELLYFIN_LOADER_HTTP_REPORTSESSIONENDED_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REPORTSESSIONENDED_H diff --git a/core/include/JellyfinQt/loader/http/reportviewing.h b/core/include/JellyfinQt/loader/http/reportviewing.h deleted file mode 100644 index 3dd80c1..0000000 --- a/core/include/JellyfinQt/loader/http/reportviewing.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REPORTVIEWING_H -#define JELLYFIN_LOADER_HTTP_REPORTVIEWING_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REPORTVIEWING_H diff --git a/core/include/JellyfinQt/loader/http/resettuner.h b/core/include/JellyfinQt/loader/http/resettuner.h deleted file mode 100644 index f402a5a..0000000 --- a/core/include/JellyfinQt/loader/http/resettuner.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_RESETTUNER_H -#define JELLYFIN_LOADER_HTTP_RESETTUNER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_RESETTUNER_H diff --git a/core/include/JellyfinQt/loader/http/restartapplication.h b/core/include/JellyfinQt/loader/http/restartapplication.h deleted file mode 100644 index e62fab7..0000000 --- a/core/include/JellyfinQt/loader/http/restartapplication.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_RESTARTAPPLICATION_H -#define JELLYFIN_LOADER_HTTP_RESTARTAPPLICATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_RESTARTAPPLICATION_H diff --git a/core/include/JellyfinQt/loader/http/revokekey.h b/core/include/JellyfinQt/loader/http/revokekey.h deleted file mode 100644 index a8af4cf..0000000 --- a/core/include/JellyfinQt/loader/http/revokekey.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_REVOKEKEY_H -#define JELLYFIN_LOADER_HTTP_REVOKEKEY_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_REVOKEKEY_H diff --git a/core/include/JellyfinQt/loader/http/gettasks.h b/core/include/JellyfinQt/loader/http/scheduledtasks.h similarity index 80% rename from core/include/JellyfinQt/loader/http/gettasks.h rename to core/include/JellyfinQt/loader/http/scheduledtasks.h index cecb189..3773046 100644 --- a/core/include/JellyfinQt/loader/http/gettasks.h +++ b/core/include/JellyfinQt/loader/http/scheduledtasks.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETTASKS_H -#define JELLYFIN_LOADER_HTTP_GETTASKS_H +#ifndef JELLYFIN_LOADER_HTTP_SCHEDULEDTASKS_H +#define JELLYFIN_LOADER_HTTP_SCHEDULEDTASKS_H #include @@ -36,6 +36,7 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/taskinfo.h" +#include "JellyfinQt/dto/taskinfo.h" namespace Jellyfin { // Forward declaration @@ -45,8 +46,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Get tasks. */ @@ -59,9 +60,21 @@ protected: QString path(const GetTasksParams& parameters) const override; QUrlQuery query(const GetTasksParams& parameters) const override; }; +/** + * @brief Get task by id. + */ + +class GetTaskLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetTaskLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetTaskParams& parameters) const override; + QUrlQuery query(const GetTaskParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETTASKS_H +#endif // JELLYFIN_LOADER_HTTP_SCHEDULEDTASKS_H diff --git a/core/include/JellyfinQt/loader/http/get.h b/core/include/JellyfinQt/loader/http/search.h similarity index 94% rename from core/include/JellyfinQt/loader/http/get.h rename to core/include/JellyfinQt/loader/http/search.h index 8ea5fc9..a6749f2 100644 --- a/core/include/JellyfinQt/loader/http/get.h +++ b/core/include/JellyfinQt/loader/http/search.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GET_H -#define JELLYFIN_LOADER_HTTP_GET_H +#ifndef JELLYFIN_LOADER_HTTP_SEARCH_H +#define JELLYFIN_LOADER_HTTP_SEARCH_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets the search hint result. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GET_H +#endif // JELLYFIN_LOADER_HTTP_SEARCH_H diff --git a/core/include/JellyfinQt/loader/http/sendfullgeneralcommand.h b/core/include/JellyfinQt/loader/http/sendfullgeneralcommand.h deleted file mode 100644 index 0282772..0000000 --- a/core/include/JellyfinQt/loader/http/sendfullgeneralcommand.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SENDFULLGENERALCOMMAND_H -#define JELLYFIN_LOADER_HTTP_SENDFULLGENERALCOMMAND_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SENDFULLGENERALCOMMAND_H diff --git a/core/include/JellyfinQt/loader/http/sendgeneralcommand.h b/core/include/JellyfinQt/loader/http/sendgeneralcommand.h deleted file mode 100644 index d22d495..0000000 --- a/core/include/JellyfinQt/loader/http/sendgeneralcommand.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SENDGENERALCOMMAND_H -#define JELLYFIN_LOADER_HTTP_SENDGENERALCOMMAND_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SENDGENERALCOMMAND_H diff --git a/core/include/JellyfinQt/loader/http/sendmessagecommand.h b/core/include/JellyfinQt/loader/http/sendmessagecommand.h deleted file mode 100644 index 4b2a718..0000000 --- a/core/include/JellyfinQt/loader/http/sendmessagecommand.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SENDMESSAGECOMMAND_H -#define JELLYFIN_LOADER_HTTP_SENDMESSAGECOMMAND_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SENDMESSAGECOMMAND_H diff --git a/core/include/JellyfinQt/loader/http/sendplaystatecommand.h b/core/include/JellyfinQt/loader/http/sendplaystatecommand.h deleted file mode 100644 index c96745b..0000000 --- a/core/include/JellyfinQt/loader/http/sendplaystatecommand.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SENDPLAYSTATECOMMAND_H -#define JELLYFIN_LOADER_HTTP_SENDPLAYSTATECOMMAND_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SENDPLAYSTATECOMMAND_H diff --git a/core/include/JellyfinQt/loader/http/sendsystemcommand.h b/core/include/JellyfinQt/loader/http/sendsystemcommand.h deleted file mode 100644 index e38786a..0000000 --- a/core/include/JellyfinQt/loader/http/sendsystemcommand.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SENDSYSTEMCOMMAND_H -#define JELLYFIN_LOADER_HTTP_SENDSYSTEMCOMMAND_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SENDSYSTEMCOMMAND_H diff --git a/core/include/JellyfinQt/loader/http/getpasswordresetproviders.h b/core/include/JellyfinQt/loader/http/session.h similarity index 69% rename from core/include/JellyfinQt/loader/http/getpasswordresetproviders.h rename to core/include/JellyfinQt/loader/http/session.h index d34e96b..9a23493 100644 --- a/core/include/JellyfinQt/loader/http/getpasswordresetproviders.h +++ b/core/include/JellyfinQt/loader/http/session.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETPASSWORDRESETPROVIDERS_H -#define JELLYFIN_LOADER_HTTP_GETPASSWORDRESETPROVIDERS_H +#ifndef JELLYFIN_LOADER_HTTP_SESSION_H +#define JELLYFIN_LOADER_HTTP_SESSION_H #include @@ -36,6 +36,8 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/nameidpair.h" +#include "JellyfinQt/dto/nameidpair.h" +#include "JellyfinQt/dto/sessioninfo.h" namespace Jellyfin { // Forward declaration @@ -45,8 +47,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Get all password reset providers. */ @@ -59,9 +61,33 @@ protected: QString path(const GetPasswordResetProvidersParams& parameters) const override; QUrlQuery query(const GetPasswordResetProvidersParams& parameters) const override; }; +/** + * @brief Get all auth providers. + */ + +class GetAuthProvidersLoader : public Jellyfin::Support::HttpLoader, GetAuthProvidersParams> { +public: + explicit GetAuthProvidersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetAuthProvidersParams& parameters) const override; + QUrlQuery query(const GetAuthProvidersParams& parameters) const override; +}; +/** + * @brief Gets a list of sessions. + */ + +class GetSessionsLoader : public Jellyfin::Support::HttpLoader, GetSessionsParams> { +public: + explicit GetSessionsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSessionsParams& parameters) const override; + QUrlQuery query(const GetSessionsParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETPASSWORDRESETPROVIDERS_H +#endif // JELLYFIN_LOADER_HTTP_SESSION_H diff --git a/core/include/JellyfinQt/loader/http/setchannelmapping.h b/core/include/JellyfinQt/loader/http/setchannelmapping.h deleted file mode 100644 index dbbfe99..0000000 --- a/core/include/JellyfinQt/loader/http/setchannelmapping.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SETCHANNELMAPPING_H -#define JELLYFIN_LOADER_HTTP_SETCHANNELMAPPING_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/tunerchannelmapping.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Set channel mappings. - */ - -class SetChannelMappingLoader : public Jellyfin::Support::HttpLoader { -public: - explicit SetChannelMappingLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const SetChannelMappingParams& parameters) const override; - QUrlQuery query(const SetChannelMappingParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SETCHANNELMAPPING_H diff --git a/core/include/JellyfinQt/loader/http/setitemimage.h b/core/include/JellyfinQt/loader/http/setitemimage.h deleted file mode 100644 index 7a8c682..0000000 --- a/core/include/JellyfinQt/loader/http/setitemimage.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SETITEMIMAGE_H -#define JELLYFIN_LOADER_HTTP_SETITEMIMAGE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SETITEMIMAGE_H diff --git a/core/include/JellyfinQt/loader/http/setitemimagebyindex.h b/core/include/JellyfinQt/loader/http/setitemimagebyindex.h deleted file mode 100644 index 2ba431b..0000000 --- a/core/include/JellyfinQt/loader/http/setitemimagebyindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SETITEMIMAGEBYINDEX_H -#define JELLYFIN_LOADER_HTTP_SETITEMIMAGEBYINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SETITEMIMAGEBYINDEX_H diff --git a/core/include/JellyfinQt/loader/http/setread.h b/core/include/JellyfinQt/loader/http/setread.h deleted file mode 100644 index 58ed621..0000000 --- a/core/include/JellyfinQt/loader/http/setread.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SETREAD_H -#define JELLYFIN_LOADER_HTTP_SETREAD_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SETREAD_H diff --git a/core/include/JellyfinQt/loader/http/setremoteaccess.h b/core/include/JellyfinQt/loader/http/setremoteaccess.h deleted file mode 100644 index 61a8033..0000000 --- a/core/include/JellyfinQt/loader/http/setremoteaccess.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SETREMOTEACCESS_H -#define JELLYFIN_LOADER_HTTP_SETREMOTEACCESS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SETREMOTEACCESS_H diff --git a/core/include/JellyfinQt/loader/http/setrepositories.h b/core/include/JellyfinQt/loader/http/setrepositories.h deleted file mode 100644 index a5fb588..0000000 --- a/core/include/JellyfinQt/loader/http/setrepositories.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SETREPOSITORIES_H -#define JELLYFIN_LOADER_HTTP_SETREPOSITORIES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SETREPOSITORIES_H diff --git a/core/include/JellyfinQt/loader/http/setunread.h b/core/include/JellyfinQt/loader/http/setunread.h deleted file mode 100644 index be2fa6b..0000000 --- a/core/include/JellyfinQt/loader/http/setunread.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SETUNREAD_H -#define JELLYFIN_LOADER_HTTP_SETUNREAD_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SETUNREAD_H diff --git a/core/include/JellyfinQt/loader/http/shutdownapplication.h b/core/include/JellyfinQt/loader/http/shutdownapplication.h deleted file mode 100644 index c7fbfb0..0000000 --- a/core/include/JellyfinQt/loader/http/shutdownapplication.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SHUTDOWNAPPLICATION_H -#define JELLYFIN_LOADER_HTTP_SHUTDOWNAPPLICATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SHUTDOWNAPPLICATION_H diff --git a/core/include/JellyfinQt/loader/http/starttask.h b/core/include/JellyfinQt/loader/http/starttask.h deleted file mode 100644 index 8d7e49a..0000000 --- a/core/include/JellyfinQt/loader/http/starttask.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_STARTTASK_H -#define JELLYFIN_LOADER_HTTP_STARTTASK_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_STARTTASK_H diff --git a/core/include/JellyfinQt/loader/http/getstartupconfiguration.h b/core/include/JellyfinQt/loader/http/startup.h similarity index 69% rename from core/include/JellyfinQt/loader/http/getstartupconfiguration.h rename to core/include/JellyfinQt/loader/http/startup.h index 7dddd83..68251d9 100644 --- a/core/include/JellyfinQt/loader/http/getstartupconfiguration.h +++ b/core/include/JellyfinQt/loader/http/startup.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETSTARTUPCONFIGURATION_H -#define JELLYFIN_LOADER_HTTP_GETSTARTUPCONFIGURATION_H +#ifndef JELLYFIN_LOADER_HTTP_STARTUP_H +#define JELLYFIN_LOADER_HTTP_STARTUP_H #include @@ -36,6 +36,8 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/startupconfigurationdto.h" +#include "JellyfinQt/dto/startupuserdto.h" +#include "JellyfinQt/dto/startupuserdto.h" namespace Jellyfin { // Forward declaration @@ -45,8 +47,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets the initial startup wizard configuration. */ @@ -59,9 +61,33 @@ protected: QString path(const GetStartupConfigurationParams& parameters) const override; QUrlQuery query(const GetStartupConfigurationParams& parameters) const override; }; +/** + * @brief Gets the first user. + */ + +class GetFirstUser_2Loader : public Jellyfin::Support::HttpLoader { +public: + explicit GetFirstUser_2Loader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetFirstUser_2Params& parameters) const override; + QUrlQuery query(const GetFirstUser_2Params& parameters) const override; +}; +/** + * @brief Gets the first user. + */ + +class GetFirstUserLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetFirstUserLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetFirstUserParams& parameters) const override; + QUrlQuery query(const GetFirstUserParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETSTARTUPCONFIGURATION_H +#endif // JELLYFIN_LOADER_HTTP_STARTUP_H diff --git a/core/include/JellyfinQt/loader/http/stopencodingprocess.h b/core/include/JellyfinQt/loader/http/stopencodingprocess.h deleted file mode 100644 index bc9dfcd..0000000 --- a/core/include/JellyfinQt/loader/http/stopencodingprocess.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_STOPENCODINGPROCESS_H -#define JELLYFIN_LOADER_HTTP_STOPENCODINGPROCESS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_STOPENCODINGPROCESS_H diff --git a/core/include/JellyfinQt/loader/http/stoptask.h b/core/include/JellyfinQt/loader/http/stoptask.h deleted file mode 100644 index 890ad9c..0000000 --- a/core/include/JellyfinQt/loader/http/stoptask.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_STOPTASK_H -#define JELLYFIN_LOADER_HTTP_STOPTASK_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_STOPTASK_H diff --git a/core/include/JellyfinQt/loader/http/getstudios.h b/core/include/JellyfinQt/loader/http/studios.h similarity index 80% rename from core/include/JellyfinQt/loader/http/getstudios.h rename to core/include/JellyfinQt/loader/http/studios.h index 6cb92fb..a02ba69 100644 --- a/core/include/JellyfinQt/loader/http/getstudios.h +++ b/core/include/JellyfinQt/loader/http/studios.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETSTUDIOS_H -#define JELLYFIN_LOADER_HTTP_GETSTUDIOS_H +#ifndef JELLYFIN_LOADER_HTTP_STUDIOS_H +#define JELLYFIN_LOADER_HTTP_STUDIOS_H #include @@ -36,6 +36,7 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { // Forward declaration @@ -45,8 +46,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets all studios from a given item, folder, or the entire library. */ @@ -59,9 +60,21 @@ protected: QString path(const GetStudiosParams& parameters) const override; QUrlQuery query(const GetStudiosParams& parameters) const override; }; +/** + * @brief Gets a studio by name. + */ + +class GetStudioLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetStudioLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetStudioParams& parameters) const override; + QUrlQuery query(const GetStudioParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETSTUDIOS_H +#endif // JELLYFIN_LOADER_HTTP_STUDIOS_H diff --git a/core/include/JellyfinQt/loader/http/searchremotesubtitles.h b/core/include/JellyfinQt/loader/http/subtitle.h similarity index 78% rename from core/include/JellyfinQt/loader/http/searchremotesubtitles.h rename to core/include/JellyfinQt/loader/http/subtitle.h index 1be3062..66cb793 100644 --- a/core/include/JellyfinQt/loader/http/searchremotesubtitles.h +++ b/core/include/JellyfinQt/loader/http/subtitle.h @@ -27,14 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_SEARCHREMOTESUBTITLES_H -#define JELLYFIN_LOADER_HTTP_SEARCHREMOTESUBTITLES_H +#ifndef JELLYFIN_LOADER_HTTP_SUBTITLE_H +#define JELLYFIN_LOADER_HTTP_SUBTITLE_H #include #include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/fontfile.h" #include "JellyfinQt/dto/remotesubtitleinfo.h" namespace Jellyfin { @@ -45,8 +46,20 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets a list of available fallback font files. + */ + +class GetFallbackFontListLoader : public Jellyfin::Support::HttpLoader, GetFallbackFontListParams> { +public: + explicit GetFallbackFontListLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetFallbackFontListParams& parameters) const override; + QUrlQuery query(const GetFallbackFontListParams& parameters) const override; +}; /** * @brief Search remote subtitles. */ @@ -64,4 +77,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_SEARCHREMOTESUBTITLES_H +#endif // JELLYFIN_LOADER_HTTP_SUBTITLE_H diff --git a/core/include/JellyfinQt/loader/http/getsuggestions.h b/core/include/JellyfinQt/loader/http/suggestions.h similarity index 93% rename from core/include/JellyfinQt/loader/http/getsuggestions.h rename to core/include/JellyfinQt/loader/http/suggestions.h index e2e4fbd..df50241 100644 --- a/core/include/JellyfinQt/loader/http/getsuggestions.h +++ b/core/include/JellyfinQt/loader/http/suggestions.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETSUGGESTIONS_H -#define JELLYFIN_LOADER_HTTP_GETSUGGESTIONS_H +#ifndef JELLYFIN_LOADER_HTTP_SUGGESTIONS_H +#define JELLYFIN_LOADER_HTTP_SUGGESTIONS_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets suggestions. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETSUGGESTIONS_H +#endif // JELLYFIN_LOADER_HTTP_SUGGESTIONS_H diff --git a/core/include/JellyfinQt/loader/http/syncplaygetgroups.h b/core/include/JellyfinQt/loader/http/syncplay.h similarity index 93% rename from core/include/JellyfinQt/loader/http/syncplaygetgroups.h rename to core/include/JellyfinQt/loader/http/syncplay.h index 667d117..2014f09 100644 --- a/core/include/JellyfinQt/loader/http/syncplaygetgroups.h +++ b/core/include/JellyfinQt/loader/http/syncplay.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYGETGROUPS_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYGETGROUPS_H +#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAY_H +#define JELLYFIN_LOADER_HTTP_SYNCPLAY_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets all SyncPlay groups. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYGETGROUPS_H +#endif // JELLYFIN_LOADER_HTTP_SYNCPLAY_H diff --git a/core/include/JellyfinQt/loader/http/syncplaybuffering.h b/core/include/JellyfinQt/loader/http/syncplaybuffering.h deleted file mode 100644 index 81f703b..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaybuffering.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYBUFFERING_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYBUFFERING_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYBUFFERING_H diff --git a/core/include/JellyfinQt/loader/http/syncplaycreategroup.h b/core/include/JellyfinQt/loader/http/syncplaycreategroup.h deleted file mode 100644 index 509c827..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaycreategroup.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYCREATEGROUP_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYCREATEGROUP_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYCREATEGROUP_H diff --git a/core/include/JellyfinQt/loader/http/syncplayjoingroup.h b/core/include/JellyfinQt/loader/http/syncplayjoingroup.h deleted file mode 100644 index 4f8dbb9..0000000 --- a/core/include/JellyfinQt/loader/http/syncplayjoingroup.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYJOINGROUP_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYJOINGROUP_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYJOINGROUP_H diff --git a/core/include/JellyfinQt/loader/http/syncplayleavegroup.h b/core/include/JellyfinQt/loader/http/syncplayleavegroup.h deleted file mode 100644 index 42722df..0000000 --- a/core/include/JellyfinQt/loader/http/syncplayleavegroup.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYLEAVEGROUP_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYLEAVEGROUP_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYLEAVEGROUP_H diff --git a/core/include/JellyfinQt/loader/http/syncplaymoveplaylistitem.h b/core/include/JellyfinQt/loader/http/syncplaymoveplaylistitem.h deleted file mode 100644 index 4c61fe5..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaymoveplaylistitem.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYMOVEPLAYLISTITEM_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYMOVEPLAYLISTITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYMOVEPLAYLISTITEM_H diff --git a/core/include/JellyfinQt/loader/http/syncplaynextitem.h b/core/include/JellyfinQt/loader/http/syncplaynextitem.h deleted file mode 100644 index 09d7c95..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaynextitem.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYNEXTITEM_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYNEXTITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYNEXTITEM_H diff --git a/core/include/JellyfinQt/loader/http/syncplaypause.h b/core/include/JellyfinQt/loader/http/syncplaypause.h deleted file mode 100644 index 9993716..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaypause.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYPAUSE_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYPAUSE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYPAUSE_H diff --git a/core/include/JellyfinQt/loader/http/syncplayping.h b/core/include/JellyfinQt/loader/http/syncplayping.h deleted file mode 100644 index 6c0bf1f..0000000 --- a/core/include/JellyfinQt/loader/http/syncplayping.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYPING_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYPING_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYPING_H diff --git a/core/include/JellyfinQt/loader/http/syncplaypreviousitem.h b/core/include/JellyfinQt/loader/http/syncplaypreviousitem.h deleted file mode 100644 index e824aa9..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaypreviousitem.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYPREVIOUSITEM_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYPREVIOUSITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYPREVIOUSITEM_H diff --git a/core/include/JellyfinQt/loader/http/syncplayqueue.h b/core/include/JellyfinQt/loader/http/syncplayqueue.h deleted file mode 100644 index 5ff4a21..0000000 --- a/core/include/JellyfinQt/loader/http/syncplayqueue.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYQUEUE_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYQUEUE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYQUEUE_H diff --git a/core/include/JellyfinQt/loader/http/syncplayready.h b/core/include/JellyfinQt/loader/http/syncplayready.h deleted file mode 100644 index 8eca0fb..0000000 --- a/core/include/JellyfinQt/loader/http/syncplayready.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYREADY_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYREADY_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYREADY_H diff --git a/core/include/JellyfinQt/loader/http/syncplayremovefromplaylist.h b/core/include/JellyfinQt/loader/http/syncplayremovefromplaylist.h deleted file mode 100644 index fb397b4..0000000 --- a/core/include/JellyfinQt/loader/http/syncplayremovefromplaylist.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYREMOVEFROMPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYREMOVEFROMPLAYLIST_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYREMOVEFROMPLAYLIST_H diff --git a/core/include/JellyfinQt/loader/http/syncplayseek.h b/core/include/JellyfinQt/loader/http/syncplayseek.h deleted file mode 100644 index 61b082c..0000000 --- a/core/include/JellyfinQt/loader/http/syncplayseek.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYSEEK_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYSEEK_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYSEEK_H diff --git a/core/include/JellyfinQt/loader/http/syncplaysetignorewait.h b/core/include/JellyfinQt/loader/http/syncplaysetignorewait.h deleted file mode 100644 index e3ad786..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaysetignorewait.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYSETIGNOREWAIT_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYSETIGNOREWAIT_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYSETIGNOREWAIT_H diff --git a/core/include/JellyfinQt/loader/http/syncplaysetnewqueue.h b/core/include/JellyfinQt/loader/http/syncplaysetnewqueue.h deleted file mode 100644 index 6b09b4e..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaysetnewqueue.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYSETNEWQUEUE_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYSETNEWQUEUE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYSETNEWQUEUE_H diff --git a/core/include/JellyfinQt/loader/http/syncplaysetplaylistitem.h b/core/include/JellyfinQt/loader/http/syncplaysetplaylistitem.h deleted file mode 100644 index ad446e2..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaysetplaylistitem.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYSETPLAYLISTITEM_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYSETPLAYLISTITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYSETPLAYLISTITEM_H diff --git a/core/include/JellyfinQt/loader/http/syncplaysetrepeatmode.h b/core/include/JellyfinQt/loader/http/syncplaysetrepeatmode.h deleted file mode 100644 index eaafc33..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaysetrepeatmode.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYSETREPEATMODE_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYSETREPEATMODE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYSETREPEATMODE_H diff --git a/core/include/JellyfinQt/loader/http/syncplaysetshufflemode.h b/core/include/JellyfinQt/loader/http/syncplaysetshufflemode.h deleted file mode 100644 index cd0d972..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaysetshufflemode.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYSETSHUFFLEMODE_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYSETSHUFFLEMODE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYSETSHUFFLEMODE_H diff --git a/core/include/JellyfinQt/loader/http/syncplaystop.h b/core/include/JellyfinQt/loader/http/syncplaystop.h deleted file mode 100644 index 6eed52f..0000000 --- a/core/include/JellyfinQt/loader/http/syncplaystop.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYSTOP_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYSTOP_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYSTOP_H diff --git a/core/include/JellyfinQt/loader/http/syncplayunpause.h b/core/include/JellyfinQt/loader/http/syncplayunpause.h deleted file mode 100644 index 6e900d1..0000000 --- a/core/include/JellyfinQt/loader/http/syncplayunpause.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_SYNCPLAYUNPAUSE_H -#define JELLYFIN_LOADER_HTTP_SYNCPLAYUNPAUSE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_SYNCPLAYUNPAUSE_H diff --git a/core/include/JellyfinQt/loader/http/system.h b/core/include/JellyfinQt/loader/http/system.h new file mode 100644 index 0000000..ea65d2f --- /dev/null +++ b/core/include/JellyfinQt/loader/http/system.h @@ -0,0 +1,143 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_SYSTEM_H +#define JELLYFIN_LOADER_HTTP_SYSTEM_H + +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/endpointinfo.h" +#include "JellyfinQt/dto/systeminfo.h" +#include "JellyfinQt/dto/publicsysteminfo.h" +#include "JellyfinQt/dto/logfile.h" +#include "JellyfinQt/dto/wakeonlaninfo.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +/** + * @brief Gets information about the request endpoint. + */ + +class GetEndpointInfoLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetEndpointInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetEndpointInfoParams& parameters) const override; + QUrlQuery query(const GetEndpointInfoParams& parameters) const override; +}; +/** + * @brief Gets information about the server. + */ + +class GetSystemInfoLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSystemInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSystemInfoParams& parameters) const override; + QUrlQuery query(const GetSystemInfoParams& parameters) const override; +}; +/** + * @brief Gets public information about the server. + */ + +class GetPublicSystemInfoLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetPublicSystemInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPublicSystemInfoParams& parameters) const override; + QUrlQuery query(const GetPublicSystemInfoParams& parameters) const override; +}; +/** + * @brief Gets a list of available server log files. + */ + +class GetServerLogsLoader : public Jellyfin::Support::HttpLoader, GetServerLogsParams> { +public: + explicit GetServerLogsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetServerLogsParams& parameters) const override; + QUrlQuery query(const GetServerLogsParams& parameters) const override; +}; +/** + * @brief Pings the system. + */ + +class GetPingSystemLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetPingSystemLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPingSystemParams& parameters) const override; + QUrlQuery query(const GetPingSystemParams& parameters) const override; +}; +/** + * @brief Pings the system. + */ + +class PostPingSystemLoader : public Jellyfin::Support::HttpLoader { +public: + explicit PostPingSystemLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const PostPingSystemParams& parameters) const override; + QUrlQuery query(const PostPingSystemParams& parameters) const override; +}; +/** + * @brief Gets wake on lan information. + */ + +class GetWakeOnLanInfoLoader : public Jellyfin::Support::HttpLoader, GetWakeOnLanInfoParams> { +public: + explicit GetWakeOnLanInfoLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetWakeOnLanInfoParams& parameters) const override; + QUrlQuery query(const GetWakeOnLanInfoParams& parameters) const override; +}; + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_SYSTEM_H diff --git a/core/include/JellyfinQt/loader/http/getutctime.h b/core/include/JellyfinQt/loader/http/timesync.h similarity index 94% rename from core/include/JellyfinQt/loader/http/getutctime.h rename to core/include/JellyfinQt/loader/http/timesync.h index f97091e..03f0829 100644 --- a/core/include/JellyfinQt/loader/http/getutctime.h +++ b/core/include/JellyfinQt/loader/http/timesync.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETUTCTIME_H -#define JELLYFIN_LOADER_HTTP_GETUTCTIME_H +#ifndef JELLYFIN_LOADER_HTTP_TIMESYNC_H +#define JELLYFIN_LOADER_HTTP_TIMESYNC_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets the current UTC time. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETUTCTIME_H +#endif // JELLYFIN_LOADER_HTTP_TIMESYNC_H diff --git a/core/include/JellyfinQt/loader/http/gettrailers.h b/core/include/JellyfinQt/loader/http/trailers.h similarity index 94% rename from core/include/JellyfinQt/loader/http/gettrailers.h rename to core/include/JellyfinQt/loader/http/trailers.h index 1e851e2..cb2e959 100644 --- a/core/include/JellyfinQt/loader/http/gettrailers.h +++ b/core/include/JellyfinQt/loader/http/trailers.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETTRAILERS_H -#define JELLYFIN_LOADER_HTTP_GETTRAILERS_H +#ifndef JELLYFIN_LOADER_HTTP_TRAILERS_H +#define JELLYFIN_LOADER_HTTP_TRAILERS_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Finds movies and trailers similar to a given trailer. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETTRAILERS_H +#endif // JELLYFIN_LOADER_HTTP_TRAILERS_H diff --git a/core/include/JellyfinQt/loader/http/getupcomingepisodes.h b/core/include/JellyfinQt/loader/http/tvshows.h similarity index 60% rename from core/include/JellyfinQt/loader/http/getupcomingepisodes.h rename to core/include/JellyfinQt/loader/http/tvshows.h index 1d48093..e801118 100644 --- a/core/include/JellyfinQt/loader/http/getupcomingepisodes.h +++ b/core/include/JellyfinQt/loader/http/tvshows.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETUPCOMINGEPISODES_H -#define JELLYFIN_LOADER_HTTP_GETUPCOMINGEPISODES_H +#ifndef JELLYFIN_LOADER_HTTP_TVSHOWS_H +#define JELLYFIN_LOADER_HTTP_TVSHOWS_H #include @@ -36,6 +36,9 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { // Forward declaration @@ -45,8 +48,44 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +/** + * @brief Gets episodes for a tv season. + */ + +class GetEpisodesLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetEpisodesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetEpisodesParams& parameters) const override; + QUrlQuery query(const GetEpisodesParams& parameters) const override; +}; +/** + * @brief Gets seasons for a tv series. + */ + +class GetSeasonsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetSeasonsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSeasonsParams& parameters) const override; + QUrlQuery query(const GetSeasonsParams& parameters) const override; +}; +/** + * @brief Gets a list of next up episodes. + */ + +class GetNextUpLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetNextUpLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetNextUpParams& parameters) const override; + QUrlQuery query(const GetNextUpParams& parameters) const override; +}; /** * @brief Gets a list of upcoming episodes. */ @@ -64,4 +103,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETUPCOMINGEPISODES_H +#endif // JELLYFIN_LOADER_HTTP_TVSHOWS_H diff --git a/core/include/JellyfinQt/loader/http/uninstallplugin.h b/core/include/JellyfinQt/loader/http/uninstallplugin.h deleted file mode 100644 index 46c74f3..0000000 --- a/core/include/JellyfinQt/loader/http/uninstallplugin.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UNINSTALLPLUGIN_H -#define JELLYFIN_LOADER_HTTP_UNINSTALLPLUGIN_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UNINSTALLPLUGIN_H diff --git a/core/include/JellyfinQt/loader/http/uninstallpluginbyversion.h b/core/include/JellyfinQt/loader/http/uninstallpluginbyversion.h deleted file mode 100644 index edfb40e..0000000 --- a/core/include/JellyfinQt/loader/http/uninstallpluginbyversion.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UNINSTALLPLUGINBYVERSION_H -#define JELLYFIN_LOADER_HTTP_UNINSTALLPLUGINBYVERSION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UNINSTALLPLUGINBYVERSION_H diff --git a/core/include/JellyfinQt/loader/http/universalaudio.h b/core/include/JellyfinQt/loader/http/universalaudio.h new file mode 100644 index 0000000..8d36064 --- /dev/null +++ b/core/include/JellyfinQt/loader/http/universalaudio.h @@ -0,0 +1,54 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_UNIVERSALAUDIO_H +#define JELLYFIN_LOADER_HTTP_UNIVERSALAUDIO_H + +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_UNIVERSALAUDIO_H diff --git a/core/include/JellyfinQt/loader/http/unmarkfavoriteitem.h b/core/include/JellyfinQt/loader/http/unmarkfavoriteitem.h deleted file mode 100644 index 3711c6c..0000000 --- a/core/include/JellyfinQt/loader/http/unmarkfavoriteitem.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UNMARKFAVORITEITEM_H -#define JELLYFIN_LOADER_HTTP_UNMARKFAVORITEITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/useritemdatadto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Unmarks item as a favorite. - */ - -class UnmarkFavoriteItemLoader : public Jellyfin::Support::HttpLoader { -public: - explicit UnmarkFavoriteItemLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const UnmarkFavoriteItemParams& parameters) const override; - QUrlQuery query(const UnmarkFavoriteItemParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UNMARKFAVORITEITEM_H diff --git a/core/include/JellyfinQt/loader/http/updateconfiguration.h b/core/include/JellyfinQt/loader/http/updateconfiguration.h deleted file mode 100644 index 0d30e0b..0000000 --- a/core/include/JellyfinQt/loader/http/updateconfiguration.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATECONFIGURATION_H -#define JELLYFIN_LOADER_HTTP_UPDATECONFIGURATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATECONFIGURATION_H diff --git a/core/include/JellyfinQt/loader/http/updatedeviceoptions.h b/core/include/JellyfinQt/loader/http/updatedeviceoptions.h deleted file mode 100644 index 875b7f1..0000000 --- a/core/include/JellyfinQt/loader/http/updatedeviceoptions.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEDEVICEOPTIONS_H -#define JELLYFIN_LOADER_HTTP_UPDATEDEVICEOPTIONS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEDEVICEOPTIONS_H diff --git a/core/include/JellyfinQt/loader/http/updatedisplaypreferences.h b/core/include/JellyfinQt/loader/http/updatedisplaypreferences.h deleted file mode 100644 index 1c14c40..0000000 --- a/core/include/JellyfinQt/loader/http/updatedisplaypreferences.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEDISPLAYPREFERENCES_H -#define JELLYFIN_LOADER_HTTP_UPDATEDISPLAYPREFERENCES_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEDISPLAYPREFERENCES_H diff --git a/core/include/JellyfinQt/loader/http/updateinitialconfiguration.h b/core/include/JellyfinQt/loader/http/updateinitialconfiguration.h deleted file mode 100644 index 33c4147..0000000 --- a/core/include/JellyfinQt/loader/http/updateinitialconfiguration.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEINITIALCONFIGURATION_H -#define JELLYFIN_LOADER_HTTP_UPDATEINITIALCONFIGURATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEINITIALCONFIGURATION_H diff --git a/core/include/JellyfinQt/loader/http/updateitem.h b/core/include/JellyfinQt/loader/http/updateitem.h deleted file mode 100644 index 94a09c2..0000000 --- a/core/include/JellyfinQt/loader/http/updateitem.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEITEM_H -#define JELLYFIN_LOADER_HTTP_UPDATEITEM_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEITEM_H diff --git a/core/include/JellyfinQt/loader/http/updateitemcontenttype.h b/core/include/JellyfinQt/loader/http/updateitemcontenttype.h deleted file mode 100644 index 46e58f3..0000000 --- a/core/include/JellyfinQt/loader/http/updateitemcontenttype.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEITEMCONTENTTYPE_H -#define JELLYFIN_LOADER_HTTP_UPDATEITEMCONTENTTYPE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEITEMCONTENTTYPE_H diff --git a/core/include/JellyfinQt/loader/http/updateitemimageindex.h b/core/include/JellyfinQt/loader/http/updateitemimageindex.h deleted file mode 100644 index 9734a0a..0000000 --- a/core/include/JellyfinQt/loader/http/updateitemimageindex.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEITEMIMAGEINDEX_H -#define JELLYFIN_LOADER_HTTP_UPDATEITEMIMAGEINDEX_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEITEMIMAGEINDEX_H diff --git a/core/include/JellyfinQt/loader/http/updatelibraryoptions.h b/core/include/JellyfinQt/loader/http/updatelibraryoptions.h deleted file mode 100644 index b835117..0000000 --- a/core/include/JellyfinQt/loader/http/updatelibraryoptions.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATELIBRARYOPTIONS_H -#define JELLYFIN_LOADER_HTTP_UPDATELIBRARYOPTIONS_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATELIBRARYOPTIONS_H diff --git a/core/include/JellyfinQt/loader/http/updatemediaencoderpath.h b/core/include/JellyfinQt/loader/http/updatemediaencoderpath.h deleted file mode 100644 index 4877d24..0000000 --- a/core/include/JellyfinQt/loader/http/updatemediaencoderpath.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEMEDIAENCODERPATH_H -#define JELLYFIN_LOADER_HTTP_UPDATEMEDIAENCODERPATH_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEMEDIAENCODERPATH_H diff --git a/core/include/JellyfinQt/loader/http/updatemediapath.h b/core/include/JellyfinQt/loader/http/updatemediapath.h deleted file mode 100644 index 608c91f..0000000 --- a/core/include/JellyfinQt/loader/http/updatemediapath.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEMEDIAPATH_H -#define JELLYFIN_LOADER_HTTP_UPDATEMEDIAPATH_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEMEDIAPATH_H diff --git a/core/include/JellyfinQt/loader/http/updatenamedconfiguration.h b/core/include/JellyfinQt/loader/http/updatenamedconfiguration.h deleted file mode 100644 index a386a92..0000000 --- a/core/include/JellyfinQt/loader/http/updatenamedconfiguration.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATENAMEDCONFIGURATION_H -#define JELLYFIN_LOADER_HTTP_UPDATENAMEDCONFIGURATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATENAMEDCONFIGURATION_H diff --git a/core/include/JellyfinQt/loader/http/updatepluginconfiguration.h b/core/include/JellyfinQt/loader/http/updatepluginconfiguration.h deleted file mode 100644 index 348282b..0000000 --- a/core/include/JellyfinQt/loader/http/updatepluginconfiguration.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEPLUGINCONFIGURATION_H -#define JELLYFIN_LOADER_HTTP_UPDATEPLUGINCONFIGURATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEPLUGINCONFIGURATION_H diff --git a/core/include/JellyfinQt/loader/http/updatepluginsecurityinfo.h b/core/include/JellyfinQt/loader/http/updatepluginsecurityinfo.h deleted file mode 100644 index 8988ccd..0000000 --- a/core/include/JellyfinQt/loader/http/updatepluginsecurityinfo.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEPLUGINSECURITYINFO_H -#define JELLYFIN_LOADER_HTTP_UPDATEPLUGINSECURITYINFO_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEPLUGINSECURITYINFO_H diff --git a/core/include/JellyfinQt/loader/http/updateprofile.h b/core/include/JellyfinQt/loader/http/updateprofile.h deleted file mode 100644 index aa3dd29..0000000 --- a/core/include/JellyfinQt/loader/http/updateprofile.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEPROFILE_H -#define JELLYFIN_LOADER_HTTP_UPDATEPROFILE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEPROFILE_H diff --git a/core/include/JellyfinQt/loader/http/updateseriestimer.h b/core/include/JellyfinQt/loader/http/updateseriestimer.h deleted file mode 100644 index 2120ada..0000000 --- a/core/include/JellyfinQt/loader/http/updateseriestimer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATESERIESTIMER_H -#define JELLYFIN_LOADER_HTTP_UPDATESERIESTIMER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATESERIESTIMER_H diff --git a/core/include/JellyfinQt/loader/http/updatestartupuser.h b/core/include/JellyfinQt/loader/http/updatestartupuser.h deleted file mode 100644 index 12b01ce..0000000 --- a/core/include/JellyfinQt/loader/http/updatestartupuser.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATESTARTUPUSER_H -#define JELLYFIN_LOADER_HTTP_UPDATESTARTUPUSER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATESTARTUPUSER_H diff --git a/core/include/JellyfinQt/loader/http/updatetask.h b/core/include/JellyfinQt/loader/http/updatetask.h deleted file mode 100644 index b28d8d5..0000000 --- a/core/include/JellyfinQt/loader/http/updatetask.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATETASK_H -#define JELLYFIN_LOADER_HTTP_UPDATETASK_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATETASK_H diff --git a/core/include/JellyfinQt/loader/http/updatetimer.h b/core/include/JellyfinQt/loader/http/updatetimer.h deleted file mode 100644 index 29de7f1..0000000 --- a/core/include/JellyfinQt/loader/http/updatetimer.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATETIMER_H -#define JELLYFIN_LOADER_HTTP_UPDATETIMER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATETIMER_H diff --git a/core/include/JellyfinQt/loader/http/updateuser.h b/core/include/JellyfinQt/loader/http/updateuser.h deleted file mode 100644 index 9f019aa..0000000 --- a/core/include/JellyfinQt/loader/http/updateuser.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEUSER_H -#define JELLYFIN_LOADER_HTTP_UPDATEUSER_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEUSER_H diff --git a/core/include/JellyfinQt/loader/http/updateuserconfiguration.h b/core/include/JellyfinQt/loader/http/updateuserconfiguration.h deleted file mode 100644 index 961685c..0000000 --- a/core/include/JellyfinQt/loader/http/updateuserconfiguration.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEUSERCONFIGURATION_H -#define JELLYFIN_LOADER_HTTP_UPDATEUSERCONFIGURATION_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEUSERCONFIGURATION_H diff --git a/core/include/JellyfinQt/loader/http/updateusereasypassword.h b/core/include/JellyfinQt/loader/http/updateusereasypassword.h deleted file mode 100644 index e3bfe8d..0000000 --- a/core/include/JellyfinQt/loader/http/updateusereasypassword.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEUSEREASYPASSWORD_H -#define JELLYFIN_LOADER_HTTP_UPDATEUSEREASYPASSWORD_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEUSEREASYPASSWORD_H diff --git a/core/include/JellyfinQt/loader/http/updateuseritemrating.h b/core/include/JellyfinQt/loader/http/updateuseritemrating.h deleted file mode 100644 index 3bad6d5..0000000 --- a/core/include/JellyfinQt/loader/http/updateuseritemrating.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEUSERITEMRATING_H -#define JELLYFIN_LOADER_HTTP_UPDATEUSERITEMRATING_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" -#include "JellyfinQt/dto/useritemdatadto.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -/** - * @brief Updates a user's rating for an item. - */ - -class UpdateUserItemRatingLoader : public Jellyfin::Support::HttpLoader { -public: - explicit UpdateUserItemRatingLoader(ApiClient *apiClient = nullptr); - -protected: - QString path(const UpdateUserItemRatingParams& parameters) const override; - QUrlQuery query(const UpdateUserItemRatingParams& parameters) const override; -}; - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEUSERITEMRATING_H diff --git a/core/include/JellyfinQt/loader/http/updateuserpassword.h b/core/include/JellyfinQt/loader/http/updateuserpassword.h deleted file mode 100644 index 5f14328..0000000 --- a/core/include/JellyfinQt/loader/http/updateuserpassword.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEUSERPASSWORD_H -#define JELLYFIN_LOADER_HTTP_UPDATEUSERPASSWORD_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEUSERPASSWORD_H diff --git a/core/include/JellyfinQt/loader/http/updateuserpolicy.h b/core/include/JellyfinQt/loader/http/updateuserpolicy.h deleted file mode 100644 index 0fcb4dc..0000000 --- a/core/include/JellyfinQt/loader/http/updateuserpolicy.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPDATEUSERPOLICY_H -#define JELLYFIN_LOADER_HTTP_UPDATEUSERPOLICY_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPDATEUSERPOLICY_H diff --git a/core/include/JellyfinQt/loader/http/uploadsubtitle.h b/core/include/JellyfinQt/loader/http/uploadsubtitle.h deleted file mode 100644 index 922f302..0000000 --- a/core/include/JellyfinQt/loader/http/uploadsubtitle.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_UPLOADSUBTITLE_H -#define JELLYFIN_LOADER_HTTP_UPLOADSUBTITLE_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_UPLOADSUBTITLE_H diff --git a/core/include/JellyfinQt/loader/http/user.h b/core/include/JellyfinQt/loader/http/user.h new file mode 100644 index 0000000..4f769f3 --- /dev/null +++ b/core/include/JellyfinQt/loader/http/user.h @@ -0,0 +1,184 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_USER_H +#define JELLYFIN_LOADER_HTTP_USER_H + +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/userdto.h" +#include "JellyfinQt/dto/userdto.h" +#include "JellyfinQt/dto/authenticationresult.h" +#include "JellyfinQt/dto/authenticationresult.h" +#include "JellyfinQt/dto/authenticationresult.h" +#include "JellyfinQt/dto/forgotpasswordresult.h" +#include "JellyfinQt/dto/pinredeemresult.h" +#include "JellyfinQt/dto/userdto.h" +#include "JellyfinQt/dto/userdto.h" +#include "JellyfinQt/dto/userdto.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +/** + * @brief Gets a list of users. + */ + +class GetUsersLoader : public Jellyfin::Support::HttpLoader, GetUsersParams> { +public: + explicit GetUsersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetUsersParams& parameters) const override; + QUrlQuery query(const GetUsersParams& parameters) const override; +}; +/** + * @brief Gets a user by Id. + */ + +class GetUserByIdLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetUserByIdLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetUserByIdParams& parameters) const override; + QUrlQuery query(const GetUserByIdParams& parameters) const override; +}; +/** + * @brief Authenticates a user. + */ + +class AuthenticateUserLoader : public Jellyfin::Support::HttpLoader { +public: + explicit AuthenticateUserLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const AuthenticateUserParams& parameters) const override; + QUrlQuery query(const AuthenticateUserParams& parameters) const override; +}; +/** + * @brief Authenticates a user by name. + */ + +class AuthenticateUserByNameLoader : public Jellyfin::Support::HttpLoader { +public: + explicit AuthenticateUserByNameLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const AuthenticateUserByNameParams& parameters) const override; + QUrlQuery query(const AuthenticateUserByNameParams& parameters) const override; +}; +/** + * @brief Authenticates a user with quick connect. + */ + +class AuthenticateWithQuickConnectLoader : public Jellyfin::Support::HttpLoader { +public: + explicit AuthenticateWithQuickConnectLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const AuthenticateWithQuickConnectParams& parameters) const override; + QUrlQuery query(const AuthenticateWithQuickConnectParams& parameters) const override; +}; +/** + * @brief Initiates the forgot password process for a local user. + */ + +class ForgotPasswordLoader : public Jellyfin::Support::HttpLoader { +public: + explicit ForgotPasswordLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const ForgotPasswordParams& parameters) const override; + QUrlQuery query(const ForgotPasswordParams& parameters) const override; +}; +/** + * @brief Redeems a forgot password pin. + */ + +class ForgotPasswordPinLoader : public Jellyfin::Support::HttpLoader { +public: + explicit ForgotPasswordPinLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const ForgotPasswordPinParams& parameters) const override; + QUrlQuery query(const ForgotPasswordPinParams& parameters) const override; +}; +/** + * @brief Gets the user based on auth token. + */ + +class GetCurrentUserLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetCurrentUserLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetCurrentUserParams& parameters) const override; + QUrlQuery query(const GetCurrentUserParams& parameters) const override; +}; +/** + * @brief Creates a user. + */ + +class CreateUserByNameLoader : public Jellyfin::Support::HttpLoader { +public: + explicit CreateUserByNameLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const CreateUserByNameParams& parameters) const override; + QUrlQuery query(const CreateUserByNameParams& parameters) const override; +}; +/** + * @brief Gets a list of publicly visible users for display on a login screen. + */ + +class GetPublicUsersLoader : public Jellyfin::Support::HttpLoader, GetPublicUsersParams> { +public: + explicit GetPublicUsersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetPublicUsersParams& parameters) const override; + QUrlQuery query(const GetPublicUsersParams& parameters) const override; +}; + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_USER_H diff --git a/core/include/JellyfinQt/loader/http/userlibrary.h b/core/include/JellyfinQt/loader/http/userlibrary.h new file mode 100644 index 0000000..2fb6713 --- /dev/null +++ b/core/include/JellyfinQt/loader/http/userlibrary.h @@ -0,0 +1,184 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_USERLIBRARY_H +#define JELLYFIN_LOADER_HTTP_USERLIBRARY_H + +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/dto/useritemdatadto.h" +#include "JellyfinQt/dto/useritemdatadto.h" +#include "JellyfinQt/dto/baseitemdto.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" +#include "JellyfinQt/dto/useritemdatadto.h" +#include "JellyfinQt/dto/useritemdatadto.h" +#include "JellyfinQt/dto/baseitemdto.h" +#include "JellyfinQt/dto/baseitemdto.h" +#include "JellyfinQt/dto/baseitemdto.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +/** + * @brief Marks an item as a favorite. + */ + +class MarkFavoriteItemLoader : public Jellyfin::Support::HttpLoader { +public: + explicit MarkFavoriteItemLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const MarkFavoriteItemParams& parameters) const override; + QUrlQuery query(const MarkFavoriteItemParams& parameters) const override; +}; +/** + * @brief Unmarks item as a favorite. + */ + +class UnmarkFavoriteItemLoader : public Jellyfin::Support::HttpLoader { +public: + explicit UnmarkFavoriteItemLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const UnmarkFavoriteItemParams& parameters) const override; + QUrlQuery query(const UnmarkFavoriteItemParams& parameters) const override; +}; +/** + * @brief Gets an item from a user's library. + */ + +class GetItemLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetItemLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetItemParams& parameters) const override; + QUrlQuery query(const GetItemParams& parameters) const override; +}; +/** + * @brief Gets intros to play before the main media item plays. + */ + +class GetIntrosLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetIntrosLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetIntrosParams& parameters) const override; + QUrlQuery query(const GetIntrosParams& parameters) const override; +}; +/** + * @brief Gets local trailers for an item. + */ + +class GetLocalTrailersLoader : public Jellyfin::Support::HttpLoader, GetLocalTrailersParams> { +public: + explicit GetLocalTrailersLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetLocalTrailersParams& parameters) const override; + QUrlQuery query(const GetLocalTrailersParams& parameters) const override; +}; +/** + * @brief Deletes a user's saved personal rating for an item. + */ + +class DeleteUserItemRatingLoader : public Jellyfin::Support::HttpLoader { +public: + explicit DeleteUserItemRatingLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const DeleteUserItemRatingParams& parameters) const override; + QUrlQuery query(const DeleteUserItemRatingParams& parameters) const override; +}; +/** + * @brief Updates a user's rating for an item. + */ + +class UpdateUserItemRatingLoader : public Jellyfin::Support::HttpLoader { +public: + explicit UpdateUserItemRatingLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const UpdateUserItemRatingParams& parameters) const override; + QUrlQuery query(const UpdateUserItemRatingParams& parameters) const override; +}; +/** + * @brief Gets special features for an item. + */ + +class GetSpecialFeaturesLoader : public Jellyfin::Support::HttpLoader, GetSpecialFeaturesParams> { +public: + explicit GetSpecialFeaturesLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetSpecialFeaturesParams& parameters) const override; + QUrlQuery query(const GetSpecialFeaturesParams& parameters) const override; +}; +/** + * @brief Gets latest media. + */ + +class GetLatestMediaLoader : public Jellyfin::Support::HttpLoader, GetLatestMediaParams> { +public: + explicit GetLatestMediaLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetLatestMediaParams& parameters) const override; + QUrlQuery query(const GetLatestMediaParams& parameters) const override; +}; +/** + * @brief Gets the root folder from a user's library. + */ + +class GetRootFolderLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetRootFolderLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetRootFolderParams& parameters) const override; + QUrlQuery query(const GetRootFolderParams& parameters) const override; +}; + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_USERLIBRARY_H diff --git a/core/include/JellyfinQt/loader/http/getgroupingoptions.h b/core/include/JellyfinQt/loader/http/userviews.h similarity index 79% rename from core/include/JellyfinQt/loader/http/getgroupingoptions.h rename to core/include/JellyfinQt/loader/http/userviews.h index 3bce731..f6013e1 100644 --- a/core/include/JellyfinQt/loader/http/getgroupingoptions.h +++ b/core/include/JellyfinQt/loader/http/userviews.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETGROUPINGOPTIONS_H -#define JELLYFIN_LOADER_HTTP_GETGROUPINGOPTIONS_H +#ifndef JELLYFIN_LOADER_HTTP_USERVIEWS_H +#define JELLYFIN_LOADER_HTTP_USERVIEWS_H #include @@ -36,6 +36,7 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/specialviewoptiondto.h" +#include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { // Forward declaration @@ -45,8 +46,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Get user view grouping options. */ @@ -59,9 +60,21 @@ protected: QString path(const GetGroupingOptionsParams& parameters) const override; QUrlQuery query(const GetGroupingOptionsParams& parameters) const override; }; +/** + * @brief Get user views. + */ + +class GetUserViewsLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetUserViewsLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetUserViewsParams& parameters) const override; + QUrlQuery query(const GetUserViewsParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETGROUPINGOPTIONS_H +#endif // JELLYFIN_LOADER_HTTP_USERVIEWS_H diff --git a/core/include/JellyfinQt/loader/http/validatepath.h b/core/include/JellyfinQt/loader/http/validatepath.h deleted file mode 100644 index 4db31b3..0000000 --- a/core/include/JellyfinQt/loader/http/validatepath.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#ifndef JELLYFIN_LOADER_HTTP_VALIDATEPATH_H -#define JELLYFIN_LOADER_HTTP_VALIDATEPATH_H - -#include - -#include "JellyfinQt/support/jsonconv.h" -#include "JellyfinQt/support/loader.h" -#include "JellyfinQt/loader/requesttypes.h" - -namespace Jellyfin { -// Forward declaration -class ApiClient; -} -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin - -#endif // JELLYFIN_LOADER_HTTP_VALIDATEPATH_H diff --git a/core/include/JellyfinQt/loader/http/videoattachments.h b/core/include/JellyfinQt/loader/http/videoattachments.h new file mode 100644 index 0000000..899be37 --- /dev/null +++ b/core/include/JellyfinQt/loader/http/videoattachments.h @@ -0,0 +1,54 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_LOADER_HTTP_VIDEOATTACHMENTS_H +#define JELLYFIN_LOADER_HTTP_VIDEOATTACHMENTS_H + +#include + +#include "JellyfinQt/support/jsonconv.h" +#include "JellyfinQt/support/loader.h" +#include "JellyfinQt/loader/requesttypes.h" + +namespace Jellyfin { +// Forward declaration +class ApiClient; +} +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin + +#endif // JELLYFIN_LOADER_HTTP_VIDEOATTACHMENTS_H diff --git a/core/include/JellyfinQt/loader/http/addtoplaylist.h b/core/include/JellyfinQt/loader/http/videohls.h similarity index 91% rename from core/include/JellyfinQt/loader/http/addtoplaylist.h rename to core/include/JellyfinQt/loader/http/videohls.h index 4efc942..05bcabb 100644 --- a/core/include/JellyfinQt/loader/http/addtoplaylist.h +++ b/core/include/JellyfinQt/loader/http/videohls.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_ADDTOPLAYLIST_H -#define JELLYFIN_LOADER_HTTP_ADDTOPLAYLIST_H +#ifndef JELLYFIN_LOADER_HTTP_VIDEOHLS_H +#define JELLYFIN_LOADER_HTTP_VIDEOHLS_H #include @@ -44,10 +44,11 @@ namespace Jellyfin { namespace Loader { namespace HTTP { +using namespace Jellyfin::DTO; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_ADDTOPLAYLIST_H +#endif // JELLYFIN_LOADER_HTTP_VIDEOHLS_H diff --git a/core/include/JellyfinQt/loader/http/getadditionalpart.h b/core/include/JellyfinQt/loader/http/videos.h similarity index 93% rename from core/include/JellyfinQt/loader/http/getadditionalpart.h rename to core/include/JellyfinQt/loader/http/videos.h index 683ef47..5c55930 100644 --- a/core/include/JellyfinQt/loader/http/getadditionalpart.h +++ b/core/include/JellyfinQt/loader/http/videos.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETADDITIONALPART_H -#define JELLYFIN_LOADER_HTTP_GETADDITIONALPART_H +#ifndef JELLYFIN_LOADER_HTTP_VIDEOS_H +#define JELLYFIN_LOADER_HTTP_VIDEOS_H #include @@ -45,8 +45,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Gets additional parts for a video. */ @@ -64,4 +64,4 @@ protected: } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETADDITIONALPART_H +#endif // JELLYFIN_LOADER_HTTP_VIDEOS_H diff --git a/core/include/JellyfinQt/loader/http/getyears.h b/core/include/JellyfinQt/loader/http/years.h similarity index 80% rename from core/include/JellyfinQt/loader/http/getyears.h rename to core/include/JellyfinQt/loader/http/years.h index 6e62ec4..fb2f733 100644 --- a/core/include/JellyfinQt/loader/http/getyears.h +++ b/core/include/JellyfinQt/loader/http/years.h @@ -27,8 +27,8 @@ * file with a newer file if needed instead of manually updating the files. */ -#ifndef JELLYFIN_LOADER_HTTP_GETYEARS_H -#define JELLYFIN_LOADER_HTTP_GETYEARS_H +#ifndef JELLYFIN_LOADER_HTTP_YEARS_H +#define JELLYFIN_LOADER_HTTP_YEARS_H #include @@ -36,6 +36,7 @@ #include "JellyfinQt/support/loader.h" #include "JellyfinQt/loader/requesttypes.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" +#include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { // Forward declaration @@ -45,8 +46,8 @@ namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + /** * @brief Get years. */ @@ -59,9 +60,21 @@ protected: QString path(const GetYearsParams& parameters) const override; QUrlQuery query(const GetYearsParams& parameters) const override; }; +/** + * @brief Gets a year. + */ + +class GetYearLoader : public Jellyfin::Support::HttpLoader { +public: + explicit GetYearLoader(ApiClient *apiClient = nullptr); + +protected: + QString path(const GetYearParams& parameters) const override; + QUrlQuery query(const GetYearParams& parameters) const override; +}; } // NS HTTP } // NS Loader } // NS Jellyfin -#endif // JELLYFIN_LOADER_HTTP_GETYEARS_H +#endif // JELLYFIN_LOADER_HTTP_YEARS_H diff --git a/core/include/JellyfinQt/viewmodel/item.h b/core/include/JellyfinQt/viewmodel/item.h index 5f3bfb5..c8cc4fb 100644 --- a/core/include/JellyfinQt/viewmodel/item.h +++ b/core/include/JellyfinQt/viewmodel/item.h @@ -40,7 +40,6 @@ #include "namedguidpair.h" #include "userdata.h"*/ -#include "../loader/http/getitem.h" #include "../loader/requesttypes.h" #include "../model/item.h" #include "mediastream.h" diff --git a/core/include/JellyfinQt/viewmodel/itemmodel.h b/core/include/JellyfinQt/viewmodel/itemmodel.h index 5680fad..f94411e 100644 --- a/core/include/JellyfinQt/viewmodel/itemmodel.h +++ b/core/include/JellyfinQt/viewmodel/itemmodel.h @@ -25,7 +25,6 @@ #include "../dto/baseitemdto.h" #include "../dto/baseitemdtoqueryresult.h" -#include "../loader/http/getuserviews.h" #include "../loader/requesttypes.h" #include "../model/item.h" #include "../viewmodel/item.h" diff --git a/core/include/JellyfinQt/viewmodel/playbackmanager.h b/core/include/JellyfinQt/viewmodel/playbackmanager.h index 39173fc..c398499 100644 --- a/core/include/JellyfinQt/viewmodel/playbackmanager.h +++ b/core/include/JellyfinQt/viewmodel/playbackmanager.h @@ -35,9 +35,9 @@ #include "../dto/baseitemdto.h" #include "../dto/playbackinfodto.h" +#include "../dto/playbackinforesponse.h" #include "../dto/playmethod.h" #include "../loader/requesttypes.h" -#include "../loader/http/getpostedplaybackinfo.h" #include "../model/playlist.h" #include "../support/jsonconv.h" #include "../viewmodel/item.h" diff --git a/core/include/JellyfinQt/viewmodel/user.h b/core/include/JellyfinQt/viewmodel/user.h index e82ccb8..276e13c 100644 --- a/core/include/JellyfinQt/viewmodel/user.h +++ b/core/include/JellyfinQt/viewmodel/user.h @@ -23,7 +23,6 @@ #include #include -#include "../loader/http/getitem.h" #include "../loader/requesttypes.h" #include "../model/user.h" #include "loader.h" diff --git a/core/include/JellyfinQt/viewmodel/usermodel.h b/core/include/JellyfinQt/viewmodel/usermodel.h index f3023a1..b49625a 100644 --- a/core/include/JellyfinQt/viewmodel/usermodel.h +++ b/core/include/JellyfinQt/viewmodel/usermodel.h @@ -23,7 +23,7 @@ #include #include -#include "../loader/http/getpublicusers.h" +#include "../loader/http/user.h" #include "../loader/requesttypes.h" #include "../model/user.h" #include "../apimodel.h" diff --git a/core/openapigenerator.d b/core/openapigenerator.d index 7b06767..6ef23ff 100755 --- a/core/openapigenerator.d +++ b/core/openapigenerator.d @@ -190,21 +190,39 @@ void realMain(string[] args) { } Appender!(Endpoint[]) endpoints; - foreach(string path, ref const Node operations; root["paths"]) { - foreach (string operation, ref const Node endpoint; operations) { - string fileBase = endpoint["operationId"].as!string.applyCasePolicy(OPENAPI_CASING, CPP_FILENAME_CASING); - string headerFileName = buildPath(outputDirectory, "include", INCLUDE_PREFIX, HTTP_LOADER_FOLDER, fileBase ~ ".h"); - string implementationFileName = buildPath(outputDirectory, "src", SRC_PREFIX, HTTP_LOADER_FOLDER, fileBase ~ ".cpp"); + Node[][string] tags; + foreach(string path, ref Node operations; root["paths"]) { + foreach (string operation, ref Node endpoint; operations) { + endpoint["path"] = path; + string tag; + if ("tags" in endpoint && endpoint["tags"].length > 0) { + tag = endpoint["tags"][0].as!string; + } else { + tag = "untagged"; + } - headerFiles ~= [headerFileName]; - implementationFiles ~= [implementationFileName]; - - File headerFile = File(headerFileName, "w+"); - File implementationFile = File(implementationFileName, "w+"); - generateFileForEndpoint(path, operation, endpoint, root["components"]["schemas"], headerFile, - implementationFile, endpoints); + if (tag in tags) { + tags[tag] ~= endpoint; + } else { + tags[tag] = [endpoint]; + } } } + + foreach(tag, operations; tags) { + string fileBase = tag.applyCasePolicy(OPENAPI_CASING, CPP_FILENAME_CASING); + string headerFileName = buildPath(outputDirectory, "include", INCLUDE_PREFIX, HTTP_LOADER_FOLDER, fileBase ~ ".h"); + string implementationFileName = buildPath(outputDirectory, "src", SRC_PREFIX, HTTP_LOADER_FOLDER, fileBase ~ ".cpp"); + + headerFiles ~= [headerFileName]; + implementationFiles ~= [implementationFileName]; + + File headerFile = File(headerFileName, "w+"); + File implementationFile = File(implementationFileName, "w+"); + generateFileForEndpoints(operations, root["components"]["schemas"], headerFile, + implementationFile, endpoints, fileBase); + } + string typesHeaderPath = buildPath(outputDirectory, "include", INCLUDE_PREFIX, LOADER_FOLDER, "requesttypes.h"); string typesImplementationPath = buildPath(outputDirectory, "src", SRC_PREFIX, LOADER_FOLDER, "requesttypes.cpp"); File typesHeader = File(typesHeaderPath, "w+"); @@ -347,111 +365,22 @@ void writeRequestTypesFile(R)(File headerFile, File implementationFile, R endpoi } /** - * Generates files for endpoins + * Generates files for endpoints in a category * Params: - * path = Path of the endpoint, for example "/foo/{barId}/baz"; - * operation = HTTP method, like "get", "post", ... * endpointNode = YAML node representing the endpoint. * allSchemas = YAML node containing the schemas that values in the endpointNOde could reference. * headerFile = File to write the header (.h) file to * implementationFile = File to write the implementation (.cpp) file to. * endpoints = Appender to add any requestParameters encountered to. + * categoryName = name of the category */ -void generateFileForEndpoint(ref const string path, ref const string operation, ref const Node endpointNode, +void generateFileForEndpoints(ref const Node[] endpointNodes, ref const Node allSchemas, ref scope File headerFile, ref scope File implementationFile, - ref scope Appender!(Endpoint[]) endpoints) { + ref scope Appender!(Endpoint[]) endpoints, ref const string categoryName) { - string name = endpointNode["operationId"].as!string; - - Endpoint endpoint = new Endpoint(); - endpoint.name = name; - endpoint.parameterType = name ~ "Params"; - endpoint.description = endpointNode.getOr!string("summary", ""); - endpoint.path = path; - - string[] systemImports = ["optional"]; - string[] userImports = [ - buildPath(SUPPORT_FOLDER, "jsonconv.h"), - buildPath(SUPPORT_FOLDER, "loader.h"), - buildPath(LOADER_FOLDER, "requesttypes.h") - ]; - - // Find the most likely result response. - foreach(string code, const Node response; endpointNode["responses"]) { - int codeNo = to!int(code); - if ([200, 201].canFind(codeNo)) { - foreach(string contentType, const Node content; response["content"]) { - if (contentType == "application/json") { - endpoint.hasSuccessResponse = true; - if ("$ref" in content["schema"]) { - string reference = content["schema"]["$ref"].as!string.chompPrefix("#/components/schemas/"); - endpoint.resultIsReference = true; - endpoint.resultType = reference; - userImports ~= [buildPath(MODEL_FOLDER, reference.applyCasePolicy(CasePolicy.PASCAL, CasePolicy.LOWER) ~ ".h")]; - } else if ("schema" in content){ - endpoint.resultIsReference = false; - string typeName = endpoint.name ~ "Response"; - MetaTypeInfo responseType = getType(typeName, content["schema"], allSchemas); - endpoint.resultType = responseType.typeName; - if (responseType.needsLocalImport && !responseType.isContainer) { - userImports ~= [buildPath(MODEL_FOLDER, endpoint.resultType)]; - } - - MetaTypeInfo t = responseType; - while(t.isContainer) { - t = t.containerType; - if (t.needsLocalImport) { - userImports ~= [buildPath(MODEL_FOLDER, t.fileName)]; - } else if (t.needsSystemImport && !t.isContainer){ - systemImports ~= [t.typeName]; - } - } - } - } - } - } - } - - // Build the parameter structure. - if ("parameters" in endpointNode && endpointNode["parameters"].length > 0) { - foreach (ref const Node yamlParameter; endpointNode["parameters"]) { - RequestParameter param = new RequestParameter(); - param.name = yamlParameter["name"].as!string; - param.required = yamlParameter.getOr!bool("required", false); - param.description = yamlParameter.getOr!string("description", ""); - - param.type = getType(param.name, yamlParameter["schema"], allSchemas); - if (!param.type.isNullable && !param.required && !param.type.hasDefaultValue) { - param.type.isNullable = true; - } - switch(yamlParameter["in"].as!string.toLower) { - case "path": - param.location = ParameterLocation.PATH; - endpoint.requiredPathParameters ~= [param]; - break; - case "query": - param.location = ParameterLocation.QUERY; - if (param.required) { - endpoint.requiredQueryParameters ~= [param]; - } else { - endpoint.optionalQueryParameters ~= [param]; - } - break; - default: - assert(false); - } - endpoint.parameters ~= [param]; - } - } - - endpoints ~= [endpoint]; - - // Render templates - class Controller { + class EndpointController { string className; //MetaTypeInfo[] properties; - string supportNamespace = namespaceString!CPP_NAMESPACE_SUPPORT; - string dtoNamespace = namespaceString!CPP_NAMESPACE_DTO; string responseType = "void"; string parameterType = "void"; Endpoint endpoint; @@ -467,17 +396,119 @@ void generateFileForEndpoint(ref const string path, ref const string operation, return result; } } + Appender!(EndpointController[]) endpointControllers = appender!(EndpointController[]); + endpointControllers.reserve(endpointNodes.length); + + string[] systemImports = ["optional"]; + string[] userImports = [ + buildPath(SUPPORT_FOLDER, "jsonconv.h"), + buildPath(SUPPORT_FOLDER, "loader.h"), + buildPath(LOADER_FOLDER, "requesttypes.h") + ]; + + foreach(endpointNode; endpointNodes) { + string name = endpointNode["operationId"].as!string; + + Endpoint endpoint = new Endpoint(); + endpoint.name = name; + endpoint.parameterType = name ~ "Params"; + endpoint.description = endpointNode.getOr!string("summary", ""); + endpoint.path = endpointNode["path"].as!string; + + // Find the most likely result response. + foreach(string code, const Node response; endpointNode["responses"]) { + int codeNo = to!int(code); + if ([200, 201].canFind(codeNo)) { + foreach(string contentType, const Node content; response["content"]) { + if (contentType == "application/json") { + endpoint.hasSuccessResponse = true; + if ("$ref" in content["schema"]) { + string reference = content["schema"]["$ref"].as!string.chompPrefix("#/components/schemas/"); + endpoint.resultIsReference = true; + endpoint.resultType = reference; + userImports ~= [buildPath(MODEL_FOLDER, reference.applyCasePolicy(CasePolicy.PASCAL, CasePolicy.LOWER) ~ ".h")]; + } else if ("schema" in content){ + endpoint.resultIsReference = false; + string typeName = endpoint.name ~ "Response"; + MetaTypeInfo responseType = getType(typeName, content["schema"], allSchemas); + endpoint.resultType = responseType.typeName; + if (responseType.needsLocalImport && !responseType.isContainer) { + userImports ~= [buildPath(MODEL_FOLDER, endpoint.resultType)]; + } + + MetaTypeInfo t = responseType; + while(t.isContainer) { + t = t.containerType; + if (t.needsLocalImport) { + userImports ~= [buildPath(MODEL_FOLDER, t.fileName)]; + } else if (t.needsSystemImport && !t.isContainer){ + systemImports ~= [t.typeName]; + } + } + } + } + } + } + } + + // Build the parameter structure. + if ("parameters" in endpointNode && endpointNode["parameters"].length > 0) { + foreach (ref const Node yamlParameter; endpointNode["parameters"]) { + RequestParameter param = new RequestParameter(); + param.name = yamlParameter["name"].as!string; + param.required = yamlParameter.getOr!bool("required", false); + param.description = yamlParameter.getOr!string("description", ""); + + param.type = getType(param.name, yamlParameter["schema"], allSchemas); + if (!param.type.isNullable && !param.required && !param.type.hasDefaultValue) { + param.type.isNullable = true; + } + switch(yamlParameter["in"].as!string.toLower) { + case "path": + param.location = ParameterLocation.PATH; + endpoint.requiredPathParameters ~= [param]; + break; + case "query": + param.location = ParameterLocation.QUERY; + if (param.required) { + endpoint.requiredQueryParameters ~= [param]; + } else { + endpoint.optionalQueryParameters ~= [param]; + } + break; + default: + assert(false); + } + endpoint.parameters ~= [param]; + } + } + + endpoints ~= [endpoint]; + + EndpointController endpointController = new EndpointController(); + endpointController.className = name.applyCasePolicy(OPENAPI_CASING, CPP_CLASS_CASING); + endpointController.endpoint = endpoint; + endpointControllers ~= [endpointController]; + } + + + // Render templates + class Controller { + EndpointController[] endpoints; + string supportNamespace = namespaceString!CPP_NAMESPACE_SUPPORT; + string dtoNamespace = namespaceString!CPP_NAMESPACE_DTO; + } + Controller controller = new Controller(); - controller.className = name.applyCasePolicy(OPENAPI_CASING, CPP_CLASS_CASING); - controller.endpoint = endpoint; + controller.endpoints = endpointControllers[]; - writeHeaderPreamble(headerFile, CPP_NAMESPACE_LOADER_HTTP, name, systemImports, userImports); + writeHeaderPreamble(headerFile, CPP_NAMESPACE_LOADER_HTTP, categoryName, systemImports, userImports); headerFile.writeln(render!(import("loader_header.hbs"), Controller)(controller)); - writeHeaderPostamble(headerFile, CPP_NAMESPACE_LOADER_HTTP, name); + writeHeaderPostamble(headerFile, CPP_NAMESPACE_LOADER_HTTP, categoryName); - writeImplementationPreamble(implementationFile, CPP_NAMESPACE_LOADER_HTTP, HTTP_LOADER_FOLDER, name); + writeImplementationPreamble(implementationFile, CPP_NAMESPACE_LOADER_HTTP, HTTP_LOADER_FOLDER, categoryName); implementationFile.writeln(render!(import("loader_implementation.hbs"), Controller)(controller)); - writeImplementationPostamble(implementationFile, CPP_NAMESPACE_LOADER_HTTP, name); + writeImplementationPostamble(implementationFile, CPP_NAMESPACE_LOADER_HTTP, categoryName); } /** diff --git a/core/src/loader/addlistingproviderparams.cpp b/core/src/loader/addlistingproviderparams.cpp deleted file mode 100644 index 03df1c3..0000000 --- a/core/src/loader/addlistingproviderparams.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/addlistingproviderparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AddListingProviderParams - -const QString &AddListingProviderParams::pw() const { - return m_pw; -} - -void AddListingProviderParams::setPw(QString newPw) { - m_pw = newPw; -} - -bool AddListingProviderParams::pwNull() const { - // Nullable: true - // Type Nullable: true - - - return m_pw.isNull(); -} - -void AddListingProviderParams::setPwNull() { - m_pw.clear(); -} - - -const bool &AddListingProviderParams::validateListings() const { - return m_validateListings.value(); -} - -void AddListingProviderParams::setValidateListings(bool newValidateListings) { - m_validateListings = newValidateListings; -} - -bool AddListingProviderParams::validateListingsNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_validateListings.has_value(); -} - -void AddListingProviderParams::setValidateListingsNull() { - m_validateListings = std::nullopt; -} - - -const bool &AddListingProviderParams::validateLogin() const { - return m_validateLogin.value(); -} - -void AddListingProviderParams::setValidateLogin(bool newValidateLogin) { - m_validateLogin = newValidateLogin; -} - -bool AddListingProviderParams::validateLoginNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_validateLogin.has_value(); -} - -void AddListingProviderParams::setValidateLoginNull() { - m_validateLogin = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/addmediapathparams.cpp b/core/src/loader/addmediapathparams.cpp deleted file mode 100644 index e0c9a12..0000000 --- a/core/src/loader/addmediapathparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/addmediapathparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AddMediaPathParams - -const bool &AddMediaPathParams::refreshLibrary() const { - return m_refreshLibrary.value(); -} - -void AddMediaPathParams::setRefreshLibrary(bool newRefreshLibrary) { - m_refreshLibrary = newRefreshLibrary; -} - -bool AddMediaPathParams::refreshLibraryNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_refreshLibrary.has_value(); -} - -void AddMediaPathParams::setRefreshLibraryNull() { - m_refreshLibrary = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/addtocollectionparams.cpp b/core/src/loader/addtocollectionparams.cpp deleted file mode 100644 index 95a0636..0000000 --- a/core/src/loader/addtocollectionparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/addtocollectionparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AddToCollectionParams - -const QString &AddToCollectionParams::collectionId() const { - return m_collectionId; -} - -void AddToCollectionParams::setCollectionId(QString newCollectionId) { - m_collectionId = newCollectionId; -} - - -const QStringList &AddToCollectionParams::ids() const { - return m_ids; -} - -void AddToCollectionParams::setIds(QStringList newIds) { - m_ids = newIds; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/addtoplaylistparams.cpp b/core/src/loader/addtoplaylistparams.cpp deleted file mode 100644 index 40b8a89..0000000 --- a/core/src/loader/addtoplaylistparams.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/addtoplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AddToPlaylistParams - -const QString &AddToPlaylistParams::playlistId() const { - return m_playlistId; -} - -void AddToPlaylistParams::setPlaylistId(QString newPlaylistId) { - m_playlistId = newPlaylistId; -} - - -const QStringList &AddToPlaylistParams::ids() const { - return m_ids; -} - -void AddToPlaylistParams::setIds(QStringList newIds) { - m_ids = newIds; -} - -bool AddToPlaylistParams::idsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_ids.size() == 0; -} - -void AddToPlaylistParams::setIdsNull() { - m_ids.clear(); -} - - -const QString &AddToPlaylistParams::userId() const { - return m_userId; -} - -void AddToPlaylistParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool AddToPlaylistParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void AddToPlaylistParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/addusertosessionparams.cpp b/core/src/loader/addusertosessionparams.cpp deleted file mode 100644 index f7a6219..0000000 --- a/core/src/loader/addusertosessionparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/addusertosessionparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AddUserToSessionParams - -const QString &AddUserToSessionParams::sessionId() const { - return m_sessionId; -} - -void AddUserToSessionParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - - -const QString &AddUserToSessionParams::userId() const { - return m_userId; -} - -void AddUserToSessionParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/addvirtualfolderparams.cpp b/core/src/loader/addvirtualfolderparams.cpp deleted file mode 100644 index db7ecf2..0000000 --- a/core/src/loader/addvirtualfolderparams.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/addvirtualfolderparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AddVirtualFolderParams - -const QString &AddVirtualFolderParams::collectionType() const { - return m_collectionType; -} - -void AddVirtualFolderParams::setCollectionType(QString newCollectionType) { - m_collectionType = newCollectionType; -} - -bool AddVirtualFolderParams::collectionTypeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_collectionType.isNull(); -} - -void AddVirtualFolderParams::setCollectionTypeNull() { - m_collectionType.clear(); -} - - -const QString &AddVirtualFolderParams::name() const { - return m_name; -} - -void AddVirtualFolderParams::setName(QString newName) { - m_name = newName; -} - -bool AddVirtualFolderParams::nameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_name.isNull(); -} - -void AddVirtualFolderParams::setNameNull() { - m_name.clear(); -} - - -const QStringList &AddVirtualFolderParams::paths() const { - return m_paths; -} - -void AddVirtualFolderParams::setPaths(QStringList newPaths) { - m_paths = newPaths; -} - -bool AddVirtualFolderParams::pathsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_paths.size() == 0; -} - -void AddVirtualFolderParams::setPathsNull() { - m_paths.clear(); -} - - -const bool &AddVirtualFolderParams::refreshLibrary() const { - return m_refreshLibrary.value(); -} - -void AddVirtualFolderParams::setRefreshLibrary(bool newRefreshLibrary) { - m_refreshLibrary = newRefreshLibrary; -} - -bool AddVirtualFolderParams::refreshLibraryNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_refreshLibrary.has_value(); -} - -void AddVirtualFolderParams::setRefreshLibraryNull() { - m_refreshLibrary = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/applysearchcriteriaparams.cpp b/core/src/loader/applysearchcriteriaparams.cpp deleted file mode 100644 index d3692fa..0000000 --- a/core/src/loader/applysearchcriteriaparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/applysearchcriteriaparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ApplySearchCriteriaParams - -const QString &ApplySearchCriteriaParams::itemId() const { - return m_itemId; -} - -void ApplySearchCriteriaParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &ApplySearchCriteriaParams::replaceAllImages() const { - return m_replaceAllImages.value(); -} - -void ApplySearchCriteriaParams::setReplaceAllImages(bool newReplaceAllImages) { - m_replaceAllImages = newReplaceAllImages; -} - -bool ApplySearchCriteriaParams::replaceAllImagesNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_replaceAllImages.has_value(); -} - -void ApplySearchCriteriaParams::setReplaceAllImagesNull() { - m_replaceAllImages = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/authenticateuserbynameparams.cpp b/core/src/loader/authenticateuserbynameparams.cpp deleted file mode 100644 index 6d084bf..0000000 --- a/core/src/loader/authenticateuserbynameparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/authenticateuserbynameparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AuthenticateUserByNameParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/authenticateuserparams.cpp b/core/src/loader/authenticateuserparams.cpp deleted file mode 100644 index b8b5845..0000000 --- a/core/src/loader/authenticateuserparams.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/authenticateuserparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AuthenticateUserParams - -const QString &AuthenticateUserParams::userId() const { - return m_userId; -} - -void AuthenticateUserParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const QString &AuthenticateUserParams::pw() const { - return m_pw; -} - -void AuthenticateUserParams::setPw(QString newPw) { - m_pw = newPw; -} - - -const QString &AuthenticateUserParams::password() const { - return m_password; -} - -void AuthenticateUserParams::setPassword(QString newPassword) { - m_password = newPassword; -} - -bool AuthenticateUserParams::passwordNull() const { - // Nullable: true - // Type Nullable: true - - - return m_password.isNull(); -} - -void AuthenticateUserParams::setPasswordNull() { - m_password.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/authenticatewithquickconnectparams.cpp b/core/src/loader/authenticatewithquickconnectparams.cpp deleted file mode 100644 index fb8ef3d..0000000 --- a/core/src/loader/authenticatewithquickconnectparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/authenticatewithquickconnectparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AuthenticateWithQuickConnectParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/authorizeparams.cpp b/core/src/loader/authorizeparams.cpp deleted file mode 100644 index 3780afb..0000000 --- a/core/src/loader/authorizeparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/authorizeparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AuthorizeParams - -const QString &AuthorizeParams::code() const { - return m_code; -} - -void AuthorizeParams::setCode(QString newCode) { - m_code = newCode; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/availableparams.cpp b/core/src/loader/availableparams.cpp deleted file mode 100644 index 1052058..0000000 --- a/core/src/loader/availableparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/availableparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// AvailableParams - -const QuickConnectState &AvailableParams::status() const { - return m_status; -} - -void AvailableParams::setStatus(QuickConnectState newStatus) { - m_status = newStatus; -} - -bool AvailableParams::statusNull() const { - // Nullable: true - // Type Nullable: true - - - return m_status== QuickConnectState::EnumNotSet; -} - -void AvailableParams::setStatusNull() { - m_status= QuickConnectState::EnumNotSet; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/cancelpackageinstallationparams.cpp b/core/src/loader/cancelpackageinstallationparams.cpp deleted file mode 100644 index 93be0cb..0000000 --- a/core/src/loader/cancelpackageinstallationparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/cancelpackageinstallationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CancelPackageInstallationParams - -const QString &CancelPackageInstallationParams::packageId() const { - return m_packageId; -} - -void CancelPackageInstallationParams::setPackageId(QString newPackageId) { - m_packageId = newPackageId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/cancelseriestimerparams.cpp b/core/src/loader/cancelseriestimerparams.cpp deleted file mode 100644 index 6db0f17..0000000 --- a/core/src/loader/cancelseriestimerparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/cancelseriestimerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CancelSeriesTimerParams - -const QString &CancelSeriesTimerParams::timerId() const { - return m_timerId; -} - -void CancelSeriesTimerParams::setTimerId(QString newTimerId) { - m_timerId = newTimerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/canceltimerparams.cpp b/core/src/loader/canceltimerparams.cpp deleted file mode 100644 index 7297cbb..0000000 --- a/core/src/loader/canceltimerparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/canceltimerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CancelTimerParams - -const QString &CancelTimerParams::timerId() const { - return m_timerId; -} - -void CancelTimerParams::setTimerId(QString newTimerId) { - m_timerId = newTimerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/closelivestreamparams.cpp b/core/src/loader/closelivestreamparams.cpp deleted file mode 100644 index e7b19c9..0000000 --- a/core/src/loader/closelivestreamparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/closelivestreamparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CloseLiveStreamParams - -const QString &CloseLiveStreamParams::liveStreamId() const { - return m_liveStreamId; -} - -void CloseLiveStreamParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/connectparams.cpp b/core/src/loader/connectparams.cpp deleted file mode 100644 index 8264f06..0000000 --- a/core/src/loader/connectparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/connectparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ConnectParams - -const QString &ConnectParams::secret() const { - return m_secret; -} - -void ConnectParams::setSecret(QString newSecret) { - m_secret = newSecret; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/createadminnotificationparams.cpp b/core/src/loader/createadminnotificationparams.cpp deleted file mode 100644 index ab5327a..0000000 --- a/core/src/loader/createadminnotificationparams.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/createadminnotificationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CreateAdminNotificationParams - -const QString &CreateAdminNotificationParams::description() const { - return m_description; -} - -void CreateAdminNotificationParams::setDescription(QString newDescription) { - m_description = newDescription; -} - -bool CreateAdminNotificationParams::descriptionNull() const { - // Nullable: true - // Type Nullable: true - - - return m_description.isNull(); -} - -void CreateAdminNotificationParams::setDescriptionNull() { - m_description.clear(); -} - - -const NotificationLevel &CreateAdminNotificationParams::level() const { - return m_level; -} - -void CreateAdminNotificationParams::setLevel(NotificationLevel newLevel) { - m_level = newLevel; -} - -bool CreateAdminNotificationParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level== NotificationLevel::EnumNotSet; -} - -void CreateAdminNotificationParams::setLevelNull() { - m_level= NotificationLevel::EnumNotSet; -} - - -const QString &CreateAdminNotificationParams::name() const { - return m_name; -} - -void CreateAdminNotificationParams::setName(QString newName) { - m_name = newName; -} - -bool CreateAdminNotificationParams::nameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_name.isNull(); -} - -void CreateAdminNotificationParams::setNameNull() { - m_name.clear(); -} - - -const QString &CreateAdminNotificationParams::url() const { - return m_url; -} - -void CreateAdminNotificationParams::setUrl(QString newUrl) { - m_url = newUrl; -} - -bool CreateAdminNotificationParams::urlNull() const { - // Nullable: true - // Type Nullable: true - - - return m_url.isNull(); -} - -void CreateAdminNotificationParams::setUrlNull() { - m_url.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/createcollectionparams.cpp b/core/src/loader/createcollectionparams.cpp deleted file mode 100644 index 2b8b551..0000000 --- a/core/src/loader/createcollectionparams.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/createcollectionparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CreateCollectionParams - -const QStringList &CreateCollectionParams::ids() const { - return m_ids; -} - -void CreateCollectionParams::setIds(QStringList newIds) { - m_ids = newIds; -} - -bool CreateCollectionParams::idsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_ids.size() == 0; -} - -void CreateCollectionParams::setIdsNull() { - m_ids.clear(); -} - - -const bool &CreateCollectionParams::isLocked() const { - return m_isLocked.value(); -} - -void CreateCollectionParams::setIsLocked(bool newIsLocked) { - m_isLocked = newIsLocked; -} - -bool CreateCollectionParams::isLockedNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_isLocked.has_value(); -} - -void CreateCollectionParams::setIsLockedNull() { - m_isLocked = std::nullopt; -} - - -const QString &CreateCollectionParams::name() const { - return m_name; -} - -void CreateCollectionParams::setName(QString newName) { - m_name = newName; -} - -bool CreateCollectionParams::nameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_name.isNull(); -} - -void CreateCollectionParams::setNameNull() { - m_name.clear(); -} - - -const QString &CreateCollectionParams::parentId() const { - return m_parentId; -} - -void CreateCollectionParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool CreateCollectionParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void CreateCollectionParams::setParentIdNull() { - m_parentId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/createkeyparams.cpp b/core/src/loader/createkeyparams.cpp deleted file mode 100644 index dcf328a..0000000 --- a/core/src/loader/createkeyparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/createkeyparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CreateKeyParams - -const QString &CreateKeyParams::app() const { - return m_app; -} - -void CreateKeyParams::setApp(QString newApp) { - m_app = newApp; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/createplaylistparams.cpp b/core/src/loader/createplaylistparams.cpp deleted file mode 100644 index 55b21ae..0000000 --- a/core/src/loader/createplaylistparams.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/createplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CreatePlaylistParams - -const QStringList &CreatePlaylistParams::ids() const { - return m_ids; -} - -void CreatePlaylistParams::setIds(QStringList newIds) { - m_ids = newIds; -} - -bool CreatePlaylistParams::idsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_ids.size() == 0; -} - -void CreatePlaylistParams::setIdsNull() { - m_ids.clear(); -} - - -const QString &CreatePlaylistParams::mediaType() const { - return m_mediaType; -} - -void CreatePlaylistParams::setMediaType(QString newMediaType) { - m_mediaType = newMediaType; -} - -bool CreatePlaylistParams::mediaTypeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaType.isNull(); -} - -void CreatePlaylistParams::setMediaTypeNull() { - m_mediaType.clear(); -} - - -const QString &CreatePlaylistParams::name() const { - return m_name; -} - -void CreatePlaylistParams::setName(QString newName) { - m_name = newName; -} - -bool CreatePlaylistParams::nameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_name.isNull(); -} - -void CreatePlaylistParams::setNameNull() { - m_name.clear(); -} - - -const QString &CreatePlaylistParams::userId() const { - return m_userId; -} - -void CreatePlaylistParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool CreatePlaylistParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void CreatePlaylistParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/createseriestimerparams.cpp b/core/src/loader/createseriestimerparams.cpp deleted file mode 100644 index f3578d6..0000000 --- a/core/src/loader/createseriestimerparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/createseriestimerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CreateSeriesTimerParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/createtimerparams.cpp b/core/src/loader/createtimerparams.cpp deleted file mode 100644 index d23c363..0000000 --- a/core/src/loader/createtimerparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/createtimerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CreateTimerParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/createuserbynameparams.cpp b/core/src/loader/createuserbynameparams.cpp deleted file mode 100644 index b16d77a..0000000 --- a/core/src/loader/createuserbynameparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/createuserbynameparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// CreateUserByNameParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deletealternatesourcesparams.cpp b/core/src/loader/deletealternatesourcesparams.cpp deleted file mode 100644 index 07f3b58..0000000 --- a/core/src/loader/deletealternatesourcesparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deletealternatesourcesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteAlternateSourcesParams - -const QString &DeleteAlternateSourcesParams::itemId() const { - return m_itemId; -} - -void DeleteAlternateSourcesParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deletedeviceparams.cpp b/core/src/loader/deletedeviceparams.cpp deleted file mode 100644 index 2c9acdd..0000000 --- a/core/src/loader/deletedeviceparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deletedeviceparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteDeviceParams - -const QString &DeleteDeviceParams::jellyfinId() const { - return m_jellyfinId; -} - -void DeleteDeviceParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleteitemimagebyindexparams.cpp b/core/src/loader/deleteitemimagebyindexparams.cpp deleted file mode 100644 index 57eacf7..0000000 --- a/core/src/loader/deleteitemimagebyindexparams.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleteitemimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteItemImageByIndexParams - -const qint32 &DeleteItemImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void DeleteItemImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &DeleteItemImageByIndexParams::imageType() const { - return m_imageType; -} - -void DeleteItemImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &DeleteItemImageByIndexParams::itemId() const { - return m_itemId; -} - -void DeleteItemImageByIndexParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleteitemimageparams.cpp b/core/src/loader/deleteitemimageparams.cpp deleted file mode 100644 index c0fb1fd..0000000 --- a/core/src/loader/deleteitemimageparams.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleteitemimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteItemImageParams - -const ImageType &DeleteItemImageParams::imageType() const { - return m_imageType; -} - -void DeleteItemImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &DeleteItemImageParams::itemId() const { - return m_itemId; -} - -void DeleteItemImageParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const qint32 &DeleteItemImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void DeleteItemImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool DeleteItemImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void DeleteItemImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleteitemparams.cpp b/core/src/loader/deleteitemparams.cpp deleted file mode 100644 index 3ab322b..0000000 --- a/core/src/loader/deleteitemparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleteitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteItemParams - -const QString &DeleteItemParams::itemId() const { - return m_itemId; -} - -void DeleteItemParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleteitemsparams.cpp b/core/src/loader/deleteitemsparams.cpp deleted file mode 100644 index 5fdc43d..0000000 --- a/core/src/loader/deleteitemsparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleteitemsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteItemsParams - -const QStringList &DeleteItemsParams::ids() const { - return m_ids; -} - -void DeleteItemsParams::setIds(QStringList newIds) { - m_ids = newIds; -} - -bool DeleteItemsParams::idsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_ids.size() == 0; -} - -void DeleteItemsParams::setIdsNull() { - m_ids.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deletelistingproviderparams.cpp b/core/src/loader/deletelistingproviderparams.cpp deleted file mode 100644 index aced469..0000000 --- a/core/src/loader/deletelistingproviderparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deletelistingproviderparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteListingProviderParams - -const QString &DeleteListingProviderParams::jellyfinId() const { - return m_jellyfinId; -} - -void DeleteListingProviderParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - -bool DeleteListingProviderParams::jellyfinIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_jellyfinId.isNull(); -} - -void DeleteListingProviderParams::setJellyfinIdNull() { - m_jellyfinId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleteprofileparams.cpp b/core/src/loader/deleteprofileparams.cpp deleted file mode 100644 index 39a5497..0000000 --- a/core/src/loader/deleteprofileparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleteprofileparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteProfileParams - -const QString &DeleteProfileParams::profileId() const { - return m_profileId; -} - -void DeleteProfileParams::setProfileId(QString newProfileId) { - m_profileId = newProfileId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleterecordingparams.cpp b/core/src/loader/deleterecordingparams.cpp deleted file mode 100644 index 17246e0..0000000 --- a/core/src/loader/deleterecordingparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleterecordingparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteRecordingParams - -const QString &DeleteRecordingParams::recordingId() const { - return m_recordingId; -} - -void DeleteRecordingParams::setRecordingId(QString newRecordingId) { - m_recordingId = newRecordingId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deletesubtitleparams.cpp b/core/src/loader/deletesubtitleparams.cpp deleted file mode 100644 index a3b7d8a..0000000 --- a/core/src/loader/deletesubtitleparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deletesubtitleparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteSubtitleParams - -const qint32 &DeleteSubtitleParams::index() const { - return m_index; -} - -void DeleteSubtitleParams::setIndex(qint32 newIndex) { - m_index = newIndex; -} - - -const QString &DeleteSubtitleParams::itemId() const { - return m_itemId; -} - -void DeleteSubtitleParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deletetunerhostparams.cpp b/core/src/loader/deletetunerhostparams.cpp deleted file mode 100644 index d318df0..0000000 --- a/core/src/loader/deletetunerhostparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deletetunerhostparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteTunerHostParams - -const QString &DeleteTunerHostParams::jellyfinId() const { - return m_jellyfinId; -} - -void DeleteTunerHostParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - -bool DeleteTunerHostParams::jellyfinIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_jellyfinId.isNull(); -} - -void DeleteTunerHostParams::setJellyfinIdNull() { - m_jellyfinId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleteuserimagebyindexparams.cpp b/core/src/loader/deleteuserimagebyindexparams.cpp deleted file mode 100644 index 0470ef4..0000000 --- a/core/src/loader/deleteuserimagebyindexparams.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleteuserimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteUserImageByIndexParams - -const ImageType &DeleteUserImageByIndexParams::imageType() const { - return m_imageType; -} - -void DeleteUserImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const qint32 &DeleteUserImageByIndexParams::index() const { - return m_index; -} - -void DeleteUserImageByIndexParams::setIndex(qint32 newIndex) { - m_index = newIndex; -} - - -const QString &DeleteUserImageByIndexParams::userId() const { - return m_userId; -} - -void DeleteUserImageByIndexParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleteuserimageparams.cpp b/core/src/loader/deleteuserimageparams.cpp deleted file mode 100644 index e0ff214..0000000 --- a/core/src/loader/deleteuserimageparams.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleteuserimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteUserImageParams - -const ImageType &DeleteUserImageParams::imageType() const { - return m_imageType; -} - -void DeleteUserImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &DeleteUserImageParams::userId() const { - return m_userId; -} - -void DeleteUserImageParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const qint32 &DeleteUserImageParams::index() const { - return m_index.value(); -} - -void DeleteUserImageParams::setIndex(qint32 newIndex) { - m_index = newIndex; -} - -bool DeleteUserImageParams::indexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_index.has_value(); -} - -void DeleteUserImageParams::setIndexNull() { - m_index = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleteuseritemratingparams.cpp b/core/src/loader/deleteuseritemratingparams.cpp deleted file mode 100644 index d3129cc..0000000 --- a/core/src/loader/deleteuseritemratingparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleteuseritemratingparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteUserItemRatingParams - -const QString &DeleteUserItemRatingParams::itemId() const { - return m_itemId; -} - -void DeleteUserItemRatingParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &DeleteUserItemRatingParams::userId() const { - return m_userId; -} - -void DeleteUserItemRatingParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/deleteuserparams.cpp b/core/src/loader/deleteuserparams.cpp deleted file mode 100644 index 8e73134..0000000 --- a/core/src/loader/deleteuserparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/deleteuserparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DeleteUserParams - -const QString &DeleteUserParams::userId() const { - return m_userId; -} - -void DeleteUserParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/disablepluginparams.cpp b/core/src/loader/disablepluginparams.cpp deleted file mode 100644 index 094a083..0000000 --- a/core/src/loader/disablepluginparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/disablepluginparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DisablePluginParams - -const QString &DisablePluginParams::pluginId() const { - return m_pluginId; -} - -void DisablePluginParams::setPluginId(QString newPluginId) { - m_pluginId = newPluginId; -} - - -const QSharedPointer &DisablePluginParams::version() const { - return m_version; -} - -void DisablePluginParams::setVersion(QSharedPointer newVersion) { - m_version = newVersion; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/discovertunersparams.cpp b/core/src/loader/discovertunersparams.cpp deleted file mode 100644 index 8d8682b..0000000 --- a/core/src/loader/discovertunersparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/discovertunersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DiscoverTunersParams - -const bool &DiscoverTunersParams::newDevicesOnly() const { - return m_newDevicesOnly.value(); -} - -void DiscoverTunersParams::setNewDevicesOnly(bool newNewDevicesOnly) { - m_newDevicesOnly = newNewDevicesOnly; -} - -bool DiscoverTunersParams::newDevicesOnlyNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_newDevicesOnly.has_value(); -} - -void DiscoverTunersParams::setNewDevicesOnlyNull() { - m_newDevicesOnly = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/discvovertunersparams.cpp b/core/src/loader/discvovertunersparams.cpp deleted file mode 100644 index eeecda2..0000000 --- a/core/src/loader/discvovertunersparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/discvovertunersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DiscvoverTunersParams - -const bool &DiscvoverTunersParams::newDevicesOnly() const { - return m_newDevicesOnly.value(); -} - -void DiscvoverTunersParams::setNewDevicesOnly(bool newNewDevicesOnly) { - m_newDevicesOnly = newNewDevicesOnly; -} - -bool DiscvoverTunersParams::newDevicesOnlyNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_newDevicesOnly.has_value(); -} - -void DiscvoverTunersParams::setNewDevicesOnlyNull() { - m_newDevicesOnly = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/displaycontentparams.cpp b/core/src/loader/displaycontentparams.cpp deleted file mode 100644 index 314cc30..0000000 --- a/core/src/loader/displaycontentparams.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/displaycontentparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DisplayContentParams - -const QString &DisplayContentParams::sessionId() const { - return m_sessionId; -} - -void DisplayContentParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - - -const QString &DisplayContentParams::itemId() const { - return m_itemId; -} - -void DisplayContentParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &DisplayContentParams::itemName() const { - return m_itemName; -} - -void DisplayContentParams::setItemName(QString newItemName) { - m_itemName = newItemName; -} - - -const QString &DisplayContentParams::itemType() const { - return m_itemType; -} - -void DisplayContentParams::setItemType(QString newItemType) { - m_itemType = newItemType; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/downloadremoteimageparams.cpp b/core/src/loader/downloadremoteimageparams.cpp deleted file mode 100644 index 6863b7f..0000000 --- a/core/src/loader/downloadremoteimageparams.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/downloadremoteimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DownloadRemoteImageParams - -const QString &DownloadRemoteImageParams::itemId() const { - return m_itemId; -} - -void DownloadRemoteImageParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const ImageType &DownloadRemoteImageParams::type() const { - return m_type; -} - -void DownloadRemoteImageParams::setType(ImageType newType) { - m_type = newType; -} - - -const QString &DownloadRemoteImageParams::imageUrl() const { - return m_imageUrl; -} - -void DownloadRemoteImageParams::setImageUrl(QString newImageUrl) { - m_imageUrl = newImageUrl; -} - -bool DownloadRemoteImageParams::imageUrlNull() const { - // Nullable: true - // Type Nullable: true - - - return m_imageUrl.isNull(); -} - -void DownloadRemoteImageParams::setImageUrlNull() { - m_imageUrl.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/downloadremotesubtitlesparams.cpp b/core/src/loader/downloadremotesubtitlesparams.cpp deleted file mode 100644 index 9d5914e..0000000 --- a/core/src/loader/downloadremotesubtitlesparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/downloadremotesubtitlesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// DownloadRemoteSubtitlesParams - -const QString &DownloadRemoteSubtitlesParams::itemId() const { - return m_itemId; -} - -void DownloadRemoteSubtitlesParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &DownloadRemoteSubtitlesParams::subtitleId() const { - return m_subtitleId; -} - -void DownloadRemoteSubtitlesParams::setSubtitleId(QString newSubtitleId) { - m_subtitleId = newSubtitleId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/enablepluginparams.cpp b/core/src/loader/enablepluginparams.cpp deleted file mode 100644 index 5544440..0000000 --- a/core/src/loader/enablepluginparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/enablepluginparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// EnablePluginParams - -const QString &EnablePluginParams::pluginId() const { - return m_pluginId; -} - -void EnablePluginParams::setPluginId(QString newPluginId) { - m_pluginId = newPluginId; -} - - -const QSharedPointer &EnablePluginParams::version() const { - return m_version; -} - -void EnablePluginParams::setVersion(QSharedPointer newVersion) { - m_version = newVersion; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/forgotpasswordparams.cpp b/core/src/loader/forgotpasswordparams.cpp deleted file mode 100644 index 8d66546..0000000 --- a/core/src/loader/forgotpasswordparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/forgotpasswordparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ForgotPasswordParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/forgotpasswordpinparams.cpp b/core/src/loader/forgotpasswordpinparams.cpp deleted file mode 100644 index 8d44d02..0000000 --- a/core/src/loader/forgotpasswordpinparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/forgotpasswordpinparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ForgotPasswordPinParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getadditionalpartparams.cpp b/core/src/loader/getadditionalpartparams.cpp deleted file mode 100644 index c4da692..0000000 --- a/core/src/loader/getadditionalpartparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getadditionalpartparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetAdditionalPartParams - -const QString &GetAdditionalPartParams::itemId() const { - return m_itemId; -} - -void GetAdditionalPartParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetAdditionalPartParams::userId() const { - return m_userId; -} - -void GetAdditionalPartParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetAdditionalPartParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetAdditionalPartParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getalbumartistsparams.cpp b/core/src/loader/getalbumartistsparams.cpp deleted file mode 100644 index 6b11882..0000000 --- a/core/src/loader/getalbumartistsparams.cpp +++ /dev/null @@ -1,671 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getalbumartistsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetAlbumArtistsParams - -const QList &GetAlbumArtistsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetAlbumArtistsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetAlbumArtistsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetAlbumArtistsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetAlbumArtistsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetAlbumArtistsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetAlbumArtistsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetAlbumArtistsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetAlbumArtistsParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetAlbumArtistsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetAlbumArtistsParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetAlbumArtistsParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetAlbumArtistsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetAlbumArtistsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetAlbumArtistsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetAlbumArtistsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QStringList &GetAlbumArtistsParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetAlbumArtistsParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetAlbumArtistsParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetAlbumArtistsParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetAlbumArtistsParams::fields() const { - return m_fields; -} - -void GetAlbumArtistsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetAlbumArtistsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetAlbumArtistsParams::setFieldsNull() { - m_fields.clear(); -} - - -const QList &GetAlbumArtistsParams::filters() const { - return m_filters; -} - -void GetAlbumArtistsParams::setFilters(QList newFilters) { - m_filters = newFilters; -} - -bool GetAlbumArtistsParams::filtersNull() const { - // Nullable: true - // Type Nullable: true - - - return m_filters.size() == 0; -} - -void GetAlbumArtistsParams::setFiltersNull() { - m_filters.clear(); -} - - -const QStringList &GetAlbumArtistsParams::genreIds() const { - return m_genreIds; -} - -void GetAlbumArtistsParams::setGenreIds(QStringList newGenreIds) { - m_genreIds = newGenreIds; -} - -bool GetAlbumArtistsParams::genreIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genreIds.size() == 0; -} - -void GetAlbumArtistsParams::setGenreIdsNull() { - m_genreIds.clear(); -} - - -const QStringList &GetAlbumArtistsParams::genres() const { - return m_genres; -} - -void GetAlbumArtistsParams::setGenres(QStringList newGenres) { - m_genres = newGenres; -} - -bool GetAlbumArtistsParams::genresNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genres.size() == 0; -} - -void GetAlbumArtistsParams::setGenresNull() { - m_genres.clear(); -} - - -const qint32 &GetAlbumArtistsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetAlbumArtistsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetAlbumArtistsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetAlbumArtistsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QStringList &GetAlbumArtistsParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetAlbumArtistsParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetAlbumArtistsParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetAlbumArtistsParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetAlbumArtistsParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetAlbumArtistsParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetAlbumArtistsParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetAlbumArtistsParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const qint32 &GetAlbumArtistsParams::limit() const { - return m_limit.value(); -} - -void GetAlbumArtistsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetAlbumArtistsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetAlbumArtistsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QStringList &GetAlbumArtistsParams::mediaTypes() const { - return m_mediaTypes; -} - -void GetAlbumArtistsParams::setMediaTypes(QStringList newMediaTypes) { - m_mediaTypes = newMediaTypes; -} - -bool GetAlbumArtistsParams::mediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaTypes.size() == 0; -} - -void GetAlbumArtistsParams::setMediaTypesNull() { - m_mediaTypes.clear(); -} - - -const double &GetAlbumArtistsParams::minCommunityRating() const { - return m_minCommunityRating.value(); -} - -void GetAlbumArtistsParams::setMinCommunityRating(double newMinCommunityRating) { - m_minCommunityRating = newMinCommunityRating; -} - -bool GetAlbumArtistsParams::minCommunityRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minCommunityRating.has_value(); -} - -void GetAlbumArtistsParams::setMinCommunityRatingNull() { - m_minCommunityRating = std::nullopt; -} - - -const QString &GetAlbumArtistsParams::nameLessThan() const { - return m_nameLessThan; -} - -void GetAlbumArtistsParams::setNameLessThan(QString newNameLessThan) { - m_nameLessThan = newNameLessThan; -} - -bool GetAlbumArtistsParams::nameLessThanNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameLessThan.isNull(); -} - -void GetAlbumArtistsParams::setNameLessThanNull() { - m_nameLessThan.clear(); -} - - -const QString &GetAlbumArtistsParams::nameStartsWith() const { - return m_nameStartsWith; -} - -void GetAlbumArtistsParams::setNameStartsWith(QString newNameStartsWith) { - m_nameStartsWith = newNameStartsWith; -} - -bool GetAlbumArtistsParams::nameStartsWithNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWith.isNull(); -} - -void GetAlbumArtistsParams::setNameStartsWithNull() { - m_nameStartsWith.clear(); -} - - -const QString &GetAlbumArtistsParams::nameStartsWithOrGreater() const { - return m_nameStartsWithOrGreater; -} - -void GetAlbumArtistsParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) { - m_nameStartsWithOrGreater = newNameStartsWithOrGreater; -} - -bool GetAlbumArtistsParams::nameStartsWithOrGreaterNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWithOrGreater.isNull(); -} - -void GetAlbumArtistsParams::setNameStartsWithOrGreaterNull() { - m_nameStartsWithOrGreater.clear(); -} - - -const QStringList &GetAlbumArtistsParams::officialRatings() const { - return m_officialRatings; -} - -void GetAlbumArtistsParams::setOfficialRatings(QStringList newOfficialRatings) { - m_officialRatings = newOfficialRatings; -} - -bool GetAlbumArtistsParams::officialRatingsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_officialRatings.size() == 0; -} - -void GetAlbumArtistsParams::setOfficialRatingsNull() { - m_officialRatings.clear(); -} - - -const QString &GetAlbumArtistsParams::parentId() const { - return m_parentId; -} - -void GetAlbumArtistsParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetAlbumArtistsParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetAlbumArtistsParams::setParentIdNull() { - m_parentId.clear(); -} - - -const QString &GetAlbumArtistsParams::person() const { - return m_person; -} - -void GetAlbumArtistsParams::setPerson(QString newPerson) { - m_person = newPerson; -} - -bool GetAlbumArtistsParams::personNull() const { - // Nullable: true - // Type Nullable: true - - - return m_person.isNull(); -} - -void GetAlbumArtistsParams::setPersonNull() { - m_person.clear(); -} - - -const QStringList &GetAlbumArtistsParams::personIds() const { - return m_personIds; -} - -void GetAlbumArtistsParams::setPersonIds(QStringList newPersonIds) { - m_personIds = newPersonIds; -} - -bool GetAlbumArtistsParams::personIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personIds.size() == 0; -} - -void GetAlbumArtistsParams::setPersonIdsNull() { - m_personIds.clear(); -} - - -const QStringList &GetAlbumArtistsParams::personTypes() const { - return m_personTypes; -} - -void GetAlbumArtistsParams::setPersonTypes(QStringList newPersonTypes) { - m_personTypes = newPersonTypes; -} - -bool GetAlbumArtistsParams::personTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personTypes.size() == 0; -} - -void GetAlbumArtistsParams::setPersonTypesNull() { - m_personTypes.clear(); -} - - -const QString &GetAlbumArtistsParams::searchTerm() const { - return m_searchTerm; -} - -void GetAlbumArtistsParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetAlbumArtistsParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetAlbumArtistsParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const qint32 &GetAlbumArtistsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetAlbumArtistsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetAlbumArtistsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetAlbumArtistsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QStringList &GetAlbumArtistsParams::studioIds() const { - return m_studioIds; -} - -void GetAlbumArtistsParams::setStudioIds(QStringList newStudioIds) { - m_studioIds = newStudioIds; -} - -bool GetAlbumArtistsParams::studioIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studioIds.size() == 0; -} - -void GetAlbumArtistsParams::setStudioIdsNull() { - m_studioIds.clear(); -} - - -const QStringList &GetAlbumArtistsParams::studios() const { - return m_studios; -} - -void GetAlbumArtistsParams::setStudios(QStringList newStudios) { - m_studios = newStudios; -} - -bool GetAlbumArtistsParams::studiosNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studios.size() == 0; -} - -void GetAlbumArtistsParams::setStudiosNull() { - m_studios.clear(); -} - - -const QStringList &GetAlbumArtistsParams::tags() const { - return m_tags; -} - -void GetAlbumArtistsParams::setTags(QStringList newTags) { - m_tags = newTags; -} - -bool GetAlbumArtistsParams::tagsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tags.size() == 0; -} - -void GetAlbumArtistsParams::setTagsNull() { - m_tags.clear(); -} - - -const QString &GetAlbumArtistsParams::userId() const { - return m_userId; -} - -void GetAlbumArtistsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetAlbumArtistsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetAlbumArtistsParams::setUserIdNull() { - m_userId.clear(); -} - - -const QList &GetAlbumArtistsParams::years() const { - return m_years; -} - -void GetAlbumArtistsParams::setYears(QList newYears) { - m_years = newYears; -} - -bool GetAlbumArtistsParams::yearsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_years.size() == 0; -} - -void GetAlbumArtistsParams::setYearsNull() { - m_years.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getallchannelfeaturesparams.cpp b/core/src/loader/getallchannelfeaturesparams.cpp deleted file mode 100644 index 37f01da..0000000 --- a/core/src/loader/getallchannelfeaturesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getallchannelfeaturesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetAllChannelFeaturesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getancestorsparams.cpp b/core/src/loader/getancestorsparams.cpp deleted file mode 100644 index c1973b1..0000000 --- a/core/src/loader/getancestorsparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getancestorsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetAncestorsParams - -const QString &GetAncestorsParams::itemId() const { - return m_itemId; -} - -void GetAncestorsParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetAncestorsParams::userId() const { - return m_userId; -} - -void GetAncestorsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetAncestorsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetAncestorsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getartistbynameparams.cpp b/core/src/loader/getartistbynameparams.cpp deleted file mode 100644 index eb85396..0000000 --- a/core/src/loader/getartistbynameparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getartistbynameparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetArtistByNameParams - -const QString &GetArtistByNameParams::name() const { - return m_name; -} - -void GetArtistByNameParams::setName(QString newName) { - m_name = newName; -} - - -const QString &GetArtistByNameParams::userId() const { - return m_userId; -} - -void GetArtistByNameParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetArtistByNameParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetArtistByNameParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getartistimageparams.cpp b/core/src/loader/getartistimageparams.cpp deleted file mode 100644 index 2a1eb42..0000000 --- a/core/src/loader/getartistimageparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getartistimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetArtistImageParams - -const qint32 &GetArtistImageParams::imageIndex() const { - return m_imageIndex; -} - -void GetArtistImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &GetArtistImageParams::imageType() const { - return m_imageType; -} - -void GetArtistImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetArtistImageParams::name() const { - return m_name; -} - -void GetArtistImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &GetArtistImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetArtistImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetArtistImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetArtistImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetArtistImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetArtistImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetArtistImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetArtistImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetArtistImageParams::blur() const { - return m_blur.value(); -} - -void GetArtistImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetArtistImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetArtistImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetArtistImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetArtistImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetArtistImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetArtistImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetArtistImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetArtistImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetArtistImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetArtistImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetArtistImageParams::format() const { - return m_format; -} - -void GetArtistImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetArtistImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetArtistImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetArtistImageParams::height() const { - return m_height.value(); -} - -void GetArtistImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetArtistImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetArtistImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetArtistImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetArtistImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetArtistImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetArtistImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetArtistImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetArtistImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetArtistImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetArtistImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetArtistImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetArtistImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetArtistImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetArtistImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetArtistImageParams::quality() const { - return m_quality.value(); -} - -void GetArtistImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetArtistImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetArtistImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetArtistImageParams::tag() const { - return m_tag; -} - -void GetArtistImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetArtistImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetArtistImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetArtistImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetArtistImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetArtistImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetArtistImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetArtistImageParams::width() const { - return m_width.value(); -} - -void GetArtistImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetArtistImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetArtistImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getartistsparams.cpp b/core/src/loader/getartistsparams.cpp deleted file mode 100644 index b5d96b0..0000000 --- a/core/src/loader/getartistsparams.cpp +++ /dev/null @@ -1,671 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getartistsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetArtistsParams - -const QList &GetArtistsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetArtistsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetArtistsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetArtistsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetArtistsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetArtistsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetArtistsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetArtistsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetArtistsParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetArtistsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetArtistsParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetArtistsParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetArtistsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetArtistsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetArtistsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetArtistsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QStringList &GetArtistsParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetArtistsParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetArtistsParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetArtistsParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetArtistsParams::fields() const { - return m_fields; -} - -void GetArtistsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetArtistsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetArtistsParams::setFieldsNull() { - m_fields.clear(); -} - - -const QList &GetArtistsParams::filters() const { - return m_filters; -} - -void GetArtistsParams::setFilters(QList newFilters) { - m_filters = newFilters; -} - -bool GetArtistsParams::filtersNull() const { - // Nullable: true - // Type Nullable: true - - - return m_filters.size() == 0; -} - -void GetArtistsParams::setFiltersNull() { - m_filters.clear(); -} - - -const QStringList &GetArtistsParams::genreIds() const { - return m_genreIds; -} - -void GetArtistsParams::setGenreIds(QStringList newGenreIds) { - m_genreIds = newGenreIds; -} - -bool GetArtistsParams::genreIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genreIds.size() == 0; -} - -void GetArtistsParams::setGenreIdsNull() { - m_genreIds.clear(); -} - - -const QStringList &GetArtistsParams::genres() const { - return m_genres; -} - -void GetArtistsParams::setGenres(QStringList newGenres) { - m_genres = newGenres; -} - -bool GetArtistsParams::genresNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genres.size() == 0; -} - -void GetArtistsParams::setGenresNull() { - m_genres.clear(); -} - - -const qint32 &GetArtistsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetArtistsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetArtistsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetArtistsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QStringList &GetArtistsParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetArtistsParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetArtistsParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetArtistsParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetArtistsParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetArtistsParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetArtistsParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetArtistsParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const qint32 &GetArtistsParams::limit() const { - return m_limit.value(); -} - -void GetArtistsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetArtistsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetArtistsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QStringList &GetArtistsParams::mediaTypes() const { - return m_mediaTypes; -} - -void GetArtistsParams::setMediaTypes(QStringList newMediaTypes) { - m_mediaTypes = newMediaTypes; -} - -bool GetArtistsParams::mediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaTypes.size() == 0; -} - -void GetArtistsParams::setMediaTypesNull() { - m_mediaTypes.clear(); -} - - -const double &GetArtistsParams::minCommunityRating() const { - return m_minCommunityRating.value(); -} - -void GetArtistsParams::setMinCommunityRating(double newMinCommunityRating) { - m_minCommunityRating = newMinCommunityRating; -} - -bool GetArtistsParams::minCommunityRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minCommunityRating.has_value(); -} - -void GetArtistsParams::setMinCommunityRatingNull() { - m_minCommunityRating = std::nullopt; -} - - -const QString &GetArtistsParams::nameLessThan() const { - return m_nameLessThan; -} - -void GetArtistsParams::setNameLessThan(QString newNameLessThan) { - m_nameLessThan = newNameLessThan; -} - -bool GetArtistsParams::nameLessThanNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameLessThan.isNull(); -} - -void GetArtistsParams::setNameLessThanNull() { - m_nameLessThan.clear(); -} - - -const QString &GetArtistsParams::nameStartsWith() const { - return m_nameStartsWith; -} - -void GetArtistsParams::setNameStartsWith(QString newNameStartsWith) { - m_nameStartsWith = newNameStartsWith; -} - -bool GetArtistsParams::nameStartsWithNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWith.isNull(); -} - -void GetArtistsParams::setNameStartsWithNull() { - m_nameStartsWith.clear(); -} - - -const QString &GetArtistsParams::nameStartsWithOrGreater() const { - return m_nameStartsWithOrGreater; -} - -void GetArtistsParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) { - m_nameStartsWithOrGreater = newNameStartsWithOrGreater; -} - -bool GetArtistsParams::nameStartsWithOrGreaterNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWithOrGreater.isNull(); -} - -void GetArtistsParams::setNameStartsWithOrGreaterNull() { - m_nameStartsWithOrGreater.clear(); -} - - -const QStringList &GetArtistsParams::officialRatings() const { - return m_officialRatings; -} - -void GetArtistsParams::setOfficialRatings(QStringList newOfficialRatings) { - m_officialRatings = newOfficialRatings; -} - -bool GetArtistsParams::officialRatingsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_officialRatings.size() == 0; -} - -void GetArtistsParams::setOfficialRatingsNull() { - m_officialRatings.clear(); -} - - -const QString &GetArtistsParams::parentId() const { - return m_parentId; -} - -void GetArtistsParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetArtistsParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetArtistsParams::setParentIdNull() { - m_parentId.clear(); -} - - -const QString &GetArtistsParams::person() const { - return m_person; -} - -void GetArtistsParams::setPerson(QString newPerson) { - m_person = newPerson; -} - -bool GetArtistsParams::personNull() const { - // Nullable: true - // Type Nullable: true - - - return m_person.isNull(); -} - -void GetArtistsParams::setPersonNull() { - m_person.clear(); -} - - -const QStringList &GetArtistsParams::personIds() const { - return m_personIds; -} - -void GetArtistsParams::setPersonIds(QStringList newPersonIds) { - m_personIds = newPersonIds; -} - -bool GetArtistsParams::personIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personIds.size() == 0; -} - -void GetArtistsParams::setPersonIdsNull() { - m_personIds.clear(); -} - - -const QStringList &GetArtistsParams::personTypes() const { - return m_personTypes; -} - -void GetArtistsParams::setPersonTypes(QStringList newPersonTypes) { - m_personTypes = newPersonTypes; -} - -bool GetArtistsParams::personTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personTypes.size() == 0; -} - -void GetArtistsParams::setPersonTypesNull() { - m_personTypes.clear(); -} - - -const QString &GetArtistsParams::searchTerm() const { - return m_searchTerm; -} - -void GetArtistsParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetArtistsParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetArtistsParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const qint32 &GetArtistsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetArtistsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetArtistsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetArtistsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QStringList &GetArtistsParams::studioIds() const { - return m_studioIds; -} - -void GetArtistsParams::setStudioIds(QStringList newStudioIds) { - m_studioIds = newStudioIds; -} - -bool GetArtistsParams::studioIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studioIds.size() == 0; -} - -void GetArtistsParams::setStudioIdsNull() { - m_studioIds.clear(); -} - - -const QStringList &GetArtistsParams::studios() const { - return m_studios; -} - -void GetArtistsParams::setStudios(QStringList newStudios) { - m_studios = newStudios; -} - -bool GetArtistsParams::studiosNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studios.size() == 0; -} - -void GetArtistsParams::setStudiosNull() { - m_studios.clear(); -} - - -const QStringList &GetArtistsParams::tags() const { - return m_tags; -} - -void GetArtistsParams::setTags(QStringList newTags) { - m_tags = newTags; -} - -bool GetArtistsParams::tagsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tags.size() == 0; -} - -void GetArtistsParams::setTagsNull() { - m_tags.clear(); -} - - -const QString &GetArtistsParams::userId() const { - return m_userId; -} - -void GetArtistsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetArtistsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetArtistsParams::setUserIdNull() { - m_userId.clear(); -} - - -const QList &GetArtistsParams::years() const { - return m_years; -} - -void GetArtistsParams::setYears(QList newYears) { - m_years = newYears; -} - -bool GetArtistsParams::yearsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_years.size() == 0; -} - -void GetArtistsParams::setYearsNull() { - m_years.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getattachmentparams.cpp b/core/src/loader/getattachmentparams.cpp deleted file mode 100644 index 8c8640c..0000000 --- a/core/src/loader/getattachmentparams.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getattachmentparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetAttachmentParams - -const qint32 &GetAttachmentParams::index() const { - return m_index; -} - -void GetAttachmentParams::setIndex(qint32 newIndex) { - m_index = newIndex; -} - - -const QString &GetAttachmentParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetAttachmentParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - - -const QString &GetAttachmentParams::videoId() const { - return m_videoId; -} - -void GetAttachmentParams::setVideoId(QString newVideoId) { - m_videoId = newVideoId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getaudiostreambycontainerparams.cpp b/core/src/loader/getaudiostreambycontainerparams.cpp deleted file mode 100644 index aef666b..0000000 --- a/core/src/loader/getaudiostreambycontainerparams.cpp +++ /dev/null @@ -1,1046 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getaudiostreambycontainerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetAudioStreamByContainerParams - -const QString &GetAudioStreamByContainerParams::container() const { - return m_container; -} - -void GetAudioStreamByContainerParams::setContainer(QString newContainer) { - m_container = newContainer; -} - - -const QString &GetAudioStreamByContainerParams::itemId() const { - return m_itemId; -} - -void GetAudioStreamByContainerParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetAudioStreamByContainerParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetAudioStreamByContainerParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetAudioStreamByContainerParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetAudioStreamByContainerParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetAudioStreamByContainerParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetAudioStreamByContainerParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetAudioStreamByContainerParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetAudioStreamByContainerParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetAudioStreamByContainerParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetAudioStreamByContainerParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetAudioStreamByContainerParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetAudioStreamByContainerParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetAudioStreamByContainerParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetAudioStreamByContainerParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetAudioStreamByContainerParams::audioCodec() const { - return m_audioCodec; -} - -void GetAudioStreamByContainerParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetAudioStreamByContainerParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetAudioStreamByContainerParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetAudioStreamByContainerParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetAudioStreamByContainerParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetAudioStreamByContainerParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetAudioStreamByContainerParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetAudioStreamByContainerParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetAudioStreamByContainerParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetAudioStreamByContainerParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetAudioStreamByContainerParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetAudioStreamByContainerParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetAudioStreamByContainerParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetAudioStreamByContainerParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &GetAudioStreamByContainerParams::context() const { - return m_context; -} - -void GetAudioStreamByContainerParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetAudioStreamByContainerParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetAudioStreamByContainerParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetAudioStreamByContainerParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetAudioStreamByContainerParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetAudioStreamByContainerParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetAudioStreamByContainerParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetAudioStreamByContainerParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetAudioStreamByContainerParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetAudioStreamByContainerParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetAudioStreamByContainerParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetAudioStreamByContainerParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetAudioStreamByContainerParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetAudioStreamByContainerParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetAudioStreamByContainerParams::deviceId() const { - return m_deviceId; -} - -void GetAudioStreamByContainerParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetAudioStreamByContainerParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetAudioStreamByContainerParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetAudioStreamByContainerParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetAudioStreamByContainerParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetAudioStreamByContainerParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetAudioStreamByContainerParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetAudioStreamByContainerParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetAudioStreamByContainerParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetAudioStreamByContainerParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetAudioStreamByContainerParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetAudioStreamByContainerParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetAudioStreamByContainerParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetAudioStreamByContainerParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetAudioStreamByContainerParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetAudioStreamByContainerParams::framerate() const { - return m_framerate.value(); -} - -void GetAudioStreamByContainerParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetAudioStreamByContainerParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetAudioStreamByContainerParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::height() const { - return m_height.value(); -} - -void GetAudioStreamByContainerParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetAudioStreamByContainerParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetAudioStreamByContainerParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetAudioStreamByContainerParams::level() const { - return m_level; -} - -void GetAudioStreamByContainerParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetAudioStreamByContainerParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetAudioStreamByContainerParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetAudioStreamByContainerParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetAudioStreamByContainerParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetAudioStreamByContainerParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetAudioStreamByContainerParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetAudioStreamByContainerParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetAudioStreamByContainerParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetAudioStreamByContainerParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetAudioStreamByContainerParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetAudioStreamByContainerParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetAudioStreamByContainerParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetAudioStreamByContainerParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetAudioStreamByContainerParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetAudioStreamByContainerParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetAudioStreamByContainerParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetAudioStreamByContainerParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetAudioStreamByContainerParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetAudioStreamByContainerParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetAudioStreamByContainerParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetAudioStreamByContainerParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetAudioStreamByContainerParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetAudioStreamByContainerParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &GetAudioStreamByContainerParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetAudioStreamByContainerParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetAudioStreamByContainerParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetAudioStreamByContainerParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &GetAudioStreamByContainerParams::minSegments() const { - return m_minSegments.value(); -} - -void GetAudioStreamByContainerParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetAudioStreamByContainerParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetAudioStreamByContainerParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetAudioStreamByContainerParams::params() const { - return m_params; -} - -void GetAudioStreamByContainerParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetAudioStreamByContainerParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetAudioStreamByContainerParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetAudioStreamByContainerParams::playSessionId() const { - return m_playSessionId; -} - -void GetAudioStreamByContainerParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetAudioStreamByContainerParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetAudioStreamByContainerParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetAudioStreamByContainerParams::profile() const { - return m_profile; -} - -void GetAudioStreamByContainerParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetAudioStreamByContainerParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetAudioStreamByContainerParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetAudioStreamByContainerParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetAudioStreamByContainerParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetAudioStreamByContainerParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetAudioStreamByContainerParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetAudioStreamByContainerParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetAudioStreamByContainerParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetAudioStreamByContainerParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetAudioStreamByContainerParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetAudioStreamByContainerParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetAudioStreamByContainerParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetAudioStreamByContainerParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetAudioStreamByContainerParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetAudioStreamByContainerParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetAudioStreamByContainerParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetAudioStreamByContainerParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetAudioStreamByContainerParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetAudioStreamByContainerParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetAudioStreamByContainerParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetAudioStreamByContainerParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetAudioStreamByContainerParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetAudioStreamByContainerParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetAudioStreamByContainerParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetAudioStreamByContainerParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetAudioStreamByContainerParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetAudioStreamByContainerParams::streamOptions() const { - return m_streamOptions; -} - -void GetAudioStreamByContainerParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetAudioStreamByContainerParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetAudioStreamByContainerParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetAudioStreamByContainerParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetAudioStreamByContainerParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetAudioStreamByContainerParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetAudioStreamByContainerParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetAudioStreamByContainerParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetAudioStreamByContainerParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetAudioStreamByContainerParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetAudioStreamByContainerParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetAudioStreamByContainerParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetAudioStreamByContainerParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetAudioStreamByContainerParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetAudioStreamByContainerParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetAudioStreamByContainerParams::tag() const { - return m_tag; -} - -void GetAudioStreamByContainerParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetAudioStreamByContainerParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetAudioStreamByContainerParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetAudioStreamByContainerParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetAudioStreamByContainerParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetAudioStreamByContainerParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetAudioStreamByContainerParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetAudioStreamByContainerParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetAudioStreamByContainerParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetAudioStreamByContainerParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetAudioStreamByContainerParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetAudioStreamByContainerParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetAudioStreamByContainerParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetAudioStreamByContainerParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetAudioStreamByContainerParams::videoCodec() const { - return m_videoCodec; -} - -void GetAudioStreamByContainerParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetAudioStreamByContainerParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetAudioStreamByContainerParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetAudioStreamByContainerParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetAudioStreamByContainerParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetAudioStreamByContainerParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetAudioStreamByContainerParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetAudioStreamByContainerParams::width() const { - return m_width.value(); -} - -void GetAudioStreamByContainerParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetAudioStreamByContainerParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetAudioStreamByContainerParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getaudiostreamparams.cpp b/core/src/loader/getaudiostreamparams.cpp deleted file mode 100644 index 3ac85b6..0000000 --- a/core/src/loader/getaudiostreamparams.cpp +++ /dev/null @@ -1,1058 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getaudiostreamparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetAudioStreamParams - -const QString &GetAudioStreamParams::itemId() const { - return m_itemId; -} - -void GetAudioStreamParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetAudioStreamParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetAudioStreamParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetAudioStreamParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetAudioStreamParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetAudioStreamParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetAudioStreamParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetAudioStreamParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetAudioStreamParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetAudioStreamParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetAudioStreamParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetAudioStreamParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetAudioStreamParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetAudioStreamParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetAudioStreamParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetAudioStreamParams::audioCodec() const { - return m_audioCodec; -} - -void GetAudioStreamParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetAudioStreamParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetAudioStreamParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetAudioStreamParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetAudioStreamParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetAudioStreamParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetAudioStreamParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetAudioStreamParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetAudioStreamParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetAudioStreamParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetAudioStreamParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetAudioStreamParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetAudioStreamParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetAudioStreamParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const QString &GetAudioStreamParams::container() const { - return m_container; -} - -void GetAudioStreamParams::setContainer(QString newContainer) { - m_container = newContainer; -} - -bool GetAudioStreamParams::containerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_container.isNull(); -} - -void GetAudioStreamParams::setContainerNull() { - m_container.clear(); -} - - -const EncodingContext &GetAudioStreamParams::context() const { - return m_context; -} - -void GetAudioStreamParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetAudioStreamParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetAudioStreamParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetAudioStreamParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetAudioStreamParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetAudioStreamParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetAudioStreamParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetAudioStreamParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetAudioStreamParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetAudioStreamParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetAudioStreamParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetAudioStreamParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetAudioStreamParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetAudioStreamParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetAudioStreamParams::deviceId() const { - return m_deviceId; -} - -void GetAudioStreamParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetAudioStreamParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetAudioStreamParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetAudioStreamParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetAudioStreamParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetAudioStreamParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetAudioStreamParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetAudioStreamParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetAudioStreamParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetAudioStreamParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetAudioStreamParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetAudioStreamParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetAudioStreamParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetAudioStreamParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetAudioStreamParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetAudioStreamParams::framerate() const { - return m_framerate.value(); -} - -void GetAudioStreamParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetAudioStreamParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetAudioStreamParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::height() const { - return m_height.value(); -} - -void GetAudioStreamParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetAudioStreamParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetAudioStreamParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetAudioStreamParams::level() const { - return m_level; -} - -void GetAudioStreamParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetAudioStreamParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetAudioStreamParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetAudioStreamParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetAudioStreamParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetAudioStreamParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetAudioStreamParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetAudioStreamParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetAudioStreamParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetAudioStreamParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetAudioStreamParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetAudioStreamParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetAudioStreamParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetAudioStreamParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetAudioStreamParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetAudioStreamParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetAudioStreamParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetAudioStreamParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetAudioStreamParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetAudioStreamParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetAudioStreamParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetAudioStreamParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetAudioStreamParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetAudioStreamParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &GetAudioStreamParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetAudioStreamParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetAudioStreamParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetAudioStreamParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &GetAudioStreamParams::minSegments() const { - return m_minSegments.value(); -} - -void GetAudioStreamParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetAudioStreamParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetAudioStreamParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetAudioStreamParams::params() const { - return m_params; -} - -void GetAudioStreamParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetAudioStreamParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetAudioStreamParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetAudioStreamParams::playSessionId() const { - return m_playSessionId; -} - -void GetAudioStreamParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetAudioStreamParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetAudioStreamParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetAudioStreamParams::profile() const { - return m_profile; -} - -void GetAudioStreamParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetAudioStreamParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetAudioStreamParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetAudioStreamParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetAudioStreamParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetAudioStreamParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetAudioStreamParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetAudioStreamParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetAudioStreamParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetAudioStreamParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetAudioStreamParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetAudioStreamParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetAudioStreamParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetAudioStreamParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetAudioStreamParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetAudioStreamParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetAudioStreamParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetAudioStreamParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetAudioStreamParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetAudioStreamParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetAudioStreamParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetAudioStreamParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetAudioStreamParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetAudioStreamParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetAudioStreamParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetAudioStreamParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetAudioStreamParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetAudioStreamParams::streamOptions() const { - return m_streamOptions; -} - -void GetAudioStreamParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetAudioStreamParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetAudioStreamParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetAudioStreamParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetAudioStreamParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetAudioStreamParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetAudioStreamParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetAudioStreamParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetAudioStreamParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetAudioStreamParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetAudioStreamParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetAudioStreamParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetAudioStreamParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetAudioStreamParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetAudioStreamParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetAudioStreamParams::tag() const { - return m_tag; -} - -void GetAudioStreamParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetAudioStreamParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetAudioStreamParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetAudioStreamParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetAudioStreamParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetAudioStreamParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetAudioStreamParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetAudioStreamParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetAudioStreamParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetAudioStreamParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetAudioStreamParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetAudioStreamParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetAudioStreamParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetAudioStreamParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetAudioStreamParams::videoCodec() const { - return m_videoCodec; -} - -void GetAudioStreamParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetAudioStreamParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetAudioStreamParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetAudioStreamParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetAudioStreamParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetAudioStreamParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetAudioStreamParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetAudioStreamParams::width() const { - return m_width.value(); -} - -void GetAudioStreamParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetAudioStreamParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetAudioStreamParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getauthprovidersparams.cpp b/core/src/loader/getauthprovidersparams.cpp deleted file mode 100644 index 0864fef..0000000 --- a/core/src/loader/getauthprovidersparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getauthprovidersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetAuthProvidersParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getbitratetestbytesparams.cpp b/core/src/loader/getbitratetestbytesparams.cpp deleted file mode 100644 index 1fe3fa2..0000000 --- a/core/src/loader/getbitratetestbytesparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getbitratetestbytesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetBitrateTestBytesParams - -const qint32 &GetBitrateTestBytesParams::size() const { - return m_size.value(); -} - -void GetBitrateTestBytesParams::setSize(qint32 newSize) { - m_size = newSize; -} - -bool GetBitrateTestBytesParams::sizeNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_size.has_value(); -} - -void GetBitrateTestBytesParams::setSizeNull() { - m_size = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getbookremotesearchresultsparams.cpp b/core/src/loader/getbookremotesearchresultsparams.cpp deleted file mode 100644 index c0ecc19..0000000 --- a/core/src/loader/getbookremotesearchresultsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getbookremotesearchresultsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetBookRemoteSearchResultsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getboxsetremotesearchresultsparams.cpp b/core/src/loader/getboxsetremotesearchresultsparams.cpp deleted file mode 100644 index 426f1d3..0000000 --- a/core/src/loader/getboxsetremotesearchresultsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getboxsetremotesearchresultsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetBoxSetRemoteSearchResultsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getbrandingcss_2params.cpp b/core/src/loader/getbrandingcss_2params.cpp deleted file mode 100644 index f7dc53c..0000000 --- a/core/src/loader/getbrandingcss_2params.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getbrandingcss_2params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetBrandingCss_2Params - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getbrandingcssparams.cpp b/core/src/loader/getbrandingcssparams.cpp deleted file mode 100644 index 5c94e10..0000000 --- a/core/src/loader/getbrandingcssparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getbrandingcssparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetBrandingCssParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getbrandingoptionsparams.cpp b/core/src/loader/getbrandingoptionsparams.cpp deleted file mode 100644 index 1570a8c..0000000 --- a/core/src/loader/getbrandingoptionsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getbrandingoptionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetBrandingOptionsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getchannelfeaturesparams.cpp b/core/src/loader/getchannelfeaturesparams.cpp deleted file mode 100644 index 4040685..0000000 --- a/core/src/loader/getchannelfeaturesparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getchannelfeaturesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetChannelFeaturesParams - -const QString &GetChannelFeaturesParams::channelId() const { - return m_channelId; -} - -void GetChannelFeaturesParams::setChannelId(QString newChannelId) { - m_channelId = newChannelId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getchannelitemsparams.cpp b/core/src/loader/getchannelitemsparams.cpp deleted file mode 100644 index 2300f52..0000000 --- a/core/src/loader/getchannelitemsparams.cpp +++ /dev/null @@ -1,218 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getchannelitemsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetChannelItemsParams - -const QString &GetChannelItemsParams::channelId() const { - return m_channelId; -} - -void GetChannelItemsParams::setChannelId(QString newChannelId) { - m_channelId = newChannelId; -} - - -const QList &GetChannelItemsParams::fields() const { - return m_fields; -} - -void GetChannelItemsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetChannelItemsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetChannelItemsParams::setFieldsNull() { - m_fields.clear(); -} - - -const QList &GetChannelItemsParams::filters() const { - return m_filters; -} - -void GetChannelItemsParams::setFilters(QList newFilters) { - m_filters = newFilters; -} - -bool GetChannelItemsParams::filtersNull() const { - // Nullable: true - // Type Nullable: true - - - return m_filters.size() == 0; -} - -void GetChannelItemsParams::setFiltersNull() { - m_filters.clear(); -} - - -const QString &GetChannelItemsParams::folderId() const { - return m_folderId; -} - -void GetChannelItemsParams::setFolderId(QString newFolderId) { - m_folderId = newFolderId; -} - -bool GetChannelItemsParams::folderIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_folderId.isNull(); -} - -void GetChannelItemsParams::setFolderIdNull() { - m_folderId.clear(); -} - - -const qint32 &GetChannelItemsParams::limit() const { - return m_limit.value(); -} - -void GetChannelItemsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetChannelItemsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetChannelItemsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetChannelItemsParams::sortBy() const { - return m_sortBy; -} - -void GetChannelItemsParams::setSortBy(QString newSortBy) { - m_sortBy = newSortBy; -} - -bool GetChannelItemsParams::sortByNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortBy.isNull(); -} - -void GetChannelItemsParams::setSortByNull() { - m_sortBy.clear(); -} - - -const QString &GetChannelItemsParams::sortOrder() const { - return m_sortOrder; -} - -void GetChannelItemsParams::setSortOrder(QString newSortOrder) { - m_sortOrder = newSortOrder; -} - -bool GetChannelItemsParams::sortOrderNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortOrder.isNull(); -} - -void GetChannelItemsParams::setSortOrderNull() { - m_sortOrder.clear(); -} - - -const qint32 &GetChannelItemsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetChannelItemsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetChannelItemsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetChannelItemsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetChannelItemsParams::userId() const { - return m_userId; -} - -void GetChannelItemsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetChannelItemsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetChannelItemsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getchannelmappingoptionsparams.cpp b/core/src/loader/getchannelmappingoptionsparams.cpp deleted file mode 100644 index e86d7ec..0000000 --- a/core/src/loader/getchannelmappingoptionsparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getchannelmappingoptionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetChannelMappingOptionsParams - -const QString &GetChannelMappingOptionsParams::providerId() const { - return m_providerId; -} - -void GetChannelMappingOptionsParams::setProviderId(QString newProviderId) { - m_providerId = newProviderId; -} - -bool GetChannelMappingOptionsParams::providerIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_providerId.isNull(); -} - -void GetChannelMappingOptionsParams::setProviderIdNull() { - m_providerId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getchannelparams.cpp b/core/src/loader/getchannelparams.cpp deleted file mode 100644 index 54e6f6c..0000000 --- a/core/src/loader/getchannelparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getchannelparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetChannelParams - -const QString &GetChannelParams::channelId() const { - return m_channelId; -} - -void GetChannelParams::setChannelId(QString newChannelId) { - m_channelId = newChannelId; -} - - -const QString &GetChannelParams::userId() const { - return m_userId; -} - -void GetChannelParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetChannelParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetChannelParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getchannelsparams.cpp b/core/src/loader/getchannelsparams.cpp deleted file mode 100644 index d23d8c7..0000000 --- a/core/src/loader/getchannelsparams.cpp +++ /dev/null @@ -1,167 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getchannelsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetChannelsParams - -const bool &GetChannelsParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetChannelsParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetChannelsParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetChannelsParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const qint32 &GetChannelsParams::limit() const { - return m_limit.value(); -} - -void GetChannelsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetChannelsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetChannelsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const qint32 &GetChannelsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetChannelsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetChannelsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetChannelsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const bool &GetChannelsParams::supportsLatestItems() const { - return m_supportsLatestItems.value(); -} - -void GetChannelsParams::setSupportsLatestItems(bool newSupportsLatestItems) { - m_supportsLatestItems = newSupportsLatestItems; -} - -bool GetChannelsParams::supportsLatestItemsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_supportsLatestItems.has_value(); -} - -void GetChannelsParams::setSupportsLatestItemsNull() { - m_supportsLatestItems = std::nullopt; -} - - -const bool &GetChannelsParams::supportsMediaDeletion() const { - return m_supportsMediaDeletion.value(); -} - -void GetChannelsParams::setSupportsMediaDeletion(bool newSupportsMediaDeletion) { - m_supportsMediaDeletion = newSupportsMediaDeletion; -} - -bool GetChannelsParams::supportsMediaDeletionNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_supportsMediaDeletion.has_value(); -} - -void GetChannelsParams::setSupportsMediaDeletionNull() { - m_supportsMediaDeletion = std::nullopt; -} - - -const QString &GetChannelsParams::userId() const { - return m_userId; -} - -void GetChannelsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetChannelsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetChannelsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getconfigurationpagesparams.cpp b/core/src/loader/getconfigurationpagesparams.cpp deleted file mode 100644 index bc39bc2..0000000 --- a/core/src/loader/getconfigurationpagesparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getconfigurationpagesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetConfigurationPagesParams - -const bool &GetConfigurationPagesParams::enableInMainMenu() const { - return m_enableInMainMenu.value(); -} - -void GetConfigurationPagesParams::setEnableInMainMenu(bool newEnableInMainMenu) { - m_enableInMainMenu = newEnableInMainMenu; -} - -bool GetConfigurationPagesParams::enableInMainMenuNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableInMainMenu.has_value(); -} - -void GetConfigurationPagesParams::setEnableInMainMenuNull() { - m_enableInMainMenu = std::nullopt; -} - - -const ConfigurationPageType &GetConfigurationPagesParams::pageType() const { - return m_pageType; -} - -void GetConfigurationPagesParams::setPageType(ConfigurationPageType newPageType) { - m_pageType = newPageType; -} - -bool GetConfigurationPagesParams::pageTypeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_pageType== ConfigurationPageType::EnumNotSet; -} - -void GetConfigurationPagesParams::setPageTypeNull() { - m_pageType= ConfigurationPageType::EnumNotSet; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getconfigurationparams.cpp b/core/src/loader/getconfigurationparams.cpp deleted file mode 100644 index 0a28303..0000000 --- a/core/src/loader/getconfigurationparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getconfigurationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetConfigurationParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getconnectionmanager_2params.cpp b/core/src/loader/getconnectionmanager_2params.cpp deleted file mode 100644 index 581ccbc..0000000 --- a/core/src/loader/getconnectionmanager_2params.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getconnectionmanager_2params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetConnectionManager_2Params - -const QString &GetConnectionManager_2Params::serverId() const { - return m_serverId; -} - -void GetConnectionManager_2Params::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getconnectionmanager_3params.cpp b/core/src/loader/getconnectionmanager_3params.cpp deleted file mode 100644 index 6fcd4de..0000000 --- a/core/src/loader/getconnectionmanager_3params.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getconnectionmanager_3params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetConnectionManager_3Params - -const QString &GetConnectionManager_3Params::serverId() const { - return m_serverId; -} - -void GetConnectionManager_3Params::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getconnectionmanagerparams.cpp b/core/src/loader/getconnectionmanagerparams.cpp deleted file mode 100644 index b869438..0000000 --- a/core/src/loader/getconnectionmanagerparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getconnectionmanagerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetConnectionManagerParams - -const QString &GetConnectionManagerParams::serverId() const { - return m_serverId; -} - -void GetConnectionManagerParams::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getcontentdirectory_2params.cpp b/core/src/loader/getcontentdirectory_2params.cpp deleted file mode 100644 index a96979b..0000000 --- a/core/src/loader/getcontentdirectory_2params.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getcontentdirectory_2params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetContentDirectory_2Params - -const QString &GetContentDirectory_2Params::serverId() const { - return m_serverId; -} - -void GetContentDirectory_2Params::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getcontentdirectory_3params.cpp b/core/src/loader/getcontentdirectory_3params.cpp deleted file mode 100644 index e9fc7dd..0000000 --- a/core/src/loader/getcontentdirectory_3params.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getcontentdirectory_3params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetContentDirectory_3Params - -const QString &GetContentDirectory_3Params::serverId() const { - return m_serverId; -} - -void GetContentDirectory_3Params::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getcontentdirectoryparams.cpp b/core/src/loader/getcontentdirectoryparams.cpp deleted file mode 100644 index 3919148..0000000 --- a/core/src/loader/getcontentdirectoryparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getcontentdirectoryparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetContentDirectoryParams - -const QString &GetContentDirectoryParams::serverId() const { - return m_serverId; -} - -void GetContentDirectoryParams::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getcountriesparams.cpp b/core/src/loader/getcountriesparams.cpp deleted file mode 100644 index cc7c3e3..0000000 --- a/core/src/loader/getcountriesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getcountriesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetCountriesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getcriticreviewsparams.cpp b/core/src/loader/getcriticreviewsparams.cpp deleted file mode 100644 index 34c35e5..0000000 --- a/core/src/loader/getcriticreviewsparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getcriticreviewsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetCriticReviewsParams - -const QString &GetCriticReviewsParams::itemId() const { - return m_itemId; -} - -void GetCriticReviewsParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getculturesparams.cpp b/core/src/loader/getculturesparams.cpp deleted file mode 100644 index d6a8289..0000000 --- a/core/src/loader/getculturesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getculturesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetCulturesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getcurrentuserparams.cpp b/core/src/loader/getcurrentuserparams.cpp deleted file mode 100644 index 2c42572..0000000 --- a/core/src/loader/getcurrentuserparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getcurrentuserparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetCurrentUserParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdashboardconfigurationpageparams.cpp b/core/src/loader/getdashboardconfigurationpageparams.cpp deleted file mode 100644 index b7e428a..0000000 --- a/core/src/loader/getdashboardconfigurationpageparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdashboardconfigurationpageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDashboardConfigurationPageParams - -const QString &GetDashboardConfigurationPageParams::name() const { - return m_name; -} - -void GetDashboardConfigurationPageParams::setName(QString newName) { - m_name = newName; -} - -bool GetDashboardConfigurationPageParams::nameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_name.isNull(); -} - -void GetDashboardConfigurationPageParams::setNameNull() { - m_name.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdefaultdirectorybrowserparams.cpp b/core/src/loader/getdefaultdirectorybrowserparams.cpp deleted file mode 100644 index efe4bde..0000000 --- a/core/src/loader/getdefaultdirectorybrowserparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdefaultdirectorybrowserparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDefaultDirectoryBrowserParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdefaultlistingproviderparams.cpp b/core/src/loader/getdefaultlistingproviderparams.cpp deleted file mode 100644 index 04733cd..0000000 --- a/core/src/loader/getdefaultlistingproviderparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdefaultlistingproviderparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDefaultListingProviderParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdefaultmetadataoptionsparams.cpp b/core/src/loader/getdefaultmetadataoptionsparams.cpp deleted file mode 100644 index 6c6a80b..0000000 --- a/core/src/loader/getdefaultmetadataoptionsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdefaultmetadataoptionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDefaultMetadataOptionsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdefaultprofileparams.cpp b/core/src/loader/getdefaultprofileparams.cpp deleted file mode 100644 index 74ad1b5..0000000 --- a/core/src/loader/getdefaultprofileparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdefaultprofileparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDefaultProfileParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdefaulttimerparams.cpp b/core/src/loader/getdefaulttimerparams.cpp deleted file mode 100644 index c49b4b5..0000000 --- a/core/src/loader/getdefaulttimerparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdefaulttimerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDefaultTimerParams - -const QString &GetDefaultTimerParams::programId() const { - return m_programId; -} - -void GetDefaultTimerParams::setProgramId(QString newProgramId) { - m_programId = newProgramId; -} - -bool GetDefaultTimerParams::programIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_programId.isNull(); -} - -void GetDefaultTimerParams::setProgramIdNull() { - m_programId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdescriptionxml_2params.cpp b/core/src/loader/getdescriptionxml_2params.cpp deleted file mode 100644 index 26e5f9d..0000000 --- a/core/src/loader/getdescriptionxml_2params.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdescriptionxml_2params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDescriptionXml_2Params - -const QString &GetDescriptionXml_2Params::serverId() const { - return m_serverId; -} - -void GetDescriptionXml_2Params::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdescriptionxmlparams.cpp b/core/src/loader/getdescriptionxmlparams.cpp deleted file mode 100644 index 3126e40..0000000 --- a/core/src/loader/getdescriptionxmlparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdescriptionxmlparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDescriptionXmlParams - -const QString &GetDescriptionXmlParams::serverId() const { - return m_serverId; -} - -void GetDescriptionXmlParams::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdeviceinfoparams.cpp b/core/src/loader/getdeviceinfoparams.cpp deleted file mode 100644 index 6cee3ef..0000000 --- a/core/src/loader/getdeviceinfoparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdeviceinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDeviceInfoParams - -const QString &GetDeviceInfoParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetDeviceInfoParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdeviceoptionsparams.cpp b/core/src/loader/getdeviceoptionsparams.cpp deleted file mode 100644 index 5e57b74..0000000 --- a/core/src/loader/getdeviceoptionsparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdeviceoptionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDeviceOptionsParams - -const QString &GetDeviceOptionsParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetDeviceOptionsParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdevicesparams.cpp b/core/src/loader/getdevicesparams.cpp deleted file mode 100644 index 986ba9b..0000000 --- a/core/src/loader/getdevicesparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdevicesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDevicesParams - -const bool &GetDevicesParams::supportsSync() const { - return m_supportsSync.value(); -} - -void GetDevicesParams::setSupportsSync(bool newSupportsSync) { - m_supportsSync = newSupportsSync; -} - -bool GetDevicesParams::supportsSyncNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_supportsSync.has_value(); -} - -void GetDevicesParams::setSupportsSyncNull() { - m_supportsSync = std::nullopt; -} - - -const QString &GetDevicesParams::userId() const { - return m_userId; -} - -void GetDevicesParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetDevicesParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetDevicesParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdirectorycontentsparams.cpp b/core/src/loader/getdirectorycontentsparams.cpp deleted file mode 100644 index 822b04c..0000000 --- a/core/src/loader/getdirectorycontentsparams.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdirectorycontentsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDirectoryContentsParams - -const QString &GetDirectoryContentsParams::path() const { - return m_path; -} - -void GetDirectoryContentsParams::setPath(QString newPath) { - m_path = newPath; -} - - -const bool &GetDirectoryContentsParams::includeDirectories() const { - return m_includeDirectories.value(); -} - -void GetDirectoryContentsParams::setIncludeDirectories(bool newIncludeDirectories) { - m_includeDirectories = newIncludeDirectories; -} - -bool GetDirectoryContentsParams::includeDirectoriesNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_includeDirectories.has_value(); -} - -void GetDirectoryContentsParams::setIncludeDirectoriesNull() { - m_includeDirectories = std::nullopt; -} - - -const bool &GetDirectoryContentsParams::includeFiles() const { - return m_includeFiles.value(); -} - -void GetDirectoryContentsParams::setIncludeFiles(bool newIncludeFiles) { - m_includeFiles = newIncludeFiles; -} - -bool GetDirectoryContentsParams::includeFilesNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_includeFiles.has_value(); -} - -void GetDirectoryContentsParams::setIncludeFilesNull() { - m_includeFiles = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdisplaypreferencesparams.cpp b/core/src/loader/getdisplaypreferencesparams.cpp deleted file mode 100644 index 75f76a9..0000000 --- a/core/src/loader/getdisplaypreferencesparams.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdisplaypreferencesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDisplayPreferencesParams - -const QString &GetDisplayPreferencesParams::displayPreferencesId() const { - return m_displayPreferencesId; -} - -void GetDisplayPreferencesParams::setDisplayPreferencesId(QString newDisplayPreferencesId) { - m_displayPreferencesId = newDisplayPreferencesId; -} - - -const QString &GetDisplayPreferencesParams::client() const { - return m_client; -} - -void GetDisplayPreferencesParams::setClient(QString newClient) { - m_client = newClient; -} - - -const QString &GetDisplayPreferencesParams::userId() const { - return m_userId; -} - -void GetDisplayPreferencesParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdownloadparams.cpp b/core/src/loader/getdownloadparams.cpp deleted file mode 100644 index 2f0ffad..0000000 --- a/core/src/loader/getdownloadparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdownloadparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDownloadParams - -const QString &GetDownloadParams::itemId() const { - return m_itemId; -} - -void GetDownloadParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getdrivesparams.cpp b/core/src/loader/getdrivesparams.cpp deleted file mode 100644 index 1ba1524..0000000 --- a/core/src/loader/getdrivesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getdrivesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetDrivesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getendpointinfoparams.cpp b/core/src/loader/getendpointinfoparams.cpp deleted file mode 100644 index 8987391..0000000 --- a/core/src/loader/getendpointinfoparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getendpointinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetEndpointInfoParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getepisodesparams.cpp b/core/src/loader/getepisodesparams.cpp deleted file mode 100644 index 83aca83..0000000 --- a/core/src/loader/getepisodesparams.cpp +++ /dev/null @@ -1,344 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getepisodesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetEpisodesParams - -const QString &GetEpisodesParams::seriesId() const { - return m_seriesId; -} - -void GetEpisodesParams::setSeriesId(QString newSeriesId) { - m_seriesId = newSeriesId; -} - - -const QString &GetEpisodesParams::adjacentTo() const { - return m_adjacentTo; -} - -void GetEpisodesParams::setAdjacentTo(QString newAdjacentTo) { - m_adjacentTo = newAdjacentTo; -} - -bool GetEpisodesParams::adjacentToNull() const { - // Nullable: true - // Type Nullable: true - - - return m_adjacentTo.isNull(); -} - -void GetEpisodesParams::setAdjacentToNull() { - m_adjacentTo.clear(); -} - - -const QList &GetEpisodesParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetEpisodesParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetEpisodesParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetEpisodesParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetEpisodesParams::enableImages() const { - return m_enableImages.value(); -} - -void GetEpisodesParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetEpisodesParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetEpisodesParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetEpisodesParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetEpisodesParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetEpisodesParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetEpisodesParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetEpisodesParams::fields() const { - return m_fields; -} - -void GetEpisodesParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetEpisodesParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetEpisodesParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetEpisodesParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetEpisodesParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetEpisodesParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetEpisodesParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const bool &GetEpisodesParams::isMissing() const { - return m_isMissing.value(); -} - -void GetEpisodesParams::setIsMissing(bool newIsMissing) { - m_isMissing = newIsMissing; -} - -bool GetEpisodesParams::isMissingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMissing.has_value(); -} - -void GetEpisodesParams::setIsMissingNull() { - m_isMissing = std::nullopt; -} - - -const qint32 &GetEpisodesParams::limit() const { - return m_limit.value(); -} - -void GetEpisodesParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetEpisodesParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetEpisodesParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const qint32 &GetEpisodesParams::season() const { - return m_season.value(); -} - -void GetEpisodesParams::setSeason(qint32 newSeason) { - m_season = newSeason; -} - -bool GetEpisodesParams::seasonNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_season.has_value(); -} - -void GetEpisodesParams::setSeasonNull() { - m_season = std::nullopt; -} - - -const QString &GetEpisodesParams::seasonId() const { - return m_seasonId; -} - -void GetEpisodesParams::setSeasonId(QString newSeasonId) { - m_seasonId = newSeasonId; -} - -bool GetEpisodesParams::seasonIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_seasonId.isNull(); -} - -void GetEpisodesParams::setSeasonIdNull() { - m_seasonId.clear(); -} - - -const QString &GetEpisodesParams::sortBy() const { - return m_sortBy; -} - -void GetEpisodesParams::setSortBy(QString newSortBy) { - m_sortBy = newSortBy; -} - -bool GetEpisodesParams::sortByNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortBy.isNull(); -} - -void GetEpisodesParams::setSortByNull() { - m_sortBy.clear(); -} - - -const qint32 &GetEpisodesParams::startIndex() const { - return m_startIndex.value(); -} - -void GetEpisodesParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetEpisodesParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetEpisodesParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetEpisodesParams::startItemId() const { - return m_startItemId; -} - -void GetEpisodesParams::setStartItemId(QString newStartItemId) { - m_startItemId = newStartItemId; -} - -bool GetEpisodesParams::startItemIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_startItemId.isNull(); -} - -void GetEpisodesParams::setStartItemIdNull() { - m_startItemId.clear(); -} - - -const QString &GetEpisodesParams::userId() const { - return m_userId; -} - -void GetEpisodesParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetEpisodesParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetEpisodesParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getexternalidinfosparams.cpp b/core/src/loader/getexternalidinfosparams.cpp deleted file mode 100644 index 6e6e192..0000000 --- a/core/src/loader/getexternalidinfosparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getexternalidinfosparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetExternalIdInfosParams - -const QString &GetExternalIdInfosParams::itemId() const { - return m_itemId; -} - -void GetExternalIdInfosParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getfallbackfontlistparams.cpp b/core/src/loader/getfallbackfontlistparams.cpp deleted file mode 100644 index 63a8081..0000000 --- a/core/src/loader/getfallbackfontlistparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getfallbackfontlistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetFallbackFontListParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getfallbackfontparams.cpp b/core/src/loader/getfallbackfontparams.cpp deleted file mode 100644 index 27fb7e1..0000000 --- a/core/src/loader/getfallbackfontparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getfallbackfontparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetFallbackFontParams - -const QString &GetFallbackFontParams::name() const { - return m_name; -} - -void GetFallbackFontParams::setName(QString newName) { - m_name = newName; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getfileparams.cpp b/core/src/loader/getfileparams.cpp deleted file mode 100644 index 854bbaf..0000000 --- a/core/src/loader/getfileparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getfileparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetFileParams - -const QString &GetFileParams::itemId() const { - return m_itemId; -} - -void GetFileParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getfirstuser_2params.cpp b/core/src/loader/getfirstuser_2params.cpp deleted file mode 100644 index c8602eb..0000000 --- a/core/src/loader/getfirstuser_2params.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getfirstuser_2params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetFirstUser_2Params - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getfirstuserparams.cpp b/core/src/loader/getfirstuserparams.cpp deleted file mode 100644 index 4b181ea..0000000 --- a/core/src/loader/getfirstuserparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getfirstuserparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetFirstUserParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getgeneralimageparams.cpp b/core/src/loader/getgeneralimageparams.cpp deleted file mode 100644 index 5294a50..0000000 --- a/core/src/loader/getgeneralimageparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getgeneralimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetGeneralImageParams - -const QString &GetGeneralImageParams::name() const { - return m_name; -} - -void GetGeneralImageParams::setName(QString newName) { - m_name = newName; -} - - -const QString &GetGeneralImageParams::type() const { - return m_type; -} - -void GetGeneralImageParams::setType(QString newType) { - m_type = newType; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getgeneralimagesparams.cpp b/core/src/loader/getgeneralimagesparams.cpp deleted file mode 100644 index 8bafbf6..0000000 --- a/core/src/loader/getgeneralimagesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getgeneralimagesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetGeneralImagesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getgenreimagebyindexparams.cpp b/core/src/loader/getgenreimagebyindexparams.cpp deleted file mode 100644 index f05a99b..0000000 --- a/core/src/loader/getgenreimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getgenreimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetGenreImageByIndexParams - -const qint32 &GetGenreImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void GetGenreImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &GetGenreImageByIndexParams::imageType() const { - return m_imageType; -} - -void GetGenreImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetGenreImageByIndexParams::name() const { - return m_name; -} - -void GetGenreImageByIndexParams::setName(QString newName) { - m_name = newName; -} - - -const bool &GetGenreImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetGenreImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetGenreImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetGenreImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetGenreImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetGenreImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetGenreImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetGenreImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetGenreImageByIndexParams::blur() const { - return m_blur.value(); -} - -void GetGenreImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetGenreImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetGenreImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetGenreImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetGenreImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetGenreImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetGenreImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetGenreImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetGenreImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetGenreImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetGenreImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetGenreImageByIndexParams::format() const { - return m_format; -} - -void GetGenreImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetGenreImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetGenreImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetGenreImageByIndexParams::height() const { - return m_height.value(); -} - -void GetGenreImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetGenreImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetGenreImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetGenreImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetGenreImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetGenreImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetGenreImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetGenreImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetGenreImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetGenreImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetGenreImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetGenreImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetGenreImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetGenreImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetGenreImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetGenreImageByIndexParams::quality() const { - return m_quality.value(); -} - -void GetGenreImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetGenreImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetGenreImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetGenreImageByIndexParams::tag() const { - return m_tag; -} - -void GetGenreImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetGenreImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetGenreImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetGenreImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetGenreImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetGenreImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetGenreImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetGenreImageByIndexParams::width() const { - return m_width.value(); -} - -void GetGenreImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetGenreImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetGenreImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getgenreimageparams.cpp b/core/src/loader/getgenreimageparams.cpp deleted file mode 100644 index b5b5c6d..0000000 --- a/core/src/loader/getgenreimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getgenreimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetGenreImageParams - -const ImageType &GetGenreImageParams::imageType() const { - return m_imageType; -} - -void GetGenreImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetGenreImageParams::name() const { - return m_name; -} - -void GetGenreImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &GetGenreImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetGenreImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetGenreImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetGenreImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetGenreImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetGenreImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetGenreImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetGenreImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetGenreImageParams::blur() const { - return m_blur.value(); -} - -void GetGenreImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetGenreImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetGenreImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetGenreImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetGenreImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetGenreImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetGenreImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetGenreImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetGenreImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetGenreImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetGenreImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetGenreImageParams::format() const { - return m_format; -} - -void GetGenreImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetGenreImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetGenreImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetGenreImageParams::height() const { - return m_height.value(); -} - -void GetGenreImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetGenreImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetGenreImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetGenreImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void GetGenreImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool GetGenreImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void GetGenreImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &GetGenreImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetGenreImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetGenreImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetGenreImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetGenreImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetGenreImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetGenreImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetGenreImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetGenreImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetGenreImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetGenreImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetGenreImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetGenreImageParams::quality() const { - return m_quality.value(); -} - -void GetGenreImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetGenreImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetGenreImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetGenreImageParams::tag() const { - return m_tag; -} - -void GetGenreImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetGenreImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetGenreImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetGenreImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetGenreImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetGenreImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetGenreImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetGenreImageParams::width() const { - return m_width.value(); -} - -void GetGenreImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetGenreImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetGenreImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getgenreparams.cpp b/core/src/loader/getgenreparams.cpp deleted file mode 100644 index f55e0f1..0000000 --- a/core/src/loader/getgenreparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getgenreparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetGenreParams - -const QString &GetGenreParams::genreName() const { - return m_genreName; -} - -void GetGenreParams::setGenreName(QString newGenreName) { - m_genreName = newGenreName; -} - - -const QString &GetGenreParams::userId() const { - return m_userId; -} - -void GetGenreParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetGenreParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetGenreParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getgenresparams.cpp b/core/src/loader/getgenresparams.cpp deleted file mode 100644 index e7f6e02..0000000 --- a/core/src/loader/getgenresparams.cpp +++ /dev/null @@ -1,377 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getgenresparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetGenresParams - -const QList &GetGenresParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetGenresParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetGenresParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetGenresParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetGenresParams::enableImages() const { - return m_enableImages.value(); -} - -void GetGenresParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetGenresParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetGenresParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetGenresParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetGenresParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetGenresParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetGenresParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const QStringList &GetGenresParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetGenresParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetGenresParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetGenresParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetGenresParams::fields() const { - return m_fields; -} - -void GetGenresParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetGenresParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetGenresParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetGenresParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetGenresParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetGenresParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetGenresParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QStringList &GetGenresParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetGenresParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetGenresParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetGenresParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetGenresParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetGenresParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetGenresParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetGenresParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const qint32 &GetGenresParams::limit() const { - return m_limit.value(); -} - -void GetGenresParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetGenresParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetGenresParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetGenresParams::nameLessThan() const { - return m_nameLessThan; -} - -void GetGenresParams::setNameLessThan(QString newNameLessThan) { - m_nameLessThan = newNameLessThan; -} - -bool GetGenresParams::nameLessThanNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameLessThan.isNull(); -} - -void GetGenresParams::setNameLessThanNull() { - m_nameLessThan.clear(); -} - - -const QString &GetGenresParams::nameStartsWith() const { - return m_nameStartsWith; -} - -void GetGenresParams::setNameStartsWith(QString newNameStartsWith) { - m_nameStartsWith = newNameStartsWith; -} - -bool GetGenresParams::nameStartsWithNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWith.isNull(); -} - -void GetGenresParams::setNameStartsWithNull() { - m_nameStartsWith.clear(); -} - - -const QString &GetGenresParams::nameStartsWithOrGreater() const { - return m_nameStartsWithOrGreater; -} - -void GetGenresParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) { - m_nameStartsWithOrGreater = newNameStartsWithOrGreater; -} - -bool GetGenresParams::nameStartsWithOrGreaterNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWithOrGreater.isNull(); -} - -void GetGenresParams::setNameStartsWithOrGreaterNull() { - m_nameStartsWithOrGreater.clear(); -} - - -const QString &GetGenresParams::parentId() const { - return m_parentId; -} - -void GetGenresParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetGenresParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetGenresParams::setParentIdNull() { - m_parentId.clear(); -} - - -const QString &GetGenresParams::searchTerm() const { - return m_searchTerm; -} - -void GetGenresParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetGenresParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetGenresParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const qint32 &GetGenresParams::startIndex() const { - return m_startIndex.value(); -} - -void GetGenresParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetGenresParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetGenresParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetGenresParams::userId() const { - return m_userId; -} - -void GetGenresParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetGenresParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetGenresParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getgroupingoptionsparams.cpp b/core/src/loader/getgroupingoptionsparams.cpp deleted file mode 100644 index 1eb19e7..0000000 --- a/core/src/loader/getgroupingoptionsparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getgroupingoptionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetGroupingOptionsParams - -const QString &GetGroupingOptionsParams::userId() const { - return m_userId; -} - -void GetGroupingOptionsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getguideinfoparams.cpp b/core/src/loader/getguideinfoparams.cpp deleted file mode 100644 index 51c7b0a..0000000 --- a/core/src/loader/getguideinfoparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getguideinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetGuideInfoParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gethlsaudiosegmentlegacyaacparams.cpp b/core/src/loader/gethlsaudiosegmentlegacyaacparams.cpp deleted file mode 100644 index 01f8d15..0000000 --- a/core/src/loader/gethlsaudiosegmentlegacyaacparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gethlsaudiosegmentlegacyaacparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetHlsAudioSegmentLegacyAacParams - -const QString &GetHlsAudioSegmentLegacyAacParams::itemId() const { - return m_itemId; -} - -void GetHlsAudioSegmentLegacyAacParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetHlsAudioSegmentLegacyAacParams::segmentId() const { - return m_segmentId; -} - -void GetHlsAudioSegmentLegacyAacParams::setSegmentId(QString newSegmentId) { - m_segmentId = newSegmentId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gethlsaudiosegmentlegacymp3params.cpp b/core/src/loader/gethlsaudiosegmentlegacymp3params.cpp deleted file mode 100644 index 3c093a6..0000000 --- a/core/src/loader/gethlsaudiosegmentlegacymp3params.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gethlsaudiosegmentlegacymp3params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetHlsAudioSegmentLegacyMp3Params - -const QString &GetHlsAudioSegmentLegacyMp3Params::itemId() const { - return m_itemId; -} - -void GetHlsAudioSegmentLegacyMp3Params::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetHlsAudioSegmentLegacyMp3Params::segmentId() const { - return m_segmentId; -} - -void GetHlsAudioSegmentLegacyMp3Params::setSegmentId(QString newSegmentId) { - m_segmentId = newSegmentId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gethlsaudiosegmentparams.cpp b/core/src/loader/gethlsaudiosegmentparams.cpp deleted file mode 100644 index 71c8bef..0000000 --- a/core/src/loader/gethlsaudiosegmentparams.cpp +++ /dev/null @@ -1,1085 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gethlsaudiosegmentparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetHlsAudioSegmentParams - -const QString &GetHlsAudioSegmentParams::container() const { - return m_container; -} - -void GetHlsAudioSegmentParams::setContainer(QString newContainer) { - m_container = newContainer; -} - - -const QString &GetHlsAudioSegmentParams::itemId() const { - return m_itemId; -} - -void GetHlsAudioSegmentParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetHlsAudioSegmentParams::playlistId() const { - return m_playlistId; -} - -void GetHlsAudioSegmentParams::setPlaylistId(QString newPlaylistId) { - m_playlistId = newPlaylistId; -} - - -const qint32 &GetHlsAudioSegmentParams::segmentId() const { - return m_segmentId; -} - -void GetHlsAudioSegmentParams::setSegmentId(qint32 newSegmentId) { - m_segmentId = newSegmentId; -} - - -const bool &GetHlsAudioSegmentParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetHlsAudioSegmentParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetHlsAudioSegmentParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetHlsAudioSegmentParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetHlsAudioSegmentParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetHlsAudioSegmentParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetHlsAudioSegmentParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetHlsAudioSegmentParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetHlsAudioSegmentParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetHlsAudioSegmentParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetHlsAudioSegmentParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetHlsAudioSegmentParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetHlsAudioSegmentParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetHlsAudioSegmentParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetHlsAudioSegmentParams::audioCodec() const { - return m_audioCodec; -} - -void GetHlsAudioSegmentParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetHlsAudioSegmentParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetHlsAudioSegmentParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetHlsAudioSegmentParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetHlsAudioSegmentParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetHlsAudioSegmentParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetHlsAudioSegmentParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetHlsAudioSegmentParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetHlsAudioSegmentParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetHlsAudioSegmentParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetHlsAudioSegmentParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetHlsAudioSegmentParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetHlsAudioSegmentParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetHlsAudioSegmentParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &GetHlsAudioSegmentParams::context() const { - return m_context; -} - -void GetHlsAudioSegmentParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetHlsAudioSegmentParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetHlsAudioSegmentParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetHlsAudioSegmentParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetHlsAudioSegmentParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetHlsAudioSegmentParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetHlsAudioSegmentParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetHlsAudioSegmentParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetHlsAudioSegmentParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetHlsAudioSegmentParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetHlsAudioSegmentParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetHlsAudioSegmentParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetHlsAudioSegmentParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetHlsAudioSegmentParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetHlsAudioSegmentParams::deviceId() const { - return m_deviceId; -} - -void GetHlsAudioSegmentParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetHlsAudioSegmentParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetHlsAudioSegmentParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetHlsAudioSegmentParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetHlsAudioSegmentParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetHlsAudioSegmentParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetHlsAudioSegmentParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetHlsAudioSegmentParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetHlsAudioSegmentParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetHlsAudioSegmentParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetHlsAudioSegmentParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetHlsAudioSegmentParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetHlsAudioSegmentParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetHlsAudioSegmentParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetHlsAudioSegmentParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetHlsAudioSegmentParams::framerate() const { - return m_framerate.value(); -} - -void GetHlsAudioSegmentParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetHlsAudioSegmentParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetHlsAudioSegmentParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::height() const { - return m_height.value(); -} - -void GetHlsAudioSegmentParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetHlsAudioSegmentParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetHlsAudioSegmentParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetHlsAudioSegmentParams::level() const { - return m_level; -} - -void GetHlsAudioSegmentParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetHlsAudioSegmentParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetHlsAudioSegmentParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetHlsAudioSegmentParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetHlsAudioSegmentParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetHlsAudioSegmentParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetHlsAudioSegmentParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetHlsAudioSegmentParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetHlsAudioSegmentParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetHlsAudioSegmentParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetHlsAudioSegmentParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetHlsAudioSegmentParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetHlsAudioSegmentParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetHlsAudioSegmentParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetHlsAudioSegmentParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetHlsAudioSegmentParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetHlsAudioSegmentParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetHlsAudioSegmentParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetHlsAudioSegmentParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetHlsAudioSegmentParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetHlsAudioSegmentParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::maxStreamingBitrate() const { - return m_maxStreamingBitrate.value(); -} - -void GetHlsAudioSegmentParams::setMaxStreamingBitrate(qint32 newMaxStreamingBitrate) { - m_maxStreamingBitrate = newMaxStreamingBitrate; -} - -bool GetHlsAudioSegmentParams::maxStreamingBitrateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxStreamingBitrate.has_value(); -} - -void GetHlsAudioSegmentParams::setMaxStreamingBitrateNull() { - m_maxStreamingBitrate = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetHlsAudioSegmentParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetHlsAudioSegmentParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetHlsAudioSegmentParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &GetHlsAudioSegmentParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetHlsAudioSegmentParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetHlsAudioSegmentParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetHlsAudioSegmentParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &GetHlsAudioSegmentParams::minSegments() const { - return m_minSegments.value(); -} - -void GetHlsAudioSegmentParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetHlsAudioSegmentParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetHlsAudioSegmentParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetHlsAudioSegmentParams::params() const { - return m_params; -} - -void GetHlsAudioSegmentParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetHlsAudioSegmentParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetHlsAudioSegmentParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetHlsAudioSegmentParams::playSessionId() const { - return m_playSessionId; -} - -void GetHlsAudioSegmentParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetHlsAudioSegmentParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetHlsAudioSegmentParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetHlsAudioSegmentParams::profile() const { - return m_profile; -} - -void GetHlsAudioSegmentParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetHlsAudioSegmentParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetHlsAudioSegmentParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetHlsAudioSegmentParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetHlsAudioSegmentParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetHlsAudioSegmentParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetHlsAudioSegmentParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetHlsAudioSegmentParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetHlsAudioSegmentParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetHlsAudioSegmentParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetHlsAudioSegmentParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetHlsAudioSegmentParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetHlsAudioSegmentParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetHlsAudioSegmentParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetHlsAudioSegmentParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetHlsAudioSegmentParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetHlsAudioSegmentParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetHlsAudioSegmentParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetHlsAudioSegmentParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetHlsAudioSegmentParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetHlsAudioSegmentParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetHlsAudioSegmentParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetHlsAudioSegmentParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetHlsAudioSegmentParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetHlsAudioSegmentParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetHlsAudioSegmentParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetHlsAudioSegmentParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetHlsAudioSegmentParams::streamOptions() const { - return m_streamOptions; -} - -void GetHlsAudioSegmentParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetHlsAudioSegmentParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetHlsAudioSegmentParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetHlsAudioSegmentParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetHlsAudioSegmentParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetHlsAudioSegmentParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetHlsAudioSegmentParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetHlsAudioSegmentParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetHlsAudioSegmentParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetHlsAudioSegmentParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetHlsAudioSegmentParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetHlsAudioSegmentParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetHlsAudioSegmentParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetHlsAudioSegmentParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetHlsAudioSegmentParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetHlsAudioSegmentParams::tag() const { - return m_tag; -} - -void GetHlsAudioSegmentParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetHlsAudioSegmentParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetHlsAudioSegmentParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetHlsAudioSegmentParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetHlsAudioSegmentParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetHlsAudioSegmentParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetHlsAudioSegmentParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetHlsAudioSegmentParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetHlsAudioSegmentParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetHlsAudioSegmentParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetHlsAudioSegmentParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetHlsAudioSegmentParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetHlsAudioSegmentParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetHlsAudioSegmentParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetHlsAudioSegmentParams::videoCodec() const { - return m_videoCodec; -} - -void GetHlsAudioSegmentParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetHlsAudioSegmentParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetHlsAudioSegmentParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetHlsAudioSegmentParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetHlsAudioSegmentParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetHlsAudioSegmentParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetHlsAudioSegmentParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetHlsAudioSegmentParams::width() const { - return m_width.value(); -} - -void GetHlsAudioSegmentParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetHlsAudioSegmentParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetHlsAudioSegmentParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gethlsplaylistlegacyparams.cpp b/core/src/loader/gethlsplaylistlegacyparams.cpp deleted file mode 100644 index dfa914c..0000000 --- a/core/src/loader/gethlsplaylistlegacyparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gethlsplaylistlegacyparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetHlsPlaylistLegacyParams - -const QString &GetHlsPlaylistLegacyParams::itemId() const { - return m_itemId; -} - -void GetHlsPlaylistLegacyParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetHlsPlaylistLegacyParams::playlistId() const { - return m_playlistId; -} - -void GetHlsPlaylistLegacyParams::setPlaylistId(QString newPlaylistId) { - m_playlistId = newPlaylistId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gethlsvideosegmentlegacyparams.cpp b/core/src/loader/gethlsvideosegmentlegacyparams.cpp deleted file mode 100644 index 089bdae..0000000 --- a/core/src/loader/gethlsvideosegmentlegacyparams.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gethlsvideosegmentlegacyparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetHlsVideoSegmentLegacyParams - -const QString &GetHlsVideoSegmentLegacyParams::itemId() const { - return m_itemId; -} - -void GetHlsVideoSegmentLegacyParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetHlsVideoSegmentLegacyParams::playlistId() const { - return m_playlistId; -} - -void GetHlsVideoSegmentLegacyParams::setPlaylistId(QString newPlaylistId) { - m_playlistId = newPlaylistId; -} - - -const QString &GetHlsVideoSegmentLegacyParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetHlsVideoSegmentLegacyParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - - -const QString &GetHlsVideoSegmentLegacyParams::segmentId() const { - return m_segmentId; -} - -void GetHlsVideoSegmentLegacyParams::setSegmentId(QString newSegmentId) { - m_segmentId = newSegmentId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gethlsvideosegmentparams.cpp b/core/src/loader/gethlsvideosegmentparams.cpp deleted file mode 100644 index 8f2145c..0000000 --- a/core/src/loader/gethlsvideosegmentparams.cpp +++ /dev/null @@ -1,1064 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gethlsvideosegmentparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetHlsVideoSegmentParams - -const QString &GetHlsVideoSegmentParams::container() const { - return m_container; -} - -void GetHlsVideoSegmentParams::setContainer(QString newContainer) { - m_container = newContainer; -} - - -const QString &GetHlsVideoSegmentParams::itemId() const { - return m_itemId; -} - -void GetHlsVideoSegmentParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetHlsVideoSegmentParams::playlistId() const { - return m_playlistId; -} - -void GetHlsVideoSegmentParams::setPlaylistId(QString newPlaylistId) { - m_playlistId = newPlaylistId; -} - - -const qint32 &GetHlsVideoSegmentParams::segmentId() const { - return m_segmentId; -} - -void GetHlsVideoSegmentParams::setSegmentId(qint32 newSegmentId) { - m_segmentId = newSegmentId; -} - - -const bool &GetHlsVideoSegmentParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetHlsVideoSegmentParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetHlsVideoSegmentParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetHlsVideoSegmentParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetHlsVideoSegmentParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetHlsVideoSegmentParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetHlsVideoSegmentParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetHlsVideoSegmentParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetHlsVideoSegmentParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetHlsVideoSegmentParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetHlsVideoSegmentParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetHlsVideoSegmentParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetHlsVideoSegmentParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetHlsVideoSegmentParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetHlsVideoSegmentParams::audioCodec() const { - return m_audioCodec; -} - -void GetHlsVideoSegmentParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetHlsVideoSegmentParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetHlsVideoSegmentParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetHlsVideoSegmentParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetHlsVideoSegmentParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetHlsVideoSegmentParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetHlsVideoSegmentParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetHlsVideoSegmentParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetHlsVideoSegmentParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetHlsVideoSegmentParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetHlsVideoSegmentParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetHlsVideoSegmentParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetHlsVideoSegmentParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetHlsVideoSegmentParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &GetHlsVideoSegmentParams::context() const { - return m_context; -} - -void GetHlsVideoSegmentParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetHlsVideoSegmentParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetHlsVideoSegmentParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetHlsVideoSegmentParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetHlsVideoSegmentParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetHlsVideoSegmentParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetHlsVideoSegmentParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetHlsVideoSegmentParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetHlsVideoSegmentParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetHlsVideoSegmentParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetHlsVideoSegmentParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetHlsVideoSegmentParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetHlsVideoSegmentParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetHlsVideoSegmentParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetHlsVideoSegmentParams::deviceId() const { - return m_deviceId; -} - -void GetHlsVideoSegmentParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetHlsVideoSegmentParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetHlsVideoSegmentParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetHlsVideoSegmentParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetHlsVideoSegmentParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetHlsVideoSegmentParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetHlsVideoSegmentParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetHlsVideoSegmentParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetHlsVideoSegmentParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetHlsVideoSegmentParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetHlsVideoSegmentParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetHlsVideoSegmentParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetHlsVideoSegmentParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetHlsVideoSegmentParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetHlsVideoSegmentParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetHlsVideoSegmentParams::framerate() const { - return m_framerate.value(); -} - -void GetHlsVideoSegmentParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetHlsVideoSegmentParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetHlsVideoSegmentParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::height() const { - return m_height.value(); -} - -void GetHlsVideoSegmentParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetHlsVideoSegmentParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetHlsVideoSegmentParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetHlsVideoSegmentParams::level() const { - return m_level; -} - -void GetHlsVideoSegmentParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetHlsVideoSegmentParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetHlsVideoSegmentParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetHlsVideoSegmentParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetHlsVideoSegmentParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetHlsVideoSegmentParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetHlsVideoSegmentParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetHlsVideoSegmentParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetHlsVideoSegmentParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetHlsVideoSegmentParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetHlsVideoSegmentParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetHlsVideoSegmentParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetHlsVideoSegmentParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetHlsVideoSegmentParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetHlsVideoSegmentParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetHlsVideoSegmentParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetHlsVideoSegmentParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetHlsVideoSegmentParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetHlsVideoSegmentParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetHlsVideoSegmentParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetHlsVideoSegmentParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetHlsVideoSegmentParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetHlsVideoSegmentParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetHlsVideoSegmentParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &GetHlsVideoSegmentParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetHlsVideoSegmentParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetHlsVideoSegmentParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetHlsVideoSegmentParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &GetHlsVideoSegmentParams::minSegments() const { - return m_minSegments.value(); -} - -void GetHlsVideoSegmentParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetHlsVideoSegmentParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetHlsVideoSegmentParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetHlsVideoSegmentParams::params() const { - return m_params; -} - -void GetHlsVideoSegmentParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetHlsVideoSegmentParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetHlsVideoSegmentParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetHlsVideoSegmentParams::playSessionId() const { - return m_playSessionId; -} - -void GetHlsVideoSegmentParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetHlsVideoSegmentParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetHlsVideoSegmentParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetHlsVideoSegmentParams::profile() const { - return m_profile; -} - -void GetHlsVideoSegmentParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetHlsVideoSegmentParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetHlsVideoSegmentParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetHlsVideoSegmentParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetHlsVideoSegmentParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetHlsVideoSegmentParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetHlsVideoSegmentParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetHlsVideoSegmentParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetHlsVideoSegmentParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetHlsVideoSegmentParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetHlsVideoSegmentParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetHlsVideoSegmentParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetHlsVideoSegmentParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetHlsVideoSegmentParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetHlsVideoSegmentParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetHlsVideoSegmentParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetHlsVideoSegmentParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetHlsVideoSegmentParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetHlsVideoSegmentParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetHlsVideoSegmentParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetHlsVideoSegmentParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetHlsVideoSegmentParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetHlsVideoSegmentParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetHlsVideoSegmentParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetHlsVideoSegmentParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetHlsVideoSegmentParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetHlsVideoSegmentParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetHlsVideoSegmentParams::streamOptions() const { - return m_streamOptions; -} - -void GetHlsVideoSegmentParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetHlsVideoSegmentParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetHlsVideoSegmentParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetHlsVideoSegmentParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetHlsVideoSegmentParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetHlsVideoSegmentParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetHlsVideoSegmentParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetHlsVideoSegmentParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetHlsVideoSegmentParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetHlsVideoSegmentParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetHlsVideoSegmentParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetHlsVideoSegmentParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetHlsVideoSegmentParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetHlsVideoSegmentParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetHlsVideoSegmentParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetHlsVideoSegmentParams::tag() const { - return m_tag; -} - -void GetHlsVideoSegmentParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetHlsVideoSegmentParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetHlsVideoSegmentParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetHlsVideoSegmentParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetHlsVideoSegmentParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetHlsVideoSegmentParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetHlsVideoSegmentParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetHlsVideoSegmentParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetHlsVideoSegmentParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetHlsVideoSegmentParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetHlsVideoSegmentParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetHlsVideoSegmentParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetHlsVideoSegmentParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetHlsVideoSegmentParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetHlsVideoSegmentParams::videoCodec() const { - return m_videoCodec; -} - -void GetHlsVideoSegmentParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetHlsVideoSegmentParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetHlsVideoSegmentParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetHlsVideoSegmentParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetHlsVideoSegmentParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetHlsVideoSegmentParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetHlsVideoSegmentParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetHlsVideoSegmentParams::width() const { - return m_width.value(); -} - -void GetHlsVideoSegmentParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetHlsVideoSegmentParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetHlsVideoSegmentParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/geticonidparams.cpp b/core/src/loader/geticonidparams.cpp deleted file mode 100644 index a4fc8c8..0000000 --- a/core/src/loader/geticonidparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/geticonidparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetIconIdParams - -const QString &GetIconIdParams::fileName() const { - return m_fileName; -} - -void GetIconIdParams::setFileName(QString newFileName) { - m_fileName = newFileName; -} - - -const QString &GetIconIdParams::serverId() const { - return m_serverId; -} - -void GetIconIdParams::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/geticonparams.cpp b/core/src/loader/geticonparams.cpp deleted file mode 100644 index b4ce21f..0000000 --- a/core/src/loader/geticonparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/geticonparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetIconParams - -const QString &GetIconParams::fileName() const { - return m_fileName; -} - -void GetIconParams::setFileName(QString newFileName) { - m_fileName = newFileName; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getinstantmixfromalbumparams.cpp b/core/src/loader/getinstantmixfromalbumparams.cpp deleted file mode 100644 index b13adb1..0000000 --- a/core/src/loader/getinstantmixfromalbumparams.cpp +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getinstantmixfromalbumparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetInstantMixFromAlbumParams - -const QString &GetInstantMixFromAlbumParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetInstantMixFromAlbumParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - -const QList &GetInstantMixFromAlbumParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetInstantMixFromAlbumParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetInstantMixFromAlbumParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetInstantMixFromAlbumParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetInstantMixFromAlbumParams::enableImages() const { - return m_enableImages.value(); -} - -void GetInstantMixFromAlbumParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetInstantMixFromAlbumParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetInstantMixFromAlbumParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetInstantMixFromAlbumParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetInstantMixFromAlbumParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetInstantMixFromAlbumParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetInstantMixFromAlbumParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetInstantMixFromAlbumParams::fields() const { - return m_fields; -} - -void GetInstantMixFromAlbumParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetInstantMixFromAlbumParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetInstantMixFromAlbumParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetInstantMixFromAlbumParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetInstantMixFromAlbumParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetInstantMixFromAlbumParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetInstantMixFromAlbumParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetInstantMixFromAlbumParams::limit() const { - return m_limit.value(); -} - -void GetInstantMixFromAlbumParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetInstantMixFromAlbumParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetInstantMixFromAlbumParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetInstantMixFromAlbumParams::userId() const { - return m_userId; -} - -void GetInstantMixFromAlbumParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetInstantMixFromAlbumParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetInstantMixFromAlbumParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getinstantmixfromartistsparams.cpp b/core/src/loader/getinstantmixfromartistsparams.cpp deleted file mode 100644 index 815a701..0000000 --- a/core/src/loader/getinstantmixfromartistsparams.cpp +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getinstantmixfromartistsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetInstantMixFromArtistsParams - -const QString &GetInstantMixFromArtistsParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetInstantMixFromArtistsParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - -const QList &GetInstantMixFromArtistsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetInstantMixFromArtistsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetInstantMixFromArtistsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetInstantMixFromArtistsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetInstantMixFromArtistsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetInstantMixFromArtistsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetInstantMixFromArtistsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetInstantMixFromArtistsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetInstantMixFromArtistsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetInstantMixFromArtistsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetInstantMixFromArtistsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetInstantMixFromArtistsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetInstantMixFromArtistsParams::fields() const { - return m_fields; -} - -void GetInstantMixFromArtistsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetInstantMixFromArtistsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetInstantMixFromArtistsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetInstantMixFromArtistsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetInstantMixFromArtistsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetInstantMixFromArtistsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetInstantMixFromArtistsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetInstantMixFromArtistsParams::limit() const { - return m_limit.value(); -} - -void GetInstantMixFromArtistsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetInstantMixFromArtistsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetInstantMixFromArtistsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetInstantMixFromArtistsParams::userId() const { - return m_userId; -} - -void GetInstantMixFromArtistsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetInstantMixFromArtistsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetInstantMixFromArtistsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getinstantmixfromitemparams.cpp b/core/src/loader/getinstantmixfromitemparams.cpp deleted file mode 100644 index 774e0de..0000000 --- a/core/src/loader/getinstantmixfromitemparams.cpp +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getinstantmixfromitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetInstantMixFromItemParams - -const QString &GetInstantMixFromItemParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetInstantMixFromItemParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - -const QList &GetInstantMixFromItemParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetInstantMixFromItemParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetInstantMixFromItemParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetInstantMixFromItemParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetInstantMixFromItemParams::enableImages() const { - return m_enableImages.value(); -} - -void GetInstantMixFromItemParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetInstantMixFromItemParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetInstantMixFromItemParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetInstantMixFromItemParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetInstantMixFromItemParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetInstantMixFromItemParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetInstantMixFromItemParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetInstantMixFromItemParams::fields() const { - return m_fields; -} - -void GetInstantMixFromItemParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetInstantMixFromItemParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetInstantMixFromItemParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetInstantMixFromItemParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetInstantMixFromItemParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetInstantMixFromItemParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetInstantMixFromItemParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetInstantMixFromItemParams::limit() const { - return m_limit.value(); -} - -void GetInstantMixFromItemParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetInstantMixFromItemParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetInstantMixFromItemParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetInstantMixFromItemParams::userId() const { - return m_userId; -} - -void GetInstantMixFromItemParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetInstantMixFromItemParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetInstantMixFromItemParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getinstantmixfrommusicgenreparams.cpp b/core/src/loader/getinstantmixfrommusicgenreparams.cpp deleted file mode 100644 index beeaba2..0000000 --- a/core/src/loader/getinstantmixfrommusicgenreparams.cpp +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getinstantmixfrommusicgenreparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetInstantMixFromMusicGenreParams - -const QString &GetInstantMixFromMusicGenreParams::name() const { - return m_name; -} - -void GetInstantMixFromMusicGenreParams::setName(QString newName) { - m_name = newName; -} - - -const QList &GetInstantMixFromMusicGenreParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetInstantMixFromMusicGenreParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetInstantMixFromMusicGenreParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetInstantMixFromMusicGenreParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetInstantMixFromMusicGenreParams::enableImages() const { - return m_enableImages.value(); -} - -void GetInstantMixFromMusicGenreParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetInstantMixFromMusicGenreParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetInstantMixFromMusicGenreParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetInstantMixFromMusicGenreParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetInstantMixFromMusicGenreParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetInstantMixFromMusicGenreParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetInstantMixFromMusicGenreParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetInstantMixFromMusicGenreParams::fields() const { - return m_fields; -} - -void GetInstantMixFromMusicGenreParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetInstantMixFromMusicGenreParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetInstantMixFromMusicGenreParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetInstantMixFromMusicGenreParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetInstantMixFromMusicGenreParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetInstantMixFromMusicGenreParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetInstantMixFromMusicGenreParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetInstantMixFromMusicGenreParams::limit() const { - return m_limit.value(); -} - -void GetInstantMixFromMusicGenreParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetInstantMixFromMusicGenreParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetInstantMixFromMusicGenreParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetInstantMixFromMusicGenreParams::userId() const { - return m_userId; -} - -void GetInstantMixFromMusicGenreParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetInstantMixFromMusicGenreParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetInstantMixFromMusicGenreParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getinstantmixfrommusicgenresparams.cpp b/core/src/loader/getinstantmixfrommusicgenresparams.cpp deleted file mode 100644 index a1eea56..0000000 --- a/core/src/loader/getinstantmixfrommusicgenresparams.cpp +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getinstantmixfrommusicgenresparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetInstantMixFromMusicGenresParams - -const QString &GetInstantMixFromMusicGenresParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetInstantMixFromMusicGenresParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - -const QList &GetInstantMixFromMusicGenresParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetInstantMixFromMusicGenresParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetInstantMixFromMusicGenresParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetInstantMixFromMusicGenresParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetInstantMixFromMusicGenresParams::enableImages() const { - return m_enableImages.value(); -} - -void GetInstantMixFromMusicGenresParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetInstantMixFromMusicGenresParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetInstantMixFromMusicGenresParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetInstantMixFromMusicGenresParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetInstantMixFromMusicGenresParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetInstantMixFromMusicGenresParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetInstantMixFromMusicGenresParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetInstantMixFromMusicGenresParams::fields() const { - return m_fields; -} - -void GetInstantMixFromMusicGenresParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetInstantMixFromMusicGenresParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetInstantMixFromMusicGenresParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetInstantMixFromMusicGenresParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetInstantMixFromMusicGenresParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetInstantMixFromMusicGenresParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetInstantMixFromMusicGenresParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetInstantMixFromMusicGenresParams::limit() const { - return m_limit.value(); -} - -void GetInstantMixFromMusicGenresParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetInstantMixFromMusicGenresParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetInstantMixFromMusicGenresParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetInstantMixFromMusicGenresParams::userId() const { - return m_userId; -} - -void GetInstantMixFromMusicGenresParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetInstantMixFromMusicGenresParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetInstantMixFromMusicGenresParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getinstantmixfromplaylistparams.cpp b/core/src/loader/getinstantmixfromplaylistparams.cpp deleted file mode 100644 index 1057350..0000000 --- a/core/src/loader/getinstantmixfromplaylistparams.cpp +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getinstantmixfromplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetInstantMixFromPlaylistParams - -const QString &GetInstantMixFromPlaylistParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetInstantMixFromPlaylistParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - -const QList &GetInstantMixFromPlaylistParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetInstantMixFromPlaylistParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetInstantMixFromPlaylistParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetInstantMixFromPlaylistParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetInstantMixFromPlaylistParams::enableImages() const { - return m_enableImages.value(); -} - -void GetInstantMixFromPlaylistParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetInstantMixFromPlaylistParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetInstantMixFromPlaylistParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetInstantMixFromPlaylistParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetInstantMixFromPlaylistParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetInstantMixFromPlaylistParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetInstantMixFromPlaylistParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetInstantMixFromPlaylistParams::fields() const { - return m_fields; -} - -void GetInstantMixFromPlaylistParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetInstantMixFromPlaylistParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetInstantMixFromPlaylistParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetInstantMixFromPlaylistParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetInstantMixFromPlaylistParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetInstantMixFromPlaylistParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetInstantMixFromPlaylistParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetInstantMixFromPlaylistParams::limit() const { - return m_limit.value(); -} - -void GetInstantMixFromPlaylistParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetInstantMixFromPlaylistParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetInstantMixFromPlaylistParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetInstantMixFromPlaylistParams::userId() const { - return m_userId; -} - -void GetInstantMixFromPlaylistParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetInstantMixFromPlaylistParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetInstantMixFromPlaylistParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getinstantmixfromsongparams.cpp b/core/src/loader/getinstantmixfromsongparams.cpp deleted file mode 100644 index 3d6f0b6..0000000 --- a/core/src/loader/getinstantmixfromsongparams.cpp +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getinstantmixfromsongparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetInstantMixFromSongParams - -const QString &GetInstantMixFromSongParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetInstantMixFromSongParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - -const QList &GetInstantMixFromSongParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetInstantMixFromSongParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetInstantMixFromSongParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetInstantMixFromSongParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetInstantMixFromSongParams::enableImages() const { - return m_enableImages.value(); -} - -void GetInstantMixFromSongParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetInstantMixFromSongParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetInstantMixFromSongParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetInstantMixFromSongParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetInstantMixFromSongParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetInstantMixFromSongParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetInstantMixFromSongParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetInstantMixFromSongParams::fields() const { - return m_fields; -} - -void GetInstantMixFromSongParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetInstantMixFromSongParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetInstantMixFromSongParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetInstantMixFromSongParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetInstantMixFromSongParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetInstantMixFromSongParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetInstantMixFromSongParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetInstantMixFromSongParams::limit() const { - return m_limit.value(); -} - -void GetInstantMixFromSongParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetInstantMixFromSongParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetInstantMixFromSongParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetInstantMixFromSongParams::userId() const { - return m_userId; -} - -void GetInstantMixFromSongParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetInstantMixFromSongParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetInstantMixFromSongParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getintrosparams.cpp b/core/src/loader/getintrosparams.cpp deleted file mode 100644 index d25995d..0000000 --- a/core/src/loader/getintrosparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getintrosparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetIntrosParams - -const QString &GetIntrosParams::itemId() const { - return m_itemId; -} - -void GetIntrosParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetIntrosParams::userId() const { - return m_userId; -} - -void GetIntrosParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getitemcountsparams.cpp b/core/src/loader/getitemcountsparams.cpp deleted file mode 100644 index 518340b..0000000 --- a/core/src/loader/getitemcountsparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getitemcountsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetItemCountsParams - -const bool &GetItemCountsParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetItemCountsParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetItemCountsParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetItemCountsParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const QString &GetItemCountsParams::userId() const { - return m_userId; -} - -void GetItemCountsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetItemCountsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetItemCountsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getitemimage2params.cpp b/core/src/loader/getitemimage2params.cpp deleted file mode 100644 index b6b79a0..0000000 --- a/core/src/loader/getitemimage2params.cpp +++ /dev/null @@ -1,290 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getitemimage2params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetItemImage2Params - -const ImageFormat &GetItemImage2Params::format() const { - return m_format; -} - -void GetItemImage2Params::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - - -const qint32 &GetItemImage2Params::imageIndex() const { - return m_imageIndex; -} - -void GetItemImage2Params::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &GetItemImage2Params::imageType() const { - return m_imageType; -} - -void GetItemImage2Params::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetItemImage2Params::itemId() const { - return m_itemId; -} - -void GetItemImage2Params::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const qint32 &GetItemImage2Params::maxHeight() const { - return m_maxHeight; -} - -void GetItemImage2Params::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - - -const qint32 &GetItemImage2Params::maxWidth() const { - return m_maxWidth; -} - -void GetItemImage2Params::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - - -const double &GetItemImage2Params::percentPlayed() const { - return m_percentPlayed; -} - -void GetItemImage2Params::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - - -const QString &GetItemImage2Params::tag() const { - return m_tag; -} - -void GetItemImage2Params::setTag(QString newTag) { - m_tag = newTag; -} - - -const qint32 &GetItemImage2Params::unplayedCount() const { - return m_unplayedCount; -} - -void GetItemImage2Params::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - - -const bool &GetItemImage2Params::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetItemImage2Params::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetItemImage2Params::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetItemImage2Params::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetItemImage2Params::backgroundColor() const { - return m_backgroundColor; -} - -void GetItemImage2Params::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetItemImage2Params::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetItemImage2Params::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetItemImage2Params::blur() const { - return m_blur.value(); -} - -void GetItemImage2Params::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetItemImage2Params::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetItemImage2Params::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetItemImage2Params::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetItemImage2Params::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetItemImage2Params::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetItemImage2Params::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetItemImage2Params::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetItemImage2Params::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetItemImage2Params::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetItemImage2Params::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const qint32 &GetItemImage2Params::height() const { - return m_height.value(); -} - -void GetItemImage2Params::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetItemImage2Params::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetItemImage2Params::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetItemImage2Params::quality() const { - return m_quality.value(); -} - -void GetItemImage2Params::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetItemImage2Params::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetItemImage2Params::setQualityNull() { - m_quality = std::nullopt; -} - - -const qint32 &GetItemImage2Params::width() const { - return m_width.value(); -} - -void GetItemImage2Params::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetItemImage2Params::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetItemImage2Params::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getitemimagebyindexparams.cpp b/core/src/loader/getitemimagebyindexparams.cpp deleted file mode 100644 index 59fd742..0000000 --- a/core/src/loader/getitemimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getitemimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetItemImageByIndexParams - -const qint32 &GetItemImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void GetItemImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &GetItemImageByIndexParams::imageType() const { - return m_imageType; -} - -void GetItemImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetItemImageByIndexParams::itemId() const { - return m_itemId; -} - -void GetItemImageByIndexParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetItemImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetItemImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetItemImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetItemImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetItemImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetItemImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetItemImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetItemImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetItemImageByIndexParams::blur() const { - return m_blur.value(); -} - -void GetItemImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetItemImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetItemImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetItemImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetItemImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetItemImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetItemImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetItemImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetItemImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetItemImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetItemImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetItemImageByIndexParams::format() const { - return m_format; -} - -void GetItemImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetItemImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetItemImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetItemImageByIndexParams::height() const { - return m_height.value(); -} - -void GetItemImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetItemImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetItemImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetItemImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetItemImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetItemImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetItemImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetItemImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetItemImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetItemImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetItemImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetItemImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetItemImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetItemImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetItemImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetItemImageByIndexParams::quality() const { - return m_quality.value(); -} - -void GetItemImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetItemImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetItemImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetItemImageByIndexParams::tag() const { - return m_tag; -} - -void GetItemImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetItemImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetItemImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetItemImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetItemImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetItemImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetItemImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetItemImageByIndexParams::width() const { - return m_width.value(); -} - -void GetItemImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetItemImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetItemImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getitemimageinfosparams.cpp b/core/src/loader/getitemimageinfosparams.cpp deleted file mode 100644 index 2a24f2e..0000000 --- a/core/src/loader/getitemimageinfosparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getitemimageinfosparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetItemImageInfosParams - -const QString &GetItemImageInfosParams::itemId() const { - return m_itemId; -} - -void GetItemImageInfosParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getitemimageparams.cpp b/core/src/loader/getitemimageparams.cpp deleted file mode 100644 index 2e0da2e..0000000 --- a/core/src/loader/getitemimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getitemimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetItemImageParams - -const ImageType &GetItemImageParams::imageType() const { - return m_imageType; -} - -void GetItemImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetItemImageParams::itemId() const { - return m_itemId; -} - -void GetItemImageParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetItemImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetItemImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetItemImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetItemImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetItemImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetItemImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetItemImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetItemImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetItemImageParams::blur() const { - return m_blur.value(); -} - -void GetItemImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetItemImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetItemImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetItemImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetItemImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetItemImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetItemImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetItemImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetItemImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetItemImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetItemImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetItemImageParams::format() const { - return m_format; -} - -void GetItemImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetItemImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetItemImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetItemImageParams::height() const { - return m_height.value(); -} - -void GetItemImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetItemImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetItemImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetItemImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void GetItemImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool GetItemImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void GetItemImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &GetItemImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetItemImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetItemImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetItemImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetItemImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetItemImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetItemImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetItemImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetItemImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetItemImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetItemImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetItemImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetItemImageParams::quality() const { - return m_quality.value(); -} - -void GetItemImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetItemImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetItemImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetItemImageParams::tag() const { - return m_tag; -} - -void GetItemImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetItemImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetItemImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetItemImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetItemImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetItemImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetItemImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetItemImageParams::width() const { - return m_width.value(); -} - -void GetItemImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetItemImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetItemImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getitemparams.cpp b/core/src/loader/getitemparams.cpp deleted file mode 100644 index d463b7c..0000000 --- a/core/src/loader/getitemparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetItemParams - -const QString &GetItemParams::itemId() const { - return m_itemId; -} - -void GetItemParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetItemParams::userId() const { - return m_userId; -} - -void GetItemParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getitemsbyuseridparams.cpp b/core/src/loader/getitemsbyuseridparams.cpp deleted file mode 100644 index 4c6621a..0000000 --- a/core/src/loader/getitemsbyuseridparams.cpp +++ /dev/null @@ -1,1709 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getitemsbyuseridparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetItemsByUserIdParams - -const QString &GetItemsByUserIdParams::userId() const { - return m_userId; -} - -void GetItemsByUserIdParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const QString &GetItemsByUserIdParams::adjacentTo() const { - return m_adjacentTo; -} - -void GetItemsByUserIdParams::setAdjacentTo(QString newAdjacentTo) { - m_adjacentTo = newAdjacentTo; -} - -bool GetItemsByUserIdParams::adjacentToNull() const { - // Nullable: true - // Type Nullable: true - - - return m_adjacentTo.isNull(); -} - -void GetItemsByUserIdParams::setAdjacentToNull() { - m_adjacentTo.clear(); -} - - -const QStringList &GetItemsByUserIdParams::albumArtistIds() const { - return m_albumArtistIds; -} - -void GetItemsByUserIdParams::setAlbumArtistIds(QStringList newAlbumArtistIds) { - m_albumArtistIds = newAlbumArtistIds; -} - -bool GetItemsByUserIdParams::albumArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_albumArtistIds.size() == 0; -} - -void GetItemsByUserIdParams::setAlbumArtistIdsNull() { - m_albumArtistIds.clear(); -} - - -const QStringList &GetItemsByUserIdParams::albumIds() const { - return m_albumIds; -} - -void GetItemsByUserIdParams::setAlbumIds(QStringList newAlbumIds) { - m_albumIds = newAlbumIds; -} - -bool GetItemsByUserIdParams::albumIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_albumIds.size() == 0; -} - -void GetItemsByUserIdParams::setAlbumIdsNull() { - m_albumIds.clear(); -} - - -const QStringList &GetItemsByUserIdParams::albums() const { - return m_albums; -} - -void GetItemsByUserIdParams::setAlbums(QStringList newAlbums) { - m_albums = newAlbums; -} - -bool GetItemsByUserIdParams::albumsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_albums.size() == 0; -} - -void GetItemsByUserIdParams::setAlbumsNull() { - m_albums.clear(); -} - - -const QStringList &GetItemsByUserIdParams::artistIds() const { - return m_artistIds; -} - -void GetItemsByUserIdParams::setArtistIds(QStringList newArtistIds) { - m_artistIds = newArtistIds; -} - -bool GetItemsByUserIdParams::artistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_artistIds.size() == 0; -} - -void GetItemsByUserIdParams::setArtistIdsNull() { - m_artistIds.clear(); -} - - -const QStringList &GetItemsByUserIdParams::artists() const { - return m_artists; -} - -void GetItemsByUserIdParams::setArtists(QStringList newArtists) { - m_artists = newArtists; -} - -bool GetItemsByUserIdParams::artistsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_artists.size() == 0; -} - -void GetItemsByUserIdParams::setArtistsNull() { - m_artists.clear(); -} - - -const bool &GetItemsByUserIdParams::collapseBoxSetItems() const { - return m_collapseBoxSetItems.value(); -} - -void GetItemsByUserIdParams::setCollapseBoxSetItems(bool newCollapseBoxSetItems) { - m_collapseBoxSetItems = newCollapseBoxSetItems; -} - -bool GetItemsByUserIdParams::collapseBoxSetItemsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_collapseBoxSetItems.has_value(); -} - -void GetItemsByUserIdParams::setCollapseBoxSetItemsNull() { - m_collapseBoxSetItems = std::nullopt; -} - - -const QStringList &GetItemsByUserIdParams::contributingArtistIds() const { - return m_contributingArtistIds; -} - -void GetItemsByUserIdParams::setContributingArtistIds(QStringList newContributingArtistIds) { - m_contributingArtistIds = newContributingArtistIds; -} - -bool GetItemsByUserIdParams::contributingArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_contributingArtistIds.size() == 0; -} - -void GetItemsByUserIdParams::setContributingArtistIdsNull() { - m_contributingArtistIds.clear(); -} - - -const QList &GetItemsByUserIdParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetItemsByUserIdParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetItemsByUserIdParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetItemsByUserIdParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetItemsByUserIdParams::enableImages() const { - return m_enableImages.value(); -} - -void GetItemsByUserIdParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetItemsByUserIdParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetItemsByUserIdParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetItemsByUserIdParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetItemsByUserIdParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetItemsByUserIdParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetItemsByUserIdParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetItemsByUserIdParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetItemsByUserIdParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QStringList &GetItemsByUserIdParams::excludeArtistIds() const { - return m_excludeArtistIds; -} - -void GetItemsByUserIdParams::setExcludeArtistIds(QStringList newExcludeArtistIds) { - m_excludeArtistIds = newExcludeArtistIds; -} - -bool GetItemsByUserIdParams::excludeArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeArtistIds.size() == 0; -} - -void GetItemsByUserIdParams::setExcludeArtistIdsNull() { - m_excludeArtistIds.clear(); -} - - -const QStringList &GetItemsByUserIdParams::excludeItemIds() const { - return m_excludeItemIds; -} - -void GetItemsByUserIdParams::setExcludeItemIds(QStringList newExcludeItemIds) { - m_excludeItemIds = newExcludeItemIds; -} - -bool GetItemsByUserIdParams::excludeItemIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemIds.size() == 0; -} - -void GetItemsByUserIdParams::setExcludeItemIdsNull() { - m_excludeItemIds.clear(); -} - - -const QStringList &GetItemsByUserIdParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetItemsByUserIdParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetItemsByUserIdParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetItemsByUserIdParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetItemsByUserIdParams::excludeLocationTypes() const { - return m_excludeLocationTypes; -} - -void GetItemsByUserIdParams::setExcludeLocationTypes(QList newExcludeLocationTypes) { - m_excludeLocationTypes = newExcludeLocationTypes; -} - -bool GetItemsByUserIdParams::excludeLocationTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeLocationTypes.size() == 0; -} - -void GetItemsByUserIdParams::setExcludeLocationTypesNull() { - m_excludeLocationTypes.clear(); -} - - -const QList &GetItemsByUserIdParams::fields() const { - return m_fields; -} - -void GetItemsByUserIdParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetItemsByUserIdParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetItemsByUserIdParams::setFieldsNull() { - m_fields.clear(); -} - - -const QList &GetItemsByUserIdParams::filters() const { - return m_filters; -} - -void GetItemsByUserIdParams::setFilters(QList newFilters) { - m_filters = newFilters; -} - -bool GetItemsByUserIdParams::filtersNull() const { - // Nullable: true - // Type Nullable: true - - - return m_filters.size() == 0; -} - -void GetItemsByUserIdParams::setFiltersNull() { - m_filters.clear(); -} - - -const QStringList &GetItemsByUserIdParams::genreIds() const { - return m_genreIds; -} - -void GetItemsByUserIdParams::setGenreIds(QStringList newGenreIds) { - m_genreIds = newGenreIds; -} - -bool GetItemsByUserIdParams::genreIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genreIds.size() == 0; -} - -void GetItemsByUserIdParams::setGenreIdsNull() { - m_genreIds.clear(); -} - - -const QStringList &GetItemsByUserIdParams::genres() const { - return m_genres; -} - -void GetItemsByUserIdParams::setGenres(QStringList newGenres) { - m_genres = newGenres; -} - -bool GetItemsByUserIdParams::genresNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genres.size() == 0; -} - -void GetItemsByUserIdParams::setGenresNull() { - m_genres.clear(); -} - - -const bool &GetItemsByUserIdParams::hasImdbId() const { - return m_hasImdbId.value(); -} - -void GetItemsByUserIdParams::setHasImdbId(bool newHasImdbId) { - m_hasImdbId = newHasImdbId; -} - -bool GetItemsByUserIdParams::hasImdbIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasImdbId.has_value(); -} - -void GetItemsByUserIdParams::setHasImdbIdNull() { - m_hasImdbId = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasOfficialRating() const { - return m_hasOfficialRating.value(); -} - -void GetItemsByUserIdParams::setHasOfficialRating(bool newHasOfficialRating) { - m_hasOfficialRating = newHasOfficialRating; -} - -bool GetItemsByUserIdParams::hasOfficialRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasOfficialRating.has_value(); -} - -void GetItemsByUserIdParams::setHasOfficialRatingNull() { - m_hasOfficialRating = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasOverview() const { - return m_hasOverview.value(); -} - -void GetItemsByUserIdParams::setHasOverview(bool newHasOverview) { - m_hasOverview = newHasOverview; -} - -bool GetItemsByUserIdParams::hasOverviewNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasOverview.has_value(); -} - -void GetItemsByUserIdParams::setHasOverviewNull() { - m_hasOverview = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasParentalRating() const { - return m_hasParentalRating.value(); -} - -void GetItemsByUserIdParams::setHasParentalRating(bool newHasParentalRating) { - m_hasParentalRating = newHasParentalRating; -} - -bool GetItemsByUserIdParams::hasParentalRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasParentalRating.has_value(); -} - -void GetItemsByUserIdParams::setHasParentalRatingNull() { - m_hasParentalRating = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasSpecialFeature() const { - return m_hasSpecialFeature.value(); -} - -void GetItemsByUserIdParams::setHasSpecialFeature(bool newHasSpecialFeature) { - m_hasSpecialFeature = newHasSpecialFeature; -} - -bool GetItemsByUserIdParams::hasSpecialFeatureNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasSpecialFeature.has_value(); -} - -void GetItemsByUserIdParams::setHasSpecialFeatureNull() { - m_hasSpecialFeature = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasSubtitles() const { - return m_hasSubtitles.value(); -} - -void GetItemsByUserIdParams::setHasSubtitles(bool newHasSubtitles) { - m_hasSubtitles = newHasSubtitles; -} - -bool GetItemsByUserIdParams::hasSubtitlesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasSubtitles.has_value(); -} - -void GetItemsByUserIdParams::setHasSubtitlesNull() { - m_hasSubtitles = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasThemeSong() const { - return m_hasThemeSong.value(); -} - -void GetItemsByUserIdParams::setHasThemeSong(bool newHasThemeSong) { - m_hasThemeSong = newHasThemeSong; -} - -bool GetItemsByUserIdParams::hasThemeSongNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasThemeSong.has_value(); -} - -void GetItemsByUserIdParams::setHasThemeSongNull() { - m_hasThemeSong = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasThemeVideo() const { - return m_hasThemeVideo.value(); -} - -void GetItemsByUserIdParams::setHasThemeVideo(bool newHasThemeVideo) { - m_hasThemeVideo = newHasThemeVideo; -} - -bool GetItemsByUserIdParams::hasThemeVideoNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasThemeVideo.has_value(); -} - -void GetItemsByUserIdParams::setHasThemeVideoNull() { - m_hasThemeVideo = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasTmdbId() const { - return m_hasTmdbId.value(); -} - -void GetItemsByUserIdParams::setHasTmdbId(bool newHasTmdbId) { - m_hasTmdbId = newHasTmdbId; -} - -bool GetItemsByUserIdParams::hasTmdbIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasTmdbId.has_value(); -} - -void GetItemsByUserIdParams::setHasTmdbIdNull() { - m_hasTmdbId = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasTrailer() const { - return m_hasTrailer.value(); -} - -void GetItemsByUserIdParams::setHasTrailer(bool newHasTrailer) { - m_hasTrailer = newHasTrailer; -} - -bool GetItemsByUserIdParams::hasTrailerNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasTrailer.has_value(); -} - -void GetItemsByUserIdParams::setHasTrailerNull() { - m_hasTrailer = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::hasTvdbId() const { - return m_hasTvdbId.value(); -} - -void GetItemsByUserIdParams::setHasTvdbId(bool newHasTvdbId) { - m_hasTvdbId = newHasTvdbId; -} - -bool GetItemsByUserIdParams::hasTvdbIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasTvdbId.has_value(); -} - -void GetItemsByUserIdParams::setHasTvdbIdNull() { - m_hasTvdbId = std::nullopt; -} - - -const QStringList &GetItemsByUserIdParams::ids() const { - return m_ids; -} - -void GetItemsByUserIdParams::setIds(QStringList newIds) { - m_ids = newIds; -} - -bool GetItemsByUserIdParams::idsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_ids.size() == 0; -} - -void GetItemsByUserIdParams::setIdsNull() { - m_ids.clear(); -} - - -const qint32 &GetItemsByUserIdParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetItemsByUserIdParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetItemsByUserIdParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetItemsByUserIdParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QList &GetItemsByUserIdParams::imageTypes() const { - return m_imageTypes; -} - -void GetItemsByUserIdParams::setImageTypes(QList newImageTypes) { - m_imageTypes = newImageTypes; -} - -bool GetItemsByUserIdParams::imageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_imageTypes.size() == 0; -} - -void GetItemsByUserIdParams::setImageTypesNull() { - m_imageTypes.clear(); -} - - -const QStringList &GetItemsByUserIdParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetItemsByUserIdParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetItemsByUserIdParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetItemsByUserIdParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetItemsByUserIdParams::is3D() const { - return m_is3D.value(); -} - -void GetItemsByUserIdParams::setIs3D(bool newIs3D) { - m_is3D = newIs3D; -} - -bool GetItemsByUserIdParams::is3DNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_is3D.has_value(); -} - -void GetItemsByUserIdParams::setIs3DNull() { - m_is3D = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::is4K() const { - return m_is4K.value(); -} - -void GetItemsByUserIdParams::setIs4K(bool newIs4K) { - m_is4K = newIs4K; -} - -bool GetItemsByUserIdParams::is4KNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_is4K.has_value(); -} - -void GetItemsByUserIdParams::setIs4KNull() { - m_is4K = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetItemsByUserIdParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetItemsByUserIdParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetItemsByUserIdParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::isHd() const { - return m_isHd.value(); -} - -void GetItemsByUserIdParams::setIsHd(bool newIsHd) { - m_isHd = newIsHd; -} - -bool GetItemsByUserIdParams::isHdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isHd.has_value(); -} - -void GetItemsByUserIdParams::setIsHdNull() { - m_isHd = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::isLocked() const { - return m_isLocked.value(); -} - -void GetItemsByUserIdParams::setIsLocked(bool newIsLocked) { - m_isLocked = newIsLocked; -} - -bool GetItemsByUserIdParams::isLockedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isLocked.has_value(); -} - -void GetItemsByUserIdParams::setIsLockedNull() { - m_isLocked = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::isMissing() const { - return m_isMissing.value(); -} - -void GetItemsByUserIdParams::setIsMissing(bool newIsMissing) { - m_isMissing = newIsMissing; -} - -bool GetItemsByUserIdParams::isMissingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMissing.has_value(); -} - -void GetItemsByUserIdParams::setIsMissingNull() { - m_isMissing = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::isPlaceHolder() const { - return m_isPlaceHolder.value(); -} - -void GetItemsByUserIdParams::setIsPlaceHolder(bool newIsPlaceHolder) { - m_isPlaceHolder = newIsPlaceHolder; -} - -bool GetItemsByUserIdParams::isPlaceHolderNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isPlaceHolder.has_value(); -} - -void GetItemsByUserIdParams::setIsPlaceHolderNull() { - m_isPlaceHolder = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::isPlayed() const { - return m_isPlayed.value(); -} - -void GetItemsByUserIdParams::setIsPlayed(bool newIsPlayed) { - m_isPlayed = newIsPlayed; -} - -bool GetItemsByUserIdParams::isPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isPlayed.has_value(); -} - -void GetItemsByUserIdParams::setIsPlayedNull() { - m_isPlayed = std::nullopt; -} - - -const bool &GetItemsByUserIdParams::isUnaired() const { - return m_isUnaired.value(); -} - -void GetItemsByUserIdParams::setIsUnaired(bool newIsUnaired) { - m_isUnaired = newIsUnaired; -} - -bool GetItemsByUserIdParams::isUnairedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isUnaired.has_value(); -} - -void GetItemsByUserIdParams::setIsUnairedNull() { - m_isUnaired = std::nullopt; -} - - -const qint32 &GetItemsByUserIdParams::limit() const { - return m_limit.value(); -} - -void GetItemsByUserIdParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetItemsByUserIdParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetItemsByUserIdParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QList &GetItemsByUserIdParams::locationTypes() const { - return m_locationTypes; -} - -void GetItemsByUserIdParams::setLocationTypes(QList newLocationTypes) { - m_locationTypes = newLocationTypes; -} - -bool GetItemsByUserIdParams::locationTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_locationTypes.size() == 0; -} - -void GetItemsByUserIdParams::setLocationTypesNull() { - m_locationTypes.clear(); -} - - -const qint32 &GetItemsByUserIdParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetItemsByUserIdParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetItemsByUserIdParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetItemsByUserIdParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const QString &GetItemsByUserIdParams::maxOfficialRating() const { - return m_maxOfficialRating; -} - -void GetItemsByUserIdParams::setMaxOfficialRating(QString newMaxOfficialRating) { - m_maxOfficialRating = newMaxOfficialRating; -} - -bool GetItemsByUserIdParams::maxOfficialRatingNull() const { - // Nullable: true - // Type Nullable: true - - - return m_maxOfficialRating.isNull(); -} - -void GetItemsByUserIdParams::setMaxOfficialRatingNull() { - m_maxOfficialRating.clear(); -} - - -const QDateTime &GetItemsByUserIdParams::maxPremiereDate() const { - return m_maxPremiereDate; -} - -void GetItemsByUserIdParams::setMaxPremiereDate(QDateTime newMaxPremiereDate) { - m_maxPremiereDate = newMaxPremiereDate; -} - -bool GetItemsByUserIdParams::maxPremiereDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_maxPremiereDate.isNull(); -} - -void GetItemsByUserIdParams::setMaxPremiereDateNull() { - m_maxPremiereDate= QDateTime(); -} - - -const qint32 &GetItemsByUserIdParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetItemsByUserIdParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetItemsByUserIdParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetItemsByUserIdParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const QStringList &GetItemsByUserIdParams::mediaTypes() const { - return m_mediaTypes; -} - -void GetItemsByUserIdParams::setMediaTypes(QStringList newMediaTypes) { - m_mediaTypes = newMediaTypes; -} - -bool GetItemsByUserIdParams::mediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaTypes.size() == 0; -} - -void GetItemsByUserIdParams::setMediaTypesNull() { - m_mediaTypes.clear(); -} - - -const double &GetItemsByUserIdParams::minCommunityRating() const { - return m_minCommunityRating.value(); -} - -void GetItemsByUserIdParams::setMinCommunityRating(double newMinCommunityRating) { - m_minCommunityRating = newMinCommunityRating; -} - -bool GetItemsByUserIdParams::minCommunityRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minCommunityRating.has_value(); -} - -void GetItemsByUserIdParams::setMinCommunityRatingNull() { - m_minCommunityRating = std::nullopt; -} - - -const double &GetItemsByUserIdParams::minCriticRating() const { - return m_minCriticRating.value(); -} - -void GetItemsByUserIdParams::setMinCriticRating(double newMinCriticRating) { - m_minCriticRating = newMinCriticRating; -} - -bool GetItemsByUserIdParams::minCriticRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minCriticRating.has_value(); -} - -void GetItemsByUserIdParams::setMinCriticRatingNull() { - m_minCriticRating = std::nullopt; -} - - -const QDateTime &GetItemsByUserIdParams::minDateLastSaved() const { - return m_minDateLastSaved; -} - -void GetItemsByUserIdParams::setMinDateLastSaved(QDateTime newMinDateLastSaved) { - m_minDateLastSaved = newMinDateLastSaved; -} - -bool GetItemsByUserIdParams::minDateLastSavedNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minDateLastSaved.isNull(); -} - -void GetItemsByUserIdParams::setMinDateLastSavedNull() { - m_minDateLastSaved= QDateTime(); -} - - -const QDateTime &GetItemsByUserIdParams::minDateLastSavedForUser() const { - return m_minDateLastSavedForUser; -} - -void GetItemsByUserIdParams::setMinDateLastSavedForUser(QDateTime newMinDateLastSavedForUser) { - m_minDateLastSavedForUser = newMinDateLastSavedForUser; -} - -bool GetItemsByUserIdParams::minDateLastSavedForUserNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minDateLastSavedForUser.isNull(); -} - -void GetItemsByUserIdParams::setMinDateLastSavedForUserNull() { - m_minDateLastSavedForUser= QDateTime(); -} - - -const qint32 &GetItemsByUserIdParams::minHeight() const { - return m_minHeight.value(); -} - -void GetItemsByUserIdParams::setMinHeight(qint32 newMinHeight) { - m_minHeight = newMinHeight; -} - -bool GetItemsByUserIdParams::minHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minHeight.has_value(); -} - -void GetItemsByUserIdParams::setMinHeightNull() { - m_minHeight = std::nullopt; -} - - -const QString &GetItemsByUserIdParams::minOfficialRating() const { - return m_minOfficialRating; -} - -void GetItemsByUserIdParams::setMinOfficialRating(QString newMinOfficialRating) { - m_minOfficialRating = newMinOfficialRating; -} - -bool GetItemsByUserIdParams::minOfficialRatingNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minOfficialRating.isNull(); -} - -void GetItemsByUserIdParams::setMinOfficialRatingNull() { - m_minOfficialRating.clear(); -} - - -const QDateTime &GetItemsByUserIdParams::minPremiereDate() const { - return m_minPremiereDate; -} - -void GetItemsByUserIdParams::setMinPremiereDate(QDateTime newMinPremiereDate) { - m_minPremiereDate = newMinPremiereDate; -} - -bool GetItemsByUserIdParams::minPremiereDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minPremiereDate.isNull(); -} - -void GetItemsByUserIdParams::setMinPremiereDateNull() { - m_minPremiereDate= QDateTime(); -} - - -const qint32 &GetItemsByUserIdParams::minWidth() const { - return m_minWidth.value(); -} - -void GetItemsByUserIdParams::setMinWidth(qint32 newMinWidth) { - m_minWidth = newMinWidth; -} - -bool GetItemsByUserIdParams::minWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minWidth.has_value(); -} - -void GetItemsByUserIdParams::setMinWidthNull() { - m_minWidth = std::nullopt; -} - - -const QString &GetItemsByUserIdParams::nameLessThan() const { - return m_nameLessThan; -} - -void GetItemsByUserIdParams::setNameLessThan(QString newNameLessThan) { - m_nameLessThan = newNameLessThan; -} - -bool GetItemsByUserIdParams::nameLessThanNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameLessThan.isNull(); -} - -void GetItemsByUserIdParams::setNameLessThanNull() { - m_nameLessThan.clear(); -} - - -const QString &GetItemsByUserIdParams::nameStartsWith() const { - return m_nameStartsWith; -} - -void GetItemsByUserIdParams::setNameStartsWith(QString newNameStartsWith) { - m_nameStartsWith = newNameStartsWith; -} - -bool GetItemsByUserIdParams::nameStartsWithNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWith.isNull(); -} - -void GetItemsByUserIdParams::setNameStartsWithNull() { - m_nameStartsWith.clear(); -} - - -const QString &GetItemsByUserIdParams::nameStartsWithOrGreater() const { - return m_nameStartsWithOrGreater; -} - -void GetItemsByUserIdParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) { - m_nameStartsWithOrGreater = newNameStartsWithOrGreater; -} - -bool GetItemsByUserIdParams::nameStartsWithOrGreaterNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWithOrGreater.isNull(); -} - -void GetItemsByUserIdParams::setNameStartsWithOrGreaterNull() { - m_nameStartsWithOrGreater.clear(); -} - - -const QStringList &GetItemsByUserIdParams::officialRatings() const { - return m_officialRatings; -} - -void GetItemsByUserIdParams::setOfficialRatings(QStringList newOfficialRatings) { - m_officialRatings = newOfficialRatings; -} - -bool GetItemsByUserIdParams::officialRatingsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_officialRatings.size() == 0; -} - -void GetItemsByUserIdParams::setOfficialRatingsNull() { - m_officialRatings.clear(); -} - - -const QString &GetItemsByUserIdParams::parentId() const { - return m_parentId; -} - -void GetItemsByUserIdParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetItemsByUserIdParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetItemsByUserIdParams::setParentIdNull() { - m_parentId.clear(); -} - - -const qint32 &GetItemsByUserIdParams::parentIndexNumber() const { - return m_parentIndexNumber.value(); -} - -void GetItemsByUserIdParams::setParentIndexNumber(qint32 newParentIndexNumber) { - m_parentIndexNumber = newParentIndexNumber; -} - -bool GetItemsByUserIdParams::parentIndexNumberNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_parentIndexNumber.has_value(); -} - -void GetItemsByUserIdParams::setParentIndexNumberNull() { - m_parentIndexNumber = std::nullopt; -} - - -const QString &GetItemsByUserIdParams::person() const { - return m_person; -} - -void GetItemsByUserIdParams::setPerson(QString newPerson) { - m_person = newPerson; -} - -bool GetItemsByUserIdParams::personNull() const { - // Nullable: true - // Type Nullable: true - - - return m_person.isNull(); -} - -void GetItemsByUserIdParams::setPersonNull() { - m_person.clear(); -} - - -const QStringList &GetItemsByUserIdParams::personIds() const { - return m_personIds; -} - -void GetItemsByUserIdParams::setPersonIds(QStringList newPersonIds) { - m_personIds = newPersonIds; -} - -bool GetItemsByUserIdParams::personIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personIds.size() == 0; -} - -void GetItemsByUserIdParams::setPersonIdsNull() { - m_personIds.clear(); -} - - -const QStringList &GetItemsByUserIdParams::personTypes() const { - return m_personTypes; -} - -void GetItemsByUserIdParams::setPersonTypes(QStringList newPersonTypes) { - m_personTypes = newPersonTypes; -} - -bool GetItemsByUserIdParams::personTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personTypes.size() == 0; -} - -void GetItemsByUserIdParams::setPersonTypesNull() { - m_personTypes.clear(); -} - - -const bool &GetItemsByUserIdParams::recursive() const { - return m_recursive.value(); -} - -void GetItemsByUserIdParams::setRecursive(bool newRecursive) { - m_recursive = newRecursive; -} - -bool GetItemsByUserIdParams::recursiveNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_recursive.has_value(); -} - -void GetItemsByUserIdParams::setRecursiveNull() { - m_recursive = std::nullopt; -} - - -const QString &GetItemsByUserIdParams::searchTerm() const { - return m_searchTerm; -} - -void GetItemsByUserIdParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetItemsByUserIdParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetItemsByUserIdParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const QList &GetItemsByUserIdParams::seriesStatus() const { - return m_seriesStatus; -} - -void GetItemsByUserIdParams::setSeriesStatus(QList newSeriesStatus) { - m_seriesStatus = newSeriesStatus; -} - -bool GetItemsByUserIdParams::seriesStatusNull() const { - // Nullable: true - // Type Nullable: true - - - return m_seriesStatus.size() == 0; -} - -void GetItemsByUserIdParams::setSeriesStatusNull() { - m_seriesStatus.clear(); -} - - -const QString &GetItemsByUserIdParams::sortBy() const { - return m_sortBy; -} - -void GetItemsByUserIdParams::setSortBy(QString newSortBy) { - m_sortBy = newSortBy; -} - -bool GetItemsByUserIdParams::sortByNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortBy.isNull(); -} - -void GetItemsByUserIdParams::setSortByNull() { - m_sortBy.clear(); -} - - -const QString &GetItemsByUserIdParams::sortOrder() const { - return m_sortOrder; -} - -void GetItemsByUserIdParams::setSortOrder(QString newSortOrder) { - m_sortOrder = newSortOrder; -} - -bool GetItemsByUserIdParams::sortOrderNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortOrder.isNull(); -} - -void GetItemsByUserIdParams::setSortOrderNull() { - m_sortOrder.clear(); -} - - -const qint32 &GetItemsByUserIdParams::startIndex() const { - return m_startIndex.value(); -} - -void GetItemsByUserIdParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetItemsByUserIdParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetItemsByUserIdParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QStringList &GetItemsByUserIdParams::studioIds() const { - return m_studioIds; -} - -void GetItemsByUserIdParams::setStudioIds(QStringList newStudioIds) { - m_studioIds = newStudioIds; -} - -bool GetItemsByUserIdParams::studioIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studioIds.size() == 0; -} - -void GetItemsByUserIdParams::setStudioIdsNull() { - m_studioIds.clear(); -} - - -const QStringList &GetItemsByUserIdParams::studios() const { - return m_studios; -} - -void GetItemsByUserIdParams::setStudios(QStringList newStudios) { - m_studios = newStudios; -} - -bool GetItemsByUserIdParams::studiosNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studios.size() == 0; -} - -void GetItemsByUserIdParams::setStudiosNull() { - m_studios.clear(); -} - - -const QStringList &GetItemsByUserIdParams::tags() const { - return m_tags; -} - -void GetItemsByUserIdParams::setTags(QStringList newTags) { - m_tags = newTags; -} - -bool GetItemsByUserIdParams::tagsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tags.size() == 0; -} - -void GetItemsByUserIdParams::setTagsNull() { - m_tags.clear(); -} - - -const QList &GetItemsByUserIdParams::videoTypes() const { - return m_videoTypes; -} - -void GetItemsByUserIdParams::setVideoTypes(QList newVideoTypes) { - m_videoTypes = newVideoTypes; -} - -bool GetItemsByUserIdParams::videoTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoTypes.size() == 0; -} - -void GetItemsByUserIdParams::setVideoTypesNull() { - m_videoTypes.clear(); -} - - -const QList &GetItemsByUserIdParams::years() const { - return m_years; -} - -void GetItemsByUserIdParams::setYears(QList newYears) { - m_years = newYears; -} - -bool GetItemsByUserIdParams::yearsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_years.size() == 0; -} - -void GetItemsByUserIdParams::setYearsNull() { - m_years.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getitemsparams.cpp b/core/src/loader/getitemsparams.cpp deleted file mode 100644 index 6c9e627..0000000 --- a/core/src/loader/getitemsparams.cpp +++ /dev/null @@ -1,1721 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getitemsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetItemsParams - -const QString &GetItemsParams::adjacentTo() const { - return m_adjacentTo; -} - -void GetItemsParams::setAdjacentTo(QString newAdjacentTo) { - m_adjacentTo = newAdjacentTo; -} - -bool GetItemsParams::adjacentToNull() const { - // Nullable: true - // Type Nullable: true - - - return m_adjacentTo.isNull(); -} - -void GetItemsParams::setAdjacentToNull() { - m_adjacentTo.clear(); -} - - -const QStringList &GetItemsParams::albumArtistIds() const { - return m_albumArtistIds; -} - -void GetItemsParams::setAlbumArtistIds(QStringList newAlbumArtistIds) { - m_albumArtistIds = newAlbumArtistIds; -} - -bool GetItemsParams::albumArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_albumArtistIds.size() == 0; -} - -void GetItemsParams::setAlbumArtistIdsNull() { - m_albumArtistIds.clear(); -} - - -const QStringList &GetItemsParams::albumIds() const { - return m_albumIds; -} - -void GetItemsParams::setAlbumIds(QStringList newAlbumIds) { - m_albumIds = newAlbumIds; -} - -bool GetItemsParams::albumIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_albumIds.size() == 0; -} - -void GetItemsParams::setAlbumIdsNull() { - m_albumIds.clear(); -} - - -const QStringList &GetItemsParams::albums() const { - return m_albums; -} - -void GetItemsParams::setAlbums(QStringList newAlbums) { - m_albums = newAlbums; -} - -bool GetItemsParams::albumsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_albums.size() == 0; -} - -void GetItemsParams::setAlbumsNull() { - m_albums.clear(); -} - - -const QStringList &GetItemsParams::artistIds() const { - return m_artistIds; -} - -void GetItemsParams::setArtistIds(QStringList newArtistIds) { - m_artistIds = newArtistIds; -} - -bool GetItemsParams::artistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_artistIds.size() == 0; -} - -void GetItemsParams::setArtistIdsNull() { - m_artistIds.clear(); -} - - -const QStringList &GetItemsParams::artists() const { - return m_artists; -} - -void GetItemsParams::setArtists(QStringList newArtists) { - m_artists = newArtists; -} - -bool GetItemsParams::artistsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_artists.size() == 0; -} - -void GetItemsParams::setArtistsNull() { - m_artists.clear(); -} - - -const bool &GetItemsParams::collapseBoxSetItems() const { - return m_collapseBoxSetItems.value(); -} - -void GetItemsParams::setCollapseBoxSetItems(bool newCollapseBoxSetItems) { - m_collapseBoxSetItems = newCollapseBoxSetItems; -} - -bool GetItemsParams::collapseBoxSetItemsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_collapseBoxSetItems.has_value(); -} - -void GetItemsParams::setCollapseBoxSetItemsNull() { - m_collapseBoxSetItems = std::nullopt; -} - - -const QStringList &GetItemsParams::contributingArtistIds() const { - return m_contributingArtistIds; -} - -void GetItemsParams::setContributingArtistIds(QStringList newContributingArtistIds) { - m_contributingArtistIds = newContributingArtistIds; -} - -bool GetItemsParams::contributingArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_contributingArtistIds.size() == 0; -} - -void GetItemsParams::setContributingArtistIdsNull() { - m_contributingArtistIds.clear(); -} - - -const QList &GetItemsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetItemsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetItemsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetItemsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetItemsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetItemsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetItemsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetItemsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetItemsParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetItemsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetItemsParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetItemsParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetItemsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetItemsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetItemsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetItemsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QStringList &GetItemsParams::excludeArtistIds() const { - return m_excludeArtistIds; -} - -void GetItemsParams::setExcludeArtistIds(QStringList newExcludeArtistIds) { - m_excludeArtistIds = newExcludeArtistIds; -} - -bool GetItemsParams::excludeArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeArtistIds.size() == 0; -} - -void GetItemsParams::setExcludeArtistIdsNull() { - m_excludeArtistIds.clear(); -} - - -const QStringList &GetItemsParams::excludeItemIds() const { - return m_excludeItemIds; -} - -void GetItemsParams::setExcludeItemIds(QStringList newExcludeItemIds) { - m_excludeItemIds = newExcludeItemIds; -} - -bool GetItemsParams::excludeItemIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemIds.size() == 0; -} - -void GetItemsParams::setExcludeItemIdsNull() { - m_excludeItemIds.clear(); -} - - -const QStringList &GetItemsParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetItemsParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetItemsParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetItemsParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetItemsParams::excludeLocationTypes() const { - return m_excludeLocationTypes; -} - -void GetItemsParams::setExcludeLocationTypes(QList newExcludeLocationTypes) { - m_excludeLocationTypes = newExcludeLocationTypes; -} - -bool GetItemsParams::excludeLocationTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeLocationTypes.size() == 0; -} - -void GetItemsParams::setExcludeLocationTypesNull() { - m_excludeLocationTypes.clear(); -} - - -const QList &GetItemsParams::fields() const { - return m_fields; -} - -void GetItemsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetItemsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetItemsParams::setFieldsNull() { - m_fields.clear(); -} - - -const QList &GetItemsParams::filters() const { - return m_filters; -} - -void GetItemsParams::setFilters(QList newFilters) { - m_filters = newFilters; -} - -bool GetItemsParams::filtersNull() const { - // Nullable: true - // Type Nullable: true - - - return m_filters.size() == 0; -} - -void GetItemsParams::setFiltersNull() { - m_filters.clear(); -} - - -const QStringList &GetItemsParams::genreIds() const { - return m_genreIds; -} - -void GetItemsParams::setGenreIds(QStringList newGenreIds) { - m_genreIds = newGenreIds; -} - -bool GetItemsParams::genreIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genreIds.size() == 0; -} - -void GetItemsParams::setGenreIdsNull() { - m_genreIds.clear(); -} - - -const QStringList &GetItemsParams::genres() const { - return m_genres; -} - -void GetItemsParams::setGenres(QStringList newGenres) { - m_genres = newGenres; -} - -bool GetItemsParams::genresNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genres.size() == 0; -} - -void GetItemsParams::setGenresNull() { - m_genres.clear(); -} - - -const bool &GetItemsParams::hasImdbId() const { - return m_hasImdbId.value(); -} - -void GetItemsParams::setHasImdbId(bool newHasImdbId) { - m_hasImdbId = newHasImdbId; -} - -bool GetItemsParams::hasImdbIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasImdbId.has_value(); -} - -void GetItemsParams::setHasImdbIdNull() { - m_hasImdbId = std::nullopt; -} - - -const bool &GetItemsParams::hasOfficialRating() const { - return m_hasOfficialRating.value(); -} - -void GetItemsParams::setHasOfficialRating(bool newHasOfficialRating) { - m_hasOfficialRating = newHasOfficialRating; -} - -bool GetItemsParams::hasOfficialRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasOfficialRating.has_value(); -} - -void GetItemsParams::setHasOfficialRatingNull() { - m_hasOfficialRating = std::nullopt; -} - - -const bool &GetItemsParams::hasOverview() const { - return m_hasOverview.value(); -} - -void GetItemsParams::setHasOverview(bool newHasOverview) { - m_hasOverview = newHasOverview; -} - -bool GetItemsParams::hasOverviewNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasOverview.has_value(); -} - -void GetItemsParams::setHasOverviewNull() { - m_hasOverview = std::nullopt; -} - - -const bool &GetItemsParams::hasParentalRating() const { - return m_hasParentalRating.value(); -} - -void GetItemsParams::setHasParentalRating(bool newHasParentalRating) { - m_hasParentalRating = newHasParentalRating; -} - -bool GetItemsParams::hasParentalRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasParentalRating.has_value(); -} - -void GetItemsParams::setHasParentalRatingNull() { - m_hasParentalRating = std::nullopt; -} - - -const bool &GetItemsParams::hasSpecialFeature() const { - return m_hasSpecialFeature.value(); -} - -void GetItemsParams::setHasSpecialFeature(bool newHasSpecialFeature) { - m_hasSpecialFeature = newHasSpecialFeature; -} - -bool GetItemsParams::hasSpecialFeatureNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasSpecialFeature.has_value(); -} - -void GetItemsParams::setHasSpecialFeatureNull() { - m_hasSpecialFeature = std::nullopt; -} - - -const bool &GetItemsParams::hasSubtitles() const { - return m_hasSubtitles.value(); -} - -void GetItemsParams::setHasSubtitles(bool newHasSubtitles) { - m_hasSubtitles = newHasSubtitles; -} - -bool GetItemsParams::hasSubtitlesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasSubtitles.has_value(); -} - -void GetItemsParams::setHasSubtitlesNull() { - m_hasSubtitles = std::nullopt; -} - - -const bool &GetItemsParams::hasThemeSong() const { - return m_hasThemeSong.value(); -} - -void GetItemsParams::setHasThemeSong(bool newHasThemeSong) { - m_hasThemeSong = newHasThemeSong; -} - -bool GetItemsParams::hasThemeSongNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasThemeSong.has_value(); -} - -void GetItemsParams::setHasThemeSongNull() { - m_hasThemeSong = std::nullopt; -} - - -const bool &GetItemsParams::hasThemeVideo() const { - return m_hasThemeVideo.value(); -} - -void GetItemsParams::setHasThemeVideo(bool newHasThemeVideo) { - m_hasThemeVideo = newHasThemeVideo; -} - -bool GetItemsParams::hasThemeVideoNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasThemeVideo.has_value(); -} - -void GetItemsParams::setHasThemeVideoNull() { - m_hasThemeVideo = std::nullopt; -} - - -const bool &GetItemsParams::hasTmdbId() const { - return m_hasTmdbId.value(); -} - -void GetItemsParams::setHasTmdbId(bool newHasTmdbId) { - m_hasTmdbId = newHasTmdbId; -} - -bool GetItemsParams::hasTmdbIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasTmdbId.has_value(); -} - -void GetItemsParams::setHasTmdbIdNull() { - m_hasTmdbId = std::nullopt; -} - - -const bool &GetItemsParams::hasTrailer() const { - return m_hasTrailer.value(); -} - -void GetItemsParams::setHasTrailer(bool newHasTrailer) { - m_hasTrailer = newHasTrailer; -} - -bool GetItemsParams::hasTrailerNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasTrailer.has_value(); -} - -void GetItemsParams::setHasTrailerNull() { - m_hasTrailer = std::nullopt; -} - - -const bool &GetItemsParams::hasTvdbId() const { - return m_hasTvdbId.value(); -} - -void GetItemsParams::setHasTvdbId(bool newHasTvdbId) { - m_hasTvdbId = newHasTvdbId; -} - -bool GetItemsParams::hasTvdbIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasTvdbId.has_value(); -} - -void GetItemsParams::setHasTvdbIdNull() { - m_hasTvdbId = std::nullopt; -} - - -const QStringList &GetItemsParams::ids() const { - return m_ids; -} - -void GetItemsParams::setIds(QStringList newIds) { - m_ids = newIds; -} - -bool GetItemsParams::idsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_ids.size() == 0; -} - -void GetItemsParams::setIdsNull() { - m_ids.clear(); -} - - -const qint32 &GetItemsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetItemsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetItemsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetItemsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QList &GetItemsParams::imageTypes() const { - return m_imageTypes; -} - -void GetItemsParams::setImageTypes(QList newImageTypes) { - m_imageTypes = newImageTypes; -} - -bool GetItemsParams::imageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_imageTypes.size() == 0; -} - -void GetItemsParams::setImageTypesNull() { - m_imageTypes.clear(); -} - - -const QStringList &GetItemsParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetItemsParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetItemsParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetItemsParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetItemsParams::is3D() const { - return m_is3D.value(); -} - -void GetItemsParams::setIs3D(bool newIs3D) { - m_is3D = newIs3D; -} - -bool GetItemsParams::is3DNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_is3D.has_value(); -} - -void GetItemsParams::setIs3DNull() { - m_is3D = std::nullopt; -} - - -const bool &GetItemsParams::is4K() const { - return m_is4K.value(); -} - -void GetItemsParams::setIs4K(bool newIs4K) { - m_is4K = newIs4K; -} - -bool GetItemsParams::is4KNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_is4K.has_value(); -} - -void GetItemsParams::setIs4KNull() { - m_is4K = std::nullopt; -} - - -const bool &GetItemsParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetItemsParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetItemsParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetItemsParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const bool &GetItemsParams::isHd() const { - return m_isHd.value(); -} - -void GetItemsParams::setIsHd(bool newIsHd) { - m_isHd = newIsHd; -} - -bool GetItemsParams::isHdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isHd.has_value(); -} - -void GetItemsParams::setIsHdNull() { - m_isHd = std::nullopt; -} - - -const bool &GetItemsParams::isLocked() const { - return m_isLocked.value(); -} - -void GetItemsParams::setIsLocked(bool newIsLocked) { - m_isLocked = newIsLocked; -} - -bool GetItemsParams::isLockedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isLocked.has_value(); -} - -void GetItemsParams::setIsLockedNull() { - m_isLocked = std::nullopt; -} - - -const bool &GetItemsParams::isMissing() const { - return m_isMissing.value(); -} - -void GetItemsParams::setIsMissing(bool newIsMissing) { - m_isMissing = newIsMissing; -} - -bool GetItemsParams::isMissingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMissing.has_value(); -} - -void GetItemsParams::setIsMissingNull() { - m_isMissing = std::nullopt; -} - - -const bool &GetItemsParams::isPlaceHolder() const { - return m_isPlaceHolder.value(); -} - -void GetItemsParams::setIsPlaceHolder(bool newIsPlaceHolder) { - m_isPlaceHolder = newIsPlaceHolder; -} - -bool GetItemsParams::isPlaceHolderNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isPlaceHolder.has_value(); -} - -void GetItemsParams::setIsPlaceHolderNull() { - m_isPlaceHolder = std::nullopt; -} - - -const bool &GetItemsParams::isPlayed() const { - return m_isPlayed.value(); -} - -void GetItemsParams::setIsPlayed(bool newIsPlayed) { - m_isPlayed = newIsPlayed; -} - -bool GetItemsParams::isPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isPlayed.has_value(); -} - -void GetItemsParams::setIsPlayedNull() { - m_isPlayed = std::nullopt; -} - - -const bool &GetItemsParams::isUnaired() const { - return m_isUnaired.value(); -} - -void GetItemsParams::setIsUnaired(bool newIsUnaired) { - m_isUnaired = newIsUnaired; -} - -bool GetItemsParams::isUnairedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isUnaired.has_value(); -} - -void GetItemsParams::setIsUnairedNull() { - m_isUnaired = std::nullopt; -} - - -const qint32 &GetItemsParams::limit() const { - return m_limit.value(); -} - -void GetItemsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetItemsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetItemsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QList &GetItemsParams::locationTypes() const { - return m_locationTypes; -} - -void GetItemsParams::setLocationTypes(QList newLocationTypes) { - m_locationTypes = newLocationTypes; -} - -bool GetItemsParams::locationTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_locationTypes.size() == 0; -} - -void GetItemsParams::setLocationTypesNull() { - m_locationTypes.clear(); -} - - -const qint32 &GetItemsParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetItemsParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetItemsParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetItemsParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const QString &GetItemsParams::maxOfficialRating() const { - return m_maxOfficialRating; -} - -void GetItemsParams::setMaxOfficialRating(QString newMaxOfficialRating) { - m_maxOfficialRating = newMaxOfficialRating; -} - -bool GetItemsParams::maxOfficialRatingNull() const { - // Nullable: true - // Type Nullable: true - - - return m_maxOfficialRating.isNull(); -} - -void GetItemsParams::setMaxOfficialRatingNull() { - m_maxOfficialRating.clear(); -} - - -const QDateTime &GetItemsParams::maxPremiereDate() const { - return m_maxPremiereDate; -} - -void GetItemsParams::setMaxPremiereDate(QDateTime newMaxPremiereDate) { - m_maxPremiereDate = newMaxPremiereDate; -} - -bool GetItemsParams::maxPremiereDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_maxPremiereDate.isNull(); -} - -void GetItemsParams::setMaxPremiereDateNull() { - m_maxPremiereDate= QDateTime(); -} - - -const qint32 &GetItemsParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetItemsParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetItemsParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetItemsParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const QStringList &GetItemsParams::mediaTypes() const { - return m_mediaTypes; -} - -void GetItemsParams::setMediaTypes(QStringList newMediaTypes) { - m_mediaTypes = newMediaTypes; -} - -bool GetItemsParams::mediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaTypes.size() == 0; -} - -void GetItemsParams::setMediaTypesNull() { - m_mediaTypes.clear(); -} - - -const double &GetItemsParams::minCommunityRating() const { - return m_minCommunityRating.value(); -} - -void GetItemsParams::setMinCommunityRating(double newMinCommunityRating) { - m_minCommunityRating = newMinCommunityRating; -} - -bool GetItemsParams::minCommunityRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minCommunityRating.has_value(); -} - -void GetItemsParams::setMinCommunityRatingNull() { - m_minCommunityRating = std::nullopt; -} - - -const double &GetItemsParams::minCriticRating() const { - return m_minCriticRating.value(); -} - -void GetItemsParams::setMinCriticRating(double newMinCriticRating) { - m_minCriticRating = newMinCriticRating; -} - -bool GetItemsParams::minCriticRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minCriticRating.has_value(); -} - -void GetItemsParams::setMinCriticRatingNull() { - m_minCriticRating = std::nullopt; -} - - -const QDateTime &GetItemsParams::minDateLastSaved() const { - return m_minDateLastSaved; -} - -void GetItemsParams::setMinDateLastSaved(QDateTime newMinDateLastSaved) { - m_minDateLastSaved = newMinDateLastSaved; -} - -bool GetItemsParams::minDateLastSavedNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minDateLastSaved.isNull(); -} - -void GetItemsParams::setMinDateLastSavedNull() { - m_minDateLastSaved= QDateTime(); -} - - -const QDateTime &GetItemsParams::minDateLastSavedForUser() const { - return m_minDateLastSavedForUser; -} - -void GetItemsParams::setMinDateLastSavedForUser(QDateTime newMinDateLastSavedForUser) { - m_minDateLastSavedForUser = newMinDateLastSavedForUser; -} - -bool GetItemsParams::minDateLastSavedForUserNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minDateLastSavedForUser.isNull(); -} - -void GetItemsParams::setMinDateLastSavedForUserNull() { - m_minDateLastSavedForUser= QDateTime(); -} - - -const qint32 &GetItemsParams::minHeight() const { - return m_minHeight.value(); -} - -void GetItemsParams::setMinHeight(qint32 newMinHeight) { - m_minHeight = newMinHeight; -} - -bool GetItemsParams::minHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minHeight.has_value(); -} - -void GetItemsParams::setMinHeightNull() { - m_minHeight = std::nullopt; -} - - -const QString &GetItemsParams::minOfficialRating() const { - return m_minOfficialRating; -} - -void GetItemsParams::setMinOfficialRating(QString newMinOfficialRating) { - m_minOfficialRating = newMinOfficialRating; -} - -bool GetItemsParams::minOfficialRatingNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minOfficialRating.isNull(); -} - -void GetItemsParams::setMinOfficialRatingNull() { - m_minOfficialRating.clear(); -} - - -const QDateTime &GetItemsParams::minPremiereDate() const { - return m_minPremiereDate; -} - -void GetItemsParams::setMinPremiereDate(QDateTime newMinPremiereDate) { - m_minPremiereDate = newMinPremiereDate; -} - -bool GetItemsParams::minPremiereDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minPremiereDate.isNull(); -} - -void GetItemsParams::setMinPremiereDateNull() { - m_minPremiereDate= QDateTime(); -} - - -const qint32 &GetItemsParams::minWidth() const { - return m_minWidth.value(); -} - -void GetItemsParams::setMinWidth(qint32 newMinWidth) { - m_minWidth = newMinWidth; -} - -bool GetItemsParams::minWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minWidth.has_value(); -} - -void GetItemsParams::setMinWidthNull() { - m_minWidth = std::nullopt; -} - - -const QString &GetItemsParams::nameLessThan() const { - return m_nameLessThan; -} - -void GetItemsParams::setNameLessThan(QString newNameLessThan) { - m_nameLessThan = newNameLessThan; -} - -bool GetItemsParams::nameLessThanNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameLessThan.isNull(); -} - -void GetItemsParams::setNameLessThanNull() { - m_nameLessThan.clear(); -} - - -const QString &GetItemsParams::nameStartsWith() const { - return m_nameStartsWith; -} - -void GetItemsParams::setNameStartsWith(QString newNameStartsWith) { - m_nameStartsWith = newNameStartsWith; -} - -bool GetItemsParams::nameStartsWithNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWith.isNull(); -} - -void GetItemsParams::setNameStartsWithNull() { - m_nameStartsWith.clear(); -} - - -const QString &GetItemsParams::nameStartsWithOrGreater() const { - return m_nameStartsWithOrGreater; -} - -void GetItemsParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) { - m_nameStartsWithOrGreater = newNameStartsWithOrGreater; -} - -bool GetItemsParams::nameStartsWithOrGreaterNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWithOrGreater.isNull(); -} - -void GetItemsParams::setNameStartsWithOrGreaterNull() { - m_nameStartsWithOrGreater.clear(); -} - - -const QStringList &GetItemsParams::officialRatings() const { - return m_officialRatings; -} - -void GetItemsParams::setOfficialRatings(QStringList newOfficialRatings) { - m_officialRatings = newOfficialRatings; -} - -bool GetItemsParams::officialRatingsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_officialRatings.size() == 0; -} - -void GetItemsParams::setOfficialRatingsNull() { - m_officialRatings.clear(); -} - - -const QString &GetItemsParams::parentId() const { - return m_parentId; -} - -void GetItemsParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetItemsParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetItemsParams::setParentIdNull() { - m_parentId.clear(); -} - - -const qint32 &GetItemsParams::parentIndexNumber() const { - return m_parentIndexNumber.value(); -} - -void GetItemsParams::setParentIndexNumber(qint32 newParentIndexNumber) { - m_parentIndexNumber = newParentIndexNumber; -} - -bool GetItemsParams::parentIndexNumberNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_parentIndexNumber.has_value(); -} - -void GetItemsParams::setParentIndexNumberNull() { - m_parentIndexNumber = std::nullopt; -} - - -const QString &GetItemsParams::person() const { - return m_person; -} - -void GetItemsParams::setPerson(QString newPerson) { - m_person = newPerson; -} - -bool GetItemsParams::personNull() const { - // Nullable: true - // Type Nullable: true - - - return m_person.isNull(); -} - -void GetItemsParams::setPersonNull() { - m_person.clear(); -} - - -const QStringList &GetItemsParams::personIds() const { - return m_personIds; -} - -void GetItemsParams::setPersonIds(QStringList newPersonIds) { - m_personIds = newPersonIds; -} - -bool GetItemsParams::personIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personIds.size() == 0; -} - -void GetItemsParams::setPersonIdsNull() { - m_personIds.clear(); -} - - -const QStringList &GetItemsParams::personTypes() const { - return m_personTypes; -} - -void GetItemsParams::setPersonTypes(QStringList newPersonTypes) { - m_personTypes = newPersonTypes; -} - -bool GetItemsParams::personTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personTypes.size() == 0; -} - -void GetItemsParams::setPersonTypesNull() { - m_personTypes.clear(); -} - - -const bool &GetItemsParams::recursive() const { - return m_recursive.value(); -} - -void GetItemsParams::setRecursive(bool newRecursive) { - m_recursive = newRecursive; -} - -bool GetItemsParams::recursiveNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_recursive.has_value(); -} - -void GetItemsParams::setRecursiveNull() { - m_recursive = std::nullopt; -} - - -const QString &GetItemsParams::searchTerm() const { - return m_searchTerm; -} - -void GetItemsParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetItemsParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetItemsParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const QList &GetItemsParams::seriesStatus() const { - return m_seriesStatus; -} - -void GetItemsParams::setSeriesStatus(QList newSeriesStatus) { - m_seriesStatus = newSeriesStatus; -} - -bool GetItemsParams::seriesStatusNull() const { - // Nullable: true - // Type Nullable: true - - - return m_seriesStatus.size() == 0; -} - -void GetItemsParams::setSeriesStatusNull() { - m_seriesStatus.clear(); -} - - -const QString &GetItemsParams::sortBy() const { - return m_sortBy; -} - -void GetItemsParams::setSortBy(QString newSortBy) { - m_sortBy = newSortBy; -} - -bool GetItemsParams::sortByNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortBy.isNull(); -} - -void GetItemsParams::setSortByNull() { - m_sortBy.clear(); -} - - -const QString &GetItemsParams::sortOrder() const { - return m_sortOrder; -} - -void GetItemsParams::setSortOrder(QString newSortOrder) { - m_sortOrder = newSortOrder; -} - -bool GetItemsParams::sortOrderNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortOrder.isNull(); -} - -void GetItemsParams::setSortOrderNull() { - m_sortOrder.clear(); -} - - -const qint32 &GetItemsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetItemsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetItemsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetItemsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QStringList &GetItemsParams::studioIds() const { - return m_studioIds; -} - -void GetItemsParams::setStudioIds(QStringList newStudioIds) { - m_studioIds = newStudioIds; -} - -bool GetItemsParams::studioIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studioIds.size() == 0; -} - -void GetItemsParams::setStudioIdsNull() { - m_studioIds.clear(); -} - - -const QStringList &GetItemsParams::studios() const { - return m_studios; -} - -void GetItemsParams::setStudios(QStringList newStudios) { - m_studios = newStudios; -} - -bool GetItemsParams::studiosNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studios.size() == 0; -} - -void GetItemsParams::setStudiosNull() { - m_studios.clear(); -} - - -const QStringList &GetItemsParams::tags() const { - return m_tags; -} - -void GetItemsParams::setTags(QStringList newTags) { - m_tags = newTags; -} - -bool GetItemsParams::tagsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tags.size() == 0; -} - -void GetItemsParams::setTagsNull() { - m_tags.clear(); -} - - -const QString &GetItemsParams::userId() const { - return m_userId; -} - -void GetItemsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetItemsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetItemsParams::setUserIdNull() { - m_userId.clear(); -} - - -const QList &GetItemsParams::videoTypes() const { - return m_videoTypes; -} - -void GetItemsParams::setVideoTypes(QList newVideoTypes) { - m_videoTypes = newVideoTypes; -} - -bool GetItemsParams::videoTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoTypes.size() == 0; -} - -void GetItemsParams::setVideoTypesNull() { - m_videoTypes.clear(); -} - - -const QList &GetItemsParams::years() const { - return m_years; -} - -void GetItemsParams::setYears(QList newYears) { - m_years = newYears; -} - -bool GetItemsParams::yearsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_years.size() == 0; -} - -void GetItemsParams::setYearsNull() { - m_years.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getkeysparams.cpp b/core/src/loader/getkeysparams.cpp deleted file mode 100644 index fe11363..0000000 --- a/core/src/loader/getkeysparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getkeysparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetKeysParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlatestchannelitemsparams.cpp b/core/src/loader/getlatestchannelitemsparams.cpp deleted file mode 100644 index 650e84d..0000000 --- a/core/src/loader/getlatestchannelitemsparams.cpp +++ /dev/null @@ -1,167 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlatestchannelitemsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLatestChannelItemsParams - -const QStringList &GetLatestChannelItemsParams::channelIds() const { - return m_channelIds; -} - -void GetLatestChannelItemsParams::setChannelIds(QStringList newChannelIds) { - m_channelIds = newChannelIds; -} - -bool GetLatestChannelItemsParams::channelIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_channelIds.size() == 0; -} - -void GetLatestChannelItemsParams::setChannelIdsNull() { - m_channelIds.clear(); -} - - -const QList &GetLatestChannelItemsParams::fields() const { - return m_fields; -} - -void GetLatestChannelItemsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetLatestChannelItemsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetLatestChannelItemsParams::setFieldsNull() { - m_fields.clear(); -} - - -const QList &GetLatestChannelItemsParams::filters() const { - return m_filters; -} - -void GetLatestChannelItemsParams::setFilters(QList newFilters) { - m_filters = newFilters; -} - -bool GetLatestChannelItemsParams::filtersNull() const { - // Nullable: true - // Type Nullable: true - - - return m_filters.size() == 0; -} - -void GetLatestChannelItemsParams::setFiltersNull() { - m_filters.clear(); -} - - -const qint32 &GetLatestChannelItemsParams::limit() const { - return m_limit.value(); -} - -void GetLatestChannelItemsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetLatestChannelItemsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetLatestChannelItemsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const qint32 &GetLatestChannelItemsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetLatestChannelItemsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetLatestChannelItemsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetLatestChannelItemsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetLatestChannelItemsParams::userId() const { - return m_userId; -} - -void GetLatestChannelItemsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetLatestChannelItemsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetLatestChannelItemsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlatestmediaparams.cpp b/core/src/loader/getlatestmediaparams.cpp deleted file mode 100644 index 04ce01d..0000000 --- a/core/src/loader/getlatestmediaparams.cpp +++ /dev/null @@ -1,260 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlatestmediaparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLatestMediaParams - -const QString &GetLatestMediaParams::userId() const { - return m_userId; -} - -void GetLatestMediaParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const QList &GetLatestMediaParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetLatestMediaParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetLatestMediaParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetLatestMediaParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetLatestMediaParams::enableImages() const { - return m_enableImages.value(); -} - -void GetLatestMediaParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetLatestMediaParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetLatestMediaParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetLatestMediaParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetLatestMediaParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetLatestMediaParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetLatestMediaParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetLatestMediaParams::fields() const { - return m_fields; -} - -void GetLatestMediaParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetLatestMediaParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetLatestMediaParams::setFieldsNull() { - m_fields.clear(); -} - - -const bool &GetLatestMediaParams::groupItems() const { - return m_groupItems.value(); -} - -void GetLatestMediaParams::setGroupItems(bool newGroupItems) { - m_groupItems = newGroupItems; -} - -bool GetLatestMediaParams::groupItemsNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_groupItems.has_value(); -} - -void GetLatestMediaParams::setGroupItemsNull() { - m_groupItems = std::nullopt; -} - - -const qint32 &GetLatestMediaParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetLatestMediaParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetLatestMediaParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetLatestMediaParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QStringList &GetLatestMediaParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetLatestMediaParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetLatestMediaParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetLatestMediaParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetLatestMediaParams::isPlayed() const { - return m_isPlayed.value(); -} - -void GetLatestMediaParams::setIsPlayed(bool newIsPlayed) { - m_isPlayed = newIsPlayed; -} - -bool GetLatestMediaParams::isPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isPlayed.has_value(); -} - -void GetLatestMediaParams::setIsPlayedNull() { - m_isPlayed = std::nullopt; -} - - -const qint32 &GetLatestMediaParams::limit() const { - return m_limit.value(); -} - -void GetLatestMediaParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetLatestMediaParams::limitNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetLatestMediaParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetLatestMediaParams::parentId() const { - return m_parentId; -} - -void GetLatestMediaParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetLatestMediaParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetLatestMediaParams::setParentIdNull() { - m_parentId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlibraryoptionsinfoparams.cpp b/core/src/loader/getlibraryoptionsinfoparams.cpp deleted file mode 100644 index 74bcb2e..0000000 --- a/core/src/loader/getlibraryoptionsinfoparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlibraryoptionsinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLibraryOptionsInfoParams - -const bool &GetLibraryOptionsInfoParams::isNewLibrary() const { - return m_isNewLibrary.value(); -} - -void GetLibraryOptionsInfoParams::setIsNewLibrary(bool newIsNewLibrary) { - m_isNewLibrary = newIsNewLibrary; -} - -bool GetLibraryOptionsInfoParams::isNewLibraryNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isNewLibrary.has_value(); -} - -void GetLibraryOptionsInfoParams::setIsNewLibraryNull() { - m_isNewLibrary = std::nullopt; -} - - -const QString &GetLibraryOptionsInfoParams::libraryContentType() const { - return m_libraryContentType; -} - -void GetLibraryOptionsInfoParams::setLibraryContentType(QString newLibraryContentType) { - m_libraryContentType = newLibraryContentType; -} - -bool GetLibraryOptionsInfoParams::libraryContentTypeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_libraryContentType.isNull(); -} - -void GetLibraryOptionsInfoParams::setLibraryContentTypeNull() { - m_libraryContentType.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlineupsparams.cpp b/core/src/loader/getlineupsparams.cpp deleted file mode 100644 index 81d93b8..0000000 --- a/core/src/loader/getlineupsparams.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlineupsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLineupsParams - -const QString &GetLineupsParams::country() const { - return m_country; -} - -void GetLineupsParams::setCountry(QString newCountry) { - m_country = newCountry; -} - -bool GetLineupsParams::countryNull() const { - // Nullable: true - // Type Nullable: true - - - return m_country.isNull(); -} - -void GetLineupsParams::setCountryNull() { - m_country.clear(); -} - - -const QString &GetLineupsParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetLineupsParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - -bool GetLineupsParams::jellyfinIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_jellyfinId.isNull(); -} - -void GetLineupsParams::setJellyfinIdNull() { - m_jellyfinId.clear(); -} - - -const QString &GetLineupsParams::location() const { - return m_location; -} - -void GetLineupsParams::setLocation(QString newLocation) { - m_location = newLocation; -} - -bool GetLineupsParams::locationNull() const { - // Nullable: true - // Type Nullable: true - - - return m_location.isNull(); -} - -void GetLineupsParams::setLocationNull() { - m_location.clear(); -} - - -const QString &GetLineupsParams::type() const { - return m_type; -} - -void GetLineupsParams::setType(QString newType) { - m_type = newType; -} - -bool GetLineupsParams::typeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_type.isNull(); -} - -void GetLineupsParams::setTypeNull() { - m_type.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlivehlsstreamparams.cpp b/core/src/loader/getlivehlsstreamparams.cpp deleted file mode 100644 index 031df1f..0000000 --- a/core/src/loader/getlivehlsstreamparams.cpp +++ /dev/null @@ -1,1121 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlivehlsstreamparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLiveHlsStreamParams - -const QString &GetLiveHlsStreamParams::itemId() const { - return m_itemId; -} - -void GetLiveHlsStreamParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetLiveHlsStreamParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetLiveHlsStreamParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetLiveHlsStreamParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetLiveHlsStreamParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetLiveHlsStreamParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetLiveHlsStreamParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetLiveHlsStreamParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetLiveHlsStreamParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetLiveHlsStreamParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetLiveHlsStreamParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetLiveHlsStreamParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetLiveHlsStreamParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetLiveHlsStreamParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetLiveHlsStreamParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetLiveHlsStreamParams::audioCodec() const { - return m_audioCodec; -} - -void GetLiveHlsStreamParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetLiveHlsStreamParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetLiveHlsStreamParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetLiveHlsStreamParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetLiveHlsStreamParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetLiveHlsStreamParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetLiveHlsStreamParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetLiveHlsStreamParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetLiveHlsStreamParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetLiveHlsStreamParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetLiveHlsStreamParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetLiveHlsStreamParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetLiveHlsStreamParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetLiveHlsStreamParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const QString &GetLiveHlsStreamParams::container() const { - return m_container; -} - -void GetLiveHlsStreamParams::setContainer(QString newContainer) { - m_container = newContainer; -} - -bool GetLiveHlsStreamParams::containerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_container.isNull(); -} - -void GetLiveHlsStreamParams::setContainerNull() { - m_container.clear(); -} - - -const EncodingContext &GetLiveHlsStreamParams::context() const { - return m_context; -} - -void GetLiveHlsStreamParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetLiveHlsStreamParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetLiveHlsStreamParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetLiveHlsStreamParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetLiveHlsStreamParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetLiveHlsStreamParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetLiveHlsStreamParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetLiveHlsStreamParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetLiveHlsStreamParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetLiveHlsStreamParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetLiveHlsStreamParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetLiveHlsStreamParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetLiveHlsStreamParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetLiveHlsStreamParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetLiveHlsStreamParams::deviceId() const { - return m_deviceId; -} - -void GetLiveHlsStreamParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetLiveHlsStreamParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetLiveHlsStreamParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetLiveHlsStreamParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetLiveHlsStreamParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetLiveHlsStreamParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetLiveHlsStreamParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetLiveHlsStreamParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetLiveHlsStreamParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetLiveHlsStreamParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetLiveHlsStreamParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetLiveHlsStreamParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetLiveHlsStreamParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetLiveHlsStreamParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetLiveHlsStreamParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const bool &GetLiveHlsStreamParams::enableSubtitlesInManifest() const { - return m_enableSubtitlesInManifest.value(); -} - -void GetLiveHlsStreamParams::setEnableSubtitlesInManifest(bool newEnableSubtitlesInManifest) { - m_enableSubtitlesInManifest = newEnableSubtitlesInManifest; -} - -bool GetLiveHlsStreamParams::enableSubtitlesInManifestNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableSubtitlesInManifest.has_value(); -} - -void GetLiveHlsStreamParams::setEnableSubtitlesInManifestNull() { - m_enableSubtitlesInManifest = std::nullopt; -} - - -const float &GetLiveHlsStreamParams::framerate() const { - return m_framerate.value(); -} - -void GetLiveHlsStreamParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetLiveHlsStreamParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetLiveHlsStreamParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::height() const { - return m_height.value(); -} - -void GetLiveHlsStreamParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetLiveHlsStreamParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetLiveHlsStreamParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetLiveHlsStreamParams::level() const { - return m_level; -} - -void GetLiveHlsStreamParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetLiveHlsStreamParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetLiveHlsStreamParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetLiveHlsStreamParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetLiveHlsStreamParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetLiveHlsStreamParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetLiveHlsStreamParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetLiveHlsStreamParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetLiveHlsStreamParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetLiveHlsStreamParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetLiveHlsStreamParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetLiveHlsStreamParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetLiveHlsStreamParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetLiveHlsStreamParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetLiveHlsStreamParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetLiveHlsStreamParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetLiveHlsStreamParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetLiveHlsStreamParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetLiveHlsStreamParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetLiveHlsStreamParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetLiveHlsStreamParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetLiveHlsStreamParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetLiveHlsStreamParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetLiveHlsStreamParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetLiveHlsStreamParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetLiveHlsStreamParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetLiveHlsStreamParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetLiveHlsStreamParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetLiveHlsStreamParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetLiveHlsStreamParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const QString &GetLiveHlsStreamParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetLiveHlsStreamParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetLiveHlsStreamParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetLiveHlsStreamParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &GetLiveHlsStreamParams::minSegments() const { - return m_minSegments.value(); -} - -void GetLiveHlsStreamParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetLiveHlsStreamParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetLiveHlsStreamParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetLiveHlsStreamParams::params() const { - return m_params; -} - -void GetLiveHlsStreamParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetLiveHlsStreamParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetLiveHlsStreamParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetLiveHlsStreamParams::playSessionId() const { - return m_playSessionId; -} - -void GetLiveHlsStreamParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetLiveHlsStreamParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetLiveHlsStreamParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetLiveHlsStreamParams::profile() const { - return m_profile; -} - -void GetLiveHlsStreamParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetLiveHlsStreamParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetLiveHlsStreamParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetLiveHlsStreamParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetLiveHlsStreamParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetLiveHlsStreamParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetLiveHlsStreamParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetLiveHlsStreamParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetLiveHlsStreamParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetLiveHlsStreamParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetLiveHlsStreamParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetLiveHlsStreamParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetLiveHlsStreamParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetLiveHlsStreamParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetLiveHlsStreamParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetLiveHlsStreamParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetLiveHlsStreamParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetLiveHlsStreamParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetLiveHlsStreamParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetLiveHlsStreamParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetLiveHlsStreamParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetLiveHlsStreamParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetLiveHlsStreamParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetLiveHlsStreamParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetLiveHlsStreamParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetLiveHlsStreamParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetLiveHlsStreamParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetLiveHlsStreamParams::streamOptions() const { - return m_streamOptions; -} - -void GetLiveHlsStreamParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetLiveHlsStreamParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetLiveHlsStreamParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetLiveHlsStreamParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetLiveHlsStreamParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetLiveHlsStreamParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetLiveHlsStreamParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetLiveHlsStreamParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetLiveHlsStreamParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetLiveHlsStreamParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetLiveHlsStreamParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetLiveHlsStreamParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetLiveHlsStreamParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetLiveHlsStreamParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetLiveHlsStreamParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetLiveHlsStreamParams::tag() const { - return m_tag; -} - -void GetLiveHlsStreamParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetLiveHlsStreamParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetLiveHlsStreamParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetLiveHlsStreamParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetLiveHlsStreamParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetLiveHlsStreamParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetLiveHlsStreamParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetLiveHlsStreamParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetLiveHlsStreamParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetLiveHlsStreamParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetLiveHlsStreamParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetLiveHlsStreamParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetLiveHlsStreamParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetLiveHlsStreamParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetLiveHlsStreamParams::videoCodec() const { - return m_videoCodec; -} - -void GetLiveHlsStreamParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetLiveHlsStreamParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetLiveHlsStreamParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetLiveHlsStreamParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetLiveHlsStreamParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetLiveHlsStreamParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetLiveHlsStreamParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetLiveHlsStreamParams::width() const { - return m_width.value(); -} - -void GetLiveHlsStreamParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetLiveHlsStreamParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetLiveHlsStreamParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getliverecordingfileparams.cpp b/core/src/loader/getliverecordingfileparams.cpp deleted file mode 100644 index 48c061c..0000000 --- a/core/src/loader/getliverecordingfileparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getliverecordingfileparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLiveRecordingFileParams - -const QString &GetLiveRecordingFileParams::recordingId() const { - return m_recordingId; -} - -void GetLiveRecordingFileParams::setRecordingId(QString newRecordingId) { - m_recordingId = newRecordingId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlivestreamfileparams.cpp b/core/src/loader/getlivestreamfileparams.cpp deleted file mode 100644 index b9314fc..0000000 --- a/core/src/loader/getlivestreamfileparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlivestreamfileparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLiveStreamFileParams - -const QString &GetLiveStreamFileParams::container() const { - return m_container; -} - -void GetLiveStreamFileParams::setContainer(QString newContainer) { - m_container = newContainer; -} - - -const QString &GetLiveStreamFileParams::streamId() const { - return m_streamId; -} - -void GetLiveStreamFileParams::setStreamId(QString newStreamId) { - m_streamId = newStreamId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlivetvchannelsparams.cpp b/core/src/loader/getlivetvchannelsparams.cpp deleted file mode 100644 index cd5ee56..0000000 --- a/core/src/loader/getlivetvchannelsparams.cpp +++ /dev/null @@ -1,482 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlivetvchannelsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLiveTvChannelsParams - -const bool &GetLiveTvChannelsParams::addCurrentProgram() const { - return m_addCurrentProgram.value(); -} - -void GetLiveTvChannelsParams::setAddCurrentProgram(bool newAddCurrentProgram) { - m_addCurrentProgram = newAddCurrentProgram; -} - -bool GetLiveTvChannelsParams::addCurrentProgramNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_addCurrentProgram.has_value(); -} - -void GetLiveTvChannelsParams::setAddCurrentProgramNull() { - m_addCurrentProgram = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::enableFavoriteSorting() const { - return m_enableFavoriteSorting.value(); -} - -void GetLiveTvChannelsParams::setEnableFavoriteSorting(bool newEnableFavoriteSorting) { - m_enableFavoriteSorting = newEnableFavoriteSorting; -} - -bool GetLiveTvChannelsParams::enableFavoriteSortingNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableFavoriteSorting.has_value(); -} - -void GetLiveTvChannelsParams::setEnableFavoriteSortingNull() { - m_enableFavoriteSorting = std::nullopt; -} - - -const QList &GetLiveTvChannelsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetLiveTvChannelsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetLiveTvChannelsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetLiveTvChannelsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetLiveTvChannelsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetLiveTvChannelsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetLiveTvChannelsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetLiveTvChannelsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetLiveTvChannelsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetLiveTvChannelsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetLiveTvChannelsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetLiveTvChannelsParams::fields() const { - return m_fields; -} - -void GetLiveTvChannelsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetLiveTvChannelsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetLiveTvChannelsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetLiveTvChannelsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetLiveTvChannelsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetLiveTvChannelsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetLiveTvChannelsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::isDisliked() const { - return m_isDisliked.value(); -} - -void GetLiveTvChannelsParams::setIsDisliked(bool newIsDisliked) { - m_isDisliked = newIsDisliked; -} - -bool GetLiveTvChannelsParams::isDislikedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isDisliked.has_value(); -} - -void GetLiveTvChannelsParams::setIsDislikedNull() { - m_isDisliked = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetLiveTvChannelsParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetLiveTvChannelsParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetLiveTvChannelsParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::isKids() const { - return m_isKids.value(); -} - -void GetLiveTvChannelsParams::setIsKids(bool newIsKids) { - m_isKids = newIsKids; -} - -bool GetLiveTvChannelsParams::isKidsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isKids.has_value(); -} - -void GetLiveTvChannelsParams::setIsKidsNull() { - m_isKids = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::isLiked() const { - return m_isLiked.value(); -} - -void GetLiveTvChannelsParams::setIsLiked(bool newIsLiked) { - m_isLiked = newIsLiked; -} - -bool GetLiveTvChannelsParams::isLikedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isLiked.has_value(); -} - -void GetLiveTvChannelsParams::setIsLikedNull() { - m_isLiked = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::isMovie() const { - return m_isMovie.value(); -} - -void GetLiveTvChannelsParams::setIsMovie(bool newIsMovie) { - m_isMovie = newIsMovie; -} - -bool GetLiveTvChannelsParams::isMovieNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMovie.has_value(); -} - -void GetLiveTvChannelsParams::setIsMovieNull() { - m_isMovie = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::isNews() const { - return m_isNews.value(); -} - -void GetLiveTvChannelsParams::setIsNews(bool newIsNews) { - m_isNews = newIsNews; -} - -bool GetLiveTvChannelsParams::isNewsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isNews.has_value(); -} - -void GetLiveTvChannelsParams::setIsNewsNull() { - m_isNews = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::isSeries() const { - return m_isSeries.value(); -} - -void GetLiveTvChannelsParams::setIsSeries(bool newIsSeries) { - m_isSeries = newIsSeries; -} - -bool GetLiveTvChannelsParams::isSeriesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSeries.has_value(); -} - -void GetLiveTvChannelsParams::setIsSeriesNull() { - m_isSeries = std::nullopt; -} - - -const bool &GetLiveTvChannelsParams::isSports() const { - return m_isSports.value(); -} - -void GetLiveTvChannelsParams::setIsSports(bool newIsSports) { - m_isSports = newIsSports; -} - -bool GetLiveTvChannelsParams::isSportsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSports.has_value(); -} - -void GetLiveTvChannelsParams::setIsSportsNull() { - m_isSports = std::nullopt; -} - - -const qint32 &GetLiveTvChannelsParams::limit() const { - return m_limit.value(); -} - -void GetLiveTvChannelsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetLiveTvChannelsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetLiveTvChannelsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QStringList &GetLiveTvChannelsParams::sortBy() const { - return m_sortBy; -} - -void GetLiveTvChannelsParams::setSortBy(QStringList newSortBy) { - m_sortBy = newSortBy; -} - -bool GetLiveTvChannelsParams::sortByNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortBy.size() == 0; -} - -void GetLiveTvChannelsParams::setSortByNull() { - m_sortBy.clear(); -} - - -const SortOrder &GetLiveTvChannelsParams::sortOrder() const { - return m_sortOrder; -} - -void GetLiveTvChannelsParams::setSortOrder(SortOrder newSortOrder) { - m_sortOrder = newSortOrder; -} - -bool GetLiveTvChannelsParams::sortOrderNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortOrder== SortOrder::EnumNotSet; -} - -void GetLiveTvChannelsParams::setSortOrderNull() { - m_sortOrder= SortOrder::EnumNotSet; -} - - -const qint32 &GetLiveTvChannelsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetLiveTvChannelsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetLiveTvChannelsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetLiveTvChannelsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const ChannelType &GetLiveTvChannelsParams::type() const { - return m_type; -} - -void GetLiveTvChannelsParams::setType(ChannelType newType) { - m_type = newType; -} - -bool GetLiveTvChannelsParams::typeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_type== ChannelType::EnumNotSet; -} - -void GetLiveTvChannelsParams::setTypeNull() { - m_type= ChannelType::EnumNotSet; -} - - -const QString &GetLiveTvChannelsParams::userId() const { - return m_userId; -} - -void GetLiveTvChannelsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetLiveTvChannelsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetLiveTvChannelsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlivetvinfoparams.cpp b/core/src/loader/getlivetvinfoparams.cpp deleted file mode 100644 index d9b7554..0000000 --- a/core/src/loader/getlivetvinfoparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlivetvinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLiveTvInfoParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlivetvprogramsparams.cpp b/core/src/loader/getlivetvprogramsparams.cpp deleted file mode 100644 index a7cd272..0000000 --- a/core/src/loader/getlivetvprogramsparams.cpp +++ /dev/null @@ -1,608 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlivetvprogramsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLiveTvProgramsParams - -const QStringList &GetLiveTvProgramsParams::channelIds() const { - return m_channelIds; -} - -void GetLiveTvProgramsParams::setChannelIds(QStringList newChannelIds) { - m_channelIds = newChannelIds; -} - -bool GetLiveTvProgramsParams::channelIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_channelIds.size() == 0; -} - -void GetLiveTvProgramsParams::setChannelIdsNull() { - m_channelIds.clear(); -} - - -const QList &GetLiveTvProgramsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetLiveTvProgramsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetLiveTvProgramsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetLiveTvProgramsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetLiveTvProgramsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetLiveTvProgramsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetLiveTvProgramsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetLiveTvProgramsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetLiveTvProgramsParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetLiveTvProgramsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetLiveTvProgramsParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetLiveTvProgramsParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetLiveTvProgramsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetLiveTvProgramsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetLiveTvProgramsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetLiveTvProgramsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetLiveTvProgramsParams::fields() const { - return m_fields; -} - -void GetLiveTvProgramsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetLiveTvProgramsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetLiveTvProgramsParams::setFieldsNull() { - m_fields.clear(); -} - - -const QStringList &GetLiveTvProgramsParams::genreIds() const { - return m_genreIds; -} - -void GetLiveTvProgramsParams::setGenreIds(QStringList newGenreIds) { - m_genreIds = newGenreIds; -} - -bool GetLiveTvProgramsParams::genreIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genreIds.size() == 0; -} - -void GetLiveTvProgramsParams::setGenreIdsNull() { - m_genreIds.clear(); -} - - -const QStringList &GetLiveTvProgramsParams::genres() const { - return m_genres; -} - -void GetLiveTvProgramsParams::setGenres(QStringList newGenres) { - m_genres = newGenres; -} - -bool GetLiveTvProgramsParams::genresNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genres.size() == 0; -} - -void GetLiveTvProgramsParams::setGenresNull() { - m_genres.clear(); -} - - -const bool &GetLiveTvProgramsParams::hasAired() const { - return m_hasAired.value(); -} - -void GetLiveTvProgramsParams::setHasAired(bool newHasAired) { - m_hasAired = newHasAired; -} - -bool GetLiveTvProgramsParams::hasAiredNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasAired.has_value(); -} - -void GetLiveTvProgramsParams::setHasAiredNull() { - m_hasAired = std::nullopt; -} - - -const qint32 &GetLiveTvProgramsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetLiveTvProgramsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetLiveTvProgramsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetLiveTvProgramsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const bool &GetLiveTvProgramsParams::isAiring() const { - return m_isAiring.value(); -} - -void GetLiveTvProgramsParams::setIsAiring(bool newIsAiring) { - m_isAiring = newIsAiring; -} - -bool GetLiveTvProgramsParams::isAiringNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isAiring.has_value(); -} - -void GetLiveTvProgramsParams::setIsAiringNull() { - m_isAiring = std::nullopt; -} - - -const bool &GetLiveTvProgramsParams::isKids() const { - return m_isKids.value(); -} - -void GetLiveTvProgramsParams::setIsKids(bool newIsKids) { - m_isKids = newIsKids; -} - -bool GetLiveTvProgramsParams::isKidsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isKids.has_value(); -} - -void GetLiveTvProgramsParams::setIsKidsNull() { - m_isKids = std::nullopt; -} - - -const bool &GetLiveTvProgramsParams::isMovie() const { - return m_isMovie.value(); -} - -void GetLiveTvProgramsParams::setIsMovie(bool newIsMovie) { - m_isMovie = newIsMovie; -} - -bool GetLiveTvProgramsParams::isMovieNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMovie.has_value(); -} - -void GetLiveTvProgramsParams::setIsMovieNull() { - m_isMovie = std::nullopt; -} - - -const bool &GetLiveTvProgramsParams::isNews() const { - return m_isNews.value(); -} - -void GetLiveTvProgramsParams::setIsNews(bool newIsNews) { - m_isNews = newIsNews; -} - -bool GetLiveTvProgramsParams::isNewsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isNews.has_value(); -} - -void GetLiveTvProgramsParams::setIsNewsNull() { - m_isNews = std::nullopt; -} - - -const bool &GetLiveTvProgramsParams::isSeries() const { - return m_isSeries.value(); -} - -void GetLiveTvProgramsParams::setIsSeries(bool newIsSeries) { - m_isSeries = newIsSeries; -} - -bool GetLiveTvProgramsParams::isSeriesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSeries.has_value(); -} - -void GetLiveTvProgramsParams::setIsSeriesNull() { - m_isSeries = std::nullopt; -} - - -const bool &GetLiveTvProgramsParams::isSports() const { - return m_isSports.value(); -} - -void GetLiveTvProgramsParams::setIsSports(bool newIsSports) { - m_isSports = newIsSports; -} - -bool GetLiveTvProgramsParams::isSportsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSports.has_value(); -} - -void GetLiveTvProgramsParams::setIsSportsNull() { - m_isSports = std::nullopt; -} - - -const QString &GetLiveTvProgramsParams::librarySeriesId() const { - return m_librarySeriesId; -} - -void GetLiveTvProgramsParams::setLibrarySeriesId(QString newLibrarySeriesId) { - m_librarySeriesId = newLibrarySeriesId; -} - -bool GetLiveTvProgramsParams::librarySeriesIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_librarySeriesId.isNull(); -} - -void GetLiveTvProgramsParams::setLibrarySeriesIdNull() { - m_librarySeriesId.clear(); -} - - -const qint32 &GetLiveTvProgramsParams::limit() const { - return m_limit.value(); -} - -void GetLiveTvProgramsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetLiveTvProgramsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetLiveTvProgramsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QDateTime &GetLiveTvProgramsParams::maxEndDate() const { - return m_maxEndDate; -} - -void GetLiveTvProgramsParams::setMaxEndDate(QDateTime newMaxEndDate) { - m_maxEndDate = newMaxEndDate; -} - -bool GetLiveTvProgramsParams::maxEndDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_maxEndDate.isNull(); -} - -void GetLiveTvProgramsParams::setMaxEndDateNull() { - m_maxEndDate= QDateTime(); -} - - -const QDateTime &GetLiveTvProgramsParams::maxStartDate() const { - return m_maxStartDate; -} - -void GetLiveTvProgramsParams::setMaxStartDate(QDateTime newMaxStartDate) { - m_maxStartDate = newMaxStartDate; -} - -bool GetLiveTvProgramsParams::maxStartDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_maxStartDate.isNull(); -} - -void GetLiveTvProgramsParams::setMaxStartDateNull() { - m_maxStartDate= QDateTime(); -} - - -const QDateTime &GetLiveTvProgramsParams::minEndDate() const { - return m_minEndDate; -} - -void GetLiveTvProgramsParams::setMinEndDate(QDateTime newMinEndDate) { - m_minEndDate = newMinEndDate; -} - -bool GetLiveTvProgramsParams::minEndDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minEndDate.isNull(); -} - -void GetLiveTvProgramsParams::setMinEndDateNull() { - m_minEndDate= QDateTime(); -} - - -const QDateTime &GetLiveTvProgramsParams::minStartDate() const { - return m_minStartDate; -} - -void GetLiveTvProgramsParams::setMinStartDate(QDateTime newMinStartDate) { - m_minStartDate = newMinStartDate; -} - -bool GetLiveTvProgramsParams::minStartDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minStartDate.isNull(); -} - -void GetLiveTvProgramsParams::setMinStartDateNull() { - m_minStartDate= QDateTime(); -} - - -const QString &GetLiveTvProgramsParams::seriesTimerId() const { - return m_seriesTimerId; -} - -void GetLiveTvProgramsParams::setSeriesTimerId(QString newSeriesTimerId) { - m_seriesTimerId = newSeriesTimerId; -} - -bool GetLiveTvProgramsParams::seriesTimerIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_seriesTimerId.isNull(); -} - -void GetLiveTvProgramsParams::setSeriesTimerIdNull() { - m_seriesTimerId.clear(); -} - - -const QString &GetLiveTvProgramsParams::sortBy() const { - return m_sortBy; -} - -void GetLiveTvProgramsParams::setSortBy(QString newSortBy) { - m_sortBy = newSortBy; -} - -bool GetLiveTvProgramsParams::sortByNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortBy.isNull(); -} - -void GetLiveTvProgramsParams::setSortByNull() { - m_sortBy.clear(); -} - - -const QString &GetLiveTvProgramsParams::sortOrder() const { - return m_sortOrder; -} - -void GetLiveTvProgramsParams::setSortOrder(QString newSortOrder) { - m_sortOrder = newSortOrder; -} - -bool GetLiveTvProgramsParams::sortOrderNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortOrder.isNull(); -} - -void GetLiveTvProgramsParams::setSortOrderNull() { - m_sortOrder.clear(); -} - - -const qint32 &GetLiveTvProgramsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetLiveTvProgramsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetLiveTvProgramsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetLiveTvProgramsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetLiveTvProgramsParams::userId() const { - return m_userId; -} - -void GetLiveTvProgramsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetLiveTvProgramsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetLiveTvProgramsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlocalizationoptionsparams.cpp b/core/src/loader/getlocalizationoptionsparams.cpp deleted file mode 100644 index 2074c85..0000000 --- a/core/src/loader/getlocalizationoptionsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlocalizationoptionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLocalizationOptionsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlocaltrailersparams.cpp b/core/src/loader/getlocaltrailersparams.cpp deleted file mode 100644 index 8f401a0..0000000 --- a/core/src/loader/getlocaltrailersparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlocaltrailersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLocalTrailersParams - -const QString &GetLocalTrailersParams::itemId() const { - return m_itemId; -} - -void GetLocalTrailersParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetLocalTrailersParams::userId() const { - return m_userId; -} - -void GetLocalTrailersParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlogentriesparams.cpp b/core/src/loader/getlogentriesparams.cpp deleted file mode 100644 index 1231b2e..0000000 --- a/core/src/loader/getlogentriesparams.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlogentriesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLogEntriesParams - -const bool &GetLogEntriesParams::hasUserId() const { - return m_hasUserId.value(); -} - -void GetLogEntriesParams::setHasUserId(bool newHasUserId) { - m_hasUserId = newHasUserId; -} - -bool GetLogEntriesParams::hasUserIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasUserId.has_value(); -} - -void GetLogEntriesParams::setHasUserIdNull() { - m_hasUserId = std::nullopt; -} - - -const qint32 &GetLogEntriesParams::limit() const { - return m_limit.value(); -} - -void GetLogEntriesParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetLogEntriesParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetLogEntriesParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QDateTime &GetLogEntriesParams::minDate() const { - return m_minDate; -} - -void GetLogEntriesParams::setMinDate(QDateTime newMinDate) { - m_minDate = newMinDate; -} - -bool GetLogEntriesParams::minDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minDate.isNull(); -} - -void GetLogEntriesParams::setMinDateNull() { - m_minDate= QDateTime(); -} - - -const qint32 &GetLogEntriesParams::startIndex() const { - return m_startIndex.value(); -} - -void GetLogEntriesParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetLogEntriesParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetLogEntriesParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getlogfileparams.cpp b/core/src/loader/getlogfileparams.cpp deleted file mode 100644 index d3cef91..0000000 --- a/core/src/loader/getlogfileparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getlogfileparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetLogFileParams - -const QString &GetLogFileParams::name() const { - return m_name; -} - -void GetLogFileParams::setName(QString newName) { - m_name = newName; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmasterhlsaudioplaylistparams.cpp b/core/src/loader/getmasterhlsaudioplaylistparams.cpp deleted file mode 100644 index 40e454c..0000000 --- a/core/src/loader/getmasterhlsaudioplaylistparams.cpp +++ /dev/null @@ -1,1067 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmasterhlsaudioplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMasterHlsAudioPlaylistParams - -const QString &GetMasterHlsAudioPlaylistParams::itemId() const { - return m_itemId; -} - -void GetMasterHlsAudioPlaylistParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetMasterHlsAudioPlaylistParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetMasterHlsAudioPlaylistParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - - -const bool &GetMasterHlsAudioPlaylistParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetMasterHlsAudioPlaylistParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetMasterHlsAudioPlaylistParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetMasterHlsAudioPlaylistParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetMasterHlsAudioPlaylistParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetMasterHlsAudioPlaylistParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetMasterHlsAudioPlaylistParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetMasterHlsAudioPlaylistParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetMasterHlsAudioPlaylistParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetMasterHlsAudioPlaylistParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetMasterHlsAudioPlaylistParams::audioCodec() const { - return m_audioCodec; -} - -void GetMasterHlsAudioPlaylistParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetMasterHlsAudioPlaylistParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetMasterHlsAudioPlaylistParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetMasterHlsAudioPlaylistParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetMasterHlsAudioPlaylistParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetMasterHlsAudioPlaylistParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetMasterHlsAudioPlaylistParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetMasterHlsAudioPlaylistParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetMasterHlsAudioPlaylistParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &GetMasterHlsAudioPlaylistParams::context() const { - return m_context; -} - -void GetMasterHlsAudioPlaylistParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetMasterHlsAudioPlaylistParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetMasterHlsAudioPlaylistParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetMasterHlsAudioPlaylistParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetMasterHlsAudioPlaylistParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetMasterHlsAudioPlaylistParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetMasterHlsAudioPlaylistParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetMasterHlsAudioPlaylistParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetMasterHlsAudioPlaylistParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetMasterHlsAudioPlaylistParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetMasterHlsAudioPlaylistParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetMasterHlsAudioPlaylistParams::deviceId() const { - return m_deviceId; -} - -void GetMasterHlsAudioPlaylistParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetMasterHlsAudioPlaylistParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetMasterHlsAudioPlaylistParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetMasterHlsAudioPlaylistParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetMasterHlsAudioPlaylistParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetMasterHlsAudioPlaylistParams::enableAdaptiveBitrateStreaming() const { - return m_enableAdaptiveBitrateStreaming.value(); -} - -void GetMasterHlsAudioPlaylistParams::setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming) { - m_enableAdaptiveBitrateStreaming = newEnableAdaptiveBitrateStreaming; -} - -bool GetMasterHlsAudioPlaylistParams::enableAdaptiveBitrateStreamingNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableAdaptiveBitrateStreaming.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setEnableAdaptiveBitrateStreamingNull() { - m_enableAdaptiveBitrateStreaming = std::nullopt; -} - - -const bool &GetMasterHlsAudioPlaylistParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetMasterHlsAudioPlaylistParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetMasterHlsAudioPlaylistParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetMasterHlsAudioPlaylistParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetMasterHlsAudioPlaylistParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetMasterHlsAudioPlaylistParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetMasterHlsAudioPlaylistParams::framerate() const { - return m_framerate.value(); -} - -void GetMasterHlsAudioPlaylistParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetMasterHlsAudioPlaylistParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::height() const { - return m_height.value(); -} - -void GetMasterHlsAudioPlaylistParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetMasterHlsAudioPlaylistParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetMasterHlsAudioPlaylistParams::level() const { - return m_level; -} - -void GetMasterHlsAudioPlaylistParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetMasterHlsAudioPlaylistParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetMasterHlsAudioPlaylistParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetMasterHlsAudioPlaylistParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetMasterHlsAudioPlaylistParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetMasterHlsAudioPlaylistParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetMasterHlsAudioPlaylistParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetMasterHlsAudioPlaylistParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetMasterHlsAudioPlaylistParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetMasterHlsAudioPlaylistParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::maxStreamingBitrate() const { - return m_maxStreamingBitrate.value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxStreamingBitrate(qint32 newMaxStreamingBitrate) { - m_maxStreamingBitrate = newMaxStreamingBitrate; -} - -bool GetMasterHlsAudioPlaylistParams::maxStreamingBitrateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxStreamingBitrate.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxStreamingBitrateNull() { - m_maxStreamingBitrate = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetMasterHlsAudioPlaylistParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::minSegments() const { - return m_minSegments.value(); -} - -void GetMasterHlsAudioPlaylistParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetMasterHlsAudioPlaylistParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetMasterHlsAudioPlaylistParams::params() const { - return m_params; -} - -void GetMasterHlsAudioPlaylistParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetMasterHlsAudioPlaylistParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetMasterHlsAudioPlaylistParams::playSessionId() const { - return m_playSessionId; -} - -void GetMasterHlsAudioPlaylistParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetMasterHlsAudioPlaylistParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetMasterHlsAudioPlaylistParams::profile() const { - return m_profile; -} - -void GetMasterHlsAudioPlaylistParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetMasterHlsAudioPlaylistParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetMasterHlsAudioPlaylistParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetMasterHlsAudioPlaylistParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetMasterHlsAudioPlaylistParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetMasterHlsAudioPlaylistParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetMasterHlsAudioPlaylistParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetMasterHlsAudioPlaylistParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetMasterHlsAudioPlaylistParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetMasterHlsAudioPlaylistParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetMasterHlsAudioPlaylistParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetMasterHlsAudioPlaylistParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetMasterHlsAudioPlaylistParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetMasterHlsAudioPlaylistParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetMasterHlsAudioPlaylistParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetMasterHlsAudioPlaylistParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetMasterHlsAudioPlaylistParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetMasterHlsAudioPlaylistParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetMasterHlsAudioPlaylistParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetMasterHlsAudioPlaylistParams::streamOptions() const { - return m_streamOptions; -} - -void GetMasterHlsAudioPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetMasterHlsAudioPlaylistParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetMasterHlsAudioPlaylistParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetMasterHlsAudioPlaylistParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetMasterHlsAudioPlaylistParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetMasterHlsAudioPlaylistParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetMasterHlsAudioPlaylistParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetMasterHlsAudioPlaylistParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetMasterHlsAudioPlaylistParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetMasterHlsAudioPlaylistParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetMasterHlsAudioPlaylistParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetMasterHlsAudioPlaylistParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetMasterHlsAudioPlaylistParams::tag() const { - return m_tag; -} - -void GetMasterHlsAudioPlaylistParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetMasterHlsAudioPlaylistParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetMasterHlsAudioPlaylistParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetMasterHlsAudioPlaylistParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetMasterHlsAudioPlaylistParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetMasterHlsAudioPlaylistParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetMasterHlsAudioPlaylistParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetMasterHlsAudioPlaylistParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetMasterHlsAudioPlaylistParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetMasterHlsAudioPlaylistParams::videoCodec() const { - return m_videoCodec; -} - -void GetMasterHlsAudioPlaylistParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetMasterHlsAudioPlaylistParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetMasterHlsAudioPlaylistParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetMasterHlsAudioPlaylistParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetMasterHlsAudioPlaylistParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetMasterHlsAudioPlaylistParams::width() const { - return m_width.value(); -} - -void GetMasterHlsAudioPlaylistParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetMasterHlsAudioPlaylistParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetMasterHlsAudioPlaylistParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmasterhlsvideoplaylistparams.cpp b/core/src/loader/getmasterhlsvideoplaylistparams.cpp deleted file mode 100644 index 501b7ca..0000000 --- a/core/src/loader/getmasterhlsvideoplaylistparams.cpp +++ /dev/null @@ -1,1046 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmasterhlsvideoplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMasterHlsVideoPlaylistParams - -const QString &GetMasterHlsVideoPlaylistParams::itemId() const { - return m_itemId; -} - -void GetMasterHlsVideoPlaylistParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetMasterHlsVideoPlaylistParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetMasterHlsVideoPlaylistParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - - -const bool &GetMasterHlsVideoPlaylistParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetMasterHlsVideoPlaylistParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetMasterHlsVideoPlaylistParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetMasterHlsVideoPlaylistParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetMasterHlsVideoPlaylistParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetMasterHlsVideoPlaylistParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetMasterHlsVideoPlaylistParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetMasterHlsVideoPlaylistParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetMasterHlsVideoPlaylistParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetMasterHlsVideoPlaylistParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetMasterHlsVideoPlaylistParams::audioCodec() const { - return m_audioCodec; -} - -void GetMasterHlsVideoPlaylistParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetMasterHlsVideoPlaylistParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetMasterHlsVideoPlaylistParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetMasterHlsVideoPlaylistParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetMasterHlsVideoPlaylistParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetMasterHlsVideoPlaylistParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetMasterHlsVideoPlaylistParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetMasterHlsVideoPlaylistParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetMasterHlsVideoPlaylistParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &GetMasterHlsVideoPlaylistParams::context() const { - return m_context; -} - -void GetMasterHlsVideoPlaylistParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetMasterHlsVideoPlaylistParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetMasterHlsVideoPlaylistParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetMasterHlsVideoPlaylistParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetMasterHlsVideoPlaylistParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetMasterHlsVideoPlaylistParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetMasterHlsVideoPlaylistParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetMasterHlsVideoPlaylistParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetMasterHlsVideoPlaylistParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetMasterHlsVideoPlaylistParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetMasterHlsVideoPlaylistParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetMasterHlsVideoPlaylistParams::deviceId() const { - return m_deviceId; -} - -void GetMasterHlsVideoPlaylistParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetMasterHlsVideoPlaylistParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetMasterHlsVideoPlaylistParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetMasterHlsVideoPlaylistParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetMasterHlsVideoPlaylistParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetMasterHlsVideoPlaylistParams::enableAdaptiveBitrateStreaming() const { - return m_enableAdaptiveBitrateStreaming.value(); -} - -void GetMasterHlsVideoPlaylistParams::setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming) { - m_enableAdaptiveBitrateStreaming = newEnableAdaptiveBitrateStreaming; -} - -bool GetMasterHlsVideoPlaylistParams::enableAdaptiveBitrateStreamingNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableAdaptiveBitrateStreaming.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setEnableAdaptiveBitrateStreamingNull() { - m_enableAdaptiveBitrateStreaming = std::nullopt; -} - - -const bool &GetMasterHlsVideoPlaylistParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetMasterHlsVideoPlaylistParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetMasterHlsVideoPlaylistParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetMasterHlsVideoPlaylistParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetMasterHlsVideoPlaylistParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetMasterHlsVideoPlaylistParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetMasterHlsVideoPlaylistParams::framerate() const { - return m_framerate.value(); -} - -void GetMasterHlsVideoPlaylistParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetMasterHlsVideoPlaylistParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::height() const { - return m_height.value(); -} - -void GetMasterHlsVideoPlaylistParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetMasterHlsVideoPlaylistParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetMasterHlsVideoPlaylistParams::level() const { - return m_level; -} - -void GetMasterHlsVideoPlaylistParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetMasterHlsVideoPlaylistParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetMasterHlsVideoPlaylistParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetMasterHlsVideoPlaylistParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetMasterHlsVideoPlaylistParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetMasterHlsVideoPlaylistParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetMasterHlsVideoPlaylistParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetMasterHlsVideoPlaylistParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetMasterHlsVideoPlaylistParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetMasterHlsVideoPlaylistParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetMasterHlsVideoPlaylistParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::minSegments() const { - return m_minSegments.value(); -} - -void GetMasterHlsVideoPlaylistParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetMasterHlsVideoPlaylistParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetMasterHlsVideoPlaylistParams::params() const { - return m_params; -} - -void GetMasterHlsVideoPlaylistParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetMasterHlsVideoPlaylistParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetMasterHlsVideoPlaylistParams::playSessionId() const { - return m_playSessionId; -} - -void GetMasterHlsVideoPlaylistParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetMasterHlsVideoPlaylistParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetMasterHlsVideoPlaylistParams::profile() const { - return m_profile; -} - -void GetMasterHlsVideoPlaylistParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetMasterHlsVideoPlaylistParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetMasterHlsVideoPlaylistParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetMasterHlsVideoPlaylistParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetMasterHlsVideoPlaylistParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetMasterHlsVideoPlaylistParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetMasterHlsVideoPlaylistParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetMasterHlsVideoPlaylistParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetMasterHlsVideoPlaylistParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetMasterHlsVideoPlaylistParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetMasterHlsVideoPlaylistParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetMasterHlsVideoPlaylistParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetMasterHlsVideoPlaylistParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetMasterHlsVideoPlaylistParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetMasterHlsVideoPlaylistParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetMasterHlsVideoPlaylistParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetMasterHlsVideoPlaylistParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetMasterHlsVideoPlaylistParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetMasterHlsVideoPlaylistParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetMasterHlsVideoPlaylistParams::streamOptions() const { - return m_streamOptions; -} - -void GetMasterHlsVideoPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetMasterHlsVideoPlaylistParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetMasterHlsVideoPlaylistParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetMasterHlsVideoPlaylistParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetMasterHlsVideoPlaylistParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetMasterHlsVideoPlaylistParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetMasterHlsVideoPlaylistParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetMasterHlsVideoPlaylistParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetMasterHlsVideoPlaylistParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetMasterHlsVideoPlaylistParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetMasterHlsVideoPlaylistParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetMasterHlsVideoPlaylistParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetMasterHlsVideoPlaylistParams::tag() const { - return m_tag; -} - -void GetMasterHlsVideoPlaylistParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetMasterHlsVideoPlaylistParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetMasterHlsVideoPlaylistParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetMasterHlsVideoPlaylistParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetMasterHlsVideoPlaylistParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetMasterHlsVideoPlaylistParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetMasterHlsVideoPlaylistParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetMasterHlsVideoPlaylistParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetMasterHlsVideoPlaylistParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetMasterHlsVideoPlaylistParams::videoCodec() const { - return m_videoCodec; -} - -void GetMasterHlsVideoPlaylistParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetMasterHlsVideoPlaylistParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetMasterHlsVideoPlaylistParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetMasterHlsVideoPlaylistParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetMasterHlsVideoPlaylistParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetMasterHlsVideoPlaylistParams::width() const { - return m_width.value(); -} - -void GetMasterHlsVideoPlaylistParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetMasterHlsVideoPlaylistParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetMasterHlsVideoPlaylistParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmediafoldersparams.cpp b/core/src/loader/getmediafoldersparams.cpp deleted file mode 100644 index 3ce1f08..0000000 --- a/core/src/loader/getmediafoldersparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmediafoldersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMediaFoldersParams - -const bool &GetMediaFoldersParams::isHidden() const { - return m_isHidden.value(); -} - -void GetMediaFoldersParams::setIsHidden(bool newIsHidden) { - m_isHidden = newIsHidden; -} - -bool GetMediaFoldersParams::isHiddenNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isHidden.has_value(); -} - -void GetMediaFoldersParams::setIsHiddenNull() { - m_isHidden = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmediainfoimageparams.cpp b/core/src/loader/getmediainfoimageparams.cpp deleted file mode 100644 index 41b42b3..0000000 --- a/core/src/loader/getmediainfoimageparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmediainfoimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMediaInfoImageParams - -const QString &GetMediaInfoImageParams::name() const { - return m_name; -} - -void GetMediaInfoImageParams::setName(QString newName) { - m_name = newName; -} - - -const QString &GetMediaInfoImageParams::theme() const { - return m_theme; -} - -void GetMediaInfoImageParams::setTheme(QString newTheme) { - m_theme = newTheme; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmediainfoimagesparams.cpp b/core/src/loader/getmediainfoimagesparams.cpp deleted file mode 100644 index b79d792..0000000 --- a/core/src/loader/getmediainfoimagesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmediainfoimagesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMediaInfoImagesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmediareceiverregistrar_2params.cpp b/core/src/loader/getmediareceiverregistrar_2params.cpp deleted file mode 100644 index 3527df2..0000000 --- a/core/src/loader/getmediareceiverregistrar_2params.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmediareceiverregistrar_2params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMediaReceiverRegistrar_2Params - -const QString &GetMediaReceiverRegistrar_2Params::serverId() const { - return m_serverId; -} - -void GetMediaReceiverRegistrar_2Params::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmediareceiverregistrar_3params.cpp b/core/src/loader/getmediareceiverregistrar_3params.cpp deleted file mode 100644 index 683f085..0000000 --- a/core/src/loader/getmediareceiverregistrar_3params.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmediareceiverregistrar_3params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMediaReceiverRegistrar_3Params - -const QString &GetMediaReceiverRegistrar_3Params::serverId() const { - return m_serverId; -} - -void GetMediaReceiverRegistrar_3Params::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmediareceiverregistrarparams.cpp b/core/src/loader/getmediareceiverregistrarparams.cpp deleted file mode 100644 index 699f1db..0000000 --- a/core/src/loader/getmediareceiverregistrarparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmediareceiverregistrarparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMediaReceiverRegistrarParams - -const QString &GetMediaReceiverRegistrarParams::serverId() const { - return m_serverId; -} - -void GetMediaReceiverRegistrarParams::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmetadataeditorinfoparams.cpp b/core/src/loader/getmetadataeditorinfoparams.cpp deleted file mode 100644 index 55c7fa0..0000000 --- a/core/src/loader/getmetadataeditorinfoparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmetadataeditorinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMetadataEditorInfoParams - -const QString &GetMetadataEditorInfoParams::itemId() const { - return m_itemId; -} - -void GetMetadataEditorInfoParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmovierecommendationsparams.cpp b/core/src/loader/getmovierecommendationsparams.cpp deleted file mode 100644 index b88f840..0000000 --- a/core/src/loader/getmovierecommendationsparams.cpp +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmovierecommendationsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMovieRecommendationsParams - -const qint32 &GetMovieRecommendationsParams::categoryLimit() const { - return m_categoryLimit.value(); -} - -void GetMovieRecommendationsParams::setCategoryLimit(qint32 newCategoryLimit) { - m_categoryLimit = newCategoryLimit; -} - -bool GetMovieRecommendationsParams::categoryLimitNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_categoryLimit.has_value(); -} - -void GetMovieRecommendationsParams::setCategoryLimitNull() { - m_categoryLimit = std::nullopt; -} - - -const QList &GetMovieRecommendationsParams::fields() const { - return m_fields; -} - -void GetMovieRecommendationsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetMovieRecommendationsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetMovieRecommendationsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetMovieRecommendationsParams::itemLimit() const { - return m_itemLimit.value(); -} - -void GetMovieRecommendationsParams::setItemLimit(qint32 newItemLimit) { - m_itemLimit = newItemLimit; -} - -bool GetMovieRecommendationsParams::itemLimitNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_itemLimit.has_value(); -} - -void GetMovieRecommendationsParams::setItemLimitNull() { - m_itemLimit = std::nullopt; -} - - -const QString &GetMovieRecommendationsParams::parentId() const { - return m_parentId; -} - -void GetMovieRecommendationsParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetMovieRecommendationsParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetMovieRecommendationsParams::setParentIdNull() { - m_parentId.clear(); -} - - -const QString &GetMovieRecommendationsParams::userId() const { - return m_userId; -} - -void GetMovieRecommendationsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetMovieRecommendationsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetMovieRecommendationsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmovieremotesearchresultsparams.cpp b/core/src/loader/getmovieremotesearchresultsparams.cpp deleted file mode 100644 index 4975824..0000000 --- a/core/src/loader/getmovieremotesearchresultsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmovieremotesearchresultsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMovieRemoteSearchResultsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmusicalbumremotesearchresultsparams.cpp b/core/src/loader/getmusicalbumremotesearchresultsparams.cpp deleted file mode 100644 index 132285d..0000000 --- a/core/src/loader/getmusicalbumremotesearchresultsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmusicalbumremotesearchresultsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMusicAlbumRemoteSearchResultsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmusicartistremotesearchresultsparams.cpp b/core/src/loader/getmusicartistremotesearchresultsparams.cpp deleted file mode 100644 index ff5e703..0000000 --- a/core/src/loader/getmusicartistremotesearchresultsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmusicartistremotesearchresultsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMusicArtistRemoteSearchResultsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmusicgenreimagebyindexparams.cpp b/core/src/loader/getmusicgenreimagebyindexparams.cpp deleted file mode 100644 index fee20f5..0000000 --- a/core/src/loader/getmusicgenreimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmusicgenreimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMusicGenreImageByIndexParams - -const qint32 &GetMusicGenreImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void GetMusicGenreImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &GetMusicGenreImageByIndexParams::imageType() const { - return m_imageType; -} - -void GetMusicGenreImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetMusicGenreImageByIndexParams::name() const { - return m_name; -} - -void GetMusicGenreImageByIndexParams::setName(QString newName) { - m_name = newName; -} - - -const bool &GetMusicGenreImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetMusicGenreImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetMusicGenreImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetMusicGenreImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetMusicGenreImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetMusicGenreImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetMusicGenreImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetMusicGenreImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetMusicGenreImageByIndexParams::blur() const { - return m_blur.value(); -} - -void GetMusicGenreImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetMusicGenreImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetMusicGenreImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetMusicGenreImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetMusicGenreImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetMusicGenreImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetMusicGenreImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetMusicGenreImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetMusicGenreImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetMusicGenreImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetMusicGenreImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetMusicGenreImageByIndexParams::format() const { - return m_format; -} - -void GetMusicGenreImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetMusicGenreImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetMusicGenreImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetMusicGenreImageByIndexParams::height() const { - return m_height.value(); -} - -void GetMusicGenreImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetMusicGenreImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetMusicGenreImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetMusicGenreImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetMusicGenreImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetMusicGenreImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetMusicGenreImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetMusicGenreImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetMusicGenreImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetMusicGenreImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetMusicGenreImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetMusicGenreImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetMusicGenreImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetMusicGenreImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetMusicGenreImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetMusicGenreImageByIndexParams::quality() const { - return m_quality.value(); -} - -void GetMusicGenreImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetMusicGenreImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetMusicGenreImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetMusicGenreImageByIndexParams::tag() const { - return m_tag; -} - -void GetMusicGenreImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetMusicGenreImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetMusicGenreImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetMusicGenreImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetMusicGenreImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetMusicGenreImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetMusicGenreImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetMusicGenreImageByIndexParams::width() const { - return m_width.value(); -} - -void GetMusicGenreImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetMusicGenreImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetMusicGenreImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmusicgenreimageparams.cpp b/core/src/loader/getmusicgenreimageparams.cpp deleted file mode 100644 index ace8128..0000000 --- a/core/src/loader/getmusicgenreimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmusicgenreimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMusicGenreImageParams - -const ImageType &GetMusicGenreImageParams::imageType() const { - return m_imageType; -} - -void GetMusicGenreImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetMusicGenreImageParams::name() const { - return m_name; -} - -void GetMusicGenreImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &GetMusicGenreImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetMusicGenreImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetMusicGenreImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetMusicGenreImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetMusicGenreImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetMusicGenreImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetMusicGenreImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetMusicGenreImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetMusicGenreImageParams::blur() const { - return m_blur.value(); -} - -void GetMusicGenreImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetMusicGenreImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetMusicGenreImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetMusicGenreImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetMusicGenreImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetMusicGenreImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetMusicGenreImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetMusicGenreImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetMusicGenreImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetMusicGenreImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetMusicGenreImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetMusicGenreImageParams::format() const { - return m_format; -} - -void GetMusicGenreImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetMusicGenreImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetMusicGenreImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetMusicGenreImageParams::height() const { - return m_height.value(); -} - -void GetMusicGenreImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetMusicGenreImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetMusicGenreImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetMusicGenreImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void GetMusicGenreImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool GetMusicGenreImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void GetMusicGenreImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &GetMusicGenreImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetMusicGenreImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetMusicGenreImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetMusicGenreImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetMusicGenreImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetMusicGenreImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetMusicGenreImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetMusicGenreImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetMusicGenreImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetMusicGenreImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetMusicGenreImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetMusicGenreImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetMusicGenreImageParams::quality() const { - return m_quality.value(); -} - -void GetMusicGenreImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetMusicGenreImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetMusicGenreImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetMusicGenreImageParams::tag() const { - return m_tag; -} - -void GetMusicGenreImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetMusicGenreImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetMusicGenreImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetMusicGenreImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetMusicGenreImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetMusicGenreImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetMusicGenreImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetMusicGenreImageParams::width() const { - return m_width.value(); -} - -void GetMusicGenreImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetMusicGenreImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetMusicGenreImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmusicgenreparams.cpp b/core/src/loader/getmusicgenreparams.cpp deleted file mode 100644 index 46a256b..0000000 --- a/core/src/loader/getmusicgenreparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmusicgenreparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMusicGenreParams - -const QString &GetMusicGenreParams::genreName() const { - return m_genreName; -} - -void GetMusicGenreParams::setGenreName(QString newGenreName) { - m_genreName = newGenreName; -} - - -const QString &GetMusicGenreParams::userId() const { - return m_userId; -} - -void GetMusicGenreParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetMusicGenreParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetMusicGenreParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmusicgenresparams.cpp b/core/src/loader/getmusicgenresparams.cpp deleted file mode 100644 index 80b1bf6..0000000 --- a/core/src/loader/getmusicgenresparams.cpp +++ /dev/null @@ -1,377 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmusicgenresparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMusicGenresParams - -const QList &GetMusicGenresParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetMusicGenresParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetMusicGenresParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetMusicGenresParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetMusicGenresParams::enableImages() const { - return m_enableImages.value(); -} - -void GetMusicGenresParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetMusicGenresParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetMusicGenresParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetMusicGenresParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetMusicGenresParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetMusicGenresParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetMusicGenresParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const QStringList &GetMusicGenresParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetMusicGenresParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetMusicGenresParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetMusicGenresParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetMusicGenresParams::fields() const { - return m_fields; -} - -void GetMusicGenresParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetMusicGenresParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetMusicGenresParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetMusicGenresParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetMusicGenresParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetMusicGenresParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetMusicGenresParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QStringList &GetMusicGenresParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetMusicGenresParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetMusicGenresParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetMusicGenresParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetMusicGenresParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetMusicGenresParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetMusicGenresParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetMusicGenresParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const qint32 &GetMusicGenresParams::limit() const { - return m_limit.value(); -} - -void GetMusicGenresParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetMusicGenresParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetMusicGenresParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetMusicGenresParams::nameLessThan() const { - return m_nameLessThan; -} - -void GetMusicGenresParams::setNameLessThan(QString newNameLessThan) { - m_nameLessThan = newNameLessThan; -} - -bool GetMusicGenresParams::nameLessThanNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameLessThan.isNull(); -} - -void GetMusicGenresParams::setNameLessThanNull() { - m_nameLessThan.clear(); -} - - -const QString &GetMusicGenresParams::nameStartsWith() const { - return m_nameStartsWith; -} - -void GetMusicGenresParams::setNameStartsWith(QString newNameStartsWith) { - m_nameStartsWith = newNameStartsWith; -} - -bool GetMusicGenresParams::nameStartsWithNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWith.isNull(); -} - -void GetMusicGenresParams::setNameStartsWithNull() { - m_nameStartsWith.clear(); -} - - -const QString &GetMusicGenresParams::nameStartsWithOrGreater() const { - return m_nameStartsWithOrGreater; -} - -void GetMusicGenresParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) { - m_nameStartsWithOrGreater = newNameStartsWithOrGreater; -} - -bool GetMusicGenresParams::nameStartsWithOrGreaterNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWithOrGreater.isNull(); -} - -void GetMusicGenresParams::setNameStartsWithOrGreaterNull() { - m_nameStartsWithOrGreater.clear(); -} - - -const QString &GetMusicGenresParams::parentId() const { - return m_parentId; -} - -void GetMusicGenresParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetMusicGenresParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetMusicGenresParams::setParentIdNull() { - m_parentId.clear(); -} - - -const QString &GetMusicGenresParams::searchTerm() const { - return m_searchTerm; -} - -void GetMusicGenresParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetMusicGenresParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetMusicGenresParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const qint32 &GetMusicGenresParams::startIndex() const { - return m_startIndex.value(); -} - -void GetMusicGenresParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetMusicGenresParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetMusicGenresParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetMusicGenresParams::userId() const { - return m_userId; -} - -void GetMusicGenresParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetMusicGenresParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetMusicGenresParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getmusicvideoremotesearchresultsparams.cpp b/core/src/loader/getmusicvideoremotesearchresultsparams.cpp deleted file mode 100644 index ed86492..0000000 --- a/core/src/loader/getmusicvideoremotesearchresultsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getmusicvideoremotesearchresultsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetMusicVideoRemoteSearchResultsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getnamedconfigurationparams.cpp b/core/src/loader/getnamedconfigurationparams.cpp deleted file mode 100644 index 9ff456f..0000000 --- a/core/src/loader/getnamedconfigurationparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getnamedconfigurationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetNamedConfigurationParams - -const QString &GetNamedConfigurationParams::key() const { - return m_key; -} - -void GetNamedConfigurationParams::setKey(QString newKey) { - m_key = newKey; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getnetworksharesparams.cpp b/core/src/loader/getnetworksharesparams.cpp deleted file mode 100644 index 08b700a..0000000 --- a/core/src/loader/getnetworksharesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getnetworksharesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetNetworkSharesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getnextupparams.cpp b/core/src/loader/getnextupparams.cpp deleted file mode 100644 index fa97113..0000000 --- a/core/src/loader/getnextupparams.cpp +++ /dev/null @@ -1,293 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getnextupparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetNextUpParams - -const bool &GetNextUpParams::disableFirstEpisode() const { - return m_disableFirstEpisode.value(); -} - -void GetNextUpParams::setDisableFirstEpisode(bool newDisableFirstEpisode) { - m_disableFirstEpisode = newDisableFirstEpisode; -} - -bool GetNextUpParams::disableFirstEpisodeNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_disableFirstEpisode.has_value(); -} - -void GetNextUpParams::setDisableFirstEpisodeNull() { - m_disableFirstEpisode = std::nullopt; -} - - -const QList &GetNextUpParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetNextUpParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetNextUpParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetNextUpParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetNextUpParams::enableImges() const { - return m_enableImges.value(); -} - -void GetNextUpParams::setEnableImges(bool newEnableImges) { - m_enableImges = newEnableImges; -} - -bool GetNextUpParams::enableImgesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImges.has_value(); -} - -void GetNextUpParams::setEnableImgesNull() { - m_enableImges = std::nullopt; -} - - -const bool &GetNextUpParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetNextUpParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetNextUpParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetNextUpParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetNextUpParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetNextUpParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetNextUpParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetNextUpParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetNextUpParams::fields() const { - return m_fields; -} - -void GetNextUpParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetNextUpParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetNextUpParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetNextUpParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetNextUpParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetNextUpParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetNextUpParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetNextUpParams::limit() const { - return m_limit.value(); -} - -void GetNextUpParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetNextUpParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetNextUpParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetNextUpParams::parentId() const { - return m_parentId; -} - -void GetNextUpParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetNextUpParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetNextUpParams::setParentIdNull() { - m_parentId.clear(); -} - - -const QString &GetNextUpParams::seriesId() const { - return m_seriesId; -} - -void GetNextUpParams::setSeriesId(QString newSeriesId) { - m_seriesId = newSeriesId; -} - -bool GetNextUpParams::seriesIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_seriesId.isNull(); -} - -void GetNextUpParams::setSeriesIdNull() { - m_seriesId.clear(); -} - - -const qint32 &GetNextUpParams::startIndex() const { - return m_startIndex.value(); -} - -void GetNextUpParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetNextUpParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetNextUpParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetNextUpParams::userId() const { - return m_userId; -} - -void GetNextUpParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetNextUpParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetNextUpParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getnotificationservicesparams.cpp b/core/src/loader/getnotificationservicesparams.cpp deleted file mode 100644 index a54b99e..0000000 --- a/core/src/loader/getnotificationservicesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getnotificationservicesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetNotificationServicesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getnotificationsparams.cpp b/core/src/loader/getnotificationsparams.cpp deleted file mode 100644 index 77b9a3f..0000000 --- a/core/src/loader/getnotificationsparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getnotificationsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetNotificationsParams - -const QString &GetNotificationsParams::userId() const { - return m_userId; -} - -void GetNotificationsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getnotificationssummaryparams.cpp b/core/src/loader/getnotificationssummaryparams.cpp deleted file mode 100644 index 287c2dc..0000000 --- a/core/src/loader/getnotificationssummaryparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getnotificationssummaryparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetNotificationsSummaryParams - -const QString &GetNotificationsSummaryParams::userId() const { - return m_userId; -} - -void GetNotificationsSummaryParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getnotificationtypesparams.cpp b/core/src/loader/getnotificationtypesparams.cpp deleted file mode 100644 index 0edf838..0000000 --- a/core/src/loader/getnotificationtypesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getnotificationtypesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetNotificationTypesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpackageinfoparams.cpp b/core/src/loader/getpackageinfoparams.cpp deleted file mode 100644 index 66579c4..0000000 --- a/core/src/loader/getpackageinfoparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpackageinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPackageInfoParams - -const QString &GetPackageInfoParams::name() const { - return m_name; -} - -void GetPackageInfoParams::setName(QString newName) { - m_name = newName; -} - - -const QString &GetPackageInfoParams::assemblyGuid() const { - return m_assemblyGuid; -} - -void GetPackageInfoParams::setAssemblyGuid(QString newAssemblyGuid) { - m_assemblyGuid = newAssemblyGuid; -} - -bool GetPackageInfoParams::assemblyGuidNull() const { - // Nullable: true - // Type Nullable: true - - - return m_assemblyGuid.isNull(); -} - -void GetPackageInfoParams::setAssemblyGuidNull() { - m_assemblyGuid.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpackagesparams.cpp b/core/src/loader/getpackagesparams.cpp deleted file mode 100644 index 55a6f41..0000000 --- a/core/src/loader/getpackagesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpackagesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPackagesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getparams.cpp b/core/src/loader/getparams.cpp deleted file mode 100644 index 276fc55..0000000 --- a/core/src/loader/getparams.cpp +++ /dev/null @@ -1,407 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetParams - -const QString &GetParams::searchTerm() const { - return m_searchTerm; -} - -void GetParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - - -const QStringList &GetParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const bool &GetParams::includeArtists() const { - return m_includeArtists.value(); -} - -void GetParams::setIncludeArtists(bool newIncludeArtists) { - m_includeArtists = newIncludeArtists; -} - -bool GetParams::includeArtistsNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_includeArtists.has_value(); -} - -void GetParams::setIncludeArtistsNull() { - m_includeArtists = std::nullopt; -} - - -const bool &GetParams::includeGenres() const { - return m_includeGenres.value(); -} - -void GetParams::setIncludeGenres(bool newIncludeGenres) { - m_includeGenres = newIncludeGenres; -} - -bool GetParams::includeGenresNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_includeGenres.has_value(); -} - -void GetParams::setIncludeGenresNull() { - m_includeGenres = std::nullopt; -} - - -const QStringList &GetParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetParams::includeMedia() const { - return m_includeMedia.value(); -} - -void GetParams::setIncludeMedia(bool newIncludeMedia) { - m_includeMedia = newIncludeMedia; -} - -bool GetParams::includeMediaNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_includeMedia.has_value(); -} - -void GetParams::setIncludeMediaNull() { - m_includeMedia = std::nullopt; -} - - -const bool &GetParams::includePeople() const { - return m_includePeople.value(); -} - -void GetParams::setIncludePeople(bool newIncludePeople) { - m_includePeople = newIncludePeople; -} - -bool GetParams::includePeopleNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_includePeople.has_value(); -} - -void GetParams::setIncludePeopleNull() { - m_includePeople = std::nullopt; -} - - -const bool &GetParams::includeStudios() const { - return m_includeStudios.value(); -} - -void GetParams::setIncludeStudios(bool newIncludeStudios) { - m_includeStudios = newIncludeStudios; -} - -bool GetParams::includeStudiosNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_includeStudios.has_value(); -} - -void GetParams::setIncludeStudiosNull() { - m_includeStudios = std::nullopt; -} - - -const bool &GetParams::isKids() const { - return m_isKids.value(); -} - -void GetParams::setIsKids(bool newIsKids) { - m_isKids = newIsKids; -} - -bool GetParams::isKidsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isKids.has_value(); -} - -void GetParams::setIsKidsNull() { - m_isKids = std::nullopt; -} - - -const bool &GetParams::isMovie() const { - return m_isMovie.value(); -} - -void GetParams::setIsMovie(bool newIsMovie) { - m_isMovie = newIsMovie; -} - -bool GetParams::isMovieNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMovie.has_value(); -} - -void GetParams::setIsMovieNull() { - m_isMovie = std::nullopt; -} - - -const bool &GetParams::isNews() const { - return m_isNews.value(); -} - -void GetParams::setIsNews(bool newIsNews) { - m_isNews = newIsNews; -} - -bool GetParams::isNewsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isNews.has_value(); -} - -void GetParams::setIsNewsNull() { - m_isNews = std::nullopt; -} - - -const bool &GetParams::isSeries() const { - return m_isSeries.value(); -} - -void GetParams::setIsSeries(bool newIsSeries) { - m_isSeries = newIsSeries; -} - -bool GetParams::isSeriesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSeries.has_value(); -} - -void GetParams::setIsSeriesNull() { - m_isSeries = std::nullopt; -} - - -const bool &GetParams::isSports() const { - return m_isSports.value(); -} - -void GetParams::setIsSports(bool newIsSports) { - m_isSports = newIsSports; -} - -bool GetParams::isSportsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSports.has_value(); -} - -void GetParams::setIsSportsNull() { - m_isSports = std::nullopt; -} - - -const qint32 &GetParams::limit() const { - return m_limit.value(); -} - -void GetParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QStringList &GetParams::mediaTypes() const { - return m_mediaTypes; -} - -void GetParams::setMediaTypes(QStringList newMediaTypes) { - m_mediaTypes = newMediaTypes; -} - -bool GetParams::mediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaTypes.size() == 0; -} - -void GetParams::setMediaTypesNull() { - m_mediaTypes.clear(); -} - - -const QString &GetParams::parentId() const { - return m_parentId; -} - -void GetParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetParams::setParentIdNull() { - m_parentId.clear(); -} - - -const qint32 &GetParams::startIndex() const { - return m_startIndex.value(); -} - -void GetParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetParams::userId() const { - return m_userId; -} - -void GetParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getparentalratingsparams.cpp b/core/src/loader/getparentalratingsparams.cpp deleted file mode 100644 index 4c4952b..0000000 --- a/core/src/loader/getparentalratingsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getparentalratingsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetParentalRatingsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getparentpathparams.cpp b/core/src/loader/getparentpathparams.cpp deleted file mode 100644 index ba9d92c..0000000 --- a/core/src/loader/getparentpathparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getparentpathparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetParentPathParams - -const QString &GetParentPathParams::path() const { - return m_path; -} - -void GetParentPathParams::setPath(QString newPath) { - m_path = newPath; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpasswordresetprovidersparams.cpp b/core/src/loader/getpasswordresetprovidersparams.cpp deleted file mode 100644 index f15db80..0000000 --- a/core/src/loader/getpasswordresetprovidersparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpasswordresetprovidersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPasswordResetProvidersParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpersonimagebyindexparams.cpp b/core/src/loader/getpersonimagebyindexparams.cpp deleted file mode 100644 index c1def79..0000000 --- a/core/src/loader/getpersonimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpersonimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPersonImageByIndexParams - -const qint32 &GetPersonImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void GetPersonImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &GetPersonImageByIndexParams::imageType() const { - return m_imageType; -} - -void GetPersonImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetPersonImageByIndexParams::name() const { - return m_name; -} - -void GetPersonImageByIndexParams::setName(QString newName) { - m_name = newName; -} - - -const bool &GetPersonImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetPersonImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetPersonImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetPersonImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetPersonImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetPersonImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetPersonImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetPersonImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetPersonImageByIndexParams::blur() const { - return m_blur.value(); -} - -void GetPersonImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetPersonImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetPersonImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetPersonImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetPersonImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetPersonImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetPersonImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetPersonImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetPersonImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetPersonImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetPersonImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetPersonImageByIndexParams::format() const { - return m_format; -} - -void GetPersonImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetPersonImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetPersonImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetPersonImageByIndexParams::height() const { - return m_height.value(); -} - -void GetPersonImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetPersonImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetPersonImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetPersonImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetPersonImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetPersonImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetPersonImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetPersonImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetPersonImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetPersonImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetPersonImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetPersonImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetPersonImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetPersonImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetPersonImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetPersonImageByIndexParams::quality() const { - return m_quality.value(); -} - -void GetPersonImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetPersonImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetPersonImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetPersonImageByIndexParams::tag() const { - return m_tag; -} - -void GetPersonImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetPersonImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetPersonImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetPersonImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetPersonImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetPersonImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetPersonImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetPersonImageByIndexParams::width() const { - return m_width.value(); -} - -void GetPersonImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetPersonImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetPersonImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpersonimageparams.cpp b/core/src/loader/getpersonimageparams.cpp deleted file mode 100644 index 6cad051..0000000 --- a/core/src/loader/getpersonimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpersonimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPersonImageParams - -const ImageType &GetPersonImageParams::imageType() const { - return m_imageType; -} - -void GetPersonImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetPersonImageParams::name() const { - return m_name; -} - -void GetPersonImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &GetPersonImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetPersonImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetPersonImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetPersonImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetPersonImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetPersonImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetPersonImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetPersonImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetPersonImageParams::blur() const { - return m_blur.value(); -} - -void GetPersonImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetPersonImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetPersonImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetPersonImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetPersonImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetPersonImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetPersonImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetPersonImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetPersonImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetPersonImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetPersonImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetPersonImageParams::format() const { - return m_format; -} - -void GetPersonImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetPersonImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetPersonImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetPersonImageParams::height() const { - return m_height.value(); -} - -void GetPersonImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetPersonImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetPersonImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetPersonImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void GetPersonImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool GetPersonImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void GetPersonImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &GetPersonImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetPersonImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetPersonImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetPersonImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetPersonImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetPersonImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetPersonImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetPersonImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetPersonImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetPersonImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetPersonImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetPersonImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetPersonImageParams::quality() const { - return m_quality.value(); -} - -void GetPersonImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetPersonImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetPersonImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetPersonImageParams::tag() const { - return m_tag; -} - -void GetPersonImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetPersonImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetPersonImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetPersonImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetPersonImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetPersonImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetPersonImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetPersonImageParams::width() const { - return m_width.value(); -} - -void GetPersonImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetPersonImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetPersonImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpersonparams.cpp b/core/src/loader/getpersonparams.cpp deleted file mode 100644 index f0aaf82..0000000 --- a/core/src/loader/getpersonparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpersonparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPersonParams - -const QString &GetPersonParams::name() const { - return m_name; -} - -void GetPersonParams::setName(QString newName) { - m_name = newName; -} - - -const QString &GetPersonParams::userId() const { - return m_userId; -} - -void GetPersonParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetPersonParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetPersonParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpersonremotesearchresultsparams.cpp b/core/src/loader/getpersonremotesearchresultsparams.cpp deleted file mode 100644 index c848226..0000000 --- a/core/src/loader/getpersonremotesearchresultsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpersonremotesearchresultsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPersonRemoteSearchResultsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpersonsparams.cpp b/core/src/loader/getpersonsparams.cpp deleted file mode 100644 index 25836df..0000000 --- a/core/src/loader/getpersonsparams.cpp +++ /dev/null @@ -1,314 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpersonsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPersonsParams - -const QString &GetPersonsParams::appearsInItemId() const { - return m_appearsInItemId; -} - -void GetPersonsParams::setAppearsInItemId(QString newAppearsInItemId) { - m_appearsInItemId = newAppearsInItemId; -} - -bool GetPersonsParams::appearsInItemIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_appearsInItemId.isNull(); -} - -void GetPersonsParams::setAppearsInItemIdNull() { - m_appearsInItemId.clear(); -} - - -const QList &GetPersonsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetPersonsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetPersonsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetPersonsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetPersonsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetPersonsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetPersonsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetPersonsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetPersonsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetPersonsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetPersonsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetPersonsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QStringList &GetPersonsParams::excludePersonTypes() const { - return m_excludePersonTypes; -} - -void GetPersonsParams::setExcludePersonTypes(QStringList newExcludePersonTypes) { - m_excludePersonTypes = newExcludePersonTypes; -} - -bool GetPersonsParams::excludePersonTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludePersonTypes.size() == 0; -} - -void GetPersonsParams::setExcludePersonTypesNull() { - m_excludePersonTypes.clear(); -} - - -const QList &GetPersonsParams::fields() const { - return m_fields; -} - -void GetPersonsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetPersonsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetPersonsParams::setFieldsNull() { - m_fields.clear(); -} - - -const QList &GetPersonsParams::filters() const { - return m_filters; -} - -void GetPersonsParams::setFilters(QList newFilters) { - m_filters = newFilters; -} - -bool GetPersonsParams::filtersNull() const { - // Nullable: true - // Type Nullable: true - - - return m_filters.size() == 0; -} - -void GetPersonsParams::setFiltersNull() { - m_filters.clear(); -} - - -const qint32 &GetPersonsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetPersonsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetPersonsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetPersonsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const bool &GetPersonsParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetPersonsParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetPersonsParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetPersonsParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const qint32 &GetPersonsParams::limit() const { - return m_limit.value(); -} - -void GetPersonsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetPersonsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetPersonsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QStringList &GetPersonsParams::personTypes() const { - return m_personTypes; -} - -void GetPersonsParams::setPersonTypes(QStringList newPersonTypes) { - m_personTypes = newPersonTypes; -} - -bool GetPersonsParams::personTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personTypes.size() == 0; -} - -void GetPersonsParams::setPersonTypesNull() { - m_personTypes.clear(); -} - - -const QString &GetPersonsParams::searchTerm() const { - return m_searchTerm; -} - -void GetPersonsParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetPersonsParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetPersonsParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const QString &GetPersonsParams::userId() const { - return m_userId; -} - -void GetPersonsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetPersonsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetPersonsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getphysicalpathsparams.cpp b/core/src/loader/getphysicalpathsparams.cpp deleted file mode 100644 index bce8a99..0000000 --- a/core/src/loader/getphysicalpathsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getphysicalpathsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPhysicalPathsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpingsystemparams.cpp b/core/src/loader/getpingsystemparams.cpp deleted file mode 100644 index 44d0300..0000000 --- a/core/src/loader/getpingsystemparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpingsystemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPingSystemParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getplaybackinfoparams.cpp b/core/src/loader/getplaybackinfoparams.cpp deleted file mode 100644 index f17964f..0000000 --- a/core/src/loader/getplaybackinfoparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getplaybackinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPlaybackInfoParams - -const QString &GetPlaybackInfoParams::itemId() const { - return m_itemId; -} - -void GetPlaybackInfoParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetPlaybackInfoParams::userId() const { - return m_userId; -} - -void GetPlaybackInfoParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getplaylistitemsparams.cpp b/core/src/loader/getplaylistitemsparams.cpp deleted file mode 100644 index d17cdd5..0000000 --- a/core/src/loader/getplaylistitemsparams.cpp +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getplaylistitemsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPlaylistItemsParams - -const QString &GetPlaylistItemsParams::playlistId() const { - return m_playlistId; -} - -void GetPlaylistItemsParams::setPlaylistId(QString newPlaylistId) { - m_playlistId = newPlaylistId; -} - - -const QString &GetPlaylistItemsParams::userId() const { - return m_userId; -} - -void GetPlaylistItemsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const QList &GetPlaylistItemsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetPlaylistItemsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetPlaylistItemsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetPlaylistItemsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetPlaylistItemsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetPlaylistItemsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetPlaylistItemsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetPlaylistItemsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetPlaylistItemsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetPlaylistItemsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetPlaylistItemsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetPlaylistItemsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetPlaylistItemsParams::fields() const { - return m_fields; -} - -void GetPlaylistItemsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetPlaylistItemsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetPlaylistItemsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetPlaylistItemsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetPlaylistItemsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetPlaylistItemsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetPlaylistItemsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetPlaylistItemsParams::limit() const { - return m_limit.value(); -} - -void GetPlaylistItemsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetPlaylistItemsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetPlaylistItemsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const qint32 &GetPlaylistItemsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetPlaylistItemsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetPlaylistItemsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetPlaylistItemsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpluginconfigurationparams.cpp b/core/src/loader/getpluginconfigurationparams.cpp deleted file mode 100644 index d9e3b8d..0000000 --- a/core/src/loader/getpluginconfigurationparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpluginconfigurationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPluginConfigurationParams - -const QString &GetPluginConfigurationParams::pluginId() const { - return m_pluginId; -} - -void GetPluginConfigurationParams::setPluginId(QString newPluginId) { - m_pluginId = newPluginId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpluginimageparams.cpp b/core/src/loader/getpluginimageparams.cpp deleted file mode 100644 index 4b73975..0000000 --- a/core/src/loader/getpluginimageparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpluginimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPluginImageParams - -const QString &GetPluginImageParams::pluginId() const { - return m_pluginId; -} - -void GetPluginImageParams::setPluginId(QString newPluginId) { - m_pluginId = newPluginId; -} - - -const QSharedPointer &GetPluginImageParams::version() const { - return m_version; -} - -void GetPluginImageParams::setVersion(QSharedPointer newVersion) { - m_version = newVersion; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpluginmanifestparams.cpp b/core/src/loader/getpluginmanifestparams.cpp deleted file mode 100644 index efbab72..0000000 --- a/core/src/loader/getpluginmanifestparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpluginmanifestparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPluginManifestParams - -const QString &GetPluginManifestParams::pluginId() const { - return m_pluginId; -} - -void GetPluginManifestParams::setPluginId(QString newPluginId) { - m_pluginId = newPluginId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpluginsparams.cpp b/core/src/loader/getpluginsparams.cpp deleted file mode 100644 index 794fcdc..0000000 --- a/core/src/loader/getpluginsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpluginsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPluginsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpostedplaybackinfoparams.cpp b/core/src/loader/getpostedplaybackinfoparams.cpp deleted file mode 100644 index e01d8e3..0000000 --- a/core/src/loader/getpostedplaybackinfoparams.cpp +++ /dev/null @@ -1,344 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpostedplaybackinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPostedPlaybackInfoParams - -const QString &GetPostedPlaybackInfoParams::itemId() const { - return m_itemId; -} - -void GetPostedPlaybackInfoParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetPostedPlaybackInfoParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetPostedPlaybackInfoParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetPostedPlaybackInfoParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetPostedPlaybackInfoParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetPostedPlaybackInfoParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetPostedPlaybackInfoParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetPostedPlaybackInfoParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetPostedPlaybackInfoParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetPostedPlaybackInfoParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetPostedPlaybackInfoParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetPostedPlaybackInfoParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetPostedPlaybackInfoParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetPostedPlaybackInfoParams::autoOpenLiveStream() const { - return m_autoOpenLiveStream.value(); -} - -void GetPostedPlaybackInfoParams::setAutoOpenLiveStream(bool newAutoOpenLiveStream) { - m_autoOpenLiveStream = newAutoOpenLiveStream; -} - -bool GetPostedPlaybackInfoParams::autoOpenLiveStreamNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_autoOpenLiveStream.has_value(); -} - -void GetPostedPlaybackInfoParams::setAutoOpenLiveStreamNull() { - m_autoOpenLiveStream = std::nullopt; -} - - -const bool &GetPostedPlaybackInfoParams::enableDirectPlay() const { - return m_enableDirectPlay.value(); -} - -void GetPostedPlaybackInfoParams::setEnableDirectPlay(bool newEnableDirectPlay) { - m_enableDirectPlay = newEnableDirectPlay; -} - -bool GetPostedPlaybackInfoParams::enableDirectPlayNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableDirectPlay.has_value(); -} - -void GetPostedPlaybackInfoParams::setEnableDirectPlayNull() { - m_enableDirectPlay = std::nullopt; -} - - -const bool &GetPostedPlaybackInfoParams::enableDirectStream() const { - return m_enableDirectStream.value(); -} - -void GetPostedPlaybackInfoParams::setEnableDirectStream(bool newEnableDirectStream) { - m_enableDirectStream = newEnableDirectStream; -} - -bool GetPostedPlaybackInfoParams::enableDirectStreamNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableDirectStream.has_value(); -} - -void GetPostedPlaybackInfoParams::setEnableDirectStreamNull() { - m_enableDirectStream = std::nullopt; -} - - -const bool &GetPostedPlaybackInfoParams::enableTranscoding() const { - return m_enableTranscoding.value(); -} - -void GetPostedPlaybackInfoParams::setEnableTranscoding(bool newEnableTranscoding) { - m_enableTranscoding = newEnableTranscoding; -} - -bool GetPostedPlaybackInfoParams::enableTranscodingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableTranscoding.has_value(); -} - -void GetPostedPlaybackInfoParams::setEnableTranscodingNull() { - m_enableTranscoding = std::nullopt; -} - - -const QString &GetPostedPlaybackInfoParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetPostedPlaybackInfoParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetPostedPlaybackInfoParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetPostedPlaybackInfoParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetPostedPlaybackInfoParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetPostedPlaybackInfoParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetPostedPlaybackInfoParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetPostedPlaybackInfoParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const qint32 &GetPostedPlaybackInfoParams::maxStreamingBitrate() const { - return m_maxStreamingBitrate.value(); -} - -void GetPostedPlaybackInfoParams::setMaxStreamingBitrate(qint32 newMaxStreamingBitrate) { - m_maxStreamingBitrate = newMaxStreamingBitrate; -} - -bool GetPostedPlaybackInfoParams::maxStreamingBitrateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxStreamingBitrate.has_value(); -} - -void GetPostedPlaybackInfoParams::setMaxStreamingBitrateNull() { - m_maxStreamingBitrate = std::nullopt; -} - - -const QString &GetPostedPlaybackInfoParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetPostedPlaybackInfoParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetPostedPlaybackInfoParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetPostedPlaybackInfoParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint64 &GetPostedPlaybackInfoParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetPostedPlaybackInfoParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetPostedPlaybackInfoParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetPostedPlaybackInfoParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const qint32 &GetPostedPlaybackInfoParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetPostedPlaybackInfoParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetPostedPlaybackInfoParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetPostedPlaybackInfoParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetPostedPlaybackInfoParams::userId() const { - return m_userId; -} - -void GetPostedPlaybackInfoParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetPostedPlaybackInfoParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetPostedPlaybackInfoParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getprofileinfosparams.cpp b/core/src/loader/getprofileinfosparams.cpp deleted file mode 100644 index b28a982..0000000 --- a/core/src/loader/getprofileinfosparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getprofileinfosparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetProfileInfosParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getprofileparams.cpp b/core/src/loader/getprofileparams.cpp deleted file mode 100644 index e433098..0000000 --- a/core/src/loader/getprofileparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getprofileparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetProfileParams - -const QString &GetProfileParams::profileId() const { - return m_profileId; -} - -void GetProfileParams::setProfileId(QString newProfileId) { - m_profileId = newProfileId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getprogramparams.cpp b/core/src/loader/getprogramparams.cpp deleted file mode 100644 index 607d912..0000000 --- a/core/src/loader/getprogramparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getprogramparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetProgramParams - -const QString &GetProgramParams::programId() const { - return m_programId; -} - -void GetProgramParams::setProgramId(QString newProgramId) { - m_programId = newProgramId; -} - - -const QString &GetProgramParams::userId() const { - return m_userId; -} - -void GetProgramParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetProgramParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetProgramParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getprogramsparams.cpp b/core/src/loader/getprogramsparams.cpp deleted file mode 100644 index 9fa6216..0000000 --- a/core/src/loader/getprogramsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getprogramsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetProgramsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpublicsysteminfoparams.cpp b/core/src/loader/getpublicsysteminfoparams.cpp deleted file mode 100644 index 06d237e..0000000 --- a/core/src/loader/getpublicsysteminfoparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpublicsysteminfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPublicSystemInfoParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getpublicusersparams.cpp b/core/src/loader/getpublicusersparams.cpp deleted file mode 100644 index f04127a..0000000 --- a/core/src/loader/getpublicusersparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getpublicusersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetPublicUsersParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getqueryfilterslegacyparams.cpp b/core/src/loader/getqueryfilterslegacyparams.cpp deleted file mode 100644 index d2c2490..0000000 --- a/core/src/loader/getqueryfilterslegacyparams.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getqueryfilterslegacyparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetQueryFiltersLegacyParams - -const QStringList &GetQueryFiltersLegacyParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetQueryFiltersLegacyParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetQueryFiltersLegacyParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetQueryFiltersLegacyParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const QStringList &GetQueryFiltersLegacyParams::mediaTypes() const { - return m_mediaTypes; -} - -void GetQueryFiltersLegacyParams::setMediaTypes(QStringList newMediaTypes) { - m_mediaTypes = newMediaTypes; -} - -bool GetQueryFiltersLegacyParams::mediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaTypes.size() == 0; -} - -void GetQueryFiltersLegacyParams::setMediaTypesNull() { - m_mediaTypes.clear(); -} - - -const QString &GetQueryFiltersLegacyParams::parentId() const { - return m_parentId; -} - -void GetQueryFiltersLegacyParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetQueryFiltersLegacyParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetQueryFiltersLegacyParams::setParentIdNull() { - m_parentId.clear(); -} - - -const QString &GetQueryFiltersLegacyParams::userId() const { - return m_userId; -} - -void GetQueryFiltersLegacyParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetQueryFiltersLegacyParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetQueryFiltersLegacyParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getqueryfiltersparams.cpp b/core/src/loader/getqueryfiltersparams.cpp deleted file mode 100644 index ecf8fac..0000000 --- a/core/src/loader/getqueryfiltersparams.cpp +++ /dev/null @@ -1,251 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getqueryfiltersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetQueryFiltersParams - -const QStringList &GetQueryFiltersParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetQueryFiltersParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetQueryFiltersParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetQueryFiltersParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetQueryFiltersParams::isAiring() const { - return m_isAiring.value(); -} - -void GetQueryFiltersParams::setIsAiring(bool newIsAiring) { - m_isAiring = newIsAiring; -} - -bool GetQueryFiltersParams::isAiringNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isAiring.has_value(); -} - -void GetQueryFiltersParams::setIsAiringNull() { - m_isAiring = std::nullopt; -} - - -const bool &GetQueryFiltersParams::isKids() const { - return m_isKids.value(); -} - -void GetQueryFiltersParams::setIsKids(bool newIsKids) { - m_isKids = newIsKids; -} - -bool GetQueryFiltersParams::isKidsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isKids.has_value(); -} - -void GetQueryFiltersParams::setIsKidsNull() { - m_isKids = std::nullopt; -} - - -const bool &GetQueryFiltersParams::isMovie() const { - return m_isMovie.value(); -} - -void GetQueryFiltersParams::setIsMovie(bool newIsMovie) { - m_isMovie = newIsMovie; -} - -bool GetQueryFiltersParams::isMovieNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMovie.has_value(); -} - -void GetQueryFiltersParams::setIsMovieNull() { - m_isMovie = std::nullopt; -} - - -const bool &GetQueryFiltersParams::isNews() const { - return m_isNews.value(); -} - -void GetQueryFiltersParams::setIsNews(bool newIsNews) { - m_isNews = newIsNews; -} - -bool GetQueryFiltersParams::isNewsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isNews.has_value(); -} - -void GetQueryFiltersParams::setIsNewsNull() { - m_isNews = std::nullopt; -} - - -const bool &GetQueryFiltersParams::isSeries() const { - return m_isSeries.value(); -} - -void GetQueryFiltersParams::setIsSeries(bool newIsSeries) { - m_isSeries = newIsSeries; -} - -bool GetQueryFiltersParams::isSeriesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSeries.has_value(); -} - -void GetQueryFiltersParams::setIsSeriesNull() { - m_isSeries = std::nullopt; -} - - -const bool &GetQueryFiltersParams::isSports() const { - return m_isSports.value(); -} - -void GetQueryFiltersParams::setIsSports(bool newIsSports) { - m_isSports = newIsSports; -} - -bool GetQueryFiltersParams::isSportsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSports.has_value(); -} - -void GetQueryFiltersParams::setIsSportsNull() { - m_isSports = std::nullopt; -} - - -const QString &GetQueryFiltersParams::parentId() const { - return m_parentId; -} - -void GetQueryFiltersParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetQueryFiltersParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetQueryFiltersParams::setParentIdNull() { - m_parentId.clear(); -} - - -const bool &GetQueryFiltersParams::recursive() const { - return m_recursive.value(); -} - -void GetQueryFiltersParams::setRecursive(bool newRecursive) { - m_recursive = newRecursive; -} - -bool GetQueryFiltersParams::recursiveNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_recursive.has_value(); -} - -void GetQueryFiltersParams::setRecursiveNull() { - m_recursive = std::nullopt; -} - - -const QString &GetQueryFiltersParams::userId() const { - return m_userId; -} - -void GetQueryFiltersParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetQueryFiltersParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetQueryFiltersParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getratingimageparams.cpp b/core/src/loader/getratingimageparams.cpp deleted file mode 100644 index 57521c8..0000000 --- a/core/src/loader/getratingimageparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getratingimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRatingImageParams - -const QString &GetRatingImageParams::name() const { - return m_name; -} - -void GetRatingImageParams::setName(QString newName) { - m_name = newName; -} - - -const QString &GetRatingImageParams::theme() const { - return m_theme; -} - -void GetRatingImageParams::setTheme(QString newTheme) { - m_theme = newTheme; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getratingimagesparams.cpp b/core/src/loader/getratingimagesparams.cpp deleted file mode 100644 index 4fb7cc6..0000000 --- a/core/src/loader/getratingimagesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getratingimagesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRatingImagesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getrecommendedprogramsparams.cpp b/core/src/loader/getrecommendedprogramsparams.cpp deleted file mode 100644 index 8463fa2..0000000 --- a/core/src/loader/getrecommendedprogramsparams.cpp +++ /dev/null @@ -1,377 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getrecommendedprogramsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRecommendedProgramsParams - -const QList &GetRecommendedProgramsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetRecommendedProgramsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetRecommendedProgramsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetRecommendedProgramsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetRecommendedProgramsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetRecommendedProgramsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetRecommendedProgramsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetRecommendedProgramsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetRecommendedProgramsParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetRecommendedProgramsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetRecommendedProgramsParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetRecommendedProgramsParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetRecommendedProgramsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetRecommendedProgramsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetRecommendedProgramsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetRecommendedProgramsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetRecommendedProgramsParams::fields() const { - return m_fields; -} - -void GetRecommendedProgramsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetRecommendedProgramsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetRecommendedProgramsParams::setFieldsNull() { - m_fields.clear(); -} - - -const QStringList &GetRecommendedProgramsParams::genreIds() const { - return m_genreIds; -} - -void GetRecommendedProgramsParams::setGenreIds(QStringList newGenreIds) { - m_genreIds = newGenreIds; -} - -bool GetRecommendedProgramsParams::genreIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genreIds.size() == 0; -} - -void GetRecommendedProgramsParams::setGenreIdsNull() { - m_genreIds.clear(); -} - - -const bool &GetRecommendedProgramsParams::hasAired() const { - return m_hasAired.value(); -} - -void GetRecommendedProgramsParams::setHasAired(bool newHasAired) { - m_hasAired = newHasAired; -} - -bool GetRecommendedProgramsParams::hasAiredNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasAired.has_value(); -} - -void GetRecommendedProgramsParams::setHasAiredNull() { - m_hasAired = std::nullopt; -} - - -const qint32 &GetRecommendedProgramsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetRecommendedProgramsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetRecommendedProgramsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetRecommendedProgramsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const bool &GetRecommendedProgramsParams::isAiring() const { - return m_isAiring.value(); -} - -void GetRecommendedProgramsParams::setIsAiring(bool newIsAiring) { - m_isAiring = newIsAiring; -} - -bool GetRecommendedProgramsParams::isAiringNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isAiring.has_value(); -} - -void GetRecommendedProgramsParams::setIsAiringNull() { - m_isAiring = std::nullopt; -} - - -const bool &GetRecommendedProgramsParams::isKids() const { - return m_isKids.value(); -} - -void GetRecommendedProgramsParams::setIsKids(bool newIsKids) { - m_isKids = newIsKids; -} - -bool GetRecommendedProgramsParams::isKidsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isKids.has_value(); -} - -void GetRecommendedProgramsParams::setIsKidsNull() { - m_isKids = std::nullopt; -} - - -const bool &GetRecommendedProgramsParams::isMovie() const { - return m_isMovie.value(); -} - -void GetRecommendedProgramsParams::setIsMovie(bool newIsMovie) { - m_isMovie = newIsMovie; -} - -bool GetRecommendedProgramsParams::isMovieNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMovie.has_value(); -} - -void GetRecommendedProgramsParams::setIsMovieNull() { - m_isMovie = std::nullopt; -} - - -const bool &GetRecommendedProgramsParams::isNews() const { - return m_isNews.value(); -} - -void GetRecommendedProgramsParams::setIsNews(bool newIsNews) { - m_isNews = newIsNews; -} - -bool GetRecommendedProgramsParams::isNewsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isNews.has_value(); -} - -void GetRecommendedProgramsParams::setIsNewsNull() { - m_isNews = std::nullopt; -} - - -const bool &GetRecommendedProgramsParams::isSeries() const { - return m_isSeries.value(); -} - -void GetRecommendedProgramsParams::setIsSeries(bool newIsSeries) { - m_isSeries = newIsSeries; -} - -bool GetRecommendedProgramsParams::isSeriesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSeries.has_value(); -} - -void GetRecommendedProgramsParams::setIsSeriesNull() { - m_isSeries = std::nullopt; -} - - -const bool &GetRecommendedProgramsParams::isSports() const { - return m_isSports.value(); -} - -void GetRecommendedProgramsParams::setIsSports(bool newIsSports) { - m_isSports = newIsSports; -} - -bool GetRecommendedProgramsParams::isSportsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSports.has_value(); -} - -void GetRecommendedProgramsParams::setIsSportsNull() { - m_isSports = std::nullopt; -} - - -const qint32 &GetRecommendedProgramsParams::limit() const { - return m_limit.value(); -} - -void GetRecommendedProgramsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetRecommendedProgramsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetRecommendedProgramsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetRecommendedProgramsParams::userId() const { - return m_userId; -} - -void GetRecommendedProgramsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetRecommendedProgramsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetRecommendedProgramsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getrecordingfoldersparams.cpp b/core/src/loader/getrecordingfoldersparams.cpp deleted file mode 100644 index 14d1a24..0000000 --- a/core/src/loader/getrecordingfoldersparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getrecordingfoldersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRecordingFoldersParams - -const QString &GetRecordingFoldersParams::userId() const { - return m_userId; -} - -void GetRecordingFoldersParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetRecordingFoldersParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetRecordingFoldersParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getrecordinggroupparams.cpp b/core/src/loader/getrecordinggroupparams.cpp deleted file mode 100644 index b9892f9..0000000 --- a/core/src/loader/getrecordinggroupparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getrecordinggroupparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRecordingGroupParams - -const QString &GetRecordingGroupParams::groupId() const { - return m_groupId; -} - -void GetRecordingGroupParams::setGroupId(QString newGroupId) { - m_groupId = newGroupId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getrecordinggroupsparams.cpp b/core/src/loader/getrecordinggroupsparams.cpp deleted file mode 100644 index adb6470..0000000 --- a/core/src/loader/getrecordinggroupsparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getrecordinggroupsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRecordingGroupsParams - -const QString &GetRecordingGroupsParams::userId() const { - return m_userId; -} - -void GetRecordingGroupsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetRecordingGroupsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetRecordingGroupsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getrecordingparams.cpp b/core/src/loader/getrecordingparams.cpp deleted file mode 100644 index 80f19df..0000000 --- a/core/src/loader/getrecordingparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getrecordingparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRecordingParams - -const QString &GetRecordingParams::recordingId() const { - return m_recordingId; -} - -void GetRecordingParams::setRecordingId(QString newRecordingId) { - m_recordingId = newRecordingId; -} - - -const QString &GetRecordingParams::userId() const { - return m_userId; -} - -void GetRecordingParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetRecordingParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetRecordingParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getrecordingsparams.cpp b/core/src/loader/getrecordingsparams.cpp deleted file mode 100644 index 2413ead..0000000 --- a/core/src/loader/getrecordingsparams.cpp +++ /dev/null @@ -1,440 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getrecordingsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRecordingsParams - -const QString &GetRecordingsParams::channelId() const { - return m_channelId; -} - -void GetRecordingsParams::setChannelId(QString newChannelId) { - m_channelId = newChannelId; -} - -bool GetRecordingsParams::channelIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_channelId.isNull(); -} - -void GetRecordingsParams::setChannelIdNull() { - m_channelId.clear(); -} - - -const QList &GetRecordingsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetRecordingsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetRecordingsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetRecordingsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetRecordingsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetRecordingsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetRecordingsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetRecordingsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetRecordingsParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetRecordingsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetRecordingsParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetRecordingsParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetRecordingsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetRecordingsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetRecordingsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetRecordingsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetRecordingsParams::fields() const { - return m_fields; -} - -void GetRecordingsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetRecordingsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetRecordingsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetRecordingsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetRecordingsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetRecordingsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetRecordingsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const bool &GetRecordingsParams::isInProgress() const { - return m_isInProgress.value(); -} - -void GetRecordingsParams::setIsInProgress(bool newIsInProgress) { - m_isInProgress = newIsInProgress; -} - -bool GetRecordingsParams::isInProgressNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isInProgress.has_value(); -} - -void GetRecordingsParams::setIsInProgressNull() { - m_isInProgress = std::nullopt; -} - - -const bool &GetRecordingsParams::isKids() const { - return m_isKids.value(); -} - -void GetRecordingsParams::setIsKids(bool newIsKids) { - m_isKids = newIsKids; -} - -bool GetRecordingsParams::isKidsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isKids.has_value(); -} - -void GetRecordingsParams::setIsKidsNull() { - m_isKids = std::nullopt; -} - - -const bool &GetRecordingsParams::isLibraryItem() const { - return m_isLibraryItem.value(); -} - -void GetRecordingsParams::setIsLibraryItem(bool newIsLibraryItem) { - m_isLibraryItem = newIsLibraryItem; -} - -bool GetRecordingsParams::isLibraryItemNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isLibraryItem.has_value(); -} - -void GetRecordingsParams::setIsLibraryItemNull() { - m_isLibraryItem = std::nullopt; -} - - -const bool &GetRecordingsParams::isMovie() const { - return m_isMovie.value(); -} - -void GetRecordingsParams::setIsMovie(bool newIsMovie) { - m_isMovie = newIsMovie; -} - -bool GetRecordingsParams::isMovieNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMovie.has_value(); -} - -void GetRecordingsParams::setIsMovieNull() { - m_isMovie = std::nullopt; -} - - -const bool &GetRecordingsParams::isNews() const { - return m_isNews.value(); -} - -void GetRecordingsParams::setIsNews(bool newIsNews) { - m_isNews = newIsNews; -} - -bool GetRecordingsParams::isNewsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isNews.has_value(); -} - -void GetRecordingsParams::setIsNewsNull() { - m_isNews = std::nullopt; -} - - -const bool &GetRecordingsParams::isSeries() const { - return m_isSeries.value(); -} - -void GetRecordingsParams::setIsSeries(bool newIsSeries) { - m_isSeries = newIsSeries; -} - -bool GetRecordingsParams::isSeriesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSeries.has_value(); -} - -void GetRecordingsParams::setIsSeriesNull() { - m_isSeries = std::nullopt; -} - - -const bool &GetRecordingsParams::isSports() const { - return m_isSports.value(); -} - -void GetRecordingsParams::setIsSports(bool newIsSports) { - m_isSports = newIsSports; -} - -bool GetRecordingsParams::isSportsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSports.has_value(); -} - -void GetRecordingsParams::setIsSportsNull() { - m_isSports = std::nullopt; -} - - -const qint32 &GetRecordingsParams::limit() const { - return m_limit.value(); -} - -void GetRecordingsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetRecordingsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetRecordingsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetRecordingsParams::seriesTimerId() const { - return m_seriesTimerId; -} - -void GetRecordingsParams::setSeriesTimerId(QString newSeriesTimerId) { - m_seriesTimerId = newSeriesTimerId; -} - -bool GetRecordingsParams::seriesTimerIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_seriesTimerId.isNull(); -} - -void GetRecordingsParams::setSeriesTimerIdNull() { - m_seriesTimerId.clear(); -} - - -const qint32 &GetRecordingsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetRecordingsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetRecordingsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetRecordingsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const RecordingStatus &GetRecordingsParams::status() const { - return m_status; -} - -void GetRecordingsParams::setStatus(RecordingStatus newStatus) { - m_status = newStatus; -} - -bool GetRecordingsParams::statusNull() const { - // Nullable: true - // Type Nullable: true - - - return m_status== RecordingStatus::EnumNotSet; -} - -void GetRecordingsParams::setStatusNull() { - m_status= RecordingStatus::EnumNotSet; -} - - -const QString &GetRecordingsParams::userId() const { - return m_userId; -} - -void GetRecordingsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetRecordingsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetRecordingsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getrecordingsseriesparams.cpp b/core/src/loader/getrecordingsseriesparams.cpp deleted file mode 100644 index e8f0e70..0000000 --- a/core/src/loader/getrecordingsseriesparams.cpp +++ /dev/null @@ -1,335 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getrecordingsseriesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRecordingsSeriesParams - -const QString &GetRecordingsSeriesParams::channelId() const { - return m_channelId; -} - -void GetRecordingsSeriesParams::setChannelId(QString newChannelId) { - m_channelId = newChannelId; -} - -bool GetRecordingsSeriesParams::channelIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_channelId.isNull(); -} - -void GetRecordingsSeriesParams::setChannelIdNull() { - m_channelId.clear(); -} - - -const QList &GetRecordingsSeriesParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetRecordingsSeriesParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetRecordingsSeriesParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetRecordingsSeriesParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetRecordingsSeriesParams::enableImages() const { - return m_enableImages.value(); -} - -void GetRecordingsSeriesParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetRecordingsSeriesParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetRecordingsSeriesParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetRecordingsSeriesParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetRecordingsSeriesParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetRecordingsSeriesParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetRecordingsSeriesParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetRecordingsSeriesParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetRecordingsSeriesParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetRecordingsSeriesParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetRecordingsSeriesParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetRecordingsSeriesParams::fields() const { - return m_fields; -} - -void GetRecordingsSeriesParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetRecordingsSeriesParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetRecordingsSeriesParams::setFieldsNull() { - m_fields.clear(); -} - - -const QString &GetRecordingsSeriesParams::groupId() const { - return m_groupId; -} - -void GetRecordingsSeriesParams::setGroupId(QString newGroupId) { - m_groupId = newGroupId; -} - -bool GetRecordingsSeriesParams::groupIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_groupId.isNull(); -} - -void GetRecordingsSeriesParams::setGroupIdNull() { - m_groupId.clear(); -} - - -const qint32 &GetRecordingsSeriesParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetRecordingsSeriesParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetRecordingsSeriesParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetRecordingsSeriesParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const bool &GetRecordingsSeriesParams::isInProgress() const { - return m_isInProgress.value(); -} - -void GetRecordingsSeriesParams::setIsInProgress(bool newIsInProgress) { - m_isInProgress = newIsInProgress; -} - -bool GetRecordingsSeriesParams::isInProgressNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isInProgress.has_value(); -} - -void GetRecordingsSeriesParams::setIsInProgressNull() { - m_isInProgress = std::nullopt; -} - - -const qint32 &GetRecordingsSeriesParams::limit() const { - return m_limit.value(); -} - -void GetRecordingsSeriesParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetRecordingsSeriesParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetRecordingsSeriesParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetRecordingsSeriesParams::seriesTimerId() const { - return m_seriesTimerId; -} - -void GetRecordingsSeriesParams::setSeriesTimerId(QString newSeriesTimerId) { - m_seriesTimerId = newSeriesTimerId; -} - -bool GetRecordingsSeriesParams::seriesTimerIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_seriesTimerId.isNull(); -} - -void GetRecordingsSeriesParams::setSeriesTimerIdNull() { - m_seriesTimerId.clear(); -} - - -const qint32 &GetRecordingsSeriesParams::startIndex() const { - return m_startIndex.value(); -} - -void GetRecordingsSeriesParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetRecordingsSeriesParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetRecordingsSeriesParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const RecordingStatus &GetRecordingsSeriesParams::status() const { - return m_status; -} - -void GetRecordingsSeriesParams::setStatus(RecordingStatus newStatus) { - m_status = newStatus; -} - -bool GetRecordingsSeriesParams::statusNull() const { - // Nullable: true - // Type Nullable: true - - - return m_status== RecordingStatus::EnumNotSet; -} - -void GetRecordingsSeriesParams::setStatusNull() { - m_status= RecordingStatus::EnumNotSet; -} - - -const QString &GetRecordingsSeriesParams::userId() const { - return m_userId; -} - -void GetRecordingsSeriesParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetRecordingsSeriesParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetRecordingsSeriesParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getremoteimageparams.cpp b/core/src/loader/getremoteimageparams.cpp deleted file mode 100644 index 89f8157..0000000 --- a/core/src/loader/getremoteimageparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getremoteimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRemoteImageParams - -const QString &GetRemoteImageParams::imageUrl() const { - return m_imageUrl; -} - -void GetRemoteImageParams::setImageUrl(QString newImageUrl) { - m_imageUrl = newImageUrl; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getremoteimageprovidersparams.cpp b/core/src/loader/getremoteimageprovidersparams.cpp deleted file mode 100644 index b7c9f41..0000000 --- a/core/src/loader/getremoteimageprovidersparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getremoteimageprovidersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRemoteImageProvidersParams - -const QString &GetRemoteImageProvidersParams::itemId() const { - return m_itemId; -} - -void GetRemoteImageProvidersParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getremoteimagesparams.cpp b/core/src/loader/getremoteimagesparams.cpp deleted file mode 100644 index 99adfd5..0000000 --- a/core/src/loader/getremoteimagesparams.cpp +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getremoteimagesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRemoteImagesParams - -const QString &GetRemoteImagesParams::itemId() const { - return m_itemId; -} - -void GetRemoteImagesParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetRemoteImagesParams::includeAllLanguages() const { - return m_includeAllLanguages.value(); -} - -void GetRemoteImagesParams::setIncludeAllLanguages(bool newIncludeAllLanguages) { - m_includeAllLanguages = newIncludeAllLanguages; -} - -bool GetRemoteImagesParams::includeAllLanguagesNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_includeAllLanguages.has_value(); -} - -void GetRemoteImagesParams::setIncludeAllLanguagesNull() { - m_includeAllLanguages = std::nullopt; -} - - -const qint32 &GetRemoteImagesParams::limit() const { - return m_limit.value(); -} - -void GetRemoteImagesParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetRemoteImagesParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetRemoteImagesParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetRemoteImagesParams::providerName() const { - return m_providerName; -} - -void GetRemoteImagesParams::setProviderName(QString newProviderName) { - m_providerName = newProviderName; -} - -bool GetRemoteImagesParams::providerNameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_providerName.isNull(); -} - -void GetRemoteImagesParams::setProviderNameNull() { - m_providerName.clear(); -} - - -const qint32 &GetRemoteImagesParams::startIndex() const { - return m_startIndex.value(); -} - -void GetRemoteImagesParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetRemoteImagesParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetRemoteImagesParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const ImageType &GetRemoteImagesParams::type() const { - return m_type; -} - -void GetRemoteImagesParams::setType(ImageType newType) { - m_type = newType; -} - -bool GetRemoteImagesParams::typeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_type== ImageType::EnumNotSet; -} - -void GetRemoteImagesParams::setTypeNull() { - m_type= ImageType::EnumNotSet; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getremotesearchimageparams.cpp b/core/src/loader/getremotesearchimageparams.cpp deleted file mode 100644 index 0eefe40..0000000 --- a/core/src/loader/getremotesearchimageparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getremotesearchimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRemoteSearchImageParams - -const QString &GetRemoteSearchImageParams::imageUrl() const { - return m_imageUrl; -} - -void GetRemoteSearchImageParams::setImageUrl(QString newImageUrl) { - m_imageUrl = newImageUrl; -} - - -const QString &GetRemoteSearchImageParams::providerName() const { - return m_providerName; -} - -void GetRemoteSearchImageParams::setProviderName(QString newProviderName) { - m_providerName = newProviderName; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getremotesubtitlesparams.cpp b/core/src/loader/getremotesubtitlesparams.cpp deleted file mode 100644 index a152cd5..0000000 --- a/core/src/loader/getremotesubtitlesparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getremotesubtitlesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRemoteSubtitlesParams - -const QString &GetRemoteSubtitlesParams::jellyfinId() const { - return m_jellyfinId; -} - -void GetRemoteSubtitlesParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getrepositoriesparams.cpp b/core/src/loader/getrepositoriesparams.cpp deleted file mode 100644 index 325e33f..0000000 --- a/core/src/loader/getrepositoriesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getrepositoriesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRepositoriesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getresumeitemsparams.cpp b/core/src/loader/getresumeitemsparams.cpp deleted file mode 100644 index 95c39cc..0000000 --- a/core/src/loader/getresumeitemsparams.cpp +++ /dev/null @@ -1,323 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getresumeitemsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetResumeItemsParams - -const QString &GetResumeItemsParams::userId() const { - return m_userId; -} - -void GetResumeItemsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const QList &GetResumeItemsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetResumeItemsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetResumeItemsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetResumeItemsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetResumeItemsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetResumeItemsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetResumeItemsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetResumeItemsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetResumeItemsParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetResumeItemsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetResumeItemsParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetResumeItemsParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetResumeItemsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetResumeItemsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetResumeItemsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetResumeItemsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QStringList &GetResumeItemsParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetResumeItemsParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetResumeItemsParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetResumeItemsParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetResumeItemsParams::fields() const { - return m_fields; -} - -void GetResumeItemsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetResumeItemsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetResumeItemsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetResumeItemsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetResumeItemsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetResumeItemsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetResumeItemsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QStringList &GetResumeItemsParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetResumeItemsParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetResumeItemsParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetResumeItemsParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const qint32 &GetResumeItemsParams::limit() const { - return m_limit.value(); -} - -void GetResumeItemsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetResumeItemsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetResumeItemsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QStringList &GetResumeItemsParams::mediaTypes() const { - return m_mediaTypes; -} - -void GetResumeItemsParams::setMediaTypes(QStringList newMediaTypes) { - m_mediaTypes = newMediaTypes; -} - -bool GetResumeItemsParams::mediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaTypes.size() == 0; -} - -void GetResumeItemsParams::setMediaTypesNull() { - m_mediaTypes.clear(); -} - - -const QString &GetResumeItemsParams::parentId() const { - return m_parentId; -} - -void GetResumeItemsParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetResumeItemsParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetResumeItemsParams::setParentIdNull() { - m_parentId.clear(); -} - - -const QString &GetResumeItemsParams::searchTerm() const { - return m_searchTerm; -} - -void GetResumeItemsParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetResumeItemsParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetResumeItemsParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const qint32 &GetResumeItemsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetResumeItemsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetResumeItemsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetResumeItemsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getrootfolderparams.cpp b/core/src/loader/getrootfolderparams.cpp deleted file mode 100644 index fcf1113..0000000 --- a/core/src/loader/getrootfolderparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getrootfolderparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetRootFolderParams - -const QString &GetRootFolderParams::userId() const { - return m_userId; -} - -void GetRootFolderParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getschedulesdirectcountriesparams.cpp b/core/src/loader/getschedulesdirectcountriesparams.cpp deleted file mode 100644 index 64cd478..0000000 --- a/core/src/loader/getschedulesdirectcountriesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getschedulesdirectcountriesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSchedulesDirectCountriesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getseasonsparams.cpp b/core/src/loader/getseasonsparams.cpp deleted file mode 100644 index 5fc34f3..0000000 --- a/core/src/loader/getseasonsparams.cpp +++ /dev/null @@ -1,239 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getseasonsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSeasonsParams - -const QString &GetSeasonsParams::seriesId() const { - return m_seriesId; -} - -void GetSeasonsParams::setSeriesId(QString newSeriesId) { - m_seriesId = newSeriesId; -} - - -const QString &GetSeasonsParams::adjacentTo() const { - return m_adjacentTo; -} - -void GetSeasonsParams::setAdjacentTo(QString newAdjacentTo) { - m_adjacentTo = newAdjacentTo; -} - -bool GetSeasonsParams::adjacentToNull() const { - // Nullable: true - // Type Nullable: true - - - return m_adjacentTo.isNull(); -} - -void GetSeasonsParams::setAdjacentToNull() { - m_adjacentTo.clear(); -} - - -const QList &GetSeasonsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetSeasonsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetSeasonsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetSeasonsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetSeasonsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetSeasonsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetSeasonsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetSeasonsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetSeasonsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetSeasonsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetSeasonsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetSeasonsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetSeasonsParams::fields() const { - return m_fields; -} - -void GetSeasonsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetSeasonsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetSeasonsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetSeasonsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetSeasonsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetSeasonsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetSeasonsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const bool &GetSeasonsParams::isMissing() const { - return m_isMissing.value(); -} - -void GetSeasonsParams::setIsMissing(bool newIsMissing) { - m_isMissing = newIsMissing; -} - -bool GetSeasonsParams::isMissingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMissing.has_value(); -} - -void GetSeasonsParams::setIsMissingNull() { - m_isMissing = std::nullopt; -} - - -const bool &GetSeasonsParams::isSpecialSeason() const { - return m_isSpecialSeason.value(); -} - -void GetSeasonsParams::setIsSpecialSeason(bool newIsSpecialSeason) { - m_isSpecialSeason = newIsSpecialSeason; -} - -bool GetSeasonsParams::isSpecialSeasonNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isSpecialSeason.has_value(); -} - -void GetSeasonsParams::setIsSpecialSeasonNull() { - m_isSpecialSeason = std::nullopt; -} - - -const QString &GetSeasonsParams::userId() const { - return m_userId; -} - -void GetSeasonsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetSeasonsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetSeasonsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getseriesremotesearchresultsparams.cpp b/core/src/loader/getseriesremotesearchresultsparams.cpp deleted file mode 100644 index 2ae8131..0000000 --- a/core/src/loader/getseriesremotesearchresultsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getseriesremotesearchresultsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSeriesRemoteSearchResultsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getseriestimerparams.cpp b/core/src/loader/getseriestimerparams.cpp deleted file mode 100644 index 179ffa1..0000000 --- a/core/src/loader/getseriestimerparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getseriestimerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSeriesTimerParams - -const QString &GetSeriesTimerParams::timerId() const { - return m_timerId; -} - -void GetSeriesTimerParams::setTimerId(QString newTimerId) { - m_timerId = newTimerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getseriestimersparams.cpp b/core/src/loader/getseriestimersparams.cpp deleted file mode 100644 index 60e1e30..0000000 --- a/core/src/loader/getseriestimersparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getseriestimersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSeriesTimersParams - -const QString &GetSeriesTimersParams::sortBy() const { - return m_sortBy; -} - -void GetSeriesTimersParams::setSortBy(QString newSortBy) { - m_sortBy = newSortBy; -} - -bool GetSeriesTimersParams::sortByNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortBy.isNull(); -} - -void GetSeriesTimersParams::setSortByNull() { - m_sortBy.clear(); -} - - -const SortOrder &GetSeriesTimersParams::sortOrder() const { - return m_sortOrder; -} - -void GetSeriesTimersParams::setSortOrder(SortOrder newSortOrder) { - m_sortOrder = newSortOrder; -} - -bool GetSeriesTimersParams::sortOrderNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortOrder== SortOrder::EnumNotSet; -} - -void GetSeriesTimersParams::setSortOrderNull() { - m_sortOrder= SortOrder::EnumNotSet; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getserverlogsparams.cpp b/core/src/loader/getserverlogsparams.cpp deleted file mode 100644 index 6380883..0000000 --- a/core/src/loader/getserverlogsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getserverlogsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetServerLogsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsessionsparams.cpp b/core/src/loader/getsessionsparams.cpp deleted file mode 100644 index eb4a996..0000000 --- a/core/src/loader/getsessionsparams.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsessionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSessionsParams - -const qint32 &GetSessionsParams::activeWithinSeconds() const { - return m_activeWithinSeconds.value(); -} - -void GetSessionsParams::setActiveWithinSeconds(qint32 newActiveWithinSeconds) { - m_activeWithinSeconds = newActiveWithinSeconds; -} - -bool GetSessionsParams::activeWithinSecondsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_activeWithinSeconds.has_value(); -} - -void GetSessionsParams::setActiveWithinSecondsNull() { - m_activeWithinSeconds = std::nullopt; -} - - -const QString &GetSessionsParams::controllableByUserId() const { - return m_controllableByUserId; -} - -void GetSessionsParams::setControllableByUserId(QString newControllableByUserId) { - m_controllableByUserId = newControllableByUserId; -} - -bool GetSessionsParams::controllableByUserIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_controllableByUserId.isNull(); -} - -void GetSessionsParams::setControllableByUserIdNull() { - m_controllableByUserId.clear(); -} - - -const QString &GetSessionsParams::deviceId() const { - return m_deviceId; -} - -void GetSessionsParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetSessionsParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetSessionsParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsimilaralbumsparams.cpp b/core/src/loader/getsimilaralbumsparams.cpp deleted file mode 100644 index bfb1cfd..0000000 --- a/core/src/loader/getsimilaralbumsparams.cpp +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsimilaralbumsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSimilarAlbumsParams - -const QString &GetSimilarAlbumsParams::itemId() const { - return m_itemId; -} - -void GetSimilarAlbumsParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QStringList &GetSimilarAlbumsParams::excludeArtistIds() const { - return m_excludeArtistIds; -} - -void GetSimilarAlbumsParams::setExcludeArtistIds(QStringList newExcludeArtistIds) { - m_excludeArtistIds = newExcludeArtistIds; -} - -bool GetSimilarAlbumsParams::excludeArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeArtistIds.size() == 0; -} - -void GetSimilarAlbumsParams::setExcludeArtistIdsNull() { - m_excludeArtistIds.clear(); -} - - -const QList &GetSimilarAlbumsParams::fields() const { - return m_fields; -} - -void GetSimilarAlbumsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetSimilarAlbumsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetSimilarAlbumsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetSimilarAlbumsParams::limit() const { - return m_limit.value(); -} - -void GetSimilarAlbumsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetSimilarAlbumsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetSimilarAlbumsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetSimilarAlbumsParams::userId() const { - return m_userId; -} - -void GetSimilarAlbumsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetSimilarAlbumsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetSimilarAlbumsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsimilarartistsparams.cpp b/core/src/loader/getsimilarartistsparams.cpp deleted file mode 100644 index b09f1bb..0000000 --- a/core/src/loader/getsimilarartistsparams.cpp +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsimilarartistsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSimilarArtistsParams - -const QString &GetSimilarArtistsParams::itemId() const { - return m_itemId; -} - -void GetSimilarArtistsParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QStringList &GetSimilarArtistsParams::excludeArtistIds() const { - return m_excludeArtistIds; -} - -void GetSimilarArtistsParams::setExcludeArtistIds(QStringList newExcludeArtistIds) { - m_excludeArtistIds = newExcludeArtistIds; -} - -bool GetSimilarArtistsParams::excludeArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeArtistIds.size() == 0; -} - -void GetSimilarArtistsParams::setExcludeArtistIdsNull() { - m_excludeArtistIds.clear(); -} - - -const QList &GetSimilarArtistsParams::fields() const { - return m_fields; -} - -void GetSimilarArtistsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetSimilarArtistsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetSimilarArtistsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetSimilarArtistsParams::limit() const { - return m_limit.value(); -} - -void GetSimilarArtistsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetSimilarArtistsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetSimilarArtistsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetSimilarArtistsParams::userId() const { - return m_userId; -} - -void GetSimilarArtistsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetSimilarArtistsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetSimilarArtistsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsimilaritemsparams.cpp b/core/src/loader/getsimilaritemsparams.cpp deleted file mode 100644 index 09dd1e9..0000000 --- a/core/src/loader/getsimilaritemsparams.cpp +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsimilaritemsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSimilarItemsParams - -const QString &GetSimilarItemsParams::itemId() const { - return m_itemId; -} - -void GetSimilarItemsParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QStringList &GetSimilarItemsParams::excludeArtistIds() const { - return m_excludeArtistIds; -} - -void GetSimilarItemsParams::setExcludeArtistIds(QStringList newExcludeArtistIds) { - m_excludeArtistIds = newExcludeArtistIds; -} - -bool GetSimilarItemsParams::excludeArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeArtistIds.size() == 0; -} - -void GetSimilarItemsParams::setExcludeArtistIdsNull() { - m_excludeArtistIds.clear(); -} - - -const QList &GetSimilarItemsParams::fields() const { - return m_fields; -} - -void GetSimilarItemsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetSimilarItemsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetSimilarItemsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetSimilarItemsParams::limit() const { - return m_limit.value(); -} - -void GetSimilarItemsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetSimilarItemsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetSimilarItemsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetSimilarItemsParams::userId() const { - return m_userId; -} - -void GetSimilarItemsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetSimilarItemsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetSimilarItemsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsimilarmoviesparams.cpp b/core/src/loader/getsimilarmoviesparams.cpp deleted file mode 100644 index 55bd511..0000000 --- a/core/src/loader/getsimilarmoviesparams.cpp +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsimilarmoviesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSimilarMoviesParams - -const QString &GetSimilarMoviesParams::itemId() const { - return m_itemId; -} - -void GetSimilarMoviesParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QStringList &GetSimilarMoviesParams::excludeArtistIds() const { - return m_excludeArtistIds; -} - -void GetSimilarMoviesParams::setExcludeArtistIds(QStringList newExcludeArtistIds) { - m_excludeArtistIds = newExcludeArtistIds; -} - -bool GetSimilarMoviesParams::excludeArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeArtistIds.size() == 0; -} - -void GetSimilarMoviesParams::setExcludeArtistIdsNull() { - m_excludeArtistIds.clear(); -} - - -const QList &GetSimilarMoviesParams::fields() const { - return m_fields; -} - -void GetSimilarMoviesParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetSimilarMoviesParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetSimilarMoviesParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetSimilarMoviesParams::limit() const { - return m_limit.value(); -} - -void GetSimilarMoviesParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetSimilarMoviesParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetSimilarMoviesParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetSimilarMoviesParams::userId() const { - return m_userId; -} - -void GetSimilarMoviesParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetSimilarMoviesParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetSimilarMoviesParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsimilarshowsparams.cpp b/core/src/loader/getsimilarshowsparams.cpp deleted file mode 100644 index bf67ac6..0000000 --- a/core/src/loader/getsimilarshowsparams.cpp +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsimilarshowsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSimilarShowsParams - -const QString &GetSimilarShowsParams::itemId() const { - return m_itemId; -} - -void GetSimilarShowsParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QStringList &GetSimilarShowsParams::excludeArtistIds() const { - return m_excludeArtistIds; -} - -void GetSimilarShowsParams::setExcludeArtistIds(QStringList newExcludeArtistIds) { - m_excludeArtistIds = newExcludeArtistIds; -} - -bool GetSimilarShowsParams::excludeArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeArtistIds.size() == 0; -} - -void GetSimilarShowsParams::setExcludeArtistIdsNull() { - m_excludeArtistIds.clear(); -} - - -const QList &GetSimilarShowsParams::fields() const { - return m_fields; -} - -void GetSimilarShowsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetSimilarShowsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetSimilarShowsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetSimilarShowsParams::limit() const { - return m_limit.value(); -} - -void GetSimilarShowsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetSimilarShowsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetSimilarShowsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetSimilarShowsParams::userId() const { - return m_userId; -} - -void GetSimilarShowsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetSimilarShowsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetSimilarShowsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsimilartrailersparams.cpp b/core/src/loader/getsimilartrailersparams.cpp deleted file mode 100644 index 2a31d5a..0000000 --- a/core/src/loader/getsimilartrailersparams.cpp +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsimilartrailersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSimilarTrailersParams - -const QString &GetSimilarTrailersParams::itemId() const { - return m_itemId; -} - -void GetSimilarTrailersParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QStringList &GetSimilarTrailersParams::excludeArtistIds() const { - return m_excludeArtistIds; -} - -void GetSimilarTrailersParams::setExcludeArtistIds(QStringList newExcludeArtistIds) { - m_excludeArtistIds = newExcludeArtistIds; -} - -bool GetSimilarTrailersParams::excludeArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeArtistIds.size() == 0; -} - -void GetSimilarTrailersParams::setExcludeArtistIdsNull() { - m_excludeArtistIds.clear(); -} - - -const QList &GetSimilarTrailersParams::fields() const { - return m_fields; -} - -void GetSimilarTrailersParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetSimilarTrailersParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetSimilarTrailersParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetSimilarTrailersParams::limit() const { - return m_limit.value(); -} - -void GetSimilarTrailersParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetSimilarTrailersParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetSimilarTrailersParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetSimilarTrailersParams::userId() const { - return m_userId; -} - -void GetSimilarTrailersParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetSimilarTrailersParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetSimilarTrailersParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getspecialfeaturesparams.cpp b/core/src/loader/getspecialfeaturesparams.cpp deleted file mode 100644 index ac04098..0000000 --- a/core/src/loader/getspecialfeaturesparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getspecialfeaturesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSpecialFeaturesParams - -const QString &GetSpecialFeaturesParams::itemId() const { - return m_itemId; -} - -void GetSpecialFeaturesParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetSpecialFeaturesParams::userId() const { - return m_userId; -} - -void GetSpecialFeaturesParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getstartupconfigurationparams.cpp b/core/src/loader/getstartupconfigurationparams.cpp deleted file mode 100644 index ffd1b93..0000000 --- a/core/src/loader/getstartupconfigurationparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getstartupconfigurationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetStartupConfigurationParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getstatusparams.cpp b/core/src/loader/getstatusparams.cpp deleted file mode 100644 index b8528f9..0000000 --- a/core/src/loader/getstatusparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getstatusparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetStatusParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getstudioimagebyindexparams.cpp b/core/src/loader/getstudioimagebyindexparams.cpp deleted file mode 100644 index 5bd7ce5..0000000 --- a/core/src/loader/getstudioimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getstudioimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetStudioImageByIndexParams - -const qint32 &GetStudioImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void GetStudioImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &GetStudioImageByIndexParams::imageType() const { - return m_imageType; -} - -void GetStudioImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetStudioImageByIndexParams::name() const { - return m_name; -} - -void GetStudioImageByIndexParams::setName(QString newName) { - m_name = newName; -} - - -const bool &GetStudioImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetStudioImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetStudioImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetStudioImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetStudioImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetStudioImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetStudioImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetStudioImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetStudioImageByIndexParams::blur() const { - return m_blur.value(); -} - -void GetStudioImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetStudioImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetStudioImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetStudioImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetStudioImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetStudioImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetStudioImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetStudioImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetStudioImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetStudioImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetStudioImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetStudioImageByIndexParams::format() const { - return m_format; -} - -void GetStudioImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetStudioImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetStudioImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetStudioImageByIndexParams::height() const { - return m_height.value(); -} - -void GetStudioImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetStudioImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetStudioImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetStudioImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetStudioImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetStudioImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetStudioImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetStudioImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetStudioImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetStudioImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetStudioImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetStudioImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetStudioImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetStudioImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetStudioImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetStudioImageByIndexParams::quality() const { - return m_quality.value(); -} - -void GetStudioImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetStudioImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetStudioImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetStudioImageByIndexParams::tag() const { - return m_tag; -} - -void GetStudioImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetStudioImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetStudioImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetStudioImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetStudioImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetStudioImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetStudioImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetStudioImageByIndexParams::width() const { - return m_width.value(); -} - -void GetStudioImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetStudioImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetStudioImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getstudioimageparams.cpp b/core/src/loader/getstudioimageparams.cpp deleted file mode 100644 index b13d436..0000000 --- a/core/src/loader/getstudioimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getstudioimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetStudioImageParams - -const ImageType &GetStudioImageParams::imageType() const { - return m_imageType; -} - -void GetStudioImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetStudioImageParams::name() const { - return m_name; -} - -void GetStudioImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &GetStudioImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetStudioImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetStudioImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetStudioImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetStudioImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetStudioImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetStudioImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetStudioImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetStudioImageParams::blur() const { - return m_blur.value(); -} - -void GetStudioImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetStudioImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetStudioImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetStudioImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetStudioImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetStudioImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetStudioImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetStudioImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetStudioImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetStudioImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetStudioImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetStudioImageParams::format() const { - return m_format; -} - -void GetStudioImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetStudioImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetStudioImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetStudioImageParams::height() const { - return m_height.value(); -} - -void GetStudioImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetStudioImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetStudioImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetStudioImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void GetStudioImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool GetStudioImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void GetStudioImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &GetStudioImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetStudioImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetStudioImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetStudioImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetStudioImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetStudioImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetStudioImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetStudioImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetStudioImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetStudioImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetStudioImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetStudioImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetStudioImageParams::quality() const { - return m_quality.value(); -} - -void GetStudioImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetStudioImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetStudioImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetStudioImageParams::tag() const { - return m_tag; -} - -void GetStudioImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetStudioImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetStudioImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetStudioImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetStudioImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetStudioImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetStudioImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetStudioImageParams::width() const { - return m_width.value(); -} - -void GetStudioImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetStudioImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetStudioImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getstudioparams.cpp b/core/src/loader/getstudioparams.cpp deleted file mode 100644 index 0fd7569..0000000 --- a/core/src/loader/getstudioparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getstudioparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetStudioParams - -const QString &GetStudioParams::name() const { - return m_name; -} - -void GetStudioParams::setName(QString newName) { - m_name = newName; -} - - -const QString &GetStudioParams::userId() const { - return m_userId; -} - -void GetStudioParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetStudioParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetStudioParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getstudiosparams.cpp b/core/src/loader/getstudiosparams.cpp deleted file mode 100644 index a18c968..0000000 --- a/core/src/loader/getstudiosparams.cpp +++ /dev/null @@ -1,398 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getstudiosparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetStudiosParams - -const QList &GetStudiosParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetStudiosParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetStudiosParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetStudiosParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetStudiosParams::enableImages() const { - return m_enableImages.value(); -} - -void GetStudiosParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetStudiosParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetStudiosParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetStudiosParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetStudiosParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetStudiosParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetStudiosParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetStudiosParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetStudiosParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetStudiosParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetStudiosParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QStringList &GetStudiosParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetStudiosParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetStudiosParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetStudiosParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetStudiosParams::fields() const { - return m_fields; -} - -void GetStudiosParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetStudiosParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetStudiosParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetStudiosParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetStudiosParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetStudiosParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetStudiosParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QStringList &GetStudiosParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetStudiosParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetStudiosParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetStudiosParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const bool &GetStudiosParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetStudiosParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetStudiosParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetStudiosParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const qint32 &GetStudiosParams::limit() const { - return m_limit.value(); -} - -void GetStudiosParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetStudiosParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetStudiosParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetStudiosParams::nameLessThan() const { - return m_nameLessThan; -} - -void GetStudiosParams::setNameLessThan(QString newNameLessThan) { - m_nameLessThan = newNameLessThan; -} - -bool GetStudiosParams::nameLessThanNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameLessThan.isNull(); -} - -void GetStudiosParams::setNameLessThanNull() { - m_nameLessThan.clear(); -} - - -const QString &GetStudiosParams::nameStartsWith() const { - return m_nameStartsWith; -} - -void GetStudiosParams::setNameStartsWith(QString newNameStartsWith) { - m_nameStartsWith = newNameStartsWith; -} - -bool GetStudiosParams::nameStartsWithNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWith.isNull(); -} - -void GetStudiosParams::setNameStartsWithNull() { - m_nameStartsWith.clear(); -} - - -const QString &GetStudiosParams::nameStartsWithOrGreater() const { - return m_nameStartsWithOrGreater; -} - -void GetStudiosParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) { - m_nameStartsWithOrGreater = newNameStartsWithOrGreater; -} - -bool GetStudiosParams::nameStartsWithOrGreaterNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWithOrGreater.isNull(); -} - -void GetStudiosParams::setNameStartsWithOrGreaterNull() { - m_nameStartsWithOrGreater.clear(); -} - - -const QString &GetStudiosParams::parentId() const { - return m_parentId; -} - -void GetStudiosParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetStudiosParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetStudiosParams::setParentIdNull() { - m_parentId.clear(); -} - - -const QString &GetStudiosParams::searchTerm() const { - return m_searchTerm; -} - -void GetStudiosParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetStudiosParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetStudiosParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const qint32 &GetStudiosParams::startIndex() const { - return m_startIndex.value(); -} - -void GetStudiosParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetStudiosParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetStudiosParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetStudiosParams::userId() const { - return m_userId; -} - -void GetStudiosParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetStudiosParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetStudiosParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsubtitleparams.cpp b/core/src/loader/getsubtitleparams.cpp deleted file mode 100644 index d3cc77a..0000000 --- a/core/src/loader/getsubtitleparams.cpp +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsubtitleparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSubtitleParams - -const QString &GetSubtitleParams::format() const { - return m_format; -} - -void GetSubtitleParams::setFormat(QString newFormat) { - m_format = newFormat; -} - - -const qint32 &GetSubtitleParams::index() const { - return m_index; -} - -void GetSubtitleParams::setIndex(qint32 newIndex) { - m_index = newIndex; -} - - -const QString &GetSubtitleParams::itemId() const { - return m_itemId; -} - -void GetSubtitleParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetSubtitleParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetSubtitleParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - - -const bool &GetSubtitleParams::addVttTimeMap() const { - return m_addVttTimeMap.value(); -} - -void GetSubtitleParams::setAddVttTimeMap(bool newAddVttTimeMap) { - m_addVttTimeMap = newAddVttTimeMap; -} - -bool GetSubtitleParams::addVttTimeMapNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_addVttTimeMap.has_value(); -} - -void GetSubtitleParams::setAddVttTimeMapNull() { - m_addVttTimeMap = std::nullopt; -} - - -const bool &GetSubtitleParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetSubtitleParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetSubtitleParams::copyTimestampsNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetSubtitleParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint64 &GetSubtitleParams::endPositionTicks() const { - return m_endPositionTicks.value(); -} - -void GetSubtitleParams::setEndPositionTicks(qint64 newEndPositionTicks) { - m_endPositionTicks = newEndPositionTicks; -} - -bool GetSubtitleParams::endPositionTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_endPositionTicks.has_value(); -} - -void GetSubtitleParams::setEndPositionTicksNull() { - m_endPositionTicks = std::nullopt; -} - - -const qint64 &GetSubtitleParams::startPositionTicks() const { - return m_startPositionTicks.value(); -} - -void GetSubtitleParams::setStartPositionTicks(qint64 newStartPositionTicks) { - m_startPositionTicks = newStartPositionTicks; -} - -bool GetSubtitleParams::startPositionTicksNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_startPositionTicks.has_value(); -} - -void GetSubtitleParams::setStartPositionTicksNull() { - m_startPositionTicks = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsubtitleplaylistparams.cpp b/core/src/loader/getsubtitleplaylistparams.cpp deleted file mode 100644 index 307675b..0000000 --- a/core/src/loader/getsubtitleplaylistparams.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsubtitleplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSubtitlePlaylistParams - -const qint32 &GetSubtitlePlaylistParams::index() const { - return m_index; -} - -void GetSubtitlePlaylistParams::setIndex(qint32 newIndex) { - m_index = newIndex; -} - - -const QString &GetSubtitlePlaylistParams::itemId() const { - return m_itemId; -} - -void GetSubtitlePlaylistParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetSubtitlePlaylistParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetSubtitlePlaylistParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - - -const qint32 &GetSubtitlePlaylistParams::segmentLength() const { - return m_segmentLength; -} - -void GetSubtitlePlaylistParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsubtitlewithticksparams.cpp b/core/src/loader/getsubtitlewithticksparams.cpp deleted file mode 100644 index 25d231c..0000000 --- a/core/src/loader/getsubtitlewithticksparams.cpp +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsubtitlewithticksparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSubtitleWithTicksParams - -const QString &GetSubtitleWithTicksParams::format() const { - return m_format; -} - -void GetSubtitleWithTicksParams::setFormat(QString newFormat) { - m_format = newFormat; -} - - -const qint32 &GetSubtitleWithTicksParams::index() const { - return m_index; -} - -void GetSubtitleWithTicksParams::setIndex(qint32 newIndex) { - m_index = newIndex; -} - - -const QString &GetSubtitleWithTicksParams::itemId() const { - return m_itemId; -} - -void GetSubtitleWithTicksParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetSubtitleWithTicksParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetSubtitleWithTicksParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - - -const qint64 &GetSubtitleWithTicksParams::startPositionTicks() const { - return m_startPositionTicks; -} - -void GetSubtitleWithTicksParams::setStartPositionTicks(qint64 newStartPositionTicks) { - m_startPositionTicks = newStartPositionTicks; -} - - -const bool &GetSubtitleWithTicksParams::addVttTimeMap() const { - return m_addVttTimeMap.value(); -} - -void GetSubtitleWithTicksParams::setAddVttTimeMap(bool newAddVttTimeMap) { - m_addVttTimeMap = newAddVttTimeMap; -} - -bool GetSubtitleWithTicksParams::addVttTimeMapNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_addVttTimeMap.has_value(); -} - -void GetSubtitleWithTicksParams::setAddVttTimeMapNull() { - m_addVttTimeMap = std::nullopt; -} - - -const bool &GetSubtitleWithTicksParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetSubtitleWithTicksParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetSubtitleWithTicksParams::copyTimestampsNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetSubtitleWithTicksParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint64 &GetSubtitleWithTicksParams::endPositionTicks() const { - return m_endPositionTicks.value(); -} - -void GetSubtitleWithTicksParams::setEndPositionTicks(qint64 newEndPositionTicks) { - m_endPositionTicks = newEndPositionTicks; -} - -bool GetSubtitleWithTicksParams::endPositionTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_endPositionTicks.has_value(); -} - -void GetSubtitleWithTicksParams::setEndPositionTicksNull() { - m_endPositionTicks = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsuggestionsparams.cpp b/core/src/loader/getsuggestionsparams.cpp deleted file mode 100644 index 4608b7f..0000000 --- a/core/src/loader/getsuggestionsparams.cpp +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsuggestionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSuggestionsParams - -const QString &GetSuggestionsParams::userId() const { - return m_userId; -} - -void GetSuggestionsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const bool &GetSuggestionsParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetSuggestionsParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetSuggestionsParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetSuggestionsParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const qint32 &GetSuggestionsParams::limit() const { - return m_limit.value(); -} - -void GetSuggestionsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetSuggestionsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetSuggestionsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QStringList &GetSuggestionsParams::mediaType() const { - return m_mediaType; -} - -void GetSuggestionsParams::setMediaType(QStringList newMediaType) { - m_mediaType = newMediaType; -} - -bool GetSuggestionsParams::mediaTypeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaType.size() == 0; -} - -void GetSuggestionsParams::setMediaTypeNull() { - m_mediaType.clear(); -} - - -const qint32 &GetSuggestionsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetSuggestionsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetSuggestionsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetSuggestionsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QStringList &GetSuggestionsParams::type() const { - return m_type; -} - -void GetSuggestionsParams::setType(QStringList newType) { - m_type = newType; -} - -bool GetSuggestionsParams::typeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_type.size() == 0; -} - -void GetSuggestionsParams::setTypeNull() { - m_type.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getsysteminfoparams.cpp b/core/src/loader/getsysteminfoparams.cpp deleted file mode 100644 index 8a553d2..0000000 --- a/core/src/loader/getsysteminfoparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getsysteminfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetSystemInfoParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gettaskparams.cpp b/core/src/loader/gettaskparams.cpp deleted file mode 100644 index dcfd071..0000000 --- a/core/src/loader/gettaskparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gettaskparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetTaskParams - -const QString &GetTaskParams::taskId() const { - return m_taskId; -} - -void GetTaskParams::setTaskId(QString newTaskId) { - m_taskId = newTaskId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gettasksparams.cpp b/core/src/loader/gettasksparams.cpp deleted file mode 100644 index 12f5dc7..0000000 --- a/core/src/loader/gettasksparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gettasksparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetTasksParams - -const bool &GetTasksParams::isEnabled() const { - return m_isEnabled.value(); -} - -void GetTasksParams::setIsEnabled(bool newIsEnabled) { - m_isEnabled = newIsEnabled; -} - -bool GetTasksParams::isEnabledNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isEnabled.has_value(); -} - -void GetTasksParams::setIsEnabledNull() { - m_isEnabled = std::nullopt; -} - - -const bool &GetTasksParams::isHidden() const { - return m_isHidden.value(); -} - -void GetTasksParams::setIsHidden(bool newIsHidden) { - m_isHidden = newIsHidden; -} - -bool GetTasksParams::isHiddenNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isHidden.has_value(); -} - -void GetTasksParams::setIsHiddenNull() { - m_isHidden = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getthememediaparams.cpp b/core/src/loader/getthememediaparams.cpp deleted file mode 100644 index 826495a..0000000 --- a/core/src/loader/getthememediaparams.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getthememediaparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetThemeMediaParams - -const QString &GetThemeMediaParams::itemId() const { - return m_itemId; -} - -void GetThemeMediaParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetThemeMediaParams::inheritFromParent() const { - return m_inheritFromParent.value(); -} - -void GetThemeMediaParams::setInheritFromParent(bool newInheritFromParent) { - m_inheritFromParent = newInheritFromParent; -} - -bool GetThemeMediaParams::inheritFromParentNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_inheritFromParent.has_value(); -} - -void GetThemeMediaParams::setInheritFromParentNull() { - m_inheritFromParent = std::nullopt; -} - - -const QString &GetThemeMediaParams::userId() const { - return m_userId; -} - -void GetThemeMediaParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetThemeMediaParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetThemeMediaParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getthemesongsparams.cpp b/core/src/loader/getthemesongsparams.cpp deleted file mode 100644 index 1f92fe9..0000000 --- a/core/src/loader/getthemesongsparams.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getthemesongsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetThemeSongsParams - -const QString &GetThemeSongsParams::itemId() const { - return m_itemId; -} - -void GetThemeSongsParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetThemeSongsParams::inheritFromParent() const { - return m_inheritFromParent.value(); -} - -void GetThemeSongsParams::setInheritFromParent(bool newInheritFromParent) { - m_inheritFromParent = newInheritFromParent; -} - -bool GetThemeSongsParams::inheritFromParentNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_inheritFromParent.has_value(); -} - -void GetThemeSongsParams::setInheritFromParentNull() { - m_inheritFromParent = std::nullopt; -} - - -const QString &GetThemeSongsParams::userId() const { - return m_userId; -} - -void GetThemeSongsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetThemeSongsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetThemeSongsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getthemevideosparams.cpp b/core/src/loader/getthemevideosparams.cpp deleted file mode 100644 index 809afb0..0000000 --- a/core/src/loader/getthemevideosparams.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getthemevideosparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetThemeVideosParams - -const QString &GetThemeVideosParams::itemId() const { - return m_itemId; -} - -void GetThemeVideosParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetThemeVideosParams::inheritFromParent() const { - return m_inheritFromParent.value(); -} - -void GetThemeVideosParams::setInheritFromParent(bool newInheritFromParent) { - m_inheritFromParent = newInheritFromParent; -} - -bool GetThemeVideosParams::inheritFromParentNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_inheritFromParent.has_value(); -} - -void GetThemeVideosParams::setInheritFromParentNull() { - m_inheritFromParent = std::nullopt; -} - - -const QString &GetThemeVideosParams::userId() const { - return m_userId; -} - -void GetThemeVideosParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetThemeVideosParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetThemeVideosParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gettimerparams.cpp b/core/src/loader/gettimerparams.cpp deleted file mode 100644 index 4049e57..0000000 --- a/core/src/loader/gettimerparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gettimerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetTimerParams - -const QString &GetTimerParams::timerId() const { - return m_timerId; -} - -void GetTimerParams::setTimerId(QString newTimerId) { - m_timerId = newTimerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gettimersparams.cpp b/core/src/loader/gettimersparams.cpp deleted file mode 100644 index a453e52..0000000 --- a/core/src/loader/gettimersparams.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gettimersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetTimersParams - -const QString &GetTimersParams::channelId() const { - return m_channelId; -} - -void GetTimersParams::setChannelId(QString newChannelId) { - m_channelId = newChannelId; -} - -bool GetTimersParams::channelIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_channelId.isNull(); -} - -void GetTimersParams::setChannelIdNull() { - m_channelId.clear(); -} - - -const bool &GetTimersParams::isActive() const { - return m_isActive.value(); -} - -void GetTimersParams::setIsActive(bool newIsActive) { - m_isActive = newIsActive; -} - -bool GetTimersParams::isActiveNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isActive.has_value(); -} - -void GetTimersParams::setIsActiveNull() { - m_isActive = std::nullopt; -} - - -const bool &GetTimersParams::isScheduled() const { - return m_isScheduled.value(); -} - -void GetTimersParams::setIsScheduled(bool newIsScheduled) { - m_isScheduled = newIsScheduled; -} - -bool GetTimersParams::isScheduledNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isScheduled.has_value(); -} - -void GetTimersParams::setIsScheduledNull() { - m_isScheduled = std::nullopt; -} - - -const QString &GetTimersParams::seriesTimerId() const { - return m_seriesTimerId; -} - -void GetTimersParams::setSeriesTimerId(QString newSeriesTimerId) { - m_seriesTimerId = newSeriesTimerId; -} - -bool GetTimersParams::seriesTimerIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_seriesTimerId.isNull(); -} - -void GetTimersParams::setSeriesTimerIdNull() { - m_seriesTimerId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gettrailerremotesearchresultsparams.cpp b/core/src/loader/gettrailerremotesearchresultsparams.cpp deleted file mode 100644 index 63486df..0000000 --- a/core/src/loader/gettrailerremotesearchresultsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gettrailerremotesearchresultsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetTrailerRemoteSearchResultsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gettrailersparams.cpp b/core/src/loader/gettrailersparams.cpp deleted file mode 100644 index a782b19..0000000 --- a/core/src/loader/gettrailersparams.cpp +++ /dev/null @@ -1,1700 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gettrailersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetTrailersParams - -const QString &GetTrailersParams::adjacentTo() const { - return m_adjacentTo; -} - -void GetTrailersParams::setAdjacentTo(QString newAdjacentTo) { - m_adjacentTo = newAdjacentTo; -} - -bool GetTrailersParams::adjacentToNull() const { - // Nullable: true - // Type Nullable: true - - - return m_adjacentTo.isNull(); -} - -void GetTrailersParams::setAdjacentToNull() { - m_adjacentTo.clear(); -} - - -const QStringList &GetTrailersParams::albumArtistIds() const { - return m_albumArtistIds; -} - -void GetTrailersParams::setAlbumArtistIds(QStringList newAlbumArtistIds) { - m_albumArtistIds = newAlbumArtistIds; -} - -bool GetTrailersParams::albumArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_albumArtistIds.size() == 0; -} - -void GetTrailersParams::setAlbumArtistIdsNull() { - m_albumArtistIds.clear(); -} - - -const QStringList &GetTrailersParams::albumIds() const { - return m_albumIds; -} - -void GetTrailersParams::setAlbumIds(QStringList newAlbumIds) { - m_albumIds = newAlbumIds; -} - -bool GetTrailersParams::albumIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_albumIds.size() == 0; -} - -void GetTrailersParams::setAlbumIdsNull() { - m_albumIds.clear(); -} - - -const QStringList &GetTrailersParams::albums() const { - return m_albums; -} - -void GetTrailersParams::setAlbums(QStringList newAlbums) { - m_albums = newAlbums; -} - -bool GetTrailersParams::albumsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_albums.size() == 0; -} - -void GetTrailersParams::setAlbumsNull() { - m_albums.clear(); -} - - -const QStringList &GetTrailersParams::artistIds() const { - return m_artistIds; -} - -void GetTrailersParams::setArtistIds(QStringList newArtistIds) { - m_artistIds = newArtistIds; -} - -bool GetTrailersParams::artistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_artistIds.size() == 0; -} - -void GetTrailersParams::setArtistIdsNull() { - m_artistIds.clear(); -} - - -const QStringList &GetTrailersParams::artists() const { - return m_artists; -} - -void GetTrailersParams::setArtists(QStringList newArtists) { - m_artists = newArtists; -} - -bool GetTrailersParams::artistsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_artists.size() == 0; -} - -void GetTrailersParams::setArtistsNull() { - m_artists.clear(); -} - - -const bool &GetTrailersParams::collapseBoxSetItems() const { - return m_collapseBoxSetItems.value(); -} - -void GetTrailersParams::setCollapseBoxSetItems(bool newCollapseBoxSetItems) { - m_collapseBoxSetItems = newCollapseBoxSetItems; -} - -bool GetTrailersParams::collapseBoxSetItemsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_collapseBoxSetItems.has_value(); -} - -void GetTrailersParams::setCollapseBoxSetItemsNull() { - m_collapseBoxSetItems = std::nullopt; -} - - -const QStringList &GetTrailersParams::contributingArtistIds() const { - return m_contributingArtistIds; -} - -void GetTrailersParams::setContributingArtistIds(QStringList newContributingArtistIds) { - m_contributingArtistIds = newContributingArtistIds; -} - -bool GetTrailersParams::contributingArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_contributingArtistIds.size() == 0; -} - -void GetTrailersParams::setContributingArtistIdsNull() { - m_contributingArtistIds.clear(); -} - - -const QList &GetTrailersParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetTrailersParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetTrailersParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetTrailersParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetTrailersParams::enableImages() const { - return m_enableImages.value(); -} - -void GetTrailersParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetTrailersParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetTrailersParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetTrailersParams::enableTotalRecordCount() const { - return m_enableTotalRecordCount.value(); -} - -void GetTrailersParams::setEnableTotalRecordCount(bool newEnableTotalRecordCount) { - m_enableTotalRecordCount = newEnableTotalRecordCount; -} - -bool GetTrailersParams::enableTotalRecordCountNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableTotalRecordCount.has_value(); -} - -void GetTrailersParams::setEnableTotalRecordCountNull() { - m_enableTotalRecordCount = std::nullopt; -} - - -const bool &GetTrailersParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetTrailersParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetTrailersParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetTrailersParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QStringList &GetTrailersParams::excludeArtistIds() const { - return m_excludeArtistIds; -} - -void GetTrailersParams::setExcludeArtistIds(QStringList newExcludeArtistIds) { - m_excludeArtistIds = newExcludeArtistIds; -} - -bool GetTrailersParams::excludeArtistIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeArtistIds.size() == 0; -} - -void GetTrailersParams::setExcludeArtistIdsNull() { - m_excludeArtistIds.clear(); -} - - -const QStringList &GetTrailersParams::excludeItemIds() const { - return m_excludeItemIds; -} - -void GetTrailersParams::setExcludeItemIds(QStringList newExcludeItemIds) { - m_excludeItemIds = newExcludeItemIds; -} - -bool GetTrailersParams::excludeItemIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemIds.size() == 0; -} - -void GetTrailersParams::setExcludeItemIdsNull() { - m_excludeItemIds.clear(); -} - - -const QStringList &GetTrailersParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetTrailersParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetTrailersParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetTrailersParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetTrailersParams::excludeLocationTypes() const { - return m_excludeLocationTypes; -} - -void GetTrailersParams::setExcludeLocationTypes(QList newExcludeLocationTypes) { - m_excludeLocationTypes = newExcludeLocationTypes; -} - -bool GetTrailersParams::excludeLocationTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeLocationTypes.size() == 0; -} - -void GetTrailersParams::setExcludeLocationTypesNull() { - m_excludeLocationTypes.clear(); -} - - -const QList &GetTrailersParams::fields() const { - return m_fields; -} - -void GetTrailersParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetTrailersParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetTrailersParams::setFieldsNull() { - m_fields.clear(); -} - - -const QList &GetTrailersParams::filters() const { - return m_filters; -} - -void GetTrailersParams::setFilters(QList newFilters) { - m_filters = newFilters; -} - -bool GetTrailersParams::filtersNull() const { - // Nullable: true - // Type Nullable: true - - - return m_filters.size() == 0; -} - -void GetTrailersParams::setFiltersNull() { - m_filters.clear(); -} - - -const QStringList &GetTrailersParams::genreIds() const { - return m_genreIds; -} - -void GetTrailersParams::setGenreIds(QStringList newGenreIds) { - m_genreIds = newGenreIds; -} - -bool GetTrailersParams::genreIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genreIds.size() == 0; -} - -void GetTrailersParams::setGenreIdsNull() { - m_genreIds.clear(); -} - - -const QStringList &GetTrailersParams::genres() const { - return m_genres; -} - -void GetTrailersParams::setGenres(QStringList newGenres) { - m_genres = newGenres; -} - -bool GetTrailersParams::genresNull() const { - // Nullable: true - // Type Nullable: true - - - return m_genres.size() == 0; -} - -void GetTrailersParams::setGenresNull() { - m_genres.clear(); -} - - -const bool &GetTrailersParams::hasImdbId() const { - return m_hasImdbId.value(); -} - -void GetTrailersParams::setHasImdbId(bool newHasImdbId) { - m_hasImdbId = newHasImdbId; -} - -bool GetTrailersParams::hasImdbIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasImdbId.has_value(); -} - -void GetTrailersParams::setHasImdbIdNull() { - m_hasImdbId = std::nullopt; -} - - -const bool &GetTrailersParams::hasOfficialRating() const { - return m_hasOfficialRating.value(); -} - -void GetTrailersParams::setHasOfficialRating(bool newHasOfficialRating) { - m_hasOfficialRating = newHasOfficialRating; -} - -bool GetTrailersParams::hasOfficialRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasOfficialRating.has_value(); -} - -void GetTrailersParams::setHasOfficialRatingNull() { - m_hasOfficialRating = std::nullopt; -} - - -const bool &GetTrailersParams::hasOverview() const { - return m_hasOverview.value(); -} - -void GetTrailersParams::setHasOverview(bool newHasOverview) { - m_hasOverview = newHasOverview; -} - -bool GetTrailersParams::hasOverviewNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasOverview.has_value(); -} - -void GetTrailersParams::setHasOverviewNull() { - m_hasOverview = std::nullopt; -} - - -const bool &GetTrailersParams::hasParentalRating() const { - return m_hasParentalRating.value(); -} - -void GetTrailersParams::setHasParentalRating(bool newHasParentalRating) { - m_hasParentalRating = newHasParentalRating; -} - -bool GetTrailersParams::hasParentalRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasParentalRating.has_value(); -} - -void GetTrailersParams::setHasParentalRatingNull() { - m_hasParentalRating = std::nullopt; -} - - -const bool &GetTrailersParams::hasSpecialFeature() const { - return m_hasSpecialFeature.value(); -} - -void GetTrailersParams::setHasSpecialFeature(bool newHasSpecialFeature) { - m_hasSpecialFeature = newHasSpecialFeature; -} - -bool GetTrailersParams::hasSpecialFeatureNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasSpecialFeature.has_value(); -} - -void GetTrailersParams::setHasSpecialFeatureNull() { - m_hasSpecialFeature = std::nullopt; -} - - -const bool &GetTrailersParams::hasSubtitles() const { - return m_hasSubtitles.value(); -} - -void GetTrailersParams::setHasSubtitles(bool newHasSubtitles) { - m_hasSubtitles = newHasSubtitles; -} - -bool GetTrailersParams::hasSubtitlesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasSubtitles.has_value(); -} - -void GetTrailersParams::setHasSubtitlesNull() { - m_hasSubtitles = std::nullopt; -} - - -const bool &GetTrailersParams::hasThemeSong() const { - return m_hasThemeSong.value(); -} - -void GetTrailersParams::setHasThemeSong(bool newHasThemeSong) { - m_hasThemeSong = newHasThemeSong; -} - -bool GetTrailersParams::hasThemeSongNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasThemeSong.has_value(); -} - -void GetTrailersParams::setHasThemeSongNull() { - m_hasThemeSong = std::nullopt; -} - - -const bool &GetTrailersParams::hasThemeVideo() const { - return m_hasThemeVideo.value(); -} - -void GetTrailersParams::setHasThemeVideo(bool newHasThemeVideo) { - m_hasThemeVideo = newHasThemeVideo; -} - -bool GetTrailersParams::hasThemeVideoNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasThemeVideo.has_value(); -} - -void GetTrailersParams::setHasThemeVideoNull() { - m_hasThemeVideo = std::nullopt; -} - - -const bool &GetTrailersParams::hasTmdbId() const { - return m_hasTmdbId.value(); -} - -void GetTrailersParams::setHasTmdbId(bool newHasTmdbId) { - m_hasTmdbId = newHasTmdbId; -} - -bool GetTrailersParams::hasTmdbIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasTmdbId.has_value(); -} - -void GetTrailersParams::setHasTmdbIdNull() { - m_hasTmdbId = std::nullopt; -} - - -const bool &GetTrailersParams::hasTrailer() const { - return m_hasTrailer.value(); -} - -void GetTrailersParams::setHasTrailer(bool newHasTrailer) { - m_hasTrailer = newHasTrailer; -} - -bool GetTrailersParams::hasTrailerNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasTrailer.has_value(); -} - -void GetTrailersParams::setHasTrailerNull() { - m_hasTrailer = std::nullopt; -} - - -const bool &GetTrailersParams::hasTvdbId() const { - return m_hasTvdbId.value(); -} - -void GetTrailersParams::setHasTvdbId(bool newHasTvdbId) { - m_hasTvdbId = newHasTvdbId; -} - -bool GetTrailersParams::hasTvdbIdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_hasTvdbId.has_value(); -} - -void GetTrailersParams::setHasTvdbIdNull() { - m_hasTvdbId = std::nullopt; -} - - -const QStringList &GetTrailersParams::ids() const { - return m_ids; -} - -void GetTrailersParams::setIds(QStringList newIds) { - m_ids = newIds; -} - -bool GetTrailersParams::idsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_ids.size() == 0; -} - -void GetTrailersParams::setIdsNull() { - m_ids.clear(); -} - - -const qint32 &GetTrailersParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetTrailersParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetTrailersParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetTrailersParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QList &GetTrailersParams::imageTypes() const { - return m_imageTypes; -} - -void GetTrailersParams::setImageTypes(QList newImageTypes) { - m_imageTypes = newImageTypes; -} - -bool GetTrailersParams::imageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_imageTypes.size() == 0; -} - -void GetTrailersParams::setImageTypesNull() { - m_imageTypes.clear(); -} - - -const bool &GetTrailersParams::is3D() const { - return m_is3D.value(); -} - -void GetTrailersParams::setIs3D(bool newIs3D) { - m_is3D = newIs3D; -} - -bool GetTrailersParams::is3DNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_is3D.has_value(); -} - -void GetTrailersParams::setIs3DNull() { - m_is3D = std::nullopt; -} - - -const bool &GetTrailersParams::is4K() const { - return m_is4K.value(); -} - -void GetTrailersParams::setIs4K(bool newIs4K) { - m_is4K = newIs4K; -} - -bool GetTrailersParams::is4KNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_is4K.has_value(); -} - -void GetTrailersParams::setIs4KNull() { - m_is4K = std::nullopt; -} - - -const bool &GetTrailersParams::isFavorite() const { - return m_isFavorite.value(); -} - -void GetTrailersParams::setIsFavorite(bool newIsFavorite) { - m_isFavorite = newIsFavorite; -} - -bool GetTrailersParams::isFavoriteNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isFavorite.has_value(); -} - -void GetTrailersParams::setIsFavoriteNull() { - m_isFavorite = std::nullopt; -} - - -const bool &GetTrailersParams::isHd() const { - return m_isHd.value(); -} - -void GetTrailersParams::setIsHd(bool newIsHd) { - m_isHd = newIsHd; -} - -bool GetTrailersParams::isHdNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isHd.has_value(); -} - -void GetTrailersParams::setIsHdNull() { - m_isHd = std::nullopt; -} - - -const bool &GetTrailersParams::isLocked() const { - return m_isLocked.value(); -} - -void GetTrailersParams::setIsLocked(bool newIsLocked) { - m_isLocked = newIsLocked; -} - -bool GetTrailersParams::isLockedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isLocked.has_value(); -} - -void GetTrailersParams::setIsLockedNull() { - m_isLocked = std::nullopt; -} - - -const bool &GetTrailersParams::isMissing() const { - return m_isMissing.value(); -} - -void GetTrailersParams::setIsMissing(bool newIsMissing) { - m_isMissing = newIsMissing; -} - -bool GetTrailersParams::isMissingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isMissing.has_value(); -} - -void GetTrailersParams::setIsMissingNull() { - m_isMissing = std::nullopt; -} - - -const bool &GetTrailersParams::isPlaceHolder() const { - return m_isPlaceHolder.value(); -} - -void GetTrailersParams::setIsPlaceHolder(bool newIsPlaceHolder) { - m_isPlaceHolder = newIsPlaceHolder; -} - -bool GetTrailersParams::isPlaceHolderNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isPlaceHolder.has_value(); -} - -void GetTrailersParams::setIsPlaceHolderNull() { - m_isPlaceHolder = std::nullopt; -} - - -const bool &GetTrailersParams::isPlayed() const { - return m_isPlayed.value(); -} - -void GetTrailersParams::setIsPlayed(bool newIsPlayed) { - m_isPlayed = newIsPlayed; -} - -bool GetTrailersParams::isPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isPlayed.has_value(); -} - -void GetTrailersParams::setIsPlayedNull() { - m_isPlayed = std::nullopt; -} - - -const bool &GetTrailersParams::isUnaired() const { - return m_isUnaired.value(); -} - -void GetTrailersParams::setIsUnaired(bool newIsUnaired) { - m_isUnaired = newIsUnaired; -} - -bool GetTrailersParams::isUnairedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isUnaired.has_value(); -} - -void GetTrailersParams::setIsUnairedNull() { - m_isUnaired = std::nullopt; -} - - -const qint32 &GetTrailersParams::limit() const { - return m_limit.value(); -} - -void GetTrailersParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetTrailersParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetTrailersParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QList &GetTrailersParams::locationTypes() const { - return m_locationTypes; -} - -void GetTrailersParams::setLocationTypes(QList newLocationTypes) { - m_locationTypes = newLocationTypes; -} - -bool GetTrailersParams::locationTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_locationTypes.size() == 0; -} - -void GetTrailersParams::setLocationTypesNull() { - m_locationTypes.clear(); -} - - -const qint32 &GetTrailersParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetTrailersParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetTrailersParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetTrailersParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const QString &GetTrailersParams::maxOfficialRating() const { - return m_maxOfficialRating; -} - -void GetTrailersParams::setMaxOfficialRating(QString newMaxOfficialRating) { - m_maxOfficialRating = newMaxOfficialRating; -} - -bool GetTrailersParams::maxOfficialRatingNull() const { - // Nullable: true - // Type Nullable: true - - - return m_maxOfficialRating.isNull(); -} - -void GetTrailersParams::setMaxOfficialRatingNull() { - m_maxOfficialRating.clear(); -} - - -const QDateTime &GetTrailersParams::maxPremiereDate() const { - return m_maxPremiereDate; -} - -void GetTrailersParams::setMaxPremiereDate(QDateTime newMaxPremiereDate) { - m_maxPremiereDate = newMaxPremiereDate; -} - -bool GetTrailersParams::maxPremiereDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_maxPremiereDate.isNull(); -} - -void GetTrailersParams::setMaxPremiereDateNull() { - m_maxPremiereDate= QDateTime(); -} - - -const qint32 &GetTrailersParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetTrailersParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetTrailersParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetTrailersParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const QStringList &GetTrailersParams::mediaTypes() const { - return m_mediaTypes; -} - -void GetTrailersParams::setMediaTypes(QStringList newMediaTypes) { - m_mediaTypes = newMediaTypes; -} - -bool GetTrailersParams::mediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaTypes.size() == 0; -} - -void GetTrailersParams::setMediaTypesNull() { - m_mediaTypes.clear(); -} - - -const double &GetTrailersParams::minCommunityRating() const { - return m_minCommunityRating.value(); -} - -void GetTrailersParams::setMinCommunityRating(double newMinCommunityRating) { - m_minCommunityRating = newMinCommunityRating; -} - -bool GetTrailersParams::minCommunityRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minCommunityRating.has_value(); -} - -void GetTrailersParams::setMinCommunityRatingNull() { - m_minCommunityRating = std::nullopt; -} - - -const double &GetTrailersParams::minCriticRating() const { - return m_minCriticRating.value(); -} - -void GetTrailersParams::setMinCriticRating(double newMinCriticRating) { - m_minCriticRating = newMinCriticRating; -} - -bool GetTrailersParams::minCriticRatingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minCriticRating.has_value(); -} - -void GetTrailersParams::setMinCriticRatingNull() { - m_minCriticRating = std::nullopt; -} - - -const QDateTime &GetTrailersParams::minDateLastSaved() const { - return m_minDateLastSaved; -} - -void GetTrailersParams::setMinDateLastSaved(QDateTime newMinDateLastSaved) { - m_minDateLastSaved = newMinDateLastSaved; -} - -bool GetTrailersParams::minDateLastSavedNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minDateLastSaved.isNull(); -} - -void GetTrailersParams::setMinDateLastSavedNull() { - m_minDateLastSaved= QDateTime(); -} - - -const QDateTime &GetTrailersParams::minDateLastSavedForUser() const { - return m_minDateLastSavedForUser; -} - -void GetTrailersParams::setMinDateLastSavedForUser(QDateTime newMinDateLastSavedForUser) { - m_minDateLastSavedForUser = newMinDateLastSavedForUser; -} - -bool GetTrailersParams::minDateLastSavedForUserNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minDateLastSavedForUser.isNull(); -} - -void GetTrailersParams::setMinDateLastSavedForUserNull() { - m_minDateLastSavedForUser= QDateTime(); -} - - -const qint32 &GetTrailersParams::minHeight() const { - return m_minHeight.value(); -} - -void GetTrailersParams::setMinHeight(qint32 newMinHeight) { - m_minHeight = newMinHeight; -} - -bool GetTrailersParams::minHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minHeight.has_value(); -} - -void GetTrailersParams::setMinHeightNull() { - m_minHeight = std::nullopt; -} - - -const QString &GetTrailersParams::minOfficialRating() const { - return m_minOfficialRating; -} - -void GetTrailersParams::setMinOfficialRating(QString newMinOfficialRating) { - m_minOfficialRating = newMinOfficialRating; -} - -bool GetTrailersParams::minOfficialRatingNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minOfficialRating.isNull(); -} - -void GetTrailersParams::setMinOfficialRatingNull() { - m_minOfficialRating.clear(); -} - - -const QDateTime &GetTrailersParams::minPremiereDate() const { - return m_minPremiereDate; -} - -void GetTrailersParams::setMinPremiereDate(QDateTime newMinPremiereDate) { - m_minPremiereDate = newMinPremiereDate; -} - -bool GetTrailersParams::minPremiereDateNull() const { - // Nullable: true - // Type Nullable: true - - - return m_minPremiereDate.isNull(); -} - -void GetTrailersParams::setMinPremiereDateNull() { - m_minPremiereDate= QDateTime(); -} - - -const qint32 &GetTrailersParams::minWidth() const { - return m_minWidth.value(); -} - -void GetTrailersParams::setMinWidth(qint32 newMinWidth) { - m_minWidth = newMinWidth; -} - -bool GetTrailersParams::minWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minWidth.has_value(); -} - -void GetTrailersParams::setMinWidthNull() { - m_minWidth = std::nullopt; -} - - -const QString &GetTrailersParams::nameLessThan() const { - return m_nameLessThan; -} - -void GetTrailersParams::setNameLessThan(QString newNameLessThan) { - m_nameLessThan = newNameLessThan; -} - -bool GetTrailersParams::nameLessThanNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameLessThan.isNull(); -} - -void GetTrailersParams::setNameLessThanNull() { - m_nameLessThan.clear(); -} - - -const QString &GetTrailersParams::nameStartsWith() const { - return m_nameStartsWith; -} - -void GetTrailersParams::setNameStartsWith(QString newNameStartsWith) { - m_nameStartsWith = newNameStartsWith; -} - -bool GetTrailersParams::nameStartsWithNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWith.isNull(); -} - -void GetTrailersParams::setNameStartsWithNull() { - m_nameStartsWith.clear(); -} - - -const QString &GetTrailersParams::nameStartsWithOrGreater() const { - return m_nameStartsWithOrGreater; -} - -void GetTrailersParams::setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) { - m_nameStartsWithOrGreater = newNameStartsWithOrGreater; -} - -bool GetTrailersParams::nameStartsWithOrGreaterNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nameStartsWithOrGreater.isNull(); -} - -void GetTrailersParams::setNameStartsWithOrGreaterNull() { - m_nameStartsWithOrGreater.clear(); -} - - -const QStringList &GetTrailersParams::officialRatings() const { - return m_officialRatings; -} - -void GetTrailersParams::setOfficialRatings(QStringList newOfficialRatings) { - m_officialRatings = newOfficialRatings; -} - -bool GetTrailersParams::officialRatingsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_officialRatings.size() == 0; -} - -void GetTrailersParams::setOfficialRatingsNull() { - m_officialRatings.clear(); -} - - -const QString &GetTrailersParams::parentId() const { - return m_parentId; -} - -void GetTrailersParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetTrailersParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetTrailersParams::setParentIdNull() { - m_parentId.clear(); -} - - -const qint32 &GetTrailersParams::parentIndexNumber() const { - return m_parentIndexNumber.value(); -} - -void GetTrailersParams::setParentIndexNumber(qint32 newParentIndexNumber) { - m_parentIndexNumber = newParentIndexNumber; -} - -bool GetTrailersParams::parentIndexNumberNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_parentIndexNumber.has_value(); -} - -void GetTrailersParams::setParentIndexNumberNull() { - m_parentIndexNumber = std::nullopt; -} - - -const QString &GetTrailersParams::person() const { - return m_person; -} - -void GetTrailersParams::setPerson(QString newPerson) { - m_person = newPerson; -} - -bool GetTrailersParams::personNull() const { - // Nullable: true - // Type Nullable: true - - - return m_person.isNull(); -} - -void GetTrailersParams::setPersonNull() { - m_person.clear(); -} - - -const QStringList &GetTrailersParams::personIds() const { - return m_personIds; -} - -void GetTrailersParams::setPersonIds(QStringList newPersonIds) { - m_personIds = newPersonIds; -} - -bool GetTrailersParams::personIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personIds.size() == 0; -} - -void GetTrailersParams::setPersonIdsNull() { - m_personIds.clear(); -} - - -const QStringList &GetTrailersParams::personTypes() const { - return m_personTypes; -} - -void GetTrailersParams::setPersonTypes(QStringList newPersonTypes) { - m_personTypes = newPersonTypes; -} - -bool GetTrailersParams::personTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_personTypes.size() == 0; -} - -void GetTrailersParams::setPersonTypesNull() { - m_personTypes.clear(); -} - - -const bool &GetTrailersParams::recursive() const { - return m_recursive.value(); -} - -void GetTrailersParams::setRecursive(bool newRecursive) { - m_recursive = newRecursive; -} - -bool GetTrailersParams::recursiveNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_recursive.has_value(); -} - -void GetTrailersParams::setRecursiveNull() { - m_recursive = std::nullopt; -} - - -const QString &GetTrailersParams::searchTerm() const { - return m_searchTerm; -} - -void GetTrailersParams::setSearchTerm(QString newSearchTerm) { - m_searchTerm = newSearchTerm; -} - -bool GetTrailersParams::searchTermNull() const { - // Nullable: true - // Type Nullable: true - - - return m_searchTerm.isNull(); -} - -void GetTrailersParams::setSearchTermNull() { - m_searchTerm.clear(); -} - - -const QList &GetTrailersParams::seriesStatus() const { - return m_seriesStatus; -} - -void GetTrailersParams::setSeriesStatus(QList newSeriesStatus) { - m_seriesStatus = newSeriesStatus; -} - -bool GetTrailersParams::seriesStatusNull() const { - // Nullable: true - // Type Nullable: true - - - return m_seriesStatus.size() == 0; -} - -void GetTrailersParams::setSeriesStatusNull() { - m_seriesStatus.clear(); -} - - -const QString &GetTrailersParams::sortBy() const { - return m_sortBy; -} - -void GetTrailersParams::setSortBy(QString newSortBy) { - m_sortBy = newSortBy; -} - -bool GetTrailersParams::sortByNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortBy.isNull(); -} - -void GetTrailersParams::setSortByNull() { - m_sortBy.clear(); -} - - -const QString &GetTrailersParams::sortOrder() const { - return m_sortOrder; -} - -void GetTrailersParams::setSortOrder(QString newSortOrder) { - m_sortOrder = newSortOrder; -} - -bool GetTrailersParams::sortOrderNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortOrder.isNull(); -} - -void GetTrailersParams::setSortOrderNull() { - m_sortOrder.clear(); -} - - -const qint32 &GetTrailersParams::startIndex() const { - return m_startIndex.value(); -} - -void GetTrailersParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetTrailersParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetTrailersParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QStringList &GetTrailersParams::studioIds() const { - return m_studioIds; -} - -void GetTrailersParams::setStudioIds(QStringList newStudioIds) { - m_studioIds = newStudioIds; -} - -bool GetTrailersParams::studioIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studioIds.size() == 0; -} - -void GetTrailersParams::setStudioIdsNull() { - m_studioIds.clear(); -} - - -const QStringList &GetTrailersParams::studios() const { - return m_studios; -} - -void GetTrailersParams::setStudios(QStringList newStudios) { - m_studios = newStudios; -} - -bool GetTrailersParams::studiosNull() const { - // Nullable: true - // Type Nullable: true - - - return m_studios.size() == 0; -} - -void GetTrailersParams::setStudiosNull() { - m_studios.clear(); -} - - -const QStringList &GetTrailersParams::tags() const { - return m_tags; -} - -void GetTrailersParams::setTags(QStringList newTags) { - m_tags = newTags; -} - -bool GetTrailersParams::tagsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tags.size() == 0; -} - -void GetTrailersParams::setTagsNull() { - m_tags.clear(); -} - - -const QString &GetTrailersParams::userId() const { - return m_userId; -} - -void GetTrailersParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetTrailersParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetTrailersParams::setUserIdNull() { - m_userId.clear(); -} - - -const QList &GetTrailersParams::videoTypes() const { - return m_videoTypes; -} - -void GetTrailersParams::setVideoTypes(QList newVideoTypes) { - m_videoTypes = newVideoTypes; -} - -bool GetTrailersParams::videoTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoTypes.size() == 0; -} - -void GetTrailersParams::setVideoTypesNull() { - m_videoTypes.clear(); -} - - -const QList &GetTrailersParams::years() const { - return m_years; -} - -void GetTrailersParams::setYears(QList newYears) { - m_years = newYears; -} - -bool GetTrailersParams::yearsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_years.size() == 0; -} - -void GetTrailersParams::setYearsNull() { - m_years.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/gettunerhosttypesparams.cpp b/core/src/loader/gettunerhosttypesparams.cpp deleted file mode 100644 index 7058825..0000000 --- a/core/src/loader/gettunerhosttypesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/gettunerhosttypesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetTunerHostTypesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getuniversalaudiostreamparams.cpp b/core/src/loader/getuniversalaudiostreamparams.cpp deleted file mode 100644 index 9d3ea27..0000000 --- a/core/src/loader/getuniversalaudiostreamparams.cpp +++ /dev/null @@ -1,407 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getuniversalaudiostreamparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetUniversalAudioStreamParams - -const QString &GetUniversalAudioStreamParams::itemId() const { - return m_itemId; -} - -void GetUniversalAudioStreamParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const qint32 &GetUniversalAudioStreamParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetUniversalAudioStreamParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetUniversalAudioStreamParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetUniversalAudioStreamParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const QString &GetUniversalAudioStreamParams::audioCodec() const { - return m_audioCodec; -} - -void GetUniversalAudioStreamParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetUniversalAudioStreamParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetUniversalAudioStreamParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const bool &GetUniversalAudioStreamParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetUniversalAudioStreamParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetUniversalAudioStreamParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetUniversalAudioStreamParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const QStringList &GetUniversalAudioStreamParams::container() const { - return m_container; -} - -void GetUniversalAudioStreamParams::setContainer(QStringList newContainer) { - m_container = newContainer; -} - -bool GetUniversalAudioStreamParams::containerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_container.size() == 0; -} - -void GetUniversalAudioStreamParams::setContainerNull() { - m_container.clear(); -} - - -const QString &GetUniversalAudioStreamParams::deviceId() const { - return m_deviceId; -} - -void GetUniversalAudioStreamParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetUniversalAudioStreamParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetUniversalAudioStreamParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const bool &GetUniversalAudioStreamParams::enableRedirection() const { - return m_enableRedirection.value(); -} - -void GetUniversalAudioStreamParams::setEnableRedirection(bool newEnableRedirection) { - m_enableRedirection = newEnableRedirection; -} - -bool GetUniversalAudioStreamParams::enableRedirectionNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableRedirection.has_value(); -} - -void GetUniversalAudioStreamParams::setEnableRedirectionNull() { - m_enableRedirection = std::nullopt; -} - - -const bool &GetUniversalAudioStreamParams::enableRemoteMedia() const { - return m_enableRemoteMedia.value(); -} - -void GetUniversalAudioStreamParams::setEnableRemoteMedia(bool newEnableRemoteMedia) { - m_enableRemoteMedia = newEnableRemoteMedia; -} - -bool GetUniversalAudioStreamParams::enableRemoteMediaNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableRemoteMedia.has_value(); -} - -void GetUniversalAudioStreamParams::setEnableRemoteMediaNull() { - m_enableRemoteMedia = std::nullopt; -} - - -const qint32 &GetUniversalAudioStreamParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetUniversalAudioStreamParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetUniversalAudioStreamParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetUniversalAudioStreamParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetUniversalAudioStreamParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetUniversalAudioStreamParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetUniversalAudioStreamParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetUniversalAudioStreamParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const qint32 &GetUniversalAudioStreamParams::maxAudioSampleRate() const { - return m_maxAudioSampleRate.value(); -} - -void GetUniversalAudioStreamParams::setMaxAudioSampleRate(qint32 newMaxAudioSampleRate) { - m_maxAudioSampleRate = newMaxAudioSampleRate; -} - -bool GetUniversalAudioStreamParams::maxAudioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioSampleRate.has_value(); -} - -void GetUniversalAudioStreamParams::setMaxAudioSampleRateNull() { - m_maxAudioSampleRate = std::nullopt; -} - - -const qint32 &GetUniversalAudioStreamParams::maxStreamingBitrate() const { - return m_maxStreamingBitrate.value(); -} - -void GetUniversalAudioStreamParams::setMaxStreamingBitrate(qint32 newMaxStreamingBitrate) { - m_maxStreamingBitrate = newMaxStreamingBitrate; -} - -bool GetUniversalAudioStreamParams::maxStreamingBitrateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxStreamingBitrate.has_value(); -} - -void GetUniversalAudioStreamParams::setMaxStreamingBitrateNull() { - m_maxStreamingBitrate = std::nullopt; -} - - -const QString &GetUniversalAudioStreamParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetUniversalAudioStreamParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetUniversalAudioStreamParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetUniversalAudioStreamParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint64 &GetUniversalAudioStreamParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetUniversalAudioStreamParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetUniversalAudioStreamParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetUniversalAudioStreamParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const qint32 &GetUniversalAudioStreamParams::transcodingAudioChannels() const { - return m_transcodingAudioChannels.value(); -} - -void GetUniversalAudioStreamParams::setTranscodingAudioChannels(qint32 newTranscodingAudioChannels) { - m_transcodingAudioChannels = newTranscodingAudioChannels; -} - -bool GetUniversalAudioStreamParams::transcodingAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingAudioChannels.has_value(); -} - -void GetUniversalAudioStreamParams::setTranscodingAudioChannelsNull() { - m_transcodingAudioChannels = std::nullopt; -} - - -const QString &GetUniversalAudioStreamParams::transcodingContainer() const { - return m_transcodingContainer; -} - -void GetUniversalAudioStreamParams::setTranscodingContainer(QString newTranscodingContainer) { - m_transcodingContainer = newTranscodingContainer; -} - -bool GetUniversalAudioStreamParams::transcodingContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodingContainer.isNull(); -} - -void GetUniversalAudioStreamParams::setTranscodingContainerNull() { - m_transcodingContainer.clear(); -} - - -const QString &GetUniversalAudioStreamParams::transcodingProtocol() const { - return m_transcodingProtocol; -} - -void GetUniversalAudioStreamParams::setTranscodingProtocol(QString newTranscodingProtocol) { - m_transcodingProtocol = newTranscodingProtocol; -} - -bool GetUniversalAudioStreamParams::transcodingProtocolNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodingProtocol.isNull(); -} - -void GetUniversalAudioStreamParams::setTranscodingProtocolNull() { - m_transcodingProtocol.clear(); -} - - -const QString &GetUniversalAudioStreamParams::userId() const { - return m_userId; -} - -void GetUniversalAudioStreamParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetUniversalAudioStreamParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetUniversalAudioStreamParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getupcomingepisodesparams.cpp b/core/src/loader/getupcomingepisodesparams.cpp deleted file mode 100644 index fb1d5bf..0000000 --- a/core/src/loader/getupcomingepisodesparams.cpp +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getupcomingepisodesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetUpcomingEpisodesParams - -const QList &GetUpcomingEpisodesParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetUpcomingEpisodesParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetUpcomingEpisodesParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetUpcomingEpisodesParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetUpcomingEpisodesParams::enableImges() const { - return m_enableImges.value(); -} - -void GetUpcomingEpisodesParams::setEnableImges(bool newEnableImges) { - m_enableImges = newEnableImges; -} - -bool GetUpcomingEpisodesParams::enableImgesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImges.has_value(); -} - -void GetUpcomingEpisodesParams::setEnableImgesNull() { - m_enableImges = std::nullopt; -} - - -const bool &GetUpcomingEpisodesParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetUpcomingEpisodesParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetUpcomingEpisodesParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetUpcomingEpisodesParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QList &GetUpcomingEpisodesParams::fields() const { - return m_fields; -} - -void GetUpcomingEpisodesParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetUpcomingEpisodesParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetUpcomingEpisodesParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetUpcomingEpisodesParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetUpcomingEpisodesParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetUpcomingEpisodesParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetUpcomingEpisodesParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const qint32 &GetUpcomingEpisodesParams::limit() const { - return m_limit.value(); -} - -void GetUpcomingEpisodesParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetUpcomingEpisodesParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetUpcomingEpisodesParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QString &GetUpcomingEpisodesParams::parentId() const { - return m_parentId; -} - -void GetUpcomingEpisodesParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetUpcomingEpisodesParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetUpcomingEpisodesParams::setParentIdNull() { - m_parentId.clear(); -} - - -const qint32 &GetUpcomingEpisodesParams::startIndex() const { - return m_startIndex.value(); -} - -void GetUpcomingEpisodesParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetUpcomingEpisodesParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetUpcomingEpisodesParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetUpcomingEpisodesParams::userId() const { - return m_userId; -} - -void GetUpcomingEpisodesParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetUpcomingEpisodesParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetUpcomingEpisodesParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getuserbyidparams.cpp b/core/src/loader/getuserbyidparams.cpp deleted file mode 100644 index 0c903ea..0000000 --- a/core/src/loader/getuserbyidparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getuserbyidparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetUserByIdParams - -const QString &GetUserByIdParams::userId() const { - return m_userId; -} - -void GetUserByIdParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getuserimagebyindexparams.cpp b/core/src/loader/getuserimagebyindexparams.cpp deleted file mode 100644 index eab2c58..0000000 --- a/core/src/loader/getuserimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getuserimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetUserImageByIndexParams - -const qint32 &GetUserImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void GetUserImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &GetUserImageByIndexParams::imageType() const { - return m_imageType; -} - -void GetUserImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetUserImageByIndexParams::userId() const { - return m_userId; -} - -void GetUserImageByIndexParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const bool &GetUserImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetUserImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetUserImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetUserImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetUserImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetUserImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetUserImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetUserImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetUserImageByIndexParams::blur() const { - return m_blur.value(); -} - -void GetUserImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetUserImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetUserImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetUserImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetUserImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetUserImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetUserImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetUserImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetUserImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetUserImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetUserImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetUserImageByIndexParams::format() const { - return m_format; -} - -void GetUserImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetUserImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetUserImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetUserImageByIndexParams::height() const { - return m_height.value(); -} - -void GetUserImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetUserImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetUserImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetUserImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetUserImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetUserImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetUserImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetUserImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetUserImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetUserImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetUserImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetUserImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetUserImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetUserImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetUserImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetUserImageByIndexParams::quality() const { - return m_quality.value(); -} - -void GetUserImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetUserImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetUserImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetUserImageByIndexParams::tag() const { - return m_tag; -} - -void GetUserImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetUserImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetUserImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetUserImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetUserImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetUserImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetUserImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetUserImageByIndexParams::width() const { - return m_width.value(); -} - -void GetUserImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetUserImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetUserImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getuserimageparams.cpp b/core/src/loader/getuserimageparams.cpp deleted file mode 100644 index 375fd0a..0000000 --- a/core/src/loader/getuserimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getuserimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetUserImageParams - -const ImageType &GetUserImageParams::imageType() const { - return m_imageType; -} - -void GetUserImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &GetUserImageParams::userId() const { - return m_userId; -} - -void GetUserImageParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const bool &GetUserImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void GetUserImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool GetUserImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void GetUserImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &GetUserImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void GetUserImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool GetUserImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void GetUserImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &GetUserImageParams::blur() const { - return m_blur.value(); -} - -void GetUserImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool GetUserImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void GetUserImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &GetUserImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void GetUserImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool GetUserImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void GetUserImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &GetUserImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void GetUserImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool GetUserImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void GetUserImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &GetUserImageParams::format() const { - return m_format; -} - -void GetUserImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool GetUserImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void GetUserImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &GetUserImageParams::height() const { - return m_height.value(); -} - -void GetUserImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetUserImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetUserImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &GetUserImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void GetUserImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool GetUserImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void GetUserImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &GetUserImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void GetUserImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool GetUserImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void GetUserImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &GetUserImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void GetUserImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool GetUserImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void GetUserImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &GetUserImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void GetUserImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool GetUserImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void GetUserImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &GetUserImageParams::quality() const { - return m_quality.value(); -} - -void GetUserImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool GetUserImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void GetUserImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &GetUserImageParams::tag() const { - return m_tag; -} - -void GetUserImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetUserImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetUserImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &GetUserImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void GetUserImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool GetUserImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void GetUserImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &GetUserImageParams::width() const { - return m_width.value(); -} - -void GetUserImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetUserImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetUserImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getusersparams.cpp b/core/src/loader/getusersparams.cpp deleted file mode 100644 index b1ccc4f..0000000 --- a/core/src/loader/getusersparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getusersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetUsersParams - -const bool &GetUsersParams::isDisabled() const { - return m_isDisabled.value(); -} - -void GetUsersParams::setIsDisabled(bool newIsDisabled) { - m_isDisabled = newIsDisabled; -} - -bool GetUsersParams::isDisabledNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isDisabled.has_value(); -} - -void GetUsersParams::setIsDisabledNull() { - m_isDisabled = std::nullopt; -} - - -const bool &GetUsersParams::isHidden() const { - return m_isHidden.value(); -} - -void GetUsersParams::setIsHidden(bool newIsHidden) { - m_isHidden = newIsHidden; -} - -bool GetUsersParams::isHiddenNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isHidden.has_value(); -} - -void GetUsersParams::setIsHiddenNull() { - m_isHidden = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getuserviewsparams.cpp b/core/src/loader/getuserviewsparams.cpp deleted file mode 100644 index 3fe82c5..0000000 --- a/core/src/loader/getuserviewsparams.cpp +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getuserviewsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetUserViewsParams - -const QString &GetUserViewsParams::userId() const { - return m_userId; -} - -void GetUserViewsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const bool &GetUserViewsParams::includeExternalContent() const { - return m_includeExternalContent.value(); -} - -void GetUserViewsParams::setIncludeExternalContent(bool newIncludeExternalContent) { - m_includeExternalContent = newIncludeExternalContent; -} - -bool GetUserViewsParams::includeExternalContentNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_includeExternalContent.has_value(); -} - -void GetUserViewsParams::setIncludeExternalContentNull() { - m_includeExternalContent = std::nullopt; -} - - -const bool &GetUserViewsParams::includeHidden() const { - return m_includeHidden.value(); -} - -void GetUserViewsParams::setIncludeHidden(bool newIncludeHidden) { - m_includeHidden = newIncludeHidden; -} - -bool GetUserViewsParams::includeHiddenNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_includeHidden.has_value(); -} - -void GetUserViewsParams::setIncludeHiddenNull() { - m_includeHidden = std::nullopt; -} - - -const QStringList &GetUserViewsParams::presetViews() const { - return m_presetViews; -} - -void GetUserViewsParams::setPresetViews(QStringList newPresetViews) { - m_presetViews = newPresetViews; -} - -bool GetUserViewsParams::presetViewsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_presetViews.size() == 0; -} - -void GetUserViewsParams::setPresetViewsNull() { - m_presetViews.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getutctimeparams.cpp b/core/src/loader/getutctimeparams.cpp deleted file mode 100644 index 3e3cbf0..0000000 --- a/core/src/loader/getutctimeparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getutctimeparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetUtcTimeParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getvarianthlsaudioplaylistparams.cpp b/core/src/loader/getvarianthlsaudioplaylistparams.cpp deleted file mode 100644 index a9925b2..0000000 --- a/core/src/loader/getvarianthlsaudioplaylistparams.cpp +++ /dev/null @@ -1,1058 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getvarianthlsaudioplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetVariantHlsAudioPlaylistParams - -const QString &GetVariantHlsAudioPlaylistParams::itemId() const { - return m_itemId; -} - -void GetVariantHlsAudioPlaylistParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetVariantHlsAudioPlaylistParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetVariantHlsAudioPlaylistParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetVariantHlsAudioPlaylistParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetVariantHlsAudioPlaylistParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetVariantHlsAudioPlaylistParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetVariantHlsAudioPlaylistParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetVariantHlsAudioPlaylistParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetVariantHlsAudioPlaylistParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetVariantHlsAudioPlaylistParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetVariantHlsAudioPlaylistParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetVariantHlsAudioPlaylistParams::audioCodec() const { - return m_audioCodec; -} - -void GetVariantHlsAudioPlaylistParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetVariantHlsAudioPlaylistParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetVariantHlsAudioPlaylistParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetVariantHlsAudioPlaylistParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetVariantHlsAudioPlaylistParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetVariantHlsAudioPlaylistParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetVariantHlsAudioPlaylistParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetVariantHlsAudioPlaylistParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetVariantHlsAudioPlaylistParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &GetVariantHlsAudioPlaylistParams::context() const { - return m_context; -} - -void GetVariantHlsAudioPlaylistParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetVariantHlsAudioPlaylistParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetVariantHlsAudioPlaylistParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetVariantHlsAudioPlaylistParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetVariantHlsAudioPlaylistParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetVariantHlsAudioPlaylistParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetVariantHlsAudioPlaylistParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetVariantHlsAudioPlaylistParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetVariantHlsAudioPlaylistParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetVariantHlsAudioPlaylistParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetVariantHlsAudioPlaylistParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetVariantHlsAudioPlaylistParams::deviceId() const { - return m_deviceId; -} - -void GetVariantHlsAudioPlaylistParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetVariantHlsAudioPlaylistParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetVariantHlsAudioPlaylistParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetVariantHlsAudioPlaylistParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetVariantHlsAudioPlaylistParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetVariantHlsAudioPlaylistParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetVariantHlsAudioPlaylistParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetVariantHlsAudioPlaylistParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetVariantHlsAudioPlaylistParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetVariantHlsAudioPlaylistParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetVariantHlsAudioPlaylistParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetVariantHlsAudioPlaylistParams::framerate() const { - return m_framerate.value(); -} - -void GetVariantHlsAudioPlaylistParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetVariantHlsAudioPlaylistParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::height() const { - return m_height.value(); -} - -void GetVariantHlsAudioPlaylistParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetVariantHlsAudioPlaylistParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetVariantHlsAudioPlaylistParams::level() const { - return m_level; -} - -void GetVariantHlsAudioPlaylistParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetVariantHlsAudioPlaylistParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetVariantHlsAudioPlaylistParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetVariantHlsAudioPlaylistParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetVariantHlsAudioPlaylistParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetVariantHlsAudioPlaylistParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetVariantHlsAudioPlaylistParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetVariantHlsAudioPlaylistParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetVariantHlsAudioPlaylistParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetVariantHlsAudioPlaylistParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::maxStreamingBitrate() const { - return m_maxStreamingBitrate.value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxStreamingBitrate(qint32 newMaxStreamingBitrate) { - m_maxStreamingBitrate = newMaxStreamingBitrate; -} - -bool GetVariantHlsAudioPlaylistParams::maxStreamingBitrateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxStreamingBitrate.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxStreamingBitrateNull() { - m_maxStreamingBitrate = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetVariantHlsAudioPlaylistParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &GetVariantHlsAudioPlaylistParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetVariantHlsAudioPlaylistParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetVariantHlsAudioPlaylistParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::minSegments() const { - return m_minSegments.value(); -} - -void GetVariantHlsAudioPlaylistParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetVariantHlsAudioPlaylistParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetVariantHlsAudioPlaylistParams::params() const { - return m_params; -} - -void GetVariantHlsAudioPlaylistParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetVariantHlsAudioPlaylistParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetVariantHlsAudioPlaylistParams::playSessionId() const { - return m_playSessionId; -} - -void GetVariantHlsAudioPlaylistParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetVariantHlsAudioPlaylistParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetVariantHlsAudioPlaylistParams::profile() const { - return m_profile; -} - -void GetVariantHlsAudioPlaylistParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetVariantHlsAudioPlaylistParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetVariantHlsAudioPlaylistParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetVariantHlsAudioPlaylistParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetVariantHlsAudioPlaylistParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetVariantHlsAudioPlaylistParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetVariantHlsAudioPlaylistParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetVariantHlsAudioPlaylistParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetVariantHlsAudioPlaylistParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetVariantHlsAudioPlaylistParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetVariantHlsAudioPlaylistParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetVariantHlsAudioPlaylistParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetVariantHlsAudioPlaylistParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetVariantHlsAudioPlaylistParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetVariantHlsAudioPlaylistParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetVariantHlsAudioPlaylistParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetVariantHlsAudioPlaylistParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetVariantHlsAudioPlaylistParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetVariantHlsAudioPlaylistParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetVariantHlsAudioPlaylistParams::streamOptions() const { - return m_streamOptions; -} - -void GetVariantHlsAudioPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetVariantHlsAudioPlaylistParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetVariantHlsAudioPlaylistParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetVariantHlsAudioPlaylistParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetVariantHlsAudioPlaylistParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetVariantHlsAudioPlaylistParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetVariantHlsAudioPlaylistParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetVariantHlsAudioPlaylistParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetVariantHlsAudioPlaylistParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetVariantHlsAudioPlaylistParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetVariantHlsAudioPlaylistParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetVariantHlsAudioPlaylistParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetVariantHlsAudioPlaylistParams::tag() const { - return m_tag; -} - -void GetVariantHlsAudioPlaylistParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetVariantHlsAudioPlaylistParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetVariantHlsAudioPlaylistParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetVariantHlsAudioPlaylistParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetVariantHlsAudioPlaylistParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetVariantHlsAudioPlaylistParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetVariantHlsAudioPlaylistParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetVariantHlsAudioPlaylistParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetVariantHlsAudioPlaylistParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetVariantHlsAudioPlaylistParams::videoCodec() const { - return m_videoCodec; -} - -void GetVariantHlsAudioPlaylistParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetVariantHlsAudioPlaylistParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetVariantHlsAudioPlaylistParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetVariantHlsAudioPlaylistParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetVariantHlsAudioPlaylistParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetVariantHlsAudioPlaylistParams::width() const { - return m_width.value(); -} - -void GetVariantHlsAudioPlaylistParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetVariantHlsAudioPlaylistParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetVariantHlsAudioPlaylistParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getvarianthlsvideoplaylistparams.cpp b/core/src/loader/getvarianthlsvideoplaylistparams.cpp deleted file mode 100644 index 3ca9bdc..0000000 --- a/core/src/loader/getvarianthlsvideoplaylistparams.cpp +++ /dev/null @@ -1,1037 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getvarianthlsvideoplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetVariantHlsVideoPlaylistParams - -const QString &GetVariantHlsVideoPlaylistParams::itemId() const { - return m_itemId; -} - -void GetVariantHlsVideoPlaylistParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetVariantHlsVideoPlaylistParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetVariantHlsVideoPlaylistParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetVariantHlsVideoPlaylistParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetVariantHlsVideoPlaylistParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetVariantHlsVideoPlaylistParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetVariantHlsVideoPlaylistParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetVariantHlsVideoPlaylistParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetVariantHlsVideoPlaylistParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetVariantHlsVideoPlaylistParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetVariantHlsVideoPlaylistParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetVariantHlsVideoPlaylistParams::audioCodec() const { - return m_audioCodec; -} - -void GetVariantHlsVideoPlaylistParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetVariantHlsVideoPlaylistParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetVariantHlsVideoPlaylistParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetVariantHlsVideoPlaylistParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetVariantHlsVideoPlaylistParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetVariantHlsVideoPlaylistParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetVariantHlsVideoPlaylistParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetVariantHlsVideoPlaylistParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetVariantHlsVideoPlaylistParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &GetVariantHlsVideoPlaylistParams::context() const { - return m_context; -} - -void GetVariantHlsVideoPlaylistParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetVariantHlsVideoPlaylistParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetVariantHlsVideoPlaylistParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetVariantHlsVideoPlaylistParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetVariantHlsVideoPlaylistParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetVariantHlsVideoPlaylistParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetVariantHlsVideoPlaylistParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetVariantHlsVideoPlaylistParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetVariantHlsVideoPlaylistParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetVariantHlsVideoPlaylistParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetVariantHlsVideoPlaylistParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetVariantHlsVideoPlaylistParams::deviceId() const { - return m_deviceId; -} - -void GetVariantHlsVideoPlaylistParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetVariantHlsVideoPlaylistParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetVariantHlsVideoPlaylistParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetVariantHlsVideoPlaylistParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetVariantHlsVideoPlaylistParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetVariantHlsVideoPlaylistParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetVariantHlsVideoPlaylistParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetVariantHlsVideoPlaylistParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetVariantHlsVideoPlaylistParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetVariantHlsVideoPlaylistParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetVariantHlsVideoPlaylistParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetVariantHlsVideoPlaylistParams::framerate() const { - return m_framerate.value(); -} - -void GetVariantHlsVideoPlaylistParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetVariantHlsVideoPlaylistParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::height() const { - return m_height.value(); -} - -void GetVariantHlsVideoPlaylistParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetVariantHlsVideoPlaylistParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetVariantHlsVideoPlaylistParams::level() const { - return m_level; -} - -void GetVariantHlsVideoPlaylistParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetVariantHlsVideoPlaylistParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetVariantHlsVideoPlaylistParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetVariantHlsVideoPlaylistParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetVariantHlsVideoPlaylistParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetVariantHlsVideoPlaylistParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetVariantHlsVideoPlaylistParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetVariantHlsVideoPlaylistParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetVariantHlsVideoPlaylistParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetVariantHlsVideoPlaylistParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetVariantHlsVideoPlaylistParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &GetVariantHlsVideoPlaylistParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetVariantHlsVideoPlaylistParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetVariantHlsVideoPlaylistParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::minSegments() const { - return m_minSegments.value(); -} - -void GetVariantHlsVideoPlaylistParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetVariantHlsVideoPlaylistParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetVariantHlsVideoPlaylistParams::params() const { - return m_params; -} - -void GetVariantHlsVideoPlaylistParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetVariantHlsVideoPlaylistParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetVariantHlsVideoPlaylistParams::playSessionId() const { - return m_playSessionId; -} - -void GetVariantHlsVideoPlaylistParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetVariantHlsVideoPlaylistParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetVariantHlsVideoPlaylistParams::profile() const { - return m_profile; -} - -void GetVariantHlsVideoPlaylistParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetVariantHlsVideoPlaylistParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetVariantHlsVideoPlaylistParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetVariantHlsVideoPlaylistParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetVariantHlsVideoPlaylistParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetVariantHlsVideoPlaylistParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetVariantHlsVideoPlaylistParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetVariantHlsVideoPlaylistParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetVariantHlsVideoPlaylistParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetVariantHlsVideoPlaylistParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetVariantHlsVideoPlaylistParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetVariantHlsVideoPlaylistParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetVariantHlsVideoPlaylistParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetVariantHlsVideoPlaylistParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetVariantHlsVideoPlaylistParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetVariantHlsVideoPlaylistParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetVariantHlsVideoPlaylistParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetVariantHlsVideoPlaylistParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetVariantHlsVideoPlaylistParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetVariantHlsVideoPlaylistParams::streamOptions() const { - return m_streamOptions; -} - -void GetVariantHlsVideoPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetVariantHlsVideoPlaylistParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetVariantHlsVideoPlaylistParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetVariantHlsVideoPlaylistParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetVariantHlsVideoPlaylistParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetVariantHlsVideoPlaylistParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetVariantHlsVideoPlaylistParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetVariantHlsVideoPlaylistParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetVariantHlsVideoPlaylistParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetVariantHlsVideoPlaylistParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetVariantHlsVideoPlaylistParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetVariantHlsVideoPlaylistParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetVariantHlsVideoPlaylistParams::tag() const { - return m_tag; -} - -void GetVariantHlsVideoPlaylistParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetVariantHlsVideoPlaylistParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetVariantHlsVideoPlaylistParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetVariantHlsVideoPlaylistParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetVariantHlsVideoPlaylistParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetVariantHlsVideoPlaylistParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetVariantHlsVideoPlaylistParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetVariantHlsVideoPlaylistParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetVariantHlsVideoPlaylistParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetVariantHlsVideoPlaylistParams::videoCodec() const { - return m_videoCodec; -} - -void GetVariantHlsVideoPlaylistParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetVariantHlsVideoPlaylistParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetVariantHlsVideoPlaylistParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetVariantHlsVideoPlaylistParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetVariantHlsVideoPlaylistParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetVariantHlsVideoPlaylistParams::width() const { - return m_width.value(); -} - -void GetVariantHlsVideoPlaylistParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetVariantHlsVideoPlaylistParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetVariantHlsVideoPlaylistParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getvideostreambycontainerparams.cpp b/core/src/loader/getvideostreambycontainerparams.cpp deleted file mode 100644 index 3a9441a..0000000 --- a/core/src/loader/getvideostreambycontainerparams.cpp +++ /dev/null @@ -1,1055 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getvideostreambycontainerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetVideoStreamByContainerParams - -const QString &GetVideoStreamByContainerParams::container() const { - return m_container; -} - -void GetVideoStreamByContainerParams::setContainer(QString newContainer) { - m_container = newContainer; -} - - -const QString &GetVideoStreamByContainerParams::itemId() const { - return m_itemId; -} - -void GetVideoStreamByContainerParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &GetVideoStreamByContainerParams::stream() const { - return m_stream; -} - -void GetVideoStreamByContainerParams::setStream(QString newStream) { - m_stream = newStream; -} - - -const bool &GetVideoStreamByContainerParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetVideoStreamByContainerParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetVideoStreamByContainerParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetVideoStreamByContainerParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetVideoStreamByContainerParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetVideoStreamByContainerParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetVideoStreamByContainerParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetVideoStreamByContainerParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetVideoStreamByContainerParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetVideoStreamByContainerParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetVideoStreamByContainerParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetVideoStreamByContainerParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetVideoStreamByContainerParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetVideoStreamByContainerParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetVideoStreamByContainerParams::audioCodec() const { - return m_audioCodec; -} - -void GetVideoStreamByContainerParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetVideoStreamByContainerParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetVideoStreamByContainerParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetVideoStreamByContainerParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetVideoStreamByContainerParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetVideoStreamByContainerParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetVideoStreamByContainerParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetVideoStreamByContainerParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetVideoStreamByContainerParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetVideoStreamByContainerParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetVideoStreamByContainerParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetVideoStreamByContainerParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetVideoStreamByContainerParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetVideoStreamByContainerParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &GetVideoStreamByContainerParams::context() const { - return m_context; -} - -void GetVideoStreamByContainerParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetVideoStreamByContainerParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetVideoStreamByContainerParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetVideoStreamByContainerParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetVideoStreamByContainerParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetVideoStreamByContainerParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetVideoStreamByContainerParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetVideoStreamByContainerParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetVideoStreamByContainerParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetVideoStreamByContainerParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetVideoStreamByContainerParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetVideoStreamByContainerParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetVideoStreamByContainerParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetVideoStreamByContainerParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetVideoStreamByContainerParams::deviceId() const { - return m_deviceId; -} - -void GetVideoStreamByContainerParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetVideoStreamByContainerParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetVideoStreamByContainerParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetVideoStreamByContainerParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetVideoStreamByContainerParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetVideoStreamByContainerParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetVideoStreamByContainerParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetVideoStreamByContainerParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetVideoStreamByContainerParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetVideoStreamByContainerParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetVideoStreamByContainerParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetVideoStreamByContainerParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetVideoStreamByContainerParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetVideoStreamByContainerParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetVideoStreamByContainerParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetVideoStreamByContainerParams::framerate() const { - return m_framerate.value(); -} - -void GetVideoStreamByContainerParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetVideoStreamByContainerParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetVideoStreamByContainerParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::height() const { - return m_height.value(); -} - -void GetVideoStreamByContainerParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetVideoStreamByContainerParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetVideoStreamByContainerParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetVideoStreamByContainerParams::level() const { - return m_level; -} - -void GetVideoStreamByContainerParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetVideoStreamByContainerParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetVideoStreamByContainerParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetVideoStreamByContainerParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetVideoStreamByContainerParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetVideoStreamByContainerParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetVideoStreamByContainerParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetVideoStreamByContainerParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetVideoStreamByContainerParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetVideoStreamByContainerParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetVideoStreamByContainerParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetVideoStreamByContainerParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetVideoStreamByContainerParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetVideoStreamByContainerParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetVideoStreamByContainerParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetVideoStreamByContainerParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetVideoStreamByContainerParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetVideoStreamByContainerParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetVideoStreamByContainerParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetVideoStreamByContainerParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetVideoStreamByContainerParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetVideoStreamByContainerParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetVideoStreamByContainerParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetVideoStreamByContainerParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &GetVideoStreamByContainerParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetVideoStreamByContainerParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetVideoStreamByContainerParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetVideoStreamByContainerParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &GetVideoStreamByContainerParams::minSegments() const { - return m_minSegments.value(); -} - -void GetVideoStreamByContainerParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetVideoStreamByContainerParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetVideoStreamByContainerParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetVideoStreamByContainerParams::params() const { - return m_params; -} - -void GetVideoStreamByContainerParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetVideoStreamByContainerParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetVideoStreamByContainerParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetVideoStreamByContainerParams::playSessionId() const { - return m_playSessionId; -} - -void GetVideoStreamByContainerParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetVideoStreamByContainerParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetVideoStreamByContainerParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetVideoStreamByContainerParams::profile() const { - return m_profile; -} - -void GetVideoStreamByContainerParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetVideoStreamByContainerParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetVideoStreamByContainerParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetVideoStreamByContainerParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetVideoStreamByContainerParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetVideoStreamByContainerParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetVideoStreamByContainerParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetVideoStreamByContainerParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetVideoStreamByContainerParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetVideoStreamByContainerParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetVideoStreamByContainerParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetVideoStreamByContainerParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetVideoStreamByContainerParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetVideoStreamByContainerParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetVideoStreamByContainerParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetVideoStreamByContainerParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetVideoStreamByContainerParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetVideoStreamByContainerParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetVideoStreamByContainerParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetVideoStreamByContainerParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetVideoStreamByContainerParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetVideoStreamByContainerParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetVideoStreamByContainerParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetVideoStreamByContainerParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetVideoStreamByContainerParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetVideoStreamByContainerParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetVideoStreamByContainerParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetVideoStreamByContainerParams::streamOptions() const { - return m_streamOptions; -} - -void GetVideoStreamByContainerParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetVideoStreamByContainerParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetVideoStreamByContainerParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetVideoStreamByContainerParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetVideoStreamByContainerParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetVideoStreamByContainerParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetVideoStreamByContainerParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetVideoStreamByContainerParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetVideoStreamByContainerParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetVideoStreamByContainerParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetVideoStreamByContainerParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetVideoStreamByContainerParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetVideoStreamByContainerParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetVideoStreamByContainerParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetVideoStreamByContainerParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetVideoStreamByContainerParams::tag() const { - return m_tag; -} - -void GetVideoStreamByContainerParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetVideoStreamByContainerParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetVideoStreamByContainerParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetVideoStreamByContainerParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetVideoStreamByContainerParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetVideoStreamByContainerParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetVideoStreamByContainerParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetVideoStreamByContainerParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetVideoStreamByContainerParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetVideoStreamByContainerParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetVideoStreamByContainerParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetVideoStreamByContainerParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetVideoStreamByContainerParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetVideoStreamByContainerParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetVideoStreamByContainerParams::videoCodec() const { - return m_videoCodec; -} - -void GetVideoStreamByContainerParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetVideoStreamByContainerParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetVideoStreamByContainerParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetVideoStreamByContainerParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetVideoStreamByContainerParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetVideoStreamByContainerParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetVideoStreamByContainerParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetVideoStreamByContainerParams::width() const { - return m_width.value(); -} - -void GetVideoStreamByContainerParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetVideoStreamByContainerParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetVideoStreamByContainerParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getvideostreamparams.cpp b/core/src/loader/getvideostreamparams.cpp deleted file mode 100644 index cad0766..0000000 --- a/core/src/loader/getvideostreamparams.cpp +++ /dev/null @@ -1,1058 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getvideostreamparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetVideoStreamParams - -const QString &GetVideoStreamParams::itemId() const { - return m_itemId; -} - -void GetVideoStreamParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &GetVideoStreamParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void GetVideoStreamParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool GetVideoStreamParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void GetVideoStreamParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &GetVideoStreamParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void GetVideoStreamParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool GetVideoStreamParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void GetVideoStreamParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void GetVideoStreamParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool GetVideoStreamParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void GetVideoStreamParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::audioChannels() const { - return m_audioChannels.value(); -} - -void GetVideoStreamParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool GetVideoStreamParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void GetVideoStreamParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &GetVideoStreamParams::audioCodec() const { - return m_audioCodec; -} - -void GetVideoStreamParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool GetVideoStreamParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void GetVideoStreamParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &GetVideoStreamParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void GetVideoStreamParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool GetVideoStreamParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void GetVideoStreamParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void GetVideoStreamParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool GetVideoStreamParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void GetVideoStreamParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &GetVideoStreamParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void GetVideoStreamParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool GetVideoStreamParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void GetVideoStreamParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const QString &GetVideoStreamParams::container() const { - return m_container; -} - -void GetVideoStreamParams::setContainer(QString newContainer) { - m_container = newContainer; -} - -bool GetVideoStreamParams::containerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_container.isNull(); -} - -void GetVideoStreamParams::setContainerNull() { - m_container.clear(); -} - - -const EncodingContext &GetVideoStreamParams::context() const { - return m_context; -} - -void GetVideoStreamParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool GetVideoStreamParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void GetVideoStreamParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &GetVideoStreamParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void GetVideoStreamParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool GetVideoStreamParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void GetVideoStreamParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void GetVideoStreamParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool GetVideoStreamParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void GetVideoStreamParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &GetVideoStreamParams::deInterlace() const { - return m_deInterlace.value(); -} - -void GetVideoStreamParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool GetVideoStreamParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void GetVideoStreamParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &GetVideoStreamParams::deviceId() const { - return m_deviceId; -} - -void GetVideoStreamParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool GetVideoStreamParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void GetVideoStreamParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &GetVideoStreamParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void GetVideoStreamParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool GetVideoStreamParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void GetVideoStreamParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &GetVideoStreamParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void GetVideoStreamParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool GetVideoStreamParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void GetVideoStreamParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &GetVideoStreamParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void GetVideoStreamParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool GetVideoStreamParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void GetVideoStreamParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &GetVideoStreamParams::framerate() const { - return m_framerate.value(); -} - -void GetVideoStreamParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool GetVideoStreamParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void GetVideoStreamParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::height() const { - return m_height.value(); -} - -void GetVideoStreamParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool GetVideoStreamParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void GetVideoStreamParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &GetVideoStreamParams::level() const { - return m_level; -} - -void GetVideoStreamParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool GetVideoStreamParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void GetVideoStreamParams::setLevelNull() { - m_level.clear(); -} - - -const QString &GetVideoStreamParams::liveStreamId() const { - return m_liveStreamId; -} - -void GetVideoStreamParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool GetVideoStreamParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void GetVideoStreamParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &GetVideoStreamParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void GetVideoStreamParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool GetVideoStreamParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void GetVideoStreamParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void GetVideoStreamParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool GetVideoStreamParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void GetVideoStreamParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &GetVideoStreamParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void GetVideoStreamParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool GetVideoStreamParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void GetVideoStreamParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void GetVideoStreamParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool GetVideoStreamParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void GetVideoStreamParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void GetVideoStreamParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool GetVideoStreamParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void GetVideoStreamParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &GetVideoStreamParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void GetVideoStreamParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool GetVideoStreamParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void GetVideoStreamParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &GetVideoStreamParams::minSegments() const { - return m_minSegments.value(); -} - -void GetVideoStreamParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool GetVideoStreamParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void GetVideoStreamParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &GetVideoStreamParams::params() const { - return m_params; -} - -void GetVideoStreamParams::setParams(QString newParams) { - m_params = newParams; -} - -bool GetVideoStreamParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void GetVideoStreamParams::setParamsNull() { - m_params.clear(); -} - - -const QString &GetVideoStreamParams::playSessionId() const { - return m_playSessionId; -} - -void GetVideoStreamParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool GetVideoStreamParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void GetVideoStreamParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &GetVideoStreamParams::profile() const { - return m_profile; -} - -void GetVideoStreamParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool GetVideoStreamParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void GetVideoStreamParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &GetVideoStreamParams::requireAvc() const { - return m_requireAvc.value(); -} - -void GetVideoStreamParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool GetVideoStreamParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void GetVideoStreamParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &GetVideoStreamParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void GetVideoStreamParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool GetVideoStreamParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void GetVideoStreamParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &GetVideoStreamParams::segmentContainer() const { - return m_segmentContainer; -} - -void GetVideoStreamParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool GetVideoStreamParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void GetVideoStreamParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &GetVideoStreamParams::segmentLength() const { - return m_segmentLength.value(); -} - -void GetVideoStreamParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool GetVideoStreamParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void GetVideoStreamParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &GetVideoStreamParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void GetVideoStreamParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool GetVideoStreamParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void GetVideoStreamParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &GetVideoStreamParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void GetVideoStreamParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool GetVideoStreamParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void GetVideoStreamParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &GetVideoStreamParams::streamOptions() const { - return m_streamOptions; -} - -void GetVideoStreamParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool GetVideoStreamParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void GetVideoStreamParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &GetVideoStreamParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void GetVideoStreamParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool GetVideoStreamParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void GetVideoStreamParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &GetVideoStreamParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void GetVideoStreamParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool GetVideoStreamParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void GetVideoStreamParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &GetVideoStreamParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void GetVideoStreamParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool GetVideoStreamParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void GetVideoStreamParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &GetVideoStreamParams::tag() const { - return m_tag; -} - -void GetVideoStreamParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool GetVideoStreamParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void GetVideoStreamParams::setTagNull() { - m_tag.clear(); -} - - -const QString &GetVideoStreamParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void GetVideoStreamParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool GetVideoStreamParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void GetVideoStreamParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &GetVideoStreamParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void GetVideoStreamParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool GetVideoStreamParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void GetVideoStreamParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void GetVideoStreamParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool GetVideoStreamParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void GetVideoStreamParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &GetVideoStreamParams::videoCodec() const { - return m_videoCodec; -} - -void GetVideoStreamParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool GetVideoStreamParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void GetVideoStreamParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &GetVideoStreamParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void GetVideoStreamParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool GetVideoStreamParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void GetVideoStreamParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &GetVideoStreamParams::width() const { - return m_width.value(); -} - -void GetVideoStreamParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool GetVideoStreamParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void GetVideoStreamParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getvirtualfoldersparams.cpp b/core/src/loader/getvirtualfoldersparams.cpp deleted file mode 100644 index a0f6eab..0000000 --- a/core/src/loader/getvirtualfoldersparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getvirtualfoldersparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetVirtualFoldersParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getwakeonlaninfoparams.cpp b/core/src/loader/getwakeonlaninfoparams.cpp deleted file mode 100644 index f29a3b3..0000000 --- a/core/src/loader/getwakeonlaninfoparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getwakeonlaninfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetWakeOnLanInfoParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getyearparams.cpp b/core/src/loader/getyearparams.cpp deleted file mode 100644 index cb98047..0000000 --- a/core/src/loader/getyearparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getyearparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetYearParams - -const qint32 &GetYearParams::year() const { - return m_year; -} - -void GetYearParams::setYear(qint32 newYear) { - m_year = newYear; -} - - -const QString &GetYearParams::userId() const { - return m_userId; -} - -void GetYearParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetYearParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetYearParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/getyearsparams.cpp b/core/src/loader/getyearsparams.cpp deleted file mode 100644 index bc76046..0000000 --- a/core/src/loader/getyearsparams.cpp +++ /dev/null @@ -1,356 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/getyearsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// GetYearsParams - -const QList &GetYearsParams::enableImageTypes() const { - return m_enableImageTypes; -} - -void GetYearsParams::setEnableImageTypes(QList newEnableImageTypes) { - m_enableImageTypes = newEnableImageTypes; -} - -bool GetYearsParams::enableImageTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_enableImageTypes.size() == 0; -} - -void GetYearsParams::setEnableImageTypesNull() { - m_enableImageTypes.clear(); -} - - -const bool &GetYearsParams::enableImages() const { - return m_enableImages.value(); -} - -void GetYearsParams::setEnableImages(bool newEnableImages) { - m_enableImages = newEnableImages; -} - -bool GetYearsParams::enableImagesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableImages.has_value(); -} - -void GetYearsParams::setEnableImagesNull() { - m_enableImages = std::nullopt; -} - - -const bool &GetYearsParams::enableUserData() const { - return m_enableUserData.value(); -} - -void GetYearsParams::setEnableUserData(bool newEnableUserData) { - m_enableUserData = newEnableUserData; -} - -bool GetYearsParams::enableUserDataNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableUserData.has_value(); -} - -void GetYearsParams::setEnableUserDataNull() { - m_enableUserData = std::nullopt; -} - - -const QStringList &GetYearsParams::excludeItemTypes() const { - return m_excludeItemTypes; -} - -void GetYearsParams::setExcludeItemTypes(QStringList newExcludeItemTypes) { - m_excludeItemTypes = newExcludeItemTypes; -} - -bool GetYearsParams::excludeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_excludeItemTypes.size() == 0; -} - -void GetYearsParams::setExcludeItemTypesNull() { - m_excludeItemTypes.clear(); -} - - -const QList &GetYearsParams::fields() const { - return m_fields; -} - -void GetYearsParams::setFields(QList newFields) { - m_fields = newFields; -} - -bool GetYearsParams::fieldsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_fields.size() == 0; -} - -void GetYearsParams::setFieldsNull() { - m_fields.clear(); -} - - -const qint32 &GetYearsParams::imageTypeLimit() const { - return m_imageTypeLimit.value(); -} - -void GetYearsParams::setImageTypeLimit(qint32 newImageTypeLimit) { - m_imageTypeLimit = newImageTypeLimit; -} - -bool GetYearsParams::imageTypeLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageTypeLimit.has_value(); -} - -void GetYearsParams::setImageTypeLimitNull() { - m_imageTypeLimit = std::nullopt; -} - - -const QStringList &GetYearsParams::includeItemTypes() const { - return m_includeItemTypes; -} - -void GetYearsParams::setIncludeItemTypes(QStringList newIncludeItemTypes) { - m_includeItemTypes = newIncludeItemTypes; -} - -bool GetYearsParams::includeItemTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_includeItemTypes.size() == 0; -} - -void GetYearsParams::setIncludeItemTypesNull() { - m_includeItemTypes.clear(); -} - - -const qint32 &GetYearsParams::limit() const { - return m_limit.value(); -} - -void GetYearsParams::setLimit(qint32 newLimit) { - m_limit = newLimit; -} - -bool GetYearsParams::limitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_limit.has_value(); -} - -void GetYearsParams::setLimitNull() { - m_limit = std::nullopt; -} - - -const QStringList &GetYearsParams::mediaTypes() const { - return m_mediaTypes; -} - -void GetYearsParams::setMediaTypes(QStringList newMediaTypes) { - m_mediaTypes = newMediaTypes; -} - -bool GetYearsParams::mediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaTypes.size() == 0; -} - -void GetYearsParams::setMediaTypesNull() { - m_mediaTypes.clear(); -} - - -const QString &GetYearsParams::parentId() const { - return m_parentId; -} - -void GetYearsParams::setParentId(QString newParentId) { - m_parentId = newParentId; -} - -bool GetYearsParams::parentIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_parentId.isNull(); -} - -void GetYearsParams::setParentIdNull() { - m_parentId.clear(); -} - - -const bool &GetYearsParams::recursive() const { - return m_recursive.value(); -} - -void GetYearsParams::setRecursive(bool newRecursive) { - m_recursive = newRecursive; -} - -bool GetYearsParams::recursiveNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_recursive.has_value(); -} - -void GetYearsParams::setRecursiveNull() { - m_recursive = std::nullopt; -} - - -const QString &GetYearsParams::sortBy() const { - return m_sortBy; -} - -void GetYearsParams::setSortBy(QString newSortBy) { - m_sortBy = newSortBy; -} - -bool GetYearsParams::sortByNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortBy.isNull(); -} - -void GetYearsParams::setSortByNull() { - m_sortBy.clear(); -} - - -const QString &GetYearsParams::sortOrder() const { - return m_sortOrder; -} - -void GetYearsParams::setSortOrder(QString newSortOrder) { - m_sortOrder = newSortOrder; -} - -bool GetYearsParams::sortOrderNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sortOrder.isNull(); -} - -void GetYearsParams::setSortOrderNull() { - m_sortOrder.clear(); -} - - -const qint32 &GetYearsParams::startIndex() const { - return m_startIndex.value(); -} - -void GetYearsParams::setStartIndex(qint32 newStartIndex) { - m_startIndex = newStartIndex; -} - -bool GetYearsParams::startIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startIndex.has_value(); -} - -void GetYearsParams::setStartIndexNull() { - m_startIndex = std::nullopt; -} - - -const QString &GetYearsParams::userId() const { - return m_userId; -} - -void GetYearsParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool GetYearsParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void GetYearsParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headartistimageparams.cpp b/core/src/loader/headartistimageparams.cpp deleted file mode 100644 index 95f8d95..0000000 --- a/core/src/loader/headartistimageparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headartistimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadArtistImageParams - -const qint32 &HeadArtistImageParams::imageIndex() const { - return m_imageIndex; -} - -void HeadArtistImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &HeadArtistImageParams::imageType() const { - return m_imageType; -} - -void HeadArtistImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadArtistImageParams::name() const { - return m_name; -} - -void HeadArtistImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &HeadArtistImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadArtistImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadArtistImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadArtistImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadArtistImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadArtistImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadArtistImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadArtistImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadArtistImageParams::blur() const { - return m_blur.value(); -} - -void HeadArtistImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadArtistImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadArtistImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadArtistImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadArtistImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadArtistImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadArtistImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadArtistImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadArtistImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadArtistImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadArtistImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadArtistImageParams::format() const { - return m_format; -} - -void HeadArtistImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadArtistImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadArtistImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadArtistImageParams::height() const { - return m_height.value(); -} - -void HeadArtistImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadArtistImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadArtistImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadArtistImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadArtistImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadArtistImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadArtistImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadArtistImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadArtistImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadArtistImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadArtistImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadArtistImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadArtistImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadArtistImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadArtistImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadArtistImageParams::quality() const { - return m_quality.value(); -} - -void HeadArtistImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadArtistImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadArtistImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadArtistImageParams::tag() const { - return m_tag; -} - -void HeadArtistImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadArtistImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadArtistImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadArtistImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadArtistImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadArtistImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadArtistImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadArtistImageParams::width() const { - return m_width.value(); -} - -void HeadArtistImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadArtistImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadArtistImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headaudiostreambycontainerparams.cpp b/core/src/loader/headaudiostreambycontainerparams.cpp deleted file mode 100644 index fa2628f..0000000 --- a/core/src/loader/headaudiostreambycontainerparams.cpp +++ /dev/null @@ -1,1046 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headaudiostreambycontainerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadAudioStreamByContainerParams - -const QString &HeadAudioStreamByContainerParams::container() const { - return m_container; -} - -void HeadAudioStreamByContainerParams::setContainer(QString newContainer) { - m_container = newContainer; -} - - -const QString &HeadAudioStreamByContainerParams::itemId() const { - return m_itemId; -} - -void HeadAudioStreamByContainerParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &HeadAudioStreamByContainerParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void HeadAudioStreamByContainerParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool HeadAudioStreamByContainerParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void HeadAudioStreamByContainerParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &HeadAudioStreamByContainerParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void HeadAudioStreamByContainerParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool HeadAudioStreamByContainerParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void HeadAudioStreamByContainerParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void HeadAudioStreamByContainerParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool HeadAudioStreamByContainerParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void HeadAudioStreamByContainerParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::audioChannels() const { - return m_audioChannels.value(); -} - -void HeadAudioStreamByContainerParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool HeadAudioStreamByContainerParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void HeadAudioStreamByContainerParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &HeadAudioStreamByContainerParams::audioCodec() const { - return m_audioCodec; -} - -void HeadAudioStreamByContainerParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool HeadAudioStreamByContainerParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void HeadAudioStreamByContainerParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &HeadAudioStreamByContainerParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void HeadAudioStreamByContainerParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool HeadAudioStreamByContainerParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void HeadAudioStreamByContainerParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void HeadAudioStreamByContainerParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool HeadAudioStreamByContainerParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void HeadAudioStreamByContainerParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &HeadAudioStreamByContainerParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void HeadAudioStreamByContainerParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool HeadAudioStreamByContainerParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void HeadAudioStreamByContainerParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &HeadAudioStreamByContainerParams::context() const { - return m_context; -} - -void HeadAudioStreamByContainerParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool HeadAudioStreamByContainerParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void HeadAudioStreamByContainerParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &HeadAudioStreamByContainerParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void HeadAudioStreamByContainerParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool HeadAudioStreamByContainerParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void HeadAudioStreamByContainerParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void HeadAudioStreamByContainerParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool HeadAudioStreamByContainerParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void HeadAudioStreamByContainerParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &HeadAudioStreamByContainerParams::deInterlace() const { - return m_deInterlace.value(); -} - -void HeadAudioStreamByContainerParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool HeadAudioStreamByContainerParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void HeadAudioStreamByContainerParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &HeadAudioStreamByContainerParams::deviceId() const { - return m_deviceId; -} - -void HeadAudioStreamByContainerParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool HeadAudioStreamByContainerParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void HeadAudioStreamByContainerParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &HeadAudioStreamByContainerParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void HeadAudioStreamByContainerParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool HeadAudioStreamByContainerParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void HeadAudioStreamByContainerParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &HeadAudioStreamByContainerParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void HeadAudioStreamByContainerParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool HeadAudioStreamByContainerParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void HeadAudioStreamByContainerParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &HeadAudioStreamByContainerParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void HeadAudioStreamByContainerParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool HeadAudioStreamByContainerParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void HeadAudioStreamByContainerParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &HeadAudioStreamByContainerParams::framerate() const { - return m_framerate.value(); -} - -void HeadAudioStreamByContainerParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool HeadAudioStreamByContainerParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void HeadAudioStreamByContainerParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::height() const { - return m_height.value(); -} - -void HeadAudioStreamByContainerParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadAudioStreamByContainerParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadAudioStreamByContainerParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &HeadAudioStreamByContainerParams::level() const { - return m_level; -} - -void HeadAudioStreamByContainerParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool HeadAudioStreamByContainerParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void HeadAudioStreamByContainerParams::setLevelNull() { - m_level.clear(); -} - - -const QString &HeadAudioStreamByContainerParams::liveStreamId() const { - return m_liveStreamId; -} - -void HeadAudioStreamByContainerParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool HeadAudioStreamByContainerParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void HeadAudioStreamByContainerParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &HeadAudioStreamByContainerParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void HeadAudioStreamByContainerParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool HeadAudioStreamByContainerParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void HeadAudioStreamByContainerParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void HeadAudioStreamByContainerParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool HeadAudioStreamByContainerParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void HeadAudioStreamByContainerParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &HeadAudioStreamByContainerParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void HeadAudioStreamByContainerParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool HeadAudioStreamByContainerParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void HeadAudioStreamByContainerParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void HeadAudioStreamByContainerParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool HeadAudioStreamByContainerParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void HeadAudioStreamByContainerParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void HeadAudioStreamByContainerParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool HeadAudioStreamByContainerParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void HeadAudioStreamByContainerParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &HeadAudioStreamByContainerParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void HeadAudioStreamByContainerParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool HeadAudioStreamByContainerParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void HeadAudioStreamByContainerParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &HeadAudioStreamByContainerParams::minSegments() const { - return m_minSegments.value(); -} - -void HeadAudioStreamByContainerParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool HeadAudioStreamByContainerParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void HeadAudioStreamByContainerParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &HeadAudioStreamByContainerParams::params() const { - return m_params; -} - -void HeadAudioStreamByContainerParams::setParams(QString newParams) { - m_params = newParams; -} - -bool HeadAudioStreamByContainerParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void HeadAudioStreamByContainerParams::setParamsNull() { - m_params.clear(); -} - - -const QString &HeadAudioStreamByContainerParams::playSessionId() const { - return m_playSessionId; -} - -void HeadAudioStreamByContainerParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool HeadAudioStreamByContainerParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void HeadAudioStreamByContainerParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &HeadAudioStreamByContainerParams::profile() const { - return m_profile; -} - -void HeadAudioStreamByContainerParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool HeadAudioStreamByContainerParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void HeadAudioStreamByContainerParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &HeadAudioStreamByContainerParams::requireAvc() const { - return m_requireAvc.value(); -} - -void HeadAudioStreamByContainerParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool HeadAudioStreamByContainerParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void HeadAudioStreamByContainerParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &HeadAudioStreamByContainerParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void HeadAudioStreamByContainerParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool HeadAudioStreamByContainerParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void HeadAudioStreamByContainerParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &HeadAudioStreamByContainerParams::segmentContainer() const { - return m_segmentContainer; -} - -void HeadAudioStreamByContainerParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool HeadAudioStreamByContainerParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void HeadAudioStreamByContainerParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &HeadAudioStreamByContainerParams::segmentLength() const { - return m_segmentLength.value(); -} - -void HeadAudioStreamByContainerParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool HeadAudioStreamByContainerParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void HeadAudioStreamByContainerParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &HeadAudioStreamByContainerParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void HeadAudioStreamByContainerParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool HeadAudioStreamByContainerParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void HeadAudioStreamByContainerParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &HeadAudioStreamByContainerParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void HeadAudioStreamByContainerParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool HeadAudioStreamByContainerParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void HeadAudioStreamByContainerParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &HeadAudioStreamByContainerParams::streamOptions() const { - return m_streamOptions; -} - -void HeadAudioStreamByContainerParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool HeadAudioStreamByContainerParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void HeadAudioStreamByContainerParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &HeadAudioStreamByContainerParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void HeadAudioStreamByContainerParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool HeadAudioStreamByContainerParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void HeadAudioStreamByContainerParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &HeadAudioStreamByContainerParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void HeadAudioStreamByContainerParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool HeadAudioStreamByContainerParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void HeadAudioStreamByContainerParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &HeadAudioStreamByContainerParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void HeadAudioStreamByContainerParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool HeadAudioStreamByContainerParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void HeadAudioStreamByContainerParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &HeadAudioStreamByContainerParams::tag() const { - return m_tag; -} - -void HeadAudioStreamByContainerParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadAudioStreamByContainerParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadAudioStreamByContainerParams::setTagNull() { - m_tag.clear(); -} - - -const QString &HeadAudioStreamByContainerParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void HeadAudioStreamByContainerParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool HeadAudioStreamByContainerParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void HeadAudioStreamByContainerParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &HeadAudioStreamByContainerParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void HeadAudioStreamByContainerParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool HeadAudioStreamByContainerParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void HeadAudioStreamByContainerParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void HeadAudioStreamByContainerParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool HeadAudioStreamByContainerParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void HeadAudioStreamByContainerParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &HeadAudioStreamByContainerParams::videoCodec() const { - return m_videoCodec; -} - -void HeadAudioStreamByContainerParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool HeadAudioStreamByContainerParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void HeadAudioStreamByContainerParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &HeadAudioStreamByContainerParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void HeadAudioStreamByContainerParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool HeadAudioStreamByContainerParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void HeadAudioStreamByContainerParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &HeadAudioStreamByContainerParams::width() const { - return m_width.value(); -} - -void HeadAudioStreamByContainerParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadAudioStreamByContainerParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadAudioStreamByContainerParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headaudiostreamparams.cpp b/core/src/loader/headaudiostreamparams.cpp deleted file mode 100644 index 79c6ae3..0000000 --- a/core/src/loader/headaudiostreamparams.cpp +++ /dev/null @@ -1,1058 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headaudiostreamparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadAudioStreamParams - -const QString &HeadAudioStreamParams::itemId() const { - return m_itemId; -} - -void HeadAudioStreamParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &HeadAudioStreamParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void HeadAudioStreamParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool HeadAudioStreamParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void HeadAudioStreamParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &HeadAudioStreamParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void HeadAudioStreamParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool HeadAudioStreamParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void HeadAudioStreamParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void HeadAudioStreamParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool HeadAudioStreamParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void HeadAudioStreamParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::audioChannels() const { - return m_audioChannels.value(); -} - -void HeadAudioStreamParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool HeadAudioStreamParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void HeadAudioStreamParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &HeadAudioStreamParams::audioCodec() const { - return m_audioCodec; -} - -void HeadAudioStreamParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool HeadAudioStreamParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void HeadAudioStreamParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &HeadAudioStreamParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void HeadAudioStreamParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool HeadAudioStreamParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void HeadAudioStreamParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void HeadAudioStreamParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool HeadAudioStreamParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void HeadAudioStreamParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &HeadAudioStreamParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void HeadAudioStreamParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool HeadAudioStreamParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void HeadAudioStreamParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const QString &HeadAudioStreamParams::container() const { - return m_container; -} - -void HeadAudioStreamParams::setContainer(QString newContainer) { - m_container = newContainer; -} - -bool HeadAudioStreamParams::containerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_container.isNull(); -} - -void HeadAudioStreamParams::setContainerNull() { - m_container.clear(); -} - - -const EncodingContext &HeadAudioStreamParams::context() const { - return m_context; -} - -void HeadAudioStreamParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool HeadAudioStreamParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void HeadAudioStreamParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &HeadAudioStreamParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void HeadAudioStreamParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool HeadAudioStreamParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void HeadAudioStreamParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void HeadAudioStreamParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool HeadAudioStreamParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void HeadAudioStreamParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &HeadAudioStreamParams::deInterlace() const { - return m_deInterlace.value(); -} - -void HeadAudioStreamParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool HeadAudioStreamParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void HeadAudioStreamParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &HeadAudioStreamParams::deviceId() const { - return m_deviceId; -} - -void HeadAudioStreamParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool HeadAudioStreamParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void HeadAudioStreamParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &HeadAudioStreamParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void HeadAudioStreamParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool HeadAudioStreamParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void HeadAudioStreamParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &HeadAudioStreamParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void HeadAudioStreamParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool HeadAudioStreamParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void HeadAudioStreamParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &HeadAudioStreamParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void HeadAudioStreamParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool HeadAudioStreamParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void HeadAudioStreamParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &HeadAudioStreamParams::framerate() const { - return m_framerate.value(); -} - -void HeadAudioStreamParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool HeadAudioStreamParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void HeadAudioStreamParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::height() const { - return m_height.value(); -} - -void HeadAudioStreamParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadAudioStreamParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadAudioStreamParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &HeadAudioStreamParams::level() const { - return m_level; -} - -void HeadAudioStreamParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool HeadAudioStreamParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void HeadAudioStreamParams::setLevelNull() { - m_level.clear(); -} - - -const QString &HeadAudioStreamParams::liveStreamId() const { - return m_liveStreamId; -} - -void HeadAudioStreamParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool HeadAudioStreamParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void HeadAudioStreamParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &HeadAudioStreamParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void HeadAudioStreamParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool HeadAudioStreamParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void HeadAudioStreamParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void HeadAudioStreamParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool HeadAudioStreamParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void HeadAudioStreamParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &HeadAudioStreamParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void HeadAudioStreamParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool HeadAudioStreamParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void HeadAudioStreamParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void HeadAudioStreamParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool HeadAudioStreamParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void HeadAudioStreamParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void HeadAudioStreamParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool HeadAudioStreamParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void HeadAudioStreamParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &HeadAudioStreamParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void HeadAudioStreamParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool HeadAudioStreamParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void HeadAudioStreamParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &HeadAudioStreamParams::minSegments() const { - return m_minSegments.value(); -} - -void HeadAudioStreamParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool HeadAudioStreamParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void HeadAudioStreamParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &HeadAudioStreamParams::params() const { - return m_params; -} - -void HeadAudioStreamParams::setParams(QString newParams) { - m_params = newParams; -} - -bool HeadAudioStreamParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void HeadAudioStreamParams::setParamsNull() { - m_params.clear(); -} - - -const QString &HeadAudioStreamParams::playSessionId() const { - return m_playSessionId; -} - -void HeadAudioStreamParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool HeadAudioStreamParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void HeadAudioStreamParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &HeadAudioStreamParams::profile() const { - return m_profile; -} - -void HeadAudioStreamParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool HeadAudioStreamParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void HeadAudioStreamParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &HeadAudioStreamParams::requireAvc() const { - return m_requireAvc.value(); -} - -void HeadAudioStreamParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool HeadAudioStreamParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void HeadAudioStreamParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &HeadAudioStreamParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void HeadAudioStreamParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool HeadAudioStreamParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void HeadAudioStreamParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &HeadAudioStreamParams::segmentContainer() const { - return m_segmentContainer; -} - -void HeadAudioStreamParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool HeadAudioStreamParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void HeadAudioStreamParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &HeadAudioStreamParams::segmentLength() const { - return m_segmentLength.value(); -} - -void HeadAudioStreamParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool HeadAudioStreamParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void HeadAudioStreamParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &HeadAudioStreamParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void HeadAudioStreamParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool HeadAudioStreamParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void HeadAudioStreamParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &HeadAudioStreamParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void HeadAudioStreamParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool HeadAudioStreamParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void HeadAudioStreamParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &HeadAudioStreamParams::streamOptions() const { - return m_streamOptions; -} - -void HeadAudioStreamParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool HeadAudioStreamParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void HeadAudioStreamParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &HeadAudioStreamParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void HeadAudioStreamParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool HeadAudioStreamParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void HeadAudioStreamParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &HeadAudioStreamParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void HeadAudioStreamParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool HeadAudioStreamParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void HeadAudioStreamParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &HeadAudioStreamParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void HeadAudioStreamParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool HeadAudioStreamParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void HeadAudioStreamParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &HeadAudioStreamParams::tag() const { - return m_tag; -} - -void HeadAudioStreamParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadAudioStreamParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadAudioStreamParams::setTagNull() { - m_tag.clear(); -} - - -const QString &HeadAudioStreamParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void HeadAudioStreamParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool HeadAudioStreamParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void HeadAudioStreamParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &HeadAudioStreamParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void HeadAudioStreamParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool HeadAudioStreamParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void HeadAudioStreamParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void HeadAudioStreamParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool HeadAudioStreamParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void HeadAudioStreamParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &HeadAudioStreamParams::videoCodec() const { - return m_videoCodec; -} - -void HeadAudioStreamParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool HeadAudioStreamParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void HeadAudioStreamParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &HeadAudioStreamParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void HeadAudioStreamParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool HeadAudioStreamParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void HeadAudioStreamParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &HeadAudioStreamParams::width() const { - return m_width.value(); -} - -void HeadAudioStreamParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadAudioStreamParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadAudioStreamParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headgenreimagebyindexparams.cpp b/core/src/loader/headgenreimagebyindexparams.cpp deleted file mode 100644 index 5d85236..0000000 --- a/core/src/loader/headgenreimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headgenreimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadGenreImageByIndexParams - -const qint32 &HeadGenreImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void HeadGenreImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &HeadGenreImageByIndexParams::imageType() const { - return m_imageType; -} - -void HeadGenreImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadGenreImageByIndexParams::name() const { - return m_name; -} - -void HeadGenreImageByIndexParams::setName(QString newName) { - m_name = newName; -} - - -const bool &HeadGenreImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadGenreImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadGenreImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadGenreImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadGenreImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadGenreImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadGenreImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadGenreImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadGenreImageByIndexParams::blur() const { - return m_blur.value(); -} - -void HeadGenreImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadGenreImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadGenreImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadGenreImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadGenreImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadGenreImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadGenreImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadGenreImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadGenreImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadGenreImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadGenreImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadGenreImageByIndexParams::format() const { - return m_format; -} - -void HeadGenreImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadGenreImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadGenreImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadGenreImageByIndexParams::height() const { - return m_height.value(); -} - -void HeadGenreImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadGenreImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadGenreImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadGenreImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadGenreImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadGenreImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadGenreImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadGenreImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadGenreImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadGenreImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadGenreImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadGenreImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadGenreImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadGenreImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadGenreImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadGenreImageByIndexParams::quality() const { - return m_quality.value(); -} - -void HeadGenreImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadGenreImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadGenreImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadGenreImageByIndexParams::tag() const { - return m_tag; -} - -void HeadGenreImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadGenreImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadGenreImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadGenreImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadGenreImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadGenreImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadGenreImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadGenreImageByIndexParams::width() const { - return m_width.value(); -} - -void HeadGenreImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadGenreImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadGenreImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headgenreimageparams.cpp b/core/src/loader/headgenreimageparams.cpp deleted file mode 100644 index 4e831f8..0000000 --- a/core/src/loader/headgenreimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headgenreimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadGenreImageParams - -const ImageType &HeadGenreImageParams::imageType() const { - return m_imageType; -} - -void HeadGenreImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadGenreImageParams::name() const { - return m_name; -} - -void HeadGenreImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &HeadGenreImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadGenreImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadGenreImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadGenreImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadGenreImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadGenreImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadGenreImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadGenreImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadGenreImageParams::blur() const { - return m_blur.value(); -} - -void HeadGenreImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadGenreImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadGenreImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadGenreImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadGenreImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadGenreImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadGenreImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadGenreImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadGenreImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadGenreImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadGenreImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadGenreImageParams::format() const { - return m_format; -} - -void HeadGenreImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadGenreImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadGenreImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadGenreImageParams::height() const { - return m_height.value(); -} - -void HeadGenreImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadGenreImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadGenreImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadGenreImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void HeadGenreImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool HeadGenreImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void HeadGenreImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &HeadGenreImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadGenreImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadGenreImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadGenreImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadGenreImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadGenreImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadGenreImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadGenreImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadGenreImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadGenreImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadGenreImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadGenreImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadGenreImageParams::quality() const { - return m_quality.value(); -} - -void HeadGenreImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadGenreImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadGenreImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadGenreImageParams::tag() const { - return m_tag; -} - -void HeadGenreImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadGenreImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadGenreImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadGenreImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadGenreImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadGenreImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadGenreImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadGenreImageParams::width() const { - return m_width.value(); -} - -void HeadGenreImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadGenreImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadGenreImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headitemimage2params.cpp b/core/src/loader/headitemimage2params.cpp deleted file mode 100644 index 9225f7f..0000000 --- a/core/src/loader/headitemimage2params.cpp +++ /dev/null @@ -1,290 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headitemimage2params.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadItemImage2Params - -const ImageFormat &HeadItemImage2Params::format() const { - return m_format; -} - -void HeadItemImage2Params::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - - -const qint32 &HeadItemImage2Params::imageIndex() const { - return m_imageIndex; -} - -void HeadItemImage2Params::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &HeadItemImage2Params::imageType() const { - return m_imageType; -} - -void HeadItemImage2Params::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadItemImage2Params::itemId() const { - return m_itemId; -} - -void HeadItemImage2Params::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const qint32 &HeadItemImage2Params::maxHeight() const { - return m_maxHeight; -} - -void HeadItemImage2Params::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - - -const qint32 &HeadItemImage2Params::maxWidth() const { - return m_maxWidth; -} - -void HeadItemImage2Params::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - - -const double &HeadItemImage2Params::percentPlayed() const { - return m_percentPlayed; -} - -void HeadItemImage2Params::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - - -const QString &HeadItemImage2Params::tag() const { - return m_tag; -} - -void HeadItemImage2Params::setTag(QString newTag) { - m_tag = newTag; -} - - -const qint32 &HeadItemImage2Params::unplayedCount() const { - return m_unplayedCount; -} - -void HeadItemImage2Params::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - - -const bool &HeadItemImage2Params::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadItemImage2Params::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadItemImage2Params::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadItemImage2Params::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadItemImage2Params::backgroundColor() const { - return m_backgroundColor; -} - -void HeadItemImage2Params::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadItemImage2Params::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadItemImage2Params::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadItemImage2Params::blur() const { - return m_blur.value(); -} - -void HeadItemImage2Params::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadItemImage2Params::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadItemImage2Params::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadItemImage2Params::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadItemImage2Params::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadItemImage2Params::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadItemImage2Params::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadItemImage2Params::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadItemImage2Params::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadItemImage2Params::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadItemImage2Params::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const qint32 &HeadItemImage2Params::height() const { - return m_height.value(); -} - -void HeadItemImage2Params::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadItemImage2Params::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadItemImage2Params::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadItemImage2Params::quality() const { - return m_quality.value(); -} - -void HeadItemImage2Params::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadItemImage2Params::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadItemImage2Params::setQualityNull() { - m_quality = std::nullopt; -} - - -const qint32 &HeadItemImage2Params::width() const { - return m_width.value(); -} - -void HeadItemImage2Params::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadItemImage2Params::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadItemImage2Params::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headitemimagebyindexparams.cpp b/core/src/loader/headitemimagebyindexparams.cpp deleted file mode 100644 index 3acfda5..0000000 --- a/core/src/loader/headitemimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headitemimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadItemImageByIndexParams - -const qint32 &HeadItemImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void HeadItemImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &HeadItemImageByIndexParams::imageType() const { - return m_imageType; -} - -void HeadItemImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadItemImageByIndexParams::itemId() const { - return m_itemId; -} - -void HeadItemImageByIndexParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &HeadItemImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadItemImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadItemImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadItemImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadItemImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadItemImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadItemImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadItemImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadItemImageByIndexParams::blur() const { - return m_blur.value(); -} - -void HeadItemImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadItemImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadItemImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadItemImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadItemImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadItemImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadItemImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadItemImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadItemImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadItemImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadItemImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadItemImageByIndexParams::format() const { - return m_format; -} - -void HeadItemImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadItemImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadItemImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadItemImageByIndexParams::height() const { - return m_height.value(); -} - -void HeadItemImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadItemImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadItemImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadItemImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadItemImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadItemImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadItemImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadItemImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadItemImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadItemImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadItemImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadItemImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadItemImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadItemImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadItemImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadItemImageByIndexParams::quality() const { - return m_quality.value(); -} - -void HeadItemImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadItemImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadItemImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadItemImageByIndexParams::tag() const { - return m_tag; -} - -void HeadItemImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadItemImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadItemImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadItemImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadItemImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadItemImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadItemImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadItemImageByIndexParams::width() const { - return m_width.value(); -} - -void HeadItemImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadItemImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadItemImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headitemimageparams.cpp b/core/src/loader/headitemimageparams.cpp deleted file mode 100644 index 2e94591..0000000 --- a/core/src/loader/headitemimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headitemimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadItemImageParams - -const ImageType &HeadItemImageParams::imageType() const { - return m_imageType; -} - -void HeadItemImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadItemImageParams::itemId() const { - return m_itemId; -} - -void HeadItemImageParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &HeadItemImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadItemImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadItemImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadItemImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadItemImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadItemImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadItemImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadItemImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadItemImageParams::blur() const { - return m_blur.value(); -} - -void HeadItemImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadItemImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadItemImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadItemImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadItemImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadItemImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadItemImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadItemImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadItemImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadItemImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadItemImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadItemImageParams::format() const { - return m_format; -} - -void HeadItemImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadItemImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadItemImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadItemImageParams::height() const { - return m_height.value(); -} - -void HeadItemImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadItemImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadItemImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadItemImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void HeadItemImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool HeadItemImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void HeadItemImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &HeadItemImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadItemImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadItemImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadItemImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadItemImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadItemImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadItemImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadItemImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadItemImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadItemImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadItemImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadItemImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadItemImageParams::quality() const { - return m_quality.value(); -} - -void HeadItemImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadItemImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadItemImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadItemImageParams::tag() const { - return m_tag; -} - -void HeadItemImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadItemImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadItemImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadItemImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadItemImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadItemImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadItemImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadItemImageParams::width() const { - return m_width.value(); -} - -void HeadItemImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadItemImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadItemImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headmasterhlsaudioplaylistparams.cpp b/core/src/loader/headmasterhlsaudioplaylistparams.cpp deleted file mode 100644 index 4261906..0000000 --- a/core/src/loader/headmasterhlsaudioplaylistparams.cpp +++ /dev/null @@ -1,1067 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headmasterhlsaudioplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadMasterHlsAudioPlaylistParams - -const QString &HeadMasterHlsAudioPlaylistParams::itemId() const { - return m_itemId; -} - -void HeadMasterHlsAudioPlaylistParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &HeadMasterHlsAudioPlaylistParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void HeadMasterHlsAudioPlaylistParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - - -const bool &HeadMasterHlsAudioPlaylistParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool HeadMasterHlsAudioPlaylistParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &HeadMasterHlsAudioPlaylistParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool HeadMasterHlsAudioPlaylistParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool HeadMasterHlsAudioPlaylistParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::audioChannels() const { - return m_audioChannels.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool HeadMasterHlsAudioPlaylistParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &HeadMasterHlsAudioPlaylistParams::audioCodec() const { - return m_audioCodec; -} - -void HeadMasterHlsAudioPlaylistParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool HeadMasterHlsAudioPlaylistParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool HeadMasterHlsAudioPlaylistParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool HeadMasterHlsAudioPlaylistParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &HeadMasterHlsAudioPlaylistParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool HeadMasterHlsAudioPlaylistParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &HeadMasterHlsAudioPlaylistParams::context() const { - return m_context; -} - -void HeadMasterHlsAudioPlaylistParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool HeadMasterHlsAudioPlaylistParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void HeadMasterHlsAudioPlaylistParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &HeadMasterHlsAudioPlaylistParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool HeadMasterHlsAudioPlaylistParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool HeadMasterHlsAudioPlaylistParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &HeadMasterHlsAudioPlaylistParams::deInterlace() const { - return m_deInterlace.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool HeadMasterHlsAudioPlaylistParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &HeadMasterHlsAudioPlaylistParams::deviceId() const { - return m_deviceId; -} - -void HeadMasterHlsAudioPlaylistParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool HeadMasterHlsAudioPlaylistParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &HeadMasterHlsAudioPlaylistParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void HeadMasterHlsAudioPlaylistParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool HeadMasterHlsAudioPlaylistParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &HeadMasterHlsAudioPlaylistParams::enableAdaptiveBitrateStreaming() const { - return m_enableAdaptiveBitrateStreaming.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming) { - m_enableAdaptiveBitrateStreaming = newEnableAdaptiveBitrateStreaming; -} - -bool HeadMasterHlsAudioPlaylistParams::enableAdaptiveBitrateStreamingNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableAdaptiveBitrateStreaming.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setEnableAdaptiveBitrateStreamingNull() { - m_enableAdaptiveBitrateStreaming = std::nullopt; -} - - -const bool &HeadMasterHlsAudioPlaylistParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool HeadMasterHlsAudioPlaylistParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &HeadMasterHlsAudioPlaylistParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool HeadMasterHlsAudioPlaylistParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &HeadMasterHlsAudioPlaylistParams::framerate() const { - return m_framerate.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool HeadMasterHlsAudioPlaylistParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::height() const { - return m_height.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadMasterHlsAudioPlaylistParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &HeadMasterHlsAudioPlaylistParams::level() const { - return m_level; -} - -void HeadMasterHlsAudioPlaylistParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool HeadMasterHlsAudioPlaylistParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setLevelNull() { - m_level.clear(); -} - - -const QString &HeadMasterHlsAudioPlaylistParams::liveStreamId() const { - return m_liveStreamId; -} - -void HeadMasterHlsAudioPlaylistParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool HeadMasterHlsAudioPlaylistParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool HeadMasterHlsAudioPlaylistParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool HeadMasterHlsAudioPlaylistParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &HeadMasterHlsAudioPlaylistParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool HeadMasterHlsAudioPlaylistParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool HeadMasterHlsAudioPlaylistParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::maxStreamingBitrate() const { - return m_maxStreamingBitrate.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxStreamingBitrate(qint32 newMaxStreamingBitrate) { - m_maxStreamingBitrate = newMaxStreamingBitrate; -} - -bool HeadMasterHlsAudioPlaylistParams::maxStreamingBitrateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxStreamingBitrate.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxStreamingBitrateNull() { - m_maxStreamingBitrate = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool HeadMasterHlsAudioPlaylistParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::minSegments() const { - return m_minSegments.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool HeadMasterHlsAudioPlaylistParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &HeadMasterHlsAudioPlaylistParams::params() const { - return m_params; -} - -void HeadMasterHlsAudioPlaylistParams::setParams(QString newParams) { - m_params = newParams; -} - -bool HeadMasterHlsAudioPlaylistParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setParamsNull() { - m_params.clear(); -} - - -const QString &HeadMasterHlsAudioPlaylistParams::playSessionId() const { - return m_playSessionId; -} - -void HeadMasterHlsAudioPlaylistParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool HeadMasterHlsAudioPlaylistParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &HeadMasterHlsAudioPlaylistParams::profile() const { - return m_profile; -} - -void HeadMasterHlsAudioPlaylistParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool HeadMasterHlsAudioPlaylistParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &HeadMasterHlsAudioPlaylistParams::requireAvc() const { - return m_requireAvc.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool HeadMasterHlsAudioPlaylistParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &HeadMasterHlsAudioPlaylistParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool HeadMasterHlsAudioPlaylistParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &HeadMasterHlsAudioPlaylistParams::segmentContainer() const { - return m_segmentContainer; -} - -void HeadMasterHlsAudioPlaylistParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool HeadMasterHlsAudioPlaylistParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::segmentLength() const { - return m_segmentLength.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool HeadMasterHlsAudioPlaylistParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &HeadMasterHlsAudioPlaylistParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool HeadMasterHlsAudioPlaylistParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &HeadMasterHlsAudioPlaylistParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool HeadMasterHlsAudioPlaylistParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &HeadMasterHlsAudioPlaylistParams::streamOptions() const { - return m_streamOptions; -} - -void HeadMasterHlsAudioPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool HeadMasterHlsAudioPlaylistParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void HeadMasterHlsAudioPlaylistParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &HeadMasterHlsAudioPlaylistParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void HeadMasterHlsAudioPlaylistParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool HeadMasterHlsAudioPlaylistParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &HeadMasterHlsAudioPlaylistParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void HeadMasterHlsAudioPlaylistParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool HeadMasterHlsAudioPlaylistParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void HeadMasterHlsAudioPlaylistParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool HeadMasterHlsAudioPlaylistParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &HeadMasterHlsAudioPlaylistParams::tag() const { - return m_tag; -} - -void HeadMasterHlsAudioPlaylistParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadMasterHlsAudioPlaylistParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setTagNull() { - m_tag.clear(); -} - - -const QString &HeadMasterHlsAudioPlaylistParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void HeadMasterHlsAudioPlaylistParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool HeadMasterHlsAudioPlaylistParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool HeadMasterHlsAudioPlaylistParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool HeadMasterHlsAudioPlaylistParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &HeadMasterHlsAudioPlaylistParams::videoCodec() const { - return m_videoCodec; -} - -void HeadMasterHlsAudioPlaylistParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool HeadMasterHlsAudioPlaylistParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void HeadMasterHlsAudioPlaylistParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool HeadMasterHlsAudioPlaylistParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &HeadMasterHlsAudioPlaylistParams::width() const { - return m_width.value(); -} - -void HeadMasterHlsAudioPlaylistParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadMasterHlsAudioPlaylistParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadMasterHlsAudioPlaylistParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headmasterhlsvideoplaylistparams.cpp b/core/src/loader/headmasterhlsvideoplaylistparams.cpp deleted file mode 100644 index dc94240..0000000 --- a/core/src/loader/headmasterhlsvideoplaylistparams.cpp +++ /dev/null @@ -1,1046 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headmasterhlsvideoplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadMasterHlsVideoPlaylistParams - -const QString &HeadMasterHlsVideoPlaylistParams::itemId() const { - return m_itemId; -} - -void HeadMasterHlsVideoPlaylistParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &HeadMasterHlsVideoPlaylistParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void HeadMasterHlsVideoPlaylistParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - - -const bool &HeadMasterHlsVideoPlaylistParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool HeadMasterHlsVideoPlaylistParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &HeadMasterHlsVideoPlaylistParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool HeadMasterHlsVideoPlaylistParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool HeadMasterHlsVideoPlaylistParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::audioChannels() const { - return m_audioChannels.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool HeadMasterHlsVideoPlaylistParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &HeadMasterHlsVideoPlaylistParams::audioCodec() const { - return m_audioCodec; -} - -void HeadMasterHlsVideoPlaylistParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool HeadMasterHlsVideoPlaylistParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool HeadMasterHlsVideoPlaylistParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool HeadMasterHlsVideoPlaylistParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &HeadMasterHlsVideoPlaylistParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool HeadMasterHlsVideoPlaylistParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &HeadMasterHlsVideoPlaylistParams::context() const { - return m_context; -} - -void HeadMasterHlsVideoPlaylistParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool HeadMasterHlsVideoPlaylistParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void HeadMasterHlsVideoPlaylistParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &HeadMasterHlsVideoPlaylistParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool HeadMasterHlsVideoPlaylistParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool HeadMasterHlsVideoPlaylistParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &HeadMasterHlsVideoPlaylistParams::deInterlace() const { - return m_deInterlace.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool HeadMasterHlsVideoPlaylistParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &HeadMasterHlsVideoPlaylistParams::deviceId() const { - return m_deviceId; -} - -void HeadMasterHlsVideoPlaylistParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool HeadMasterHlsVideoPlaylistParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &HeadMasterHlsVideoPlaylistParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void HeadMasterHlsVideoPlaylistParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool HeadMasterHlsVideoPlaylistParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &HeadMasterHlsVideoPlaylistParams::enableAdaptiveBitrateStreaming() const { - return m_enableAdaptiveBitrateStreaming.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming) { - m_enableAdaptiveBitrateStreaming = newEnableAdaptiveBitrateStreaming; -} - -bool HeadMasterHlsVideoPlaylistParams::enableAdaptiveBitrateStreamingNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableAdaptiveBitrateStreaming.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setEnableAdaptiveBitrateStreamingNull() { - m_enableAdaptiveBitrateStreaming = std::nullopt; -} - - -const bool &HeadMasterHlsVideoPlaylistParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool HeadMasterHlsVideoPlaylistParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &HeadMasterHlsVideoPlaylistParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool HeadMasterHlsVideoPlaylistParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &HeadMasterHlsVideoPlaylistParams::framerate() const { - return m_framerate.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool HeadMasterHlsVideoPlaylistParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::height() const { - return m_height.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadMasterHlsVideoPlaylistParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &HeadMasterHlsVideoPlaylistParams::level() const { - return m_level; -} - -void HeadMasterHlsVideoPlaylistParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool HeadMasterHlsVideoPlaylistParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setLevelNull() { - m_level.clear(); -} - - -const QString &HeadMasterHlsVideoPlaylistParams::liveStreamId() const { - return m_liveStreamId; -} - -void HeadMasterHlsVideoPlaylistParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool HeadMasterHlsVideoPlaylistParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool HeadMasterHlsVideoPlaylistParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool HeadMasterHlsVideoPlaylistParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &HeadMasterHlsVideoPlaylistParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool HeadMasterHlsVideoPlaylistParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool HeadMasterHlsVideoPlaylistParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool HeadMasterHlsVideoPlaylistParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::minSegments() const { - return m_minSegments.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool HeadMasterHlsVideoPlaylistParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &HeadMasterHlsVideoPlaylistParams::params() const { - return m_params; -} - -void HeadMasterHlsVideoPlaylistParams::setParams(QString newParams) { - m_params = newParams; -} - -bool HeadMasterHlsVideoPlaylistParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setParamsNull() { - m_params.clear(); -} - - -const QString &HeadMasterHlsVideoPlaylistParams::playSessionId() const { - return m_playSessionId; -} - -void HeadMasterHlsVideoPlaylistParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool HeadMasterHlsVideoPlaylistParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &HeadMasterHlsVideoPlaylistParams::profile() const { - return m_profile; -} - -void HeadMasterHlsVideoPlaylistParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool HeadMasterHlsVideoPlaylistParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &HeadMasterHlsVideoPlaylistParams::requireAvc() const { - return m_requireAvc.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool HeadMasterHlsVideoPlaylistParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &HeadMasterHlsVideoPlaylistParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool HeadMasterHlsVideoPlaylistParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &HeadMasterHlsVideoPlaylistParams::segmentContainer() const { - return m_segmentContainer; -} - -void HeadMasterHlsVideoPlaylistParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool HeadMasterHlsVideoPlaylistParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::segmentLength() const { - return m_segmentLength.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool HeadMasterHlsVideoPlaylistParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &HeadMasterHlsVideoPlaylistParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool HeadMasterHlsVideoPlaylistParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &HeadMasterHlsVideoPlaylistParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool HeadMasterHlsVideoPlaylistParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &HeadMasterHlsVideoPlaylistParams::streamOptions() const { - return m_streamOptions; -} - -void HeadMasterHlsVideoPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool HeadMasterHlsVideoPlaylistParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void HeadMasterHlsVideoPlaylistParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &HeadMasterHlsVideoPlaylistParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void HeadMasterHlsVideoPlaylistParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool HeadMasterHlsVideoPlaylistParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &HeadMasterHlsVideoPlaylistParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void HeadMasterHlsVideoPlaylistParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool HeadMasterHlsVideoPlaylistParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void HeadMasterHlsVideoPlaylistParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool HeadMasterHlsVideoPlaylistParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &HeadMasterHlsVideoPlaylistParams::tag() const { - return m_tag; -} - -void HeadMasterHlsVideoPlaylistParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadMasterHlsVideoPlaylistParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setTagNull() { - m_tag.clear(); -} - - -const QString &HeadMasterHlsVideoPlaylistParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void HeadMasterHlsVideoPlaylistParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool HeadMasterHlsVideoPlaylistParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool HeadMasterHlsVideoPlaylistParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool HeadMasterHlsVideoPlaylistParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &HeadMasterHlsVideoPlaylistParams::videoCodec() const { - return m_videoCodec; -} - -void HeadMasterHlsVideoPlaylistParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool HeadMasterHlsVideoPlaylistParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void HeadMasterHlsVideoPlaylistParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool HeadMasterHlsVideoPlaylistParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &HeadMasterHlsVideoPlaylistParams::width() const { - return m_width.value(); -} - -void HeadMasterHlsVideoPlaylistParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadMasterHlsVideoPlaylistParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadMasterHlsVideoPlaylistParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headmusicgenreimagebyindexparams.cpp b/core/src/loader/headmusicgenreimagebyindexparams.cpp deleted file mode 100644 index 562297b..0000000 --- a/core/src/loader/headmusicgenreimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headmusicgenreimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadMusicGenreImageByIndexParams - -const qint32 &HeadMusicGenreImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void HeadMusicGenreImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &HeadMusicGenreImageByIndexParams::imageType() const { - return m_imageType; -} - -void HeadMusicGenreImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadMusicGenreImageByIndexParams::name() const { - return m_name; -} - -void HeadMusicGenreImageByIndexParams::setName(QString newName) { - m_name = newName; -} - - -const bool &HeadMusicGenreImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadMusicGenreImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadMusicGenreImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadMusicGenreImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadMusicGenreImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadMusicGenreImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadMusicGenreImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadMusicGenreImageByIndexParams::blur() const { - return m_blur.value(); -} - -void HeadMusicGenreImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadMusicGenreImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadMusicGenreImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadMusicGenreImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadMusicGenreImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadMusicGenreImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadMusicGenreImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadMusicGenreImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadMusicGenreImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadMusicGenreImageByIndexParams::format() const { - return m_format; -} - -void HeadMusicGenreImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadMusicGenreImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadMusicGenreImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadMusicGenreImageByIndexParams::height() const { - return m_height.value(); -} - -void HeadMusicGenreImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadMusicGenreImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadMusicGenreImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadMusicGenreImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadMusicGenreImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadMusicGenreImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadMusicGenreImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadMusicGenreImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadMusicGenreImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadMusicGenreImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadMusicGenreImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadMusicGenreImageByIndexParams::quality() const { - return m_quality.value(); -} - -void HeadMusicGenreImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadMusicGenreImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadMusicGenreImageByIndexParams::tag() const { - return m_tag; -} - -void HeadMusicGenreImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadMusicGenreImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadMusicGenreImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadMusicGenreImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadMusicGenreImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadMusicGenreImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadMusicGenreImageByIndexParams::width() const { - return m_width.value(); -} - -void HeadMusicGenreImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadMusicGenreImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadMusicGenreImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headmusicgenreimageparams.cpp b/core/src/loader/headmusicgenreimageparams.cpp deleted file mode 100644 index 68b0962..0000000 --- a/core/src/loader/headmusicgenreimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headmusicgenreimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadMusicGenreImageParams - -const ImageType &HeadMusicGenreImageParams::imageType() const { - return m_imageType; -} - -void HeadMusicGenreImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadMusicGenreImageParams::name() const { - return m_name; -} - -void HeadMusicGenreImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &HeadMusicGenreImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadMusicGenreImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadMusicGenreImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadMusicGenreImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadMusicGenreImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadMusicGenreImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadMusicGenreImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadMusicGenreImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadMusicGenreImageParams::blur() const { - return m_blur.value(); -} - -void HeadMusicGenreImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadMusicGenreImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadMusicGenreImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadMusicGenreImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadMusicGenreImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadMusicGenreImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadMusicGenreImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadMusicGenreImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadMusicGenreImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadMusicGenreImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadMusicGenreImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadMusicGenreImageParams::format() const { - return m_format; -} - -void HeadMusicGenreImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadMusicGenreImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadMusicGenreImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadMusicGenreImageParams::height() const { - return m_height.value(); -} - -void HeadMusicGenreImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadMusicGenreImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadMusicGenreImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadMusicGenreImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void HeadMusicGenreImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool HeadMusicGenreImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void HeadMusicGenreImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &HeadMusicGenreImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadMusicGenreImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadMusicGenreImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadMusicGenreImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadMusicGenreImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadMusicGenreImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadMusicGenreImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadMusicGenreImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadMusicGenreImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadMusicGenreImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadMusicGenreImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadMusicGenreImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadMusicGenreImageParams::quality() const { - return m_quality.value(); -} - -void HeadMusicGenreImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadMusicGenreImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadMusicGenreImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadMusicGenreImageParams::tag() const { - return m_tag; -} - -void HeadMusicGenreImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadMusicGenreImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadMusicGenreImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadMusicGenreImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadMusicGenreImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadMusicGenreImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadMusicGenreImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadMusicGenreImageParams::width() const { - return m_width.value(); -} - -void HeadMusicGenreImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadMusicGenreImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadMusicGenreImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headpersonimagebyindexparams.cpp b/core/src/loader/headpersonimagebyindexparams.cpp deleted file mode 100644 index b353404..0000000 --- a/core/src/loader/headpersonimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headpersonimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadPersonImageByIndexParams - -const qint32 &HeadPersonImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void HeadPersonImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &HeadPersonImageByIndexParams::imageType() const { - return m_imageType; -} - -void HeadPersonImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadPersonImageByIndexParams::name() const { - return m_name; -} - -void HeadPersonImageByIndexParams::setName(QString newName) { - m_name = newName; -} - - -const bool &HeadPersonImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadPersonImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadPersonImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadPersonImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadPersonImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadPersonImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadPersonImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadPersonImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadPersonImageByIndexParams::blur() const { - return m_blur.value(); -} - -void HeadPersonImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadPersonImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadPersonImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadPersonImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadPersonImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadPersonImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadPersonImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadPersonImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadPersonImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadPersonImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadPersonImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadPersonImageByIndexParams::format() const { - return m_format; -} - -void HeadPersonImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadPersonImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadPersonImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadPersonImageByIndexParams::height() const { - return m_height.value(); -} - -void HeadPersonImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadPersonImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadPersonImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadPersonImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadPersonImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadPersonImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadPersonImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadPersonImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadPersonImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadPersonImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadPersonImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadPersonImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadPersonImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadPersonImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadPersonImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadPersonImageByIndexParams::quality() const { - return m_quality.value(); -} - -void HeadPersonImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadPersonImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadPersonImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadPersonImageByIndexParams::tag() const { - return m_tag; -} - -void HeadPersonImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadPersonImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadPersonImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadPersonImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadPersonImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadPersonImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadPersonImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadPersonImageByIndexParams::width() const { - return m_width.value(); -} - -void HeadPersonImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadPersonImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadPersonImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headpersonimageparams.cpp b/core/src/loader/headpersonimageparams.cpp deleted file mode 100644 index 1e7c2d8..0000000 --- a/core/src/loader/headpersonimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headpersonimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadPersonImageParams - -const ImageType &HeadPersonImageParams::imageType() const { - return m_imageType; -} - -void HeadPersonImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadPersonImageParams::name() const { - return m_name; -} - -void HeadPersonImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &HeadPersonImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadPersonImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadPersonImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadPersonImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadPersonImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadPersonImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadPersonImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadPersonImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadPersonImageParams::blur() const { - return m_blur.value(); -} - -void HeadPersonImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadPersonImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadPersonImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadPersonImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadPersonImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadPersonImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadPersonImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadPersonImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadPersonImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadPersonImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadPersonImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadPersonImageParams::format() const { - return m_format; -} - -void HeadPersonImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadPersonImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadPersonImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadPersonImageParams::height() const { - return m_height.value(); -} - -void HeadPersonImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadPersonImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadPersonImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadPersonImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void HeadPersonImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool HeadPersonImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void HeadPersonImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &HeadPersonImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadPersonImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadPersonImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadPersonImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadPersonImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadPersonImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadPersonImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadPersonImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadPersonImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadPersonImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadPersonImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadPersonImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadPersonImageParams::quality() const { - return m_quality.value(); -} - -void HeadPersonImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadPersonImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadPersonImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadPersonImageParams::tag() const { - return m_tag; -} - -void HeadPersonImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadPersonImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadPersonImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadPersonImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadPersonImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadPersonImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadPersonImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadPersonImageParams::width() const { - return m_width.value(); -} - -void HeadPersonImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadPersonImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadPersonImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headstudioimagebyindexparams.cpp b/core/src/loader/headstudioimagebyindexparams.cpp deleted file mode 100644 index acdc6e7..0000000 --- a/core/src/loader/headstudioimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headstudioimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadStudioImageByIndexParams - -const qint32 &HeadStudioImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void HeadStudioImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &HeadStudioImageByIndexParams::imageType() const { - return m_imageType; -} - -void HeadStudioImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadStudioImageByIndexParams::name() const { - return m_name; -} - -void HeadStudioImageByIndexParams::setName(QString newName) { - m_name = newName; -} - - -const bool &HeadStudioImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadStudioImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadStudioImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadStudioImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadStudioImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadStudioImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadStudioImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadStudioImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadStudioImageByIndexParams::blur() const { - return m_blur.value(); -} - -void HeadStudioImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadStudioImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadStudioImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadStudioImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadStudioImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadStudioImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadStudioImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadStudioImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadStudioImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadStudioImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadStudioImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadStudioImageByIndexParams::format() const { - return m_format; -} - -void HeadStudioImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadStudioImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadStudioImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadStudioImageByIndexParams::height() const { - return m_height.value(); -} - -void HeadStudioImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadStudioImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadStudioImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadStudioImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadStudioImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadStudioImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadStudioImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadStudioImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadStudioImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadStudioImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadStudioImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadStudioImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadStudioImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadStudioImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadStudioImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadStudioImageByIndexParams::quality() const { - return m_quality.value(); -} - -void HeadStudioImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadStudioImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadStudioImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadStudioImageByIndexParams::tag() const { - return m_tag; -} - -void HeadStudioImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadStudioImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadStudioImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadStudioImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadStudioImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadStudioImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadStudioImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadStudioImageByIndexParams::width() const { - return m_width.value(); -} - -void HeadStudioImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadStudioImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadStudioImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headstudioimageparams.cpp b/core/src/loader/headstudioimageparams.cpp deleted file mode 100644 index d5ed3e3..0000000 --- a/core/src/loader/headstudioimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headstudioimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadStudioImageParams - -const ImageType &HeadStudioImageParams::imageType() const { - return m_imageType; -} - -void HeadStudioImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadStudioImageParams::name() const { - return m_name; -} - -void HeadStudioImageParams::setName(QString newName) { - m_name = newName; -} - - -const bool &HeadStudioImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadStudioImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadStudioImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadStudioImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadStudioImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadStudioImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadStudioImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadStudioImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadStudioImageParams::blur() const { - return m_blur.value(); -} - -void HeadStudioImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadStudioImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadStudioImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadStudioImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadStudioImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadStudioImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadStudioImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadStudioImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadStudioImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadStudioImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadStudioImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadStudioImageParams::format() const { - return m_format; -} - -void HeadStudioImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadStudioImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadStudioImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadStudioImageParams::height() const { - return m_height.value(); -} - -void HeadStudioImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadStudioImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadStudioImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadStudioImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void HeadStudioImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool HeadStudioImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void HeadStudioImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &HeadStudioImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadStudioImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadStudioImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadStudioImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadStudioImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadStudioImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadStudioImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadStudioImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadStudioImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadStudioImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadStudioImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadStudioImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadStudioImageParams::quality() const { - return m_quality.value(); -} - -void HeadStudioImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadStudioImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadStudioImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadStudioImageParams::tag() const { - return m_tag; -} - -void HeadStudioImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadStudioImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadStudioImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadStudioImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadStudioImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadStudioImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadStudioImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadStudioImageParams::width() const { - return m_width.value(); -} - -void HeadStudioImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadStudioImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadStudioImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headuniversalaudiostreamparams.cpp b/core/src/loader/headuniversalaudiostreamparams.cpp deleted file mode 100644 index 87c8609..0000000 --- a/core/src/loader/headuniversalaudiostreamparams.cpp +++ /dev/null @@ -1,407 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headuniversalaudiostreamparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadUniversalAudioStreamParams - -const QString &HeadUniversalAudioStreamParams::itemId() const { - return m_itemId; -} - -void HeadUniversalAudioStreamParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const qint32 &HeadUniversalAudioStreamParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void HeadUniversalAudioStreamParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool HeadUniversalAudioStreamParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void HeadUniversalAudioStreamParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const QString &HeadUniversalAudioStreamParams::audioCodec() const { - return m_audioCodec; -} - -void HeadUniversalAudioStreamParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool HeadUniversalAudioStreamParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void HeadUniversalAudioStreamParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const bool &HeadUniversalAudioStreamParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void HeadUniversalAudioStreamParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool HeadUniversalAudioStreamParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void HeadUniversalAudioStreamParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const QStringList &HeadUniversalAudioStreamParams::container() const { - return m_container; -} - -void HeadUniversalAudioStreamParams::setContainer(QStringList newContainer) { - m_container = newContainer; -} - -bool HeadUniversalAudioStreamParams::containerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_container.size() == 0; -} - -void HeadUniversalAudioStreamParams::setContainerNull() { - m_container.clear(); -} - - -const QString &HeadUniversalAudioStreamParams::deviceId() const { - return m_deviceId; -} - -void HeadUniversalAudioStreamParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool HeadUniversalAudioStreamParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void HeadUniversalAudioStreamParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const bool &HeadUniversalAudioStreamParams::enableRedirection() const { - return m_enableRedirection.value(); -} - -void HeadUniversalAudioStreamParams::setEnableRedirection(bool newEnableRedirection) { - m_enableRedirection = newEnableRedirection; -} - -bool HeadUniversalAudioStreamParams::enableRedirectionNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_enableRedirection.has_value(); -} - -void HeadUniversalAudioStreamParams::setEnableRedirectionNull() { - m_enableRedirection = std::nullopt; -} - - -const bool &HeadUniversalAudioStreamParams::enableRemoteMedia() const { - return m_enableRemoteMedia.value(); -} - -void HeadUniversalAudioStreamParams::setEnableRemoteMedia(bool newEnableRemoteMedia) { - m_enableRemoteMedia = newEnableRemoteMedia; -} - -bool HeadUniversalAudioStreamParams::enableRemoteMediaNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableRemoteMedia.has_value(); -} - -void HeadUniversalAudioStreamParams::setEnableRemoteMediaNull() { - m_enableRemoteMedia = std::nullopt; -} - - -const qint32 &HeadUniversalAudioStreamParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void HeadUniversalAudioStreamParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool HeadUniversalAudioStreamParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void HeadUniversalAudioStreamParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &HeadUniversalAudioStreamParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void HeadUniversalAudioStreamParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool HeadUniversalAudioStreamParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void HeadUniversalAudioStreamParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const qint32 &HeadUniversalAudioStreamParams::maxAudioSampleRate() const { - return m_maxAudioSampleRate.value(); -} - -void HeadUniversalAudioStreamParams::setMaxAudioSampleRate(qint32 newMaxAudioSampleRate) { - m_maxAudioSampleRate = newMaxAudioSampleRate; -} - -bool HeadUniversalAudioStreamParams::maxAudioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioSampleRate.has_value(); -} - -void HeadUniversalAudioStreamParams::setMaxAudioSampleRateNull() { - m_maxAudioSampleRate = std::nullopt; -} - - -const qint32 &HeadUniversalAudioStreamParams::maxStreamingBitrate() const { - return m_maxStreamingBitrate.value(); -} - -void HeadUniversalAudioStreamParams::setMaxStreamingBitrate(qint32 newMaxStreamingBitrate) { - m_maxStreamingBitrate = newMaxStreamingBitrate; -} - -bool HeadUniversalAudioStreamParams::maxStreamingBitrateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxStreamingBitrate.has_value(); -} - -void HeadUniversalAudioStreamParams::setMaxStreamingBitrateNull() { - m_maxStreamingBitrate = std::nullopt; -} - - -const QString &HeadUniversalAudioStreamParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void HeadUniversalAudioStreamParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool HeadUniversalAudioStreamParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void HeadUniversalAudioStreamParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint64 &HeadUniversalAudioStreamParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void HeadUniversalAudioStreamParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool HeadUniversalAudioStreamParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void HeadUniversalAudioStreamParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const qint32 &HeadUniversalAudioStreamParams::transcodingAudioChannels() const { - return m_transcodingAudioChannels.value(); -} - -void HeadUniversalAudioStreamParams::setTranscodingAudioChannels(qint32 newTranscodingAudioChannels) { - m_transcodingAudioChannels = newTranscodingAudioChannels; -} - -bool HeadUniversalAudioStreamParams::transcodingAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingAudioChannels.has_value(); -} - -void HeadUniversalAudioStreamParams::setTranscodingAudioChannelsNull() { - m_transcodingAudioChannels = std::nullopt; -} - - -const QString &HeadUniversalAudioStreamParams::transcodingContainer() const { - return m_transcodingContainer; -} - -void HeadUniversalAudioStreamParams::setTranscodingContainer(QString newTranscodingContainer) { - m_transcodingContainer = newTranscodingContainer; -} - -bool HeadUniversalAudioStreamParams::transcodingContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodingContainer.isNull(); -} - -void HeadUniversalAudioStreamParams::setTranscodingContainerNull() { - m_transcodingContainer.clear(); -} - - -const QString &HeadUniversalAudioStreamParams::transcodingProtocol() const { - return m_transcodingProtocol; -} - -void HeadUniversalAudioStreamParams::setTranscodingProtocol(QString newTranscodingProtocol) { - m_transcodingProtocol = newTranscodingProtocol; -} - -bool HeadUniversalAudioStreamParams::transcodingProtocolNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodingProtocol.isNull(); -} - -void HeadUniversalAudioStreamParams::setTranscodingProtocolNull() { - m_transcodingProtocol.clear(); -} - - -const QString &HeadUniversalAudioStreamParams::userId() const { - return m_userId; -} - -void HeadUniversalAudioStreamParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool HeadUniversalAudioStreamParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void HeadUniversalAudioStreamParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headuserimagebyindexparams.cpp b/core/src/loader/headuserimagebyindexparams.cpp deleted file mode 100644 index 3227e92..0000000 --- a/core/src/loader/headuserimagebyindexparams.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headuserimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadUserImageByIndexParams - -const qint32 &HeadUserImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void HeadUserImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &HeadUserImageByIndexParams::imageType() const { - return m_imageType; -} - -void HeadUserImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadUserImageByIndexParams::userId() const { - return m_userId; -} - -void HeadUserImageByIndexParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const bool &HeadUserImageByIndexParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadUserImageByIndexParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadUserImageByIndexParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadUserImageByIndexParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadUserImageByIndexParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadUserImageByIndexParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadUserImageByIndexParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadUserImageByIndexParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadUserImageByIndexParams::blur() const { - return m_blur.value(); -} - -void HeadUserImageByIndexParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadUserImageByIndexParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadUserImageByIndexParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadUserImageByIndexParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadUserImageByIndexParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadUserImageByIndexParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadUserImageByIndexParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadUserImageByIndexParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadUserImageByIndexParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadUserImageByIndexParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadUserImageByIndexParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadUserImageByIndexParams::format() const { - return m_format; -} - -void HeadUserImageByIndexParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadUserImageByIndexParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadUserImageByIndexParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadUserImageByIndexParams::height() const { - return m_height.value(); -} - -void HeadUserImageByIndexParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadUserImageByIndexParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadUserImageByIndexParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadUserImageByIndexParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadUserImageByIndexParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadUserImageByIndexParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadUserImageByIndexParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadUserImageByIndexParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadUserImageByIndexParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadUserImageByIndexParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadUserImageByIndexParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadUserImageByIndexParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadUserImageByIndexParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadUserImageByIndexParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadUserImageByIndexParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadUserImageByIndexParams::quality() const { - return m_quality.value(); -} - -void HeadUserImageByIndexParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadUserImageByIndexParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadUserImageByIndexParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadUserImageByIndexParams::tag() const { - return m_tag; -} - -void HeadUserImageByIndexParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadUserImageByIndexParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadUserImageByIndexParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadUserImageByIndexParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadUserImageByIndexParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadUserImageByIndexParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadUserImageByIndexParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadUserImageByIndexParams::width() const { - return m_width.value(); -} - -void HeadUserImageByIndexParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadUserImageByIndexParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadUserImageByIndexParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headuserimageparams.cpp b/core/src/loader/headuserimageparams.cpp deleted file mode 100644 index 084429a..0000000 --- a/core/src/loader/headuserimageparams.cpp +++ /dev/null @@ -1,374 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headuserimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadUserImageParams - -const ImageType &HeadUserImageParams::imageType() const { - return m_imageType; -} - -void HeadUserImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &HeadUserImageParams::userId() const { - return m_userId; -} - -void HeadUserImageParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const bool &HeadUserImageParams::addPlayedIndicator() const { - return m_addPlayedIndicator.value(); -} - -void HeadUserImageParams::setAddPlayedIndicator(bool newAddPlayedIndicator) { - m_addPlayedIndicator = newAddPlayedIndicator; -} - -bool HeadUserImageParams::addPlayedIndicatorNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_addPlayedIndicator.has_value(); -} - -void HeadUserImageParams::setAddPlayedIndicatorNull() { - m_addPlayedIndicator = std::nullopt; -} - - -const QString &HeadUserImageParams::backgroundColor() const { - return m_backgroundColor; -} - -void HeadUserImageParams::setBackgroundColor(QString newBackgroundColor) { - m_backgroundColor = newBackgroundColor; -} - -bool HeadUserImageParams::backgroundColorNull() const { - // Nullable: true - // Type Nullable: true - - - return m_backgroundColor.isNull(); -} - -void HeadUserImageParams::setBackgroundColorNull() { - m_backgroundColor.clear(); -} - - -const qint32 &HeadUserImageParams::blur() const { - return m_blur.value(); -} - -void HeadUserImageParams::setBlur(qint32 newBlur) { - m_blur = newBlur; -} - -bool HeadUserImageParams::blurNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_blur.has_value(); -} - -void HeadUserImageParams::setBlurNull() { - m_blur = std::nullopt; -} - - -const bool &HeadUserImageParams::cropWhitespace() const { - return m_cropWhitespace.value(); -} - -void HeadUserImageParams::setCropWhitespace(bool newCropWhitespace) { - m_cropWhitespace = newCropWhitespace; -} - -bool HeadUserImageParams::cropWhitespaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cropWhitespace.has_value(); -} - -void HeadUserImageParams::setCropWhitespaceNull() { - m_cropWhitespace = std::nullopt; -} - - -const QString &HeadUserImageParams::foregroundLayer() const { - return m_foregroundLayer; -} - -void HeadUserImageParams::setForegroundLayer(QString newForegroundLayer) { - m_foregroundLayer = newForegroundLayer; -} - -bool HeadUserImageParams::foregroundLayerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_foregroundLayer.isNull(); -} - -void HeadUserImageParams::setForegroundLayerNull() { - m_foregroundLayer.clear(); -} - - -const ImageFormat &HeadUserImageParams::format() const { - return m_format; -} - -void HeadUserImageParams::setFormat(ImageFormat newFormat) { - m_format = newFormat; -} - -bool HeadUserImageParams::formatNull() const { - // Nullable: true - // Type Nullable: true - - - return m_format== ImageFormat::EnumNotSet; -} - -void HeadUserImageParams::setFormatNull() { - m_format= ImageFormat::EnumNotSet; -} - - -const qint32 &HeadUserImageParams::height() const { - return m_height.value(); -} - -void HeadUserImageParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadUserImageParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadUserImageParams::setHeightNull() { - m_height = std::nullopt; -} - - -const qint32 &HeadUserImageParams::imageIndex() const { - return m_imageIndex.value(); -} - -void HeadUserImageParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - -bool HeadUserImageParams::imageIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_imageIndex.has_value(); -} - -void HeadUserImageParams::setImageIndexNull() { - m_imageIndex = std::nullopt; -} - - -const qint32 &HeadUserImageParams::maxHeight() const { - return m_maxHeight.value(); -} - -void HeadUserImageParams::setMaxHeight(qint32 newMaxHeight) { - m_maxHeight = newMaxHeight; -} - -bool HeadUserImageParams::maxHeightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxHeight.has_value(); -} - -void HeadUserImageParams::setMaxHeightNull() { - m_maxHeight = std::nullopt; -} - - -const qint32 &HeadUserImageParams::maxWidth() const { - return m_maxWidth.value(); -} - -void HeadUserImageParams::setMaxWidth(qint32 newMaxWidth) { - m_maxWidth = newMaxWidth; -} - -bool HeadUserImageParams::maxWidthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxWidth.has_value(); -} - -void HeadUserImageParams::setMaxWidthNull() { - m_maxWidth = std::nullopt; -} - - -const double &HeadUserImageParams::percentPlayed() const { - return m_percentPlayed.value(); -} - -void HeadUserImageParams::setPercentPlayed(double newPercentPlayed) { - m_percentPlayed = newPercentPlayed; -} - -bool HeadUserImageParams::percentPlayedNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_percentPlayed.has_value(); -} - -void HeadUserImageParams::setPercentPlayedNull() { - m_percentPlayed = std::nullopt; -} - - -const qint32 &HeadUserImageParams::quality() const { - return m_quality.value(); -} - -void HeadUserImageParams::setQuality(qint32 newQuality) { - m_quality = newQuality; -} - -bool HeadUserImageParams::qualityNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_quality.has_value(); -} - -void HeadUserImageParams::setQualityNull() { - m_quality = std::nullopt; -} - - -const QString &HeadUserImageParams::tag() const { - return m_tag; -} - -void HeadUserImageParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadUserImageParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadUserImageParams::setTagNull() { - m_tag.clear(); -} - - -const qint32 &HeadUserImageParams::unplayedCount() const { - return m_unplayedCount.value(); -} - -void HeadUserImageParams::setUnplayedCount(qint32 newUnplayedCount) { - m_unplayedCount = newUnplayedCount; -} - -bool HeadUserImageParams::unplayedCountNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_unplayedCount.has_value(); -} - -void HeadUserImageParams::setUnplayedCountNull() { - m_unplayedCount = std::nullopt; -} - - -const qint32 &HeadUserImageParams::width() const { - return m_width.value(); -} - -void HeadUserImageParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadUserImageParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadUserImageParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headvideostreambycontainerparams.cpp b/core/src/loader/headvideostreambycontainerparams.cpp deleted file mode 100644 index 41e6c2f..0000000 --- a/core/src/loader/headvideostreambycontainerparams.cpp +++ /dev/null @@ -1,1055 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headvideostreambycontainerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadVideoStreamByContainerParams - -const QString &HeadVideoStreamByContainerParams::container() const { - return m_container; -} - -void HeadVideoStreamByContainerParams::setContainer(QString newContainer) { - m_container = newContainer; -} - - -const QString &HeadVideoStreamByContainerParams::itemId() const { - return m_itemId; -} - -void HeadVideoStreamByContainerParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &HeadVideoStreamByContainerParams::stream() const { - return m_stream; -} - -void HeadVideoStreamByContainerParams::setStream(QString newStream) { - m_stream = newStream; -} - - -const bool &HeadVideoStreamByContainerParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void HeadVideoStreamByContainerParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool HeadVideoStreamByContainerParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void HeadVideoStreamByContainerParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &HeadVideoStreamByContainerParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void HeadVideoStreamByContainerParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool HeadVideoStreamByContainerParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void HeadVideoStreamByContainerParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void HeadVideoStreamByContainerParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool HeadVideoStreamByContainerParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void HeadVideoStreamByContainerParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::audioChannels() const { - return m_audioChannels.value(); -} - -void HeadVideoStreamByContainerParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool HeadVideoStreamByContainerParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void HeadVideoStreamByContainerParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &HeadVideoStreamByContainerParams::audioCodec() const { - return m_audioCodec; -} - -void HeadVideoStreamByContainerParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool HeadVideoStreamByContainerParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void HeadVideoStreamByContainerParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &HeadVideoStreamByContainerParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void HeadVideoStreamByContainerParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool HeadVideoStreamByContainerParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void HeadVideoStreamByContainerParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void HeadVideoStreamByContainerParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool HeadVideoStreamByContainerParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void HeadVideoStreamByContainerParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &HeadVideoStreamByContainerParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void HeadVideoStreamByContainerParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool HeadVideoStreamByContainerParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void HeadVideoStreamByContainerParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const EncodingContext &HeadVideoStreamByContainerParams::context() const { - return m_context; -} - -void HeadVideoStreamByContainerParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool HeadVideoStreamByContainerParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void HeadVideoStreamByContainerParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &HeadVideoStreamByContainerParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void HeadVideoStreamByContainerParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool HeadVideoStreamByContainerParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void HeadVideoStreamByContainerParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void HeadVideoStreamByContainerParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool HeadVideoStreamByContainerParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void HeadVideoStreamByContainerParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &HeadVideoStreamByContainerParams::deInterlace() const { - return m_deInterlace.value(); -} - -void HeadVideoStreamByContainerParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool HeadVideoStreamByContainerParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void HeadVideoStreamByContainerParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &HeadVideoStreamByContainerParams::deviceId() const { - return m_deviceId; -} - -void HeadVideoStreamByContainerParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool HeadVideoStreamByContainerParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void HeadVideoStreamByContainerParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &HeadVideoStreamByContainerParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void HeadVideoStreamByContainerParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool HeadVideoStreamByContainerParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void HeadVideoStreamByContainerParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &HeadVideoStreamByContainerParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void HeadVideoStreamByContainerParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool HeadVideoStreamByContainerParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void HeadVideoStreamByContainerParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &HeadVideoStreamByContainerParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void HeadVideoStreamByContainerParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool HeadVideoStreamByContainerParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void HeadVideoStreamByContainerParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &HeadVideoStreamByContainerParams::framerate() const { - return m_framerate.value(); -} - -void HeadVideoStreamByContainerParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool HeadVideoStreamByContainerParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void HeadVideoStreamByContainerParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::height() const { - return m_height.value(); -} - -void HeadVideoStreamByContainerParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadVideoStreamByContainerParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadVideoStreamByContainerParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &HeadVideoStreamByContainerParams::level() const { - return m_level; -} - -void HeadVideoStreamByContainerParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool HeadVideoStreamByContainerParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void HeadVideoStreamByContainerParams::setLevelNull() { - m_level.clear(); -} - - -const QString &HeadVideoStreamByContainerParams::liveStreamId() const { - return m_liveStreamId; -} - -void HeadVideoStreamByContainerParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool HeadVideoStreamByContainerParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void HeadVideoStreamByContainerParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &HeadVideoStreamByContainerParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void HeadVideoStreamByContainerParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool HeadVideoStreamByContainerParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void HeadVideoStreamByContainerParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void HeadVideoStreamByContainerParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool HeadVideoStreamByContainerParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void HeadVideoStreamByContainerParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &HeadVideoStreamByContainerParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void HeadVideoStreamByContainerParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool HeadVideoStreamByContainerParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void HeadVideoStreamByContainerParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void HeadVideoStreamByContainerParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool HeadVideoStreamByContainerParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void HeadVideoStreamByContainerParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void HeadVideoStreamByContainerParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool HeadVideoStreamByContainerParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void HeadVideoStreamByContainerParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &HeadVideoStreamByContainerParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void HeadVideoStreamByContainerParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool HeadVideoStreamByContainerParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void HeadVideoStreamByContainerParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &HeadVideoStreamByContainerParams::minSegments() const { - return m_minSegments.value(); -} - -void HeadVideoStreamByContainerParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool HeadVideoStreamByContainerParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void HeadVideoStreamByContainerParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &HeadVideoStreamByContainerParams::params() const { - return m_params; -} - -void HeadVideoStreamByContainerParams::setParams(QString newParams) { - m_params = newParams; -} - -bool HeadVideoStreamByContainerParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void HeadVideoStreamByContainerParams::setParamsNull() { - m_params.clear(); -} - - -const QString &HeadVideoStreamByContainerParams::playSessionId() const { - return m_playSessionId; -} - -void HeadVideoStreamByContainerParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool HeadVideoStreamByContainerParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void HeadVideoStreamByContainerParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &HeadVideoStreamByContainerParams::profile() const { - return m_profile; -} - -void HeadVideoStreamByContainerParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool HeadVideoStreamByContainerParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void HeadVideoStreamByContainerParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &HeadVideoStreamByContainerParams::requireAvc() const { - return m_requireAvc.value(); -} - -void HeadVideoStreamByContainerParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool HeadVideoStreamByContainerParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void HeadVideoStreamByContainerParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &HeadVideoStreamByContainerParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void HeadVideoStreamByContainerParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool HeadVideoStreamByContainerParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void HeadVideoStreamByContainerParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &HeadVideoStreamByContainerParams::segmentContainer() const { - return m_segmentContainer; -} - -void HeadVideoStreamByContainerParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool HeadVideoStreamByContainerParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void HeadVideoStreamByContainerParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &HeadVideoStreamByContainerParams::segmentLength() const { - return m_segmentLength.value(); -} - -void HeadVideoStreamByContainerParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool HeadVideoStreamByContainerParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void HeadVideoStreamByContainerParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &HeadVideoStreamByContainerParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void HeadVideoStreamByContainerParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool HeadVideoStreamByContainerParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void HeadVideoStreamByContainerParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &HeadVideoStreamByContainerParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void HeadVideoStreamByContainerParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool HeadVideoStreamByContainerParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void HeadVideoStreamByContainerParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &HeadVideoStreamByContainerParams::streamOptions() const { - return m_streamOptions; -} - -void HeadVideoStreamByContainerParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool HeadVideoStreamByContainerParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void HeadVideoStreamByContainerParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &HeadVideoStreamByContainerParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void HeadVideoStreamByContainerParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool HeadVideoStreamByContainerParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void HeadVideoStreamByContainerParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &HeadVideoStreamByContainerParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void HeadVideoStreamByContainerParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool HeadVideoStreamByContainerParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void HeadVideoStreamByContainerParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &HeadVideoStreamByContainerParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void HeadVideoStreamByContainerParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool HeadVideoStreamByContainerParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void HeadVideoStreamByContainerParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &HeadVideoStreamByContainerParams::tag() const { - return m_tag; -} - -void HeadVideoStreamByContainerParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadVideoStreamByContainerParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadVideoStreamByContainerParams::setTagNull() { - m_tag.clear(); -} - - -const QString &HeadVideoStreamByContainerParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void HeadVideoStreamByContainerParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool HeadVideoStreamByContainerParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void HeadVideoStreamByContainerParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &HeadVideoStreamByContainerParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void HeadVideoStreamByContainerParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool HeadVideoStreamByContainerParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void HeadVideoStreamByContainerParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void HeadVideoStreamByContainerParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool HeadVideoStreamByContainerParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void HeadVideoStreamByContainerParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &HeadVideoStreamByContainerParams::videoCodec() const { - return m_videoCodec; -} - -void HeadVideoStreamByContainerParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool HeadVideoStreamByContainerParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void HeadVideoStreamByContainerParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &HeadVideoStreamByContainerParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void HeadVideoStreamByContainerParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool HeadVideoStreamByContainerParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void HeadVideoStreamByContainerParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &HeadVideoStreamByContainerParams::width() const { - return m_width.value(); -} - -void HeadVideoStreamByContainerParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadVideoStreamByContainerParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadVideoStreamByContainerParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/headvideostreamparams.cpp b/core/src/loader/headvideostreamparams.cpp deleted file mode 100644 index 4942f4b..0000000 --- a/core/src/loader/headvideostreamparams.cpp +++ /dev/null @@ -1,1058 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/headvideostreamparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// HeadVideoStreamParams - -const QString &HeadVideoStreamParams::itemId() const { - return m_itemId; -} - -void HeadVideoStreamParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const bool &HeadVideoStreamParams::allowAudioStreamCopy() const { - return m_allowAudioStreamCopy.value(); -} - -void HeadVideoStreamParams::setAllowAudioStreamCopy(bool newAllowAudioStreamCopy) { - m_allowAudioStreamCopy = newAllowAudioStreamCopy; -} - -bool HeadVideoStreamParams::allowAudioStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowAudioStreamCopy.has_value(); -} - -void HeadVideoStreamParams::setAllowAudioStreamCopyNull() { - m_allowAudioStreamCopy = std::nullopt; -} - - -const bool &HeadVideoStreamParams::allowVideoStreamCopy() const { - return m_allowVideoStreamCopy.value(); -} - -void HeadVideoStreamParams::setAllowVideoStreamCopy(bool newAllowVideoStreamCopy) { - m_allowVideoStreamCopy = newAllowVideoStreamCopy; -} - -bool HeadVideoStreamParams::allowVideoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_allowVideoStreamCopy.has_value(); -} - -void HeadVideoStreamParams::setAllowVideoStreamCopyNull() { - m_allowVideoStreamCopy = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::audioBitRate() const { - return m_audioBitRate.value(); -} - -void HeadVideoStreamParams::setAudioBitRate(qint32 newAudioBitRate) { - m_audioBitRate = newAudioBitRate; -} - -bool HeadVideoStreamParams::audioBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioBitRate.has_value(); -} - -void HeadVideoStreamParams::setAudioBitRateNull() { - m_audioBitRate = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::audioChannels() const { - return m_audioChannels.value(); -} - -void HeadVideoStreamParams::setAudioChannels(qint32 newAudioChannels) { - m_audioChannels = newAudioChannels; -} - -bool HeadVideoStreamParams::audioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioChannels.has_value(); -} - -void HeadVideoStreamParams::setAudioChannelsNull() { - m_audioChannels = std::nullopt; -} - - -const QString &HeadVideoStreamParams::audioCodec() const { - return m_audioCodec; -} - -void HeadVideoStreamParams::setAudioCodec(QString newAudioCodec) { - m_audioCodec = newAudioCodec; -} - -bool HeadVideoStreamParams::audioCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_audioCodec.isNull(); -} - -void HeadVideoStreamParams::setAudioCodecNull() { - m_audioCodec.clear(); -} - - -const qint32 &HeadVideoStreamParams::audioSampleRate() const { - return m_audioSampleRate.value(); -} - -void HeadVideoStreamParams::setAudioSampleRate(qint32 newAudioSampleRate) { - m_audioSampleRate = newAudioSampleRate; -} - -bool HeadVideoStreamParams::audioSampleRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioSampleRate.has_value(); -} - -void HeadVideoStreamParams::setAudioSampleRateNull() { - m_audioSampleRate = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void HeadVideoStreamParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool HeadVideoStreamParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void HeadVideoStreamParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &HeadVideoStreamParams::breakOnNonKeyFrames() const { - return m_breakOnNonKeyFrames.value(); -} - -void HeadVideoStreamParams::setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) { - m_breakOnNonKeyFrames = newBreakOnNonKeyFrames; -} - -bool HeadVideoStreamParams::breakOnNonKeyFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_breakOnNonKeyFrames.has_value(); -} - -void HeadVideoStreamParams::setBreakOnNonKeyFramesNull() { - m_breakOnNonKeyFrames = std::nullopt; -} - - -const QString &HeadVideoStreamParams::container() const { - return m_container; -} - -void HeadVideoStreamParams::setContainer(QString newContainer) { - m_container = newContainer; -} - -bool HeadVideoStreamParams::containerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_container.isNull(); -} - -void HeadVideoStreamParams::setContainerNull() { - m_container.clear(); -} - - -const EncodingContext &HeadVideoStreamParams::context() const { - return m_context; -} - -void HeadVideoStreamParams::setContext(EncodingContext newContext) { - m_context = newContext; -} - -bool HeadVideoStreamParams::contextNull() const { - // Nullable: true - // Type Nullable: true - - - return m_context== EncodingContext::EnumNotSet; -} - -void HeadVideoStreamParams::setContextNull() { - m_context= EncodingContext::EnumNotSet; -} - - -const bool &HeadVideoStreamParams::copyTimestamps() const { - return m_copyTimestamps.value(); -} - -void HeadVideoStreamParams::setCopyTimestamps(bool newCopyTimestamps) { - m_copyTimestamps = newCopyTimestamps; -} - -bool HeadVideoStreamParams::copyTimestampsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_copyTimestamps.has_value(); -} - -void HeadVideoStreamParams::setCopyTimestampsNull() { - m_copyTimestamps = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::cpuCoreLimit() const { - return m_cpuCoreLimit.value(); -} - -void HeadVideoStreamParams::setCpuCoreLimit(qint32 newCpuCoreLimit) { - m_cpuCoreLimit = newCpuCoreLimit; -} - -bool HeadVideoStreamParams::cpuCoreLimitNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_cpuCoreLimit.has_value(); -} - -void HeadVideoStreamParams::setCpuCoreLimitNull() { - m_cpuCoreLimit = std::nullopt; -} - - -const bool &HeadVideoStreamParams::deInterlace() const { - return m_deInterlace.value(); -} - -void HeadVideoStreamParams::setDeInterlace(bool newDeInterlace) { - m_deInterlace = newDeInterlace; -} - -bool HeadVideoStreamParams::deInterlaceNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_deInterlace.has_value(); -} - -void HeadVideoStreamParams::setDeInterlaceNull() { - m_deInterlace = std::nullopt; -} - - -const QString &HeadVideoStreamParams::deviceId() const { - return m_deviceId; -} - -void HeadVideoStreamParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool HeadVideoStreamParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void HeadVideoStreamParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &HeadVideoStreamParams::deviceProfileId() const { - return m_deviceProfileId; -} - -void HeadVideoStreamParams::setDeviceProfileId(QString newDeviceProfileId) { - m_deviceProfileId = newDeviceProfileId; -} - -bool HeadVideoStreamParams::deviceProfileIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceProfileId.isNull(); -} - -void HeadVideoStreamParams::setDeviceProfileIdNull() { - m_deviceProfileId.clear(); -} - - -const bool &HeadVideoStreamParams::enableAutoStreamCopy() const { - return m_enableAutoStreamCopy.value(); -} - -void HeadVideoStreamParams::setEnableAutoStreamCopy(bool newEnableAutoStreamCopy) { - m_enableAutoStreamCopy = newEnableAutoStreamCopy; -} - -bool HeadVideoStreamParams::enableAutoStreamCopyNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableAutoStreamCopy.has_value(); -} - -void HeadVideoStreamParams::setEnableAutoStreamCopyNull() { - m_enableAutoStreamCopy = std::nullopt; -} - - -const bool &HeadVideoStreamParams::enableMpegtsM2TsMode() const { - return m_enableMpegtsM2TsMode.value(); -} - -void HeadVideoStreamParams::setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode) { - m_enableMpegtsM2TsMode = newEnableMpegtsM2TsMode; -} - -bool HeadVideoStreamParams::enableMpegtsM2TsModeNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableMpegtsM2TsMode.has_value(); -} - -void HeadVideoStreamParams::setEnableMpegtsM2TsModeNull() { - m_enableMpegtsM2TsMode = std::nullopt; -} - - -const float &HeadVideoStreamParams::framerate() const { - return m_framerate.value(); -} - -void HeadVideoStreamParams::setFramerate(float newFramerate) { - m_framerate = newFramerate; -} - -bool HeadVideoStreamParams::framerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_framerate.has_value(); -} - -void HeadVideoStreamParams::setFramerateNull() { - m_framerate = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::height() const { - return m_height.value(); -} - -void HeadVideoStreamParams::setHeight(qint32 newHeight) { - m_height = newHeight; -} - -bool HeadVideoStreamParams::heightNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_height.has_value(); -} - -void HeadVideoStreamParams::setHeightNull() { - m_height = std::nullopt; -} - - -const QString &HeadVideoStreamParams::level() const { - return m_level; -} - -void HeadVideoStreamParams::setLevel(QString newLevel) { - m_level = newLevel; -} - -bool HeadVideoStreamParams::levelNull() const { - // Nullable: true - // Type Nullable: true - - - return m_level.isNull(); -} - -void HeadVideoStreamParams::setLevelNull() { - m_level.clear(); -} - - -const QString &HeadVideoStreamParams::liveStreamId() const { - return m_liveStreamId; -} - -void HeadVideoStreamParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool HeadVideoStreamParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void HeadVideoStreamParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const qint32 &HeadVideoStreamParams::maxAudioBitDepth() const { - return m_maxAudioBitDepth.value(); -} - -void HeadVideoStreamParams::setMaxAudioBitDepth(qint32 newMaxAudioBitDepth) { - m_maxAudioBitDepth = newMaxAudioBitDepth; -} - -bool HeadVideoStreamParams::maxAudioBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioBitDepth.has_value(); -} - -void HeadVideoStreamParams::setMaxAudioBitDepthNull() { - m_maxAudioBitDepth = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void HeadVideoStreamParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool HeadVideoStreamParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void HeadVideoStreamParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const float &HeadVideoStreamParams::maxFramerate() const { - return m_maxFramerate.value(); -} - -void HeadVideoStreamParams::setMaxFramerate(float newMaxFramerate) { - m_maxFramerate = newMaxFramerate; -} - -bool HeadVideoStreamParams::maxFramerateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxFramerate.has_value(); -} - -void HeadVideoStreamParams::setMaxFramerateNull() { - m_maxFramerate = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::maxRefFrames() const { - return m_maxRefFrames.value(); -} - -void HeadVideoStreamParams::setMaxRefFrames(qint32 newMaxRefFrames) { - m_maxRefFrames = newMaxRefFrames; -} - -bool HeadVideoStreamParams::maxRefFramesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxRefFrames.has_value(); -} - -void HeadVideoStreamParams::setMaxRefFramesNull() { - m_maxRefFrames = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::maxVideoBitDepth() const { - return m_maxVideoBitDepth.value(); -} - -void HeadVideoStreamParams::setMaxVideoBitDepth(qint32 newMaxVideoBitDepth) { - m_maxVideoBitDepth = newMaxVideoBitDepth; -} - -bool HeadVideoStreamParams::maxVideoBitDepthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxVideoBitDepth.has_value(); -} - -void HeadVideoStreamParams::setMaxVideoBitDepthNull() { - m_maxVideoBitDepth = std::nullopt; -} - - -const QString &HeadVideoStreamParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void HeadVideoStreamParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool HeadVideoStreamParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void HeadVideoStreamParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const qint32 &HeadVideoStreamParams::minSegments() const { - return m_minSegments.value(); -} - -void HeadVideoStreamParams::setMinSegments(qint32 newMinSegments) { - m_minSegments = newMinSegments; -} - -bool HeadVideoStreamParams::minSegmentsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_minSegments.has_value(); -} - -void HeadVideoStreamParams::setMinSegmentsNull() { - m_minSegments = std::nullopt; -} - - -const QString &HeadVideoStreamParams::params() const { - return m_params; -} - -void HeadVideoStreamParams::setParams(QString newParams) { - m_params = newParams; -} - -bool HeadVideoStreamParams::paramsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_params.isNull(); -} - -void HeadVideoStreamParams::setParamsNull() { - m_params.clear(); -} - - -const QString &HeadVideoStreamParams::playSessionId() const { - return m_playSessionId; -} - -void HeadVideoStreamParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool HeadVideoStreamParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void HeadVideoStreamParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const QString &HeadVideoStreamParams::profile() const { - return m_profile; -} - -void HeadVideoStreamParams::setProfile(QString newProfile) { - m_profile = newProfile; -} - -bool HeadVideoStreamParams::profileNull() const { - // Nullable: true - // Type Nullable: true - - - return m_profile.isNull(); -} - -void HeadVideoStreamParams::setProfileNull() { - m_profile.clear(); -} - - -const bool &HeadVideoStreamParams::requireAvc() const { - return m_requireAvc.value(); -} - -void HeadVideoStreamParams::setRequireAvc(bool newRequireAvc) { - m_requireAvc = newRequireAvc; -} - -bool HeadVideoStreamParams::requireAvcNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireAvc.has_value(); -} - -void HeadVideoStreamParams::setRequireAvcNull() { - m_requireAvc = std::nullopt; -} - - -const bool &HeadVideoStreamParams::requireNonAnamorphic() const { - return m_requireNonAnamorphic.value(); -} - -void HeadVideoStreamParams::setRequireNonAnamorphic(bool newRequireNonAnamorphic) { - m_requireNonAnamorphic = newRequireNonAnamorphic; -} - -bool HeadVideoStreamParams::requireNonAnamorphicNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_requireNonAnamorphic.has_value(); -} - -void HeadVideoStreamParams::setRequireNonAnamorphicNull() { - m_requireNonAnamorphic = std::nullopt; -} - - -const QString &HeadVideoStreamParams::segmentContainer() const { - return m_segmentContainer; -} - -void HeadVideoStreamParams::setSegmentContainer(QString newSegmentContainer) { - m_segmentContainer = newSegmentContainer; -} - -bool HeadVideoStreamParams::segmentContainerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_segmentContainer.isNull(); -} - -void HeadVideoStreamParams::setSegmentContainerNull() { - m_segmentContainer.clear(); -} - - -const qint32 &HeadVideoStreamParams::segmentLength() const { - return m_segmentLength.value(); -} - -void HeadVideoStreamParams::setSegmentLength(qint32 newSegmentLength) { - m_segmentLength = newSegmentLength; -} - -bool HeadVideoStreamParams::segmentLengthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_segmentLength.has_value(); -} - -void HeadVideoStreamParams::setSegmentLengthNull() { - m_segmentLength = std::nullopt; -} - - -const qint64 &HeadVideoStreamParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void HeadVideoStreamParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool HeadVideoStreamParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void HeadVideoStreamParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const bool &HeadVideoStreamParams::staticStreaming() const { - return m_staticStreaming.value(); -} - -void HeadVideoStreamParams::setStaticStreaming(bool newStaticStreaming) { - m_staticStreaming = newStaticStreaming; -} - -bool HeadVideoStreamParams::staticStreamingNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_staticStreaming.has_value(); -} - -void HeadVideoStreamParams::setStaticStreamingNull() { - m_staticStreaming = std::nullopt; -} - - -const QJsonObject &HeadVideoStreamParams::streamOptions() const { - return m_streamOptions; -} - -void HeadVideoStreamParams::setStreamOptions(QJsonObject newStreamOptions) { - m_streamOptions = newStreamOptions; -} - -bool HeadVideoStreamParams::streamOptionsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_streamOptions.isEmpty(); -} - -void HeadVideoStreamParams::setStreamOptionsNull() { - m_streamOptions= QJsonObject(); -} - - -const QString &HeadVideoStreamParams::subtitleCodec() const { - return m_subtitleCodec; -} - -void HeadVideoStreamParams::setSubtitleCodec(QString newSubtitleCodec) { - m_subtitleCodec = newSubtitleCodec; -} - -bool HeadVideoStreamParams::subtitleCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleCodec.isNull(); -} - -void HeadVideoStreamParams::setSubtitleCodecNull() { - m_subtitleCodec.clear(); -} - - -const SubtitleDeliveryMethod &HeadVideoStreamParams::subtitleMethod() const { - return m_subtitleMethod; -} - -void HeadVideoStreamParams::setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) { - m_subtitleMethod = newSubtitleMethod; -} - -bool HeadVideoStreamParams::subtitleMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_subtitleMethod== SubtitleDeliveryMethod::EnumNotSet; -} - -void HeadVideoStreamParams::setSubtitleMethodNull() { - m_subtitleMethod= SubtitleDeliveryMethod::EnumNotSet; -} - - -const qint32 &HeadVideoStreamParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void HeadVideoStreamParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool HeadVideoStreamParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void HeadVideoStreamParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &HeadVideoStreamParams::tag() const { - return m_tag; -} - -void HeadVideoStreamParams::setTag(QString newTag) { - m_tag = newTag; -} - -bool HeadVideoStreamParams::tagNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tag.isNull(); -} - -void HeadVideoStreamParams::setTagNull() { - m_tag.clear(); -} - - -const QString &HeadVideoStreamParams::transcodeReasons() const { - return m_transcodeReasons; -} - -void HeadVideoStreamParams::setTranscodeReasons(QString newTranscodeReasons) { - m_transcodeReasons = newTranscodeReasons; -} - -bool HeadVideoStreamParams::transcodeReasonsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_transcodeReasons.isNull(); -} - -void HeadVideoStreamParams::setTranscodeReasonsNull() { - m_transcodeReasons.clear(); -} - - -const qint32 &HeadVideoStreamParams::transcodingMaxAudioChannels() const { - return m_transcodingMaxAudioChannels.value(); -} - -void HeadVideoStreamParams::setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels) { - m_transcodingMaxAudioChannels = newTranscodingMaxAudioChannels; -} - -bool HeadVideoStreamParams::transcodingMaxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_transcodingMaxAudioChannels.has_value(); -} - -void HeadVideoStreamParams::setTranscodingMaxAudioChannelsNull() { - m_transcodingMaxAudioChannels = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::videoBitRate() const { - return m_videoBitRate.value(); -} - -void HeadVideoStreamParams::setVideoBitRate(qint32 newVideoBitRate) { - m_videoBitRate = newVideoBitRate; -} - -bool HeadVideoStreamParams::videoBitRateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoBitRate.has_value(); -} - -void HeadVideoStreamParams::setVideoBitRateNull() { - m_videoBitRate = std::nullopt; -} - - -const QString &HeadVideoStreamParams::videoCodec() const { - return m_videoCodec; -} - -void HeadVideoStreamParams::setVideoCodec(QString newVideoCodec) { - m_videoCodec = newVideoCodec; -} - -bool HeadVideoStreamParams::videoCodecNull() const { - // Nullable: true - // Type Nullable: true - - - return m_videoCodec.isNull(); -} - -void HeadVideoStreamParams::setVideoCodecNull() { - m_videoCodec.clear(); -} - - -const qint32 &HeadVideoStreamParams::videoStreamIndex() const { - return m_videoStreamIndex.value(); -} - -void HeadVideoStreamParams::setVideoStreamIndex(qint32 newVideoStreamIndex) { - m_videoStreamIndex = newVideoStreamIndex; -} - -bool HeadVideoStreamParams::videoStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_videoStreamIndex.has_value(); -} - -void HeadVideoStreamParams::setVideoStreamIndexNull() { - m_videoStreamIndex = std::nullopt; -} - - -const qint32 &HeadVideoStreamParams::width() const { - return m_width.value(); -} - -void HeadVideoStreamParams::setWidth(qint32 newWidth) { - m_width = newWidth; -} - -bool HeadVideoStreamParams::widthNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_width.has_value(); -} - -void HeadVideoStreamParams::setWidthNull() { - m_width = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/activate.cpp b/core/src/loader/http/activate.cpp deleted file mode 100644 index cd18977..0000000 --- a/core/src/loader/http/activate.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlogentries.cpp b/core/src/loader/http/activitylog.cpp similarity index 98% rename from core/src/loader/http/getlogentries.cpp rename to core/src/loader/http/activitylog.cpp index 298219c..0a6bca8 100644 --- a/core/src/loader/http/getlogentries.cpp +++ b/core/src/loader/http/activitylog.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetLogEntriesLoader::GetLogEntriesLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/addlistingprovider.cpp b/core/src/loader/http/addlistingprovider.cpp deleted file mode 100644 index c202a10..0000000 --- a/core/src/loader/http/addlistingprovider.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -AddListingProviderLoader::AddListingProviderLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString AddListingProviderLoader::path(const AddListingProviderParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/ListingProviders"); -} - -QUrlQuery AddListingProviderLoader::query(const AddListingProviderParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.pwNull()) { - result.addQueryItem("pw", Support::toString(params.pw())); - } - if (!params.validateListingsNull()) { - result.addQueryItem("validateListings", Support::toString>(params.validateListings())); - } - if (!params.validateLoginNull()) { - result.addQueryItem("validateLogin", Support::toString>(params.validateLogin())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/addmediapath.cpp b/core/src/loader/http/addmediapath.cpp deleted file mode 100644 index 8aae9c8..0000000 --- a/core/src/loader/http/addmediapath.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/addtocollection.cpp b/core/src/loader/http/addtocollection.cpp deleted file mode 100644 index 1c20d74..0000000 --- a/core/src/loader/http/addtocollection.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/addtoplaylist.cpp b/core/src/loader/http/addtoplaylist.cpp deleted file mode 100644 index 09cba35..0000000 --- a/core/src/loader/http/addtoplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/addtunerhost.cpp b/core/src/loader/http/addtunerhost.cpp deleted file mode 100644 index 11498d1..0000000 --- a/core/src/loader/http/addtunerhost.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -AddTunerHostLoader::AddTunerHostLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString AddTunerHostLoader::path(const AddTunerHostParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/TunerHosts"); -} - -QUrlQuery AddTunerHostLoader::query(const AddTunerHostParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/addusertosession.cpp b/core/src/loader/http/addusertosession.cpp deleted file mode 100644 index fa06271..0000000 --- a/core/src/loader/http/addusertosession.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/addvirtualfolder.cpp b/core/src/loader/http/addvirtualfolder.cpp deleted file mode 100644 index af5664e..0000000 --- a/core/src/loader/http/addvirtualfolder.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getkeys.cpp b/core/src/loader/http/apikey.cpp similarity index 97% rename from core/src/loader/http/getkeys.cpp rename to core/src/loader/http/apikey.cpp index 005452f..dff7d79 100644 --- a/core/src/loader/http/getkeys.cpp +++ b/core/src/loader/http/apikey.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetKeysLoader::GetKeysLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/applysearchcriteria.cpp b/core/src/loader/http/applysearchcriteria.cpp deleted file mode 100644 index 8d1a1cb..0000000 --- a/core/src/loader/http/applysearchcriteria.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getalbumartists.cpp b/core/src/loader/http/artists.cpp similarity index 53% rename from core/src/loader/http/getalbumartists.cpp rename to core/src/loader/http/artists.cpp index 940d2d0..c0d30c8 100644 --- a/core/src/loader/http/getalbumartists.cpp +++ b/core/src/loader/http/artists.cpp @@ -27,14 +27,145 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetArtistsLoader::GetArtistsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetArtistsLoader::path(const GetArtistsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Artists"); +} + +QUrlQuery GetArtistsLoader::query(const GetArtistsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.minCommunityRatingNull()) { + result.addQueryItem("minCommunityRating", Support::toString>(params.minCommunityRating())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.searchTermNull()) { + result.addQueryItem("searchTerm", Support::toString(params.searchTerm())); + } + if (!params.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.excludeItemTypesNull()) { + result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.filtersNull()) { + result.addQueryItem("filters", Support::toString>(params.filters())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); + } + if (!params.mediaTypesNull()) { + result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); + } + if (!params.genresNull()) { + result.addQueryItem("genres", Support::toString(params.genres())); + } + if (!params.genreIdsNull()) { + result.addQueryItem("genreIds", Support::toString(params.genreIds())); + } + if (!params.officialRatingsNull()) { + result.addQueryItem("officialRatings", Support::toString(params.officialRatings())); + } + if (!params.tagsNull()) { + result.addQueryItem("tags", Support::toString(params.tags())); + } + if (!params.yearsNull()) { + result.addQueryItem("years", Support::toString>(params.years())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.personNull()) { + result.addQueryItem("person", Support::toString(params.person())); + } + if (!params.personIdsNull()) { + result.addQueryItem("personIds", Support::toString(params.personIds())); + } + if (!params.personTypesNull()) { + result.addQueryItem("personTypes", Support::toString(params.personTypes())); + } + if (!params.studiosNull()) { + result.addQueryItem("studios", Support::toString(params.studios())); + } + if (!params.studioIdsNull()) { + result.addQueryItem("studioIds", Support::toString(params.studioIds())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.nameStartsWithOrGreaterNull()) { + result.addQueryItem("nameStartsWithOrGreater", Support::toString(params.nameStartsWithOrGreater())); + } + if (!params.nameStartsWithNull()) { + result.addQueryItem("nameStartsWith", Support::toString(params.nameStartsWith())); + } + if (!params.nameLessThanNull()) { + result.addQueryItem("nameLessThan", Support::toString(params.nameLessThan())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.enableTotalRecordCountNull()) { + result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); + } + + return result; +} + +GetArtistByNameLoader::GetArtistByNameLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetArtistByNameLoader::path(const GetArtistByNameParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Artists/") + Support::toString< QString>(params.name()) ; +} + +QUrlQuery GetArtistByNameLoader::query(const GetArtistByNameParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + GetAlbumArtistsLoader::GetAlbumArtistsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/deauthorizeparams.cpp b/core/src/loader/http/audio.cpp similarity index 95% rename from core/src/loader/deauthorizeparams.cpp rename to core/src/loader/http/audio.cpp index 2d5ad0b..fa9cd9f 100644 --- a/core/src/loader/deauthorizeparams.cpp +++ b/core/src/loader/http/audio.cpp @@ -27,15 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#include "JellyfinQt/loader/deauthorizeparams.h" +#include namespace Jellyfin { namespace Loader { +namespace HTTP { using namespace Jellyfin::DTO; -// DeauthorizeParams - +} // NS HTTP } // NS Loader } // NS Jellyfin diff --git a/core/src/loader/http/authenticateuser.cpp b/core/src/loader/http/authenticateuser.cpp deleted file mode 100644 index d100cba..0000000 --- a/core/src/loader/http/authenticateuser.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -AuthenticateUserLoader::AuthenticateUserLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString AuthenticateUserLoader::path(const AuthenticateUserParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Authenticate"); -} - -QUrlQuery AuthenticateUserLoader::query(const AuthenticateUserParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - result.addQueryItem("pw", Support::toString(params.pw())); - - // Optional parameters - if (!params.passwordNull()) { - result.addQueryItem("password", Support::toString(params.password())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/authenticateuserbyname.cpp b/core/src/loader/http/authenticateuserbyname.cpp deleted file mode 100644 index 9d6de67..0000000 --- a/core/src/loader/http/authenticateuserbyname.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -AuthenticateUserByNameLoader::AuthenticateUserByNameLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString AuthenticateUserByNameLoader::path(const AuthenticateUserByNameParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/AuthenticateByName"); -} - -QUrlQuery AuthenticateUserByNameLoader::query(const AuthenticateUserByNameParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/authenticatewithquickconnect.cpp b/core/src/loader/http/authenticatewithquickconnect.cpp deleted file mode 100644 index 37122ea..0000000 --- a/core/src/loader/http/authenticatewithquickconnect.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -AuthenticateWithQuickConnectLoader::AuthenticateWithQuickConnectLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString AuthenticateWithQuickConnectLoader::path(const AuthenticateWithQuickConnectParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/AuthenticateWithQuickConnect"); -} - -QUrlQuery AuthenticateWithQuickConnectLoader::query(const AuthenticateWithQuickConnectParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/authorize.cpp b/core/src/loader/http/authorize.cpp deleted file mode 100644 index 02fafc5..0000000 --- a/core/src/loader/http/authorize.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -AuthorizeLoader::AuthorizeLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString AuthorizeLoader::path(const AuthorizeParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/QuickConnect/Authorize"); -} - -QUrlQuery AuthorizeLoader::query(const AuthorizeParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - result.addQueryItem("code", Support::toString(params.code())); - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/available.cpp b/core/src/loader/http/available.cpp deleted file mode 100644 index d393a3f..0000000 --- a/core/src/loader/http/available.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getbrandingoptions.cpp b/core/src/loader/http/branding.cpp similarity index 62% rename from core/src/loader/http/getbrandingoptions.cpp rename to core/src/loader/http/branding.cpp index 243a44e..88715d4 100644 --- a/core/src/loader/http/getbrandingoptions.cpp +++ b/core/src/loader/http/branding.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetBrandingOptionsLoader::GetBrandingOptionsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -54,6 +54,44 @@ QUrlQuery GetBrandingOptionsLoader::query(const GetBrandingOptionsParams ¶ms return result; } +GetBrandingCssLoader::GetBrandingCssLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetBrandingCssLoader::path(const GetBrandingCssParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Branding/Css"); +} + +QUrlQuery GetBrandingCssLoader::query(const GetBrandingCssParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetBrandingCss_2Loader::GetBrandingCss_2Loader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetBrandingCss_2Loader::path(const GetBrandingCss_2Params ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Branding/Css.css"); +} + +QUrlQuery GetBrandingCss_2Loader::query(const GetBrandingCss_2Params ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/cancelpackageinstallation.cpp b/core/src/loader/http/cancelpackageinstallation.cpp deleted file mode 100644 index abe7255..0000000 --- a/core/src/loader/http/cancelpackageinstallation.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/cancelseriestimer.cpp b/core/src/loader/http/cancelseriestimer.cpp deleted file mode 100644 index 54d3f79..0000000 --- a/core/src/loader/http/cancelseriestimer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/canceltimer.cpp b/core/src/loader/http/canceltimer.cpp deleted file mode 100644 index d99c163..0000000 --- a/core/src/loader/http/canceltimer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/channels.cpp b/core/src/loader/http/channels.cpp new file mode 100644 index 0000000..863910c --- /dev/null +++ b/core/src/loader/http/channels.cpp @@ -0,0 +1,196 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetChannelsLoader::GetChannelsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannelsLoader::path(const GetChannelsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Channels"); +} + +QUrlQuery GetChannelsLoader::query(const GetChannelsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.supportsLatestItemsNull()) { + result.addQueryItem("supportsLatestItems", Support::toString>(params.supportsLatestItems())); + } + if (!params.supportsMediaDeletionNull()) { + result.addQueryItem("supportsMediaDeletion", Support::toString>(params.supportsMediaDeletion())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); + } + + return result; +} + +GetChannelFeaturesLoader::GetChannelFeaturesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannelFeaturesLoader::path(const GetChannelFeaturesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Channels/") + Support::toString< QString>(params.channelId()) + QStringLiteral("/Features"); +} + +QUrlQuery GetChannelFeaturesLoader::query(const GetChannelFeaturesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetChannelItemsLoader::GetChannelItemsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannelItemsLoader::path(const GetChannelItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Channels/") + Support::toString< QString>(params.channelId()) + QStringLiteral("/Items"); +} + +QUrlQuery GetChannelItemsLoader::query(const GetChannelItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.folderIdNull()) { + result.addQueryItem("folderId", Support::toString(params.folderId())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.sortOrderNull()) { + result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); + } + if (!params.filtersNull()) { + result.addQueryItem("filters", Support::toString>(params.filters())); + } + if (!params.sortByNull()) { + result.addQueryItem("sortBy", Support::toString(params.sortBy())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + + return result; +} + +GetAllChannelFeaturesLoader::GetAllChannelFeaturesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetAllChannelFeaturesParams>(apiClient) {} + +QString GetAllChannelFeaturesLoader::path(const GetAllChannelFeaturesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Channels/Features"); +} + +QUrlQuery GetAllChannelFeaturesLoader::query(const GetAllChannelFeaturesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetLatestChannelItemsLoader::GetLatestChannelItemsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLatestChannelItemsLoader::path(const GetLatestChannelItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Channels/Items/Latest"); +} + +QUrlQuery GetLatestChannelItemsLoader::query(const GetLatestChannelItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.filtersNull()) { + result.addQueryItem("filters", Support::toString>(params.filters())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.channelIdsNull()) { + result.addQueryItem("channelIds", Support::toString(params.channelIds())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/closelivestream.cpp b/core/src/loader/http/closelivestream.cpp deleted file mode 100644 index c091a8b..0000000 --- a/core/src/loader/http/closelivestream.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/createcollection.cpp b/core/src/loader/http/collection.cpp similarity index 97% rename from core/src/loader/http/createcollection.cpp rename to core/src/loader/http/collection.cpp index 6d5345c..2322e83 100644 --- a/core/src/loader/http/createcollection.cpp +++ b/core/src/loader/http/collection.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + CreateCollectionLoader::CreateCollectionLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/completewizard.cpp b/core/src/loader/http/completewizard.cpp deleted file mode 100644 index 0c978af..0000000 --- a/core/src/loader/http/completewizard.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdefaultmetadataoptions.cpp b/core/src/loader/http/configuration.cpp similarity index 61% rename from core/src/loader/http/getdefaultmetadataoptions.cpp rename to core/src/loader/http/configuration.cpp index 2a255d3..dd1fed9 100644 --- a/core/src/loader/http/getdefaultmetadataoptions.cpp +++ b/core/src/loader/http/configuration.cpp @@ -27,14 +27,52 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetConfigurationLoader::GetConfigurationLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetConfigurationLoader::path(const GetConfigurationParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/Configuration"); +} + +QUrlQuery GetConfigurationLoader::query(const GetConfigurationParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetNamedConfigurationLoader::GetNamedConfigurationLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetNamedConfigurationLoader::path(const GetNamedConfigurationParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/Configuration/") + Support::toString< QString>(params.key()) ; +} + +QUrlQuery GetNamedConfigurationLoader::query(const GetNamedConfigurationParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + GetDefaultMetadataOptionsLoader::GetDefaultMetadataOptionsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/connect.cpp b/core/src/loader/http/connect.cpp deleted file mode 100644 index 4d2bd0e..0000000 --- a/core/src/loader/http/connect.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -ConnectLoader::ConnectLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString ConnectLoader::path(const ConnectParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/QuickConnect/Connect"); -} - -QUrlQuery ConnectLoader::query(const ConnectParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - result.addQueryItem("secret", Support::toString(params.secret())); - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/createadminnotification.cpp b/core/src/loader/http/createadminnotification.cpp deleted file mode 100644 index a7bcb5b..0000000 --- a/core/src/loader/http/createadminnotification.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/createkey.cpp b/core/src/loader/http/createkey.cpp deleted file mode 100644 index f3d3373..0000000 --- a/core/src/loader/http/createkey.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/createplaylist.cpp b/core/src/loader/http/createplaylist.cpp deleted file mode 100644 index 52b0a3b..0000000 --- a/core/src/loader/http/createplaylist.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -CreatePlaylistLoader::CreatePlaylistLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString CreatePlaylistLoader::path(const CreatePlaylistParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Playlists"); -} - -QUrlQuery CreatePlaylistLoader::query(const CreatePlaylistParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.nameNull()) { - result.addQueryItem("name", Support::toString(params.name())); - } - if (!params.idsNull()) { - result.addQueryItem("ids", Support::toString(params.ids())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.mediaTypeNull()) { - result.addQueryItem("mediaType", Support::toString(params.mediaType())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/createprofile.cpp b/core/src/loader/http/createprofile.cpp deleted file mode 100644 index 123d42c..0000000 --- a/core/src/loader/http/createprofile.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/createseriestimer.cpp b/core/src/loader/http/createseriestimer.cpp deleted file mode 100644 index 24c17fd..0000000 --- a/core/src/loader/http/createseriestimer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/createtimer.cpp b/core/src/loader/http/createtimer.cpp deleted file mode 100644 index bc08fc1..0000000 --- a/core/src/loader/http/createtimer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/createuserbyname.cpp b/core/src/loader/http/createuserbyname.cpp deleted file mode 100644 index bf5fbf0..0000000 --- a/core/src/loader/http/createuserbyname.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -CreateUserByNameLoader::CreateUserByNameLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString CreateUserByNameLoader::path(const CreateUserByNameParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/New"); -} - -QUrlQuery CreateUserByNameLoader::query(const CreateUserByNameParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getconfigurationpages.cpp b/core/src/loader/http/dashboard.cpp similarity index 97% rename from core/src/loader/http/getconfigurationpages.cpp rename to core/src/loader/http/dashboard.cpp index cc78bef..72ff6fb 100644 --- a/core/src/loader/http/getconfigurationpages.cpp +++ b/core/src/loader/http/dashboard.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetConfigurationPagesLoader::GetConfigurationPagesLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, GetConfigurationPagesParams>(apiClient) {} diff --git a/core/src/loader/http/deauthorize.cpp b/core/src/loader/http/deauthorize.cpp deleted file mode 100644 index 4e42759..0000000 --- a/core/src/loader/http/deauthorize.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -DeauthorizeLoader::DeauthorizeLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString DeauthorizeLoader::path(const DeauthorizeParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/QuickConnect/Deauthorize"); -} - -QUrlQuery DeauthorizeLoader::query(const DeauthorizeParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deletealternatesources.cpp b/core/src/loader/http/deletealternatesources.cpp deleted file mode 100644 index ae63a3b..0000000 --- a/core/src/loader/http/deletealternatesources.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deletedevice.cpp b/core/src/loader/http/deletedevice.cpp deleted file mode 100644 index 5ee7a03..0000000 --- a/core/src/loader/http/deletedevice.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleteitem.cpp b/core/src/loader/http/deleteitem.cpp deleted file mode 100644 index 917b785..0000000 --- a/core/src/loader/http/deleteitem.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleteitemimage.cpp b/core/src/loader/http/deleteitemimage.cpp deleted file mode 100644 index 6348614..0000000 --- a/core/src/loader/http/deleteitemimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleteitemimagebyindex.cpp b/core/src/loader/http/deleteitemimagebyindex.cpp deleted file mode 100644 index f3270d4..0000000 --- a/core/src/loader/http/deleteitemimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleteitems.cpp b/core/src/loader/http/deleteitems.cpp deleted file mode 100644 index b9c547d..0000000 --- a/core/src/loader/http/deleteitems.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deletelistingprovider.cpp b/core/src/loader/http/deletelistingprovider.cpp deleted file mode 100644 index b3e466e..0000000 --- a/core/src/loader/http/deletelistingprovider.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleteprofile.cpp b/core/src/loader/http/deleteprofile.cpp deleted file mode 100644 index 9199de2..0000000 --- a/core/src/loader/http/deleteprofile.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleterecording.cpp b/core/src/loader/http/deleterecording.cpp deleted file mode 100644 index 6d44feb..0000000 --- a/core/src/loader/http/deleterecording.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deletesubtitle.cpp b/core/src/loader/http/deletesubtitle.cpp deleted file mode 100644 index 482310e..0000000 --- a/core/src/loader/http/deletesubtitle.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deletetunerhost.cpp b/core/src/loader/http/deletetunerhost.cpp deleted file mode 100644 index e0f86d0..0000000 --- a/core/src/loader/http/deletetunerhost.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleteuser.cpp b/core/src/loader/http/deleteuser.cpp deleted file mode 100644 index 394cce2..0000000 --- a/core/src/loader/http/deleteuser.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleteuserimage.cpp b/core/src/loader/http/deleteuserimage.cpp deleted file mode 100644 index 44bdb74..0000000 --- a/core/src/loader/http/deleteuserimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleteuserimagebyindex.cpp b/core/src/loader/http/deleteuserimagebyindex.cpp deleted file mode 100644 index f2161ba..0000000 --- a/core/src/loader/http/deleteuserimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/deleteuseritemrating.cpp b/core/src/loader/http/deleteuseritemrating.cpp deleted file mode 100644 index 30ad75e..0000000 --- a/core/src/loader/http/deleteuseritemrating.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -DeleteUserItemRatingLoader::DeleteUserItemRatingLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString DeleteUserItemRatingLoader::path(const DeleteUserItemRatingParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Rating"); -} - -QUrlQuery DeleteUserItemRatingLoader::query(const DeleteUserItemRatingParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdevices.cpp b/core/src/loader/http/devices.cpp similarity index 62% rename from core/src/loader/http/getdevices.cpp rename to core/src/loader/http/devices.cpp index ac73d6b..a83b381 100644 --- a/core/src/loader/http/getdevices.cpp +++ b/core/src/loader/http/devices.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetDevicesLoader::GetDevicesLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -60,6 +60,46 @@ QUrlQuery GetDevicesLoader::query(const GetDevicesParams ¶ms) const { return result; } +GetDeviceInfoLoader::GetDeviceInfoLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDeviceInfoLoader::path(const GetDeviceInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Devices/Info"); +} + +QUrlQuery GetDeviceInfoLoader::query(const GetDeviceInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("id", Support::toString(params.jellyfinId())); + + // Optional parameters + + return result; +} + +GetDeviceOptionsLoader::GetDeviceOptionsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDeviceOptionsLoader::path(const GetDeviceOptionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Devices/Options"); +} + +QUrlQuery GetDeviceOptionsLoader::query(const GetDeviceOptionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("id", Support::toString(params.jellyfinId())); + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/disableplugin.cpp b/core/src/loader/http/disableplugin.cpp deleted file mode 100644 index 68ab7b5..0000000 --- a/core/src/loader/http/disableplugin.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/discovertuners.cpp b/core/src/loader/http/discovertuners.cpp deleted file mode 100644 index c4d8ca5..0000000 --- a/core/src/loader/http/discovertuners.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -DiscoverTunersLoader::DiscoverTunersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, DiscoverTunersParams>(apiClient) {} - -QString DiscoverTunersLoader::path(const DiscoverTunersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Tuners/Discover"); -} - -QUrlQuery DiscoverTunersLoader::query(const DiscoverTunersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.newDevicesOnlyNull()) { - result.addQueryItem("newDevicesOnly", Support::toString>(params.newDevicesOnly())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/discvovertuners.cpp b/core/src/loader/http/discvovertuners.cpp deleted file mode 100644 index 1829927..0000000 --- a/core/src/loader/http/discvovertuners.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -DiscvoverTunersLoader::DiscvoverTunersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, DiscvoverTunersParams>(apiClient) {} - -QString DiscvoverTunersLoader::path(const DiscvoverTunersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Tuners/Discvover"); -} - -QUrlQuery DiscvoverTunersLoader::query(const DiscvoverTunersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.newDevicesOnlyNull()) { - result.addQueryItem("newDevicesOnly", Support::toString>(params.newDevicesOnly())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/displaycontent.cpp b/core/src/loader/http/displaycontent.cpp deleted file mode 100644 index 44fae13..0000000 --- a/core/src/loader/http/displaycontent.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdisplaypreferences.cpp b/core/src/loader/http/displaypreferences.cpp similarity index 97% rename from core/src/loader/http/getdisplaypreferences.cpp rename to core/src/loader/http/displaypreferences.cpp index 3e4cc50..0ece935 100644 --- a/core/src/loader/http/getdisplaypreferences.cpp +++ b/core/src/loader/http/displaypreferences.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetDisplayPreferencesLoader::GetDisplayPreferencesLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/getdefaultprofile.cpp b/core/src/loader/http/dlna.cpp similarity index 62% rename from core/src/loader/http/getdefaultprofile.cpp rename to core/src/loader/http/dlna.cpp index 37713dc..650535c 100644 --- a/core/src/loader/http/getdefaultprofile.cpp +++ b/core/src/loader/http/dlna.cpp @@ -27,14 +27,52 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetProfileInfosLoader::GetProfileInfosLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetProfileInfosParams>(apiClient) {} + +QString GetProfileInfosLoader::path(const GetProfileInfosParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Dlna/ProfileInfos"); +} + +QUrlQuery GetProfileInfosLoader::query(const GetProfileInfosParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetProfileLoader::GetProfileLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetProfileLoader::path(const GetProfileParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Dlna/Profiles/") + Support::toString< QString>(params.profileId()) ; +} + +QUrlQuery GetProfileLoader::query(const GetProfileParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + GetDefaultProfileLoader::GetDefaultProfileLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/activateparams.cpp b/core/src/loader/http/dlnaserver.cpp similarity index 94% rename from core/src/loader/activateparams.cpp rename to core/src/loader/http/dlnaserver.cpp index f1cf803..ed3dbd0 100644 --- a/core/src/loader/activateparams.cpp +++ b/core/src/loader/http/dlnaserver.cpp @@ -27,15 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#include "JellyfinQt/loader/activateparams.h" +#include namespace Jellyfin { namespace Loader { +namespace HTTP { using namespace Jellyfin::DTO; -// ActivateParams - +} // NS HTTP } // NS Loader } // NS Jellyfin diff --git a/core/src/loader/http/downloadremoteimage.cpp b/core/src/loader/http/downloadremoteimage.cpp deleted file mode 100644 index 75b12d9..0000000 --- a/core/src/loader/http/downloadremoteimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/downloadremotesubtitles.cpp b/core/src/loader/http/downloadremotesubtitles.cpp deleted file mode 100644 index 0021611..0000000 --- a/core/src/loader/http/downloadremotesubtitles.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/addtunerhostparams.cpp b/core/src/loader/http/dynamichls.cpp similarity index 94% rename from core/src/loader/addtunerhostparams.cpp rename to core/src/loader/http/dynamichls.cpp index 7619490..9550029 100644 --- a/core/src/loader/addtunerhostparams.cpp +++ b/core/src/loader/http/dynamichls.cpp @@ -27,15 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#include "JellyfinQt/loader/addtunerhostparams.h" +#include namespace Jellyfin { namespace Loader { +namespace HTTP { using namespace Jellyfin::DTO; -// AddTunerHostParams - +} // NS HTTP } // NS Loader } // NS Jellyfin diff --git a/core/src/loader/http/enableplugin.cpp b/core/src/loader/http/enableplugin.cpp deleted file mode 100644 index 470a3c3..0000000 --- a/core/src/loader/http/enableplugin.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/environment.cpp b/core/src/loader/http/environment.cpp new file mode 100644 index 0000000..ddf62cd --- /dev/null +++ b/core/src/loader/http/environment.cpp @@ -0,0 +1,144 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetDefaultDirectoryBrowserLoader::GetDefaultDirectoryBrowserLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDefaultDirectoryBrowserLoader::path(const GetDefaultDirectoryBrowserParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Environment/DefaultDirectoryBrowser"); +} + +QUrlQuery GetDefaultDirectoryBrowserLoader::query(const GetDefaultDirectoryBrowserParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetDirectoryContentsLoader::GetDirectoryContentsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetDirectoryContentsParams>(apiClient) {} + +QString GetDirectoryContentsLoader::path(const GetDirectoryContentsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Environment/DirectoryContents"); +} + +QUrlQuery GetDirectoryContentsLoader::query(const GetDirectoryContentsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("path", Support::toString(params.path())); + + // Optional parameters + if (!params.includeFilesNull()) { + result.addQueryItem("includeFiles", Support::toString>(params.includeFiles())); + } + if (!params.includeDirectoriesNull()) { + result.addQueryItem("includeDirectories", Support::toString>(params.includeDirectories())); + } + + return result; +} + +GetDrivesLoader::GetDrivesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetDrivesParams>(apiClient) {} + +QString GetDrivesLoader::path(const GetDrivesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Environment/Drives"); +} + +QUrlQuery GetDrivesLoader::query(const GetDrivesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetNetworkSharesLoader::GetNetworkSharesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetNetworkSharesParams>(apiClient) {} + +QString GetNetworkSharesLoader::path(const GetNetworkSharesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Environment/NetworkShares"); +} + +QUrlQuery GetNetworkSharesLoader::query(const GetNetworkSharesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetParentPathLoader::GetParentPathLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetParentPathLoader::path(const GetParentPathParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Environment/ParentPath"); +} + +QUrlQuery GetParentPathLoader::query(const GetParentPathParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("path", Support::toString(params.path())); + + // Optional parameters + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getqueryfilters.cpp b/core/src/loader/http/filter.cpp similarity index 73% rename from core/src/loader/http/getqueryfilters.cpp rename to core/src/loader/http/filter.cpp index 02999f3..c47573e 100644 --- a/core/src/loader/http/getqueryfilters.cpp +++ b/core/src/loader/http/filter.cpp @@ -27,14 +27,45 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetQueryFiltersLegacyLoader::GetQueryFiltersLegacyLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetQueryFiltersLegacyLoader::path(const GetQueryFiltersLegacyParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/Filters"); +} + +QUrlQuery GetQueryFiltersLegacyLoader::query(const GetQueryFiltersLegacyParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.mediaTypesNull()) { + result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); + } + + return result; +} + GetQueryFiltersLoader::GetQueryFiltersLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/forgotpassword.cpp b/core/src/loader/http/forgotpassword.cpp deleted file mode 100644 index 96297b3..0000000 --- a/core/src/loader/http/forgotpassword.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -ForgotPasswordLoader::ForgotPasswordLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString ForgotPasswordLoader::path(const ForgotPasswordParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/ForgotPassword"); -} - -QUrlQuery ForgotPasswordLoader::query(const ForgotPasswordParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/forgotpasswordpin.cpp b/core/src/loader/http/forgotpasswordpin.cpp deleted file mode 100644 index 9109676..0000000 --- a/core/src/loader/http/forgotpasswordpin.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -ForgotPasswordPinLoader::ForgotPasswordPinLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString ForgotPasswordPinLoader::path(const ForgotPasswordPinParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/ForgotPassword/Pin"); -} - -QUrlQuery ForgotPasswordPinLoader::query(const ForgotPasswordPinParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getgenres.cpp b/core/src/loader/http/genres.cpp similarity index 84% rename from core/src/loader/http/getgenres.cpp rename to core/src/loader/http/genres.cpp index d57bf55..8319944 100644 --- a/core/src/loader/http/getgenres.cpp +++ b/core/src/loader/http/genres.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetGenresLoader::GetGenresLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -102,6 +102,28 @@ QUrlQuery GetGenresLoader::query(const GetGenresParams ¶ms) const { return result; } +GetGenreLoader::GetGenreLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetGenreLoader::path(const GetGenreParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Genres/") + Support::toString< QString>(params.genreName()) ; +} + +QUrlQuery GetGenreLoader::query(const GetGenreParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/getallchannelfeatures.cpp b/core/src/loader/http/getallchannelfeatures.cpp deleted file mode 100644 index 8bd4bff..0000000 --- a/core/src/loader/http/getallchannelfeatures.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetAllChannelFeaturesLoader::GetAllChannelFeaturesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetAllChannelFeaturesParams>(apiClient) {} - -QString GetAllChannelFeaturesLoader::path(const GetAllChannelFeaturesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Channels/Features"); -} - -QUrlQuery GetAllChannelFeaturesLoader::query(const GetAllChannelFeaturesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getancestors.cpp b/core/src/loader/http/getancestors.cpp deleted file mode 100644 index 871ea8b..0000000 --- a/core/src/loader/http/getancestors.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetAncestorsLoader::GetAncestorsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetAncestorsParams>(apiClient) {} - -QString GetAncestorsLoader::path(const GetAncestorsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Ancestors"); -} - -QUrlQuery GetAncestorsLoader::query(const GetAncestorsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getartistbyname.cpp b/core/src/loader/http/getartistbyname.cpp deleted file mode 100644 index 16e0efc..0000000 --- a/core/src/loader/http/getartistbyname.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetArtistByNameLoader::GetArtistByNameLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetArtistByNameLoader::path(const GetArtistByNameParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Artists/") + Support::toString< QString>(params.name()) ; -} - -QUrlQuery GetArtistByNameLoader::query(const GetArtistByNameParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getartistimage.cpp b/core/src/loader/http/getartistimage.cpp deleted file mode 100644 index 381536a..0000000 --- a/core/src/loader/http/getartistimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getartists.cpp b/core/src/loader/http/getartists.cpp deleted file mode 100644 index 7893749..0000000 --- a/core/src/loader/http/getartists.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetArtistsLoader::GetArtistsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetArtistsLoader::path(const GetArtistsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Artists"); -} - -QUrlQuery GetArtistsLoader::query(const GetArtistsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.minCommunityRatingNull()) { - result.addQueryItem("minCommunityRating", Support::toString>(params.minCommunityRating())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.searchTermNull()) { - result.addQueryItem("searchTerm", Support::toString(params.searchTerm())); - } - if (!params.parentIdNull()) { - result.addQueryItem("parentId", Support::toString(params.parentId())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.excludeItemTypesNull()) { - result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); - } - if (!params.includeItemTypesNull()) { - result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); - } - if (!params.filtersNull()) { - result.addQueryItem("filters", Support::toString>(params.filters())); - } - if (!params.isFavoriteNull()) { - result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); - } - if (!params.mediaTypesNull()) { - result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); - } - if (!params.genresNull()) { - result.addQueryItem("genres", Support::toString(params.genres())); - } - if (!params.genreIdsNull()) { - result.addQueryItem("genreIds", Support::toString(params.genreIds())); - } - if (!params.officialRatingsNull()) { - result.addQueryItem("officialRatings", Support::toString(params.officialRatings())); - } - if (!params.tagsNull()) { - result.addQueryItem("tags", Support::toString(params.tags())); - } - if (!params.yearsNull()) { - result.addQueryItem("years", Support::toString>(params.years())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.personNull()) { - result.addQueryItem("person", Support::toString(params.person())); - } - if (!params.personIdsNull()) { - result.addQueryItem("personIds", Support::toString(params.personIds())); - } - if (!params.personTypesNull()) { - result.addQueryItem("personTypes", Support::toString(params.personTypes())); - } - if (!params.studiosNull()) { - result.addQueryItem("studios", Support::toString(params.studios())); - } - if (!params.studioIdsNull()) { - result.addQueryItem("studioIds", Support::toString(params.studioIds())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.nameStartsWithOrGreaterNull()) { - result.addQueryItem("nameStartsWithOrGreater", Support::toString(params.nameStartsWithOrGreater())); - } - if (!params.nameStartsWithNull()) { - result.addQueryItem("nameStartsWith", Support::toString(params.nameStartsWith())); - } - if (!params.nameLessThanNull()) { - result.addQueryItem("nameLessThan", Support::toString(params.nameLessThan())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.enableTotalRecordCountNull()) { - result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getattachment.cpp b/core/src/loader/http/getattachment.cpp deleted file mode 100644 index c3543d7..0000000 --- a/core/src/loader/http/getattachment.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getaudiostream.cpp b/core/src/loader/http/getaudiostream.cpp deleted file mode 100644 index e65d71e..0000000 --- a/core/src/loader/http/getaudiostream.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getaudiostreambycontainer.cpp b/core/src/loader/http/getaudiostreambycontainer.cpp deleted file mode 100644 index 9234a4b..0000000 --- a/core/src/loader/http/getaudiostreambycontainer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getauthproviders.cpp b/core/src/loader/http/getauthproviders.cpp deleted file mode 100644 index 008f0e0..0000000 --- a/core/src/loader/http/getauthproviders.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetAuthProvidersLoader::GetAuthProvidersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetAuthProvidersParams>(apiClient) {} - -QString GetAuthProvidersLoader::path(const GetAuthProvidersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Auth/Providers"); -} - -QUrlQuery GetAuthProvidersLoader::query(const GetAuthProvidersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getbitratetestbytes.cpp b/core/src/loader/http/getbitratetestbytes.cpp deleted file mode 100644 index 003c6d0..0000000 --- a/core/src/loader/http/getbitratetestbytes.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getbookremotesearchresults.cpp b/core/src/loader/http/getbookremotesearchresults.cpp deleted file mode 100644 index 4bbd7cb..0000000 --- a/core/src/loader/http/getbookremotesearchresults.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetBookRemoteSearchResultsLoader::GetBookRemoteSearchResultsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetBookRemoteSearchResultsParams>(apiClient) {} - -QString GetBookRemoteSearchResultsLoader::path(const GetBookRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/RemoteSearch/Book"); -} - -QUrlQuery GetBookRemoteSearchResultsLoader::query(const GetBookRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getboxsetremotesearchresults.cpp b/core/src/loader/http/getboxsetremotesearchresults.cpp deleted file mode 100644 index a4e9dbb..0000000 --- a/core/src/loader/http/getboxsetremotesearchresults.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetBoxSetRemoteSearchResultsLoader::GetBoxSetRemoteSearchResultsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetBoxSetRemoteSearchResultsParams>(apiClient) {} - -QString GetBoxSetRemoteSearchResultsLoader::path(const GetBoxSetRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/RemoteSearch/BoxSet"); -} - -QUrlQuery GetBoxSetRemoteSearchResultsLoader::query(const GetBoxSetRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getbrandingcss.cpp b/core/src/loader/http/getbrandingcss.cpp deleted file mode 100644 index 7e377b2..0000000 --- a/core/src/loader/http/getbrandingcss.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetBrandingCssLoader::GetBrandingCssLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetBrandingCssLoader::path(const GetBrandingCssParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Branding/Css"); -} - -QUrlQuery GetBrandingCssLoader::query(const GetBrandingCssParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getbrandingcss_2.cpp b/core/src/loader/http/getbrandingcss_2.cpp deleted file mode 100644 index 9eb33c4..0000000 --- a/core/src/loader/http/getbrandingcss_2.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetBrandingCss_2Loader::GetBrandingCss_2Loader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetBrandingCss_2Loader::path(const GetBrandingCss_2Params ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Branding/Css.css"); -} - -QUrlQuery GetBrandingCss_2Loader::query(const GetBrandingCss_2Params ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getchannel.cpp b/core/src/loader/http/getchannel.cpp deleted file mode 100644 index 6651652..0000000 --- a/core/src/loader/http/getchannel.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetChannelLoader::GetChannelLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetChannelLoader::path(const GetChannelParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Channels/") + Support::toString< QString>(params.channelId()) ; -} - -QUrlQuery GetChannelLoader::query(const GetChannelParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getchannelfeatures.cpp b/core/src/loader/http/getchannelfeatures.cpp deleted file mode 100644 index 7075afc..0000000 --- a/core/src/loader/http/getchannelfeatures.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetChannelFeaturesLoader::GetChannelFeaturesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetChannelFeaturesLoader::path(const GetChannelFeaturesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Channels/") + Support::toString< QString>(params.channelId()) + QStringLiteral("/Features"); -} - -QUrlQuery GetChannelFeaturesLoader::query(const GetChannelFeaturesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getchannelitems.cpp b/core/src/loader/http/getchannelitems.cpp deleted file mode 100644 index 259b4fe..0000000 --- a/core/src/loader/http/getchannelitems.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetChannelItemsLoader::GetChannelItemsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetChannelItemsLoader::path(const GetChannelItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Channels/") + Support::toString< QString>(params.channelId()) + QStringLiteral("/Items"); -} - -QUrlQuery GetChannelItemsLoader::query(const GetChannelItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.folderIdNull()) { - result.addQueryItem("folderId", Support::toString(params.folderId())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.sortOrderNull()) { - result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); - } - if (!params.filtersNull()) { - result.addQueryItem("filters", Support::toString>(params.filters())); - } - if (!params.sortByNull()) { - result.addQueryItem("sortBy", Support::toString(params.sortBy())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getchannelmappingoptions.cpp b/core/src/loader/http/getchannelmappingoptions.cpp deleted file mode 100644 index d1627ee..0000000 --- a/core/src/loader/http/getchannelmappingoptions.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetChannelMappingOptionsLoader::GetChannelMappingOptionsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetChannelMappingOptionsLoader::path(const GetChannelMappingOptionsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/ChannelMappingOptions"); -} - -QUrlQuery GetChannelMappingOptionsLoader::query(const GetChannelMappingOptionsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.providerIdNull()) { - result.addQueryItem("providerId", Support::toString(params.providerId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getchannels.cpp b/core/src/loader/http/getchannels.cpp deleted file mode 100644 index 5d4f15b..0000000 --- a/core/src/loader/http/getchannels.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetChannelsLoader::GetChannelsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetChannelsLoader::path(const GetChannelsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Channels"); -} - -QUrlQuery GetChannelsLoader::query(const GetChannelsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.supportsLatestItemsNull()) { - result.addQueryItem("supportsLatestItems", Support::toString>(params.supportsLatestItems())); - } - if (!params.supportsMediaDeletionNull()) { - result.addQueryItem("supportsMediaDeletion", Support::toString>(params.supportsMediaDeletion())); - } - if (!params.isFavoriteNull()) { - result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getconfiguration.cpp b/core/src/loader/http/getconfiguration.cpp deleted file mode 100644 index eed948a..0000000 --- a/core/src/loader/http/getconfiguration.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetConfigurationLoader::GetConfigurationLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetConfigurationLoader::path(const GetConfigurationParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/System/Configuration"); -} - -QUrlQuery GetConfigurationLoader::query(const GetConfigurationParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getconnectionmanager.cpp b/core/src/loader/http/getconnectionmanager.cpp deleted file mode 100644 index 2715493..0000000 --- a/core/src/loader/http/getconnectionmanager.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getconnectionmanager_2.cpp b/core/src/loader/http/getconnectionmanager_2.cpp deleted file mode 100644 index 38b5252..0000000 --- a/core/src/loader/http/getconnectionmanager_2.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getconnectionmanager_3.cpp b/core/src/loader/http/getconnectionmanager_3.cpp deleted file mode 100644 index 5e35684..0000000 --- a/core/src/loader/http/getconnectionmanager_3.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getcontentdirectory.cpp b/core/src/loader/http/getcontentdirectory.cpp deleted file mode 100644 index 2bf59bc..0000000 --- a/core/src/loader/http/getcontentdirectory.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getcontentdirectory_2.cpp b/core/src/loader/http/getcontentdirectory_2.cpp deleted file mode 100644 index 5c7d866..0000000 --- a/core/src/loader/http/getcontentdirectory_2.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getcontentdirectory_3.cpp b/core/src/loader/http/getcontentdirectory_3.cpp deleted file mode 100644 index 9f61229..0000000 --- a/core/src/loader/http/getcontentdirectory_3.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getcountries.cpp b/core/src/loader/http/getcountries.cpp deleted file mode 100644 index 598ba9b..0000000 --- a/core/src/loader/http/getcountries.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetCountriesLoader::GetCountriesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetCountriesParams>(apiClient) {} - -QString GetCountriesLoader::path(const GetCountriesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Localization/Countries"); -} - -QUrlQuery GetCountriesLoader::query(const GetCountriesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getcriticreviews.cpp b/core/src/loader/http/getcriticreviews.cpp deleted file mode 100644 index 4c0a2d1..0000000 --- a/core/src/loader/http/getcriticreviews.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetCriticReviewsLoader::GetCriticReviewsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetCriticReviewsLoader::path(const GetCriticReviewsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/CriticReviews"); -} - -QUrlQuery GetCriticReviewsLoader::query(const GetCriticReviewsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getcultures.cpp b/core/src/loader/http/getcultures.cpp deleted file mode 100644 index 26e5eb8..0000000 --- a/core/src/loader/http/getcultures.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetCulturesLoader::GetCulturesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetCulturesParams>(apiClient) {} - -QString GetCulturesLoader::path(const GetCulturesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Localization/Cultures"); -} - -QUrlQuery GetCulturesLoader::query(const GetCulturesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getcurrentuser.cpp b/core/src/loader/http/getcurrentuser.cpp deleted file mode 100644 index 6048cf9..0000000 --- a/core/src/loader/http/getcurrentuser.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetCurrentUserLoader::GetCurrentUserLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetCurrentUserLoader::path(const GetCurrentUserParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/Me"); -} - -QUrlQuery GetCurrentUserLoader::query(const GetCurrentUserParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdashboardconfigurationpage.cpp b/core/src/loader/http/getdashboardconfigurationpage.cpp deleted file mode 100644 index 6290e73..0000000 --- a/core/src/loader/http/getdashboardconfigurationpage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdefaultdirectorybrowser.cpp b/core/src/loader/http/getdefaultdirectorybrowser.cpp deleted file mode 100644 index 918c796..0000000 --- a/core/src/loader/http/getdefaultdirectorybrowser.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetDefaultDirectoryBrowserLoader::GetDefaultDirectoryBrowserLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetDefaultDirectoryBrowserLoader::path(const GetDefaultDirectoryBrowserParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Environment/DefaultDirectoryBrowser"); -} - -QUrlQuery GetDefaultDirectoryBrowserLoader::query(const GetDefaultDirectoryBrowserParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdefaultlistingprovider.cpp b/core/src/loader/http/getdefaultlistingprovider.cpp deleted file mode 100644 index 24d5b91..0000000 --- a/core/src/loader/http/getdefaultlistingprovider.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetDefaultListingProviderLoader::GetDefaultListingProviderLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetDefaultListingProviderLoader::path(const GetDefaultListingProviderParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/ListingProviders/Default"); -} - -QUrlQuery GetDefaultListingProviderLoader::query(const GetDefaultListingProviderParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdefaulttimer.cpp b/core/src/loader/http/getdefaulttimer.cpp deleted file mode 100644 index e5ab8c2..0000000 --- a/core/src/loader/http/getdefaulttimer.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetDefaultTimerLoader::GetDefaultTimerLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetDefaultTimerLoader::path(const GetDefaultTimerParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Timers/Defaults"); -} - -QUrlQuery GetDefaultTimerLoader::query(const GetDefaultTimerParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.programIdNull()) { - result.addQueryItem("programId", Support::toString(params.programId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdescriptionxml.cpp b/core/src/loader/http/getdescriptionxml.cpp deleted file mode 100644 index 7404c27..0000000 --- a/core/src/loader/http/getdescriptionxml.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdescriptionxml_2.cpp b/core/src/loader/http/getdescriptionxml_2.cpp deleted file mode 100644 index 99032f8..0000000 --- a/core/src/loader/http/getdescriptionxml_2.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdeviceinfo.cpp b/core/src/loader/http/getdeviceinfo.cpp deleted file mode 100644 index 8972fce..0000000 --- a/core/src/loader/http/getdeviceinfo.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetDeviceInfoLoader::GetDeviceInfoLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetDeviceInfoLoader::path(const GetDeviceInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Devices/Info"); -} - -QUrlQuery GetDeviceInfoLoader::query(const GetDeviceInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - result.addQueryItem("id", Support::toString(params.jellyfinId())); - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdeviceoptions.cpp b/core/src/loader/http/getdeviceoptions.cpp deleted file mode 100644 index 71d5dec..0000000 --- a/core/src/loader/http/getdeviceoptions.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetDeviceOptionsLoader::GetDeviceOptionsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetDeviceOptionsLoader::path(const GetDeviceOptionsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Devices/Options"); -} - -QUrlQuery GetDeviceOptionsLoader::query(const GetDeviceOptionsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - result.addQueryItem("id", Support::toString(params.jellyfinId())); - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdirectorycontents.cpp b/core/src/loader/http/getdirectorycontents.cpp deleted file mode 100644 index 23be1d7..0000000 --- a/core/src/loader/http/getdirectorycontents.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetDirectoryContentsLoader::GetDirectoryContentsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetDirectoryContentsParams>(apiClient) {} - -QString GetDirectoryContentsLoader::path(const GetDirectoryContentsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Environment/DirectoryContents"); -} - -QUrlQuery GetDirectoryContentsLoader::query(const GetDirectoryContentsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - result.addQueryItem("path", Support::toString(params.path())); - - // Optional parameters - if (!params.includeFilesNull()) { - result.addQueryItem("includeFiles", Support::toString>(params.includeFiles())); - } - if (!params.includeDirectoriesNull()) { - result.addQueryItem("includeDirectories", Support::toString>(params.includeDirectories())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdownload.cpp b/core/src/loader/http/getdownload.cpp deleted file mode 100644 index f6a781c..0000000 --- a/core/src/loader/http/getdownload.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getdrives.cpp b/core/src/loader/http/getdrives.cpp deleted file mode 100644 index be2936a..0000000 --- a/core/src/loader/http/getdrives.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetDrivesLoader::GetDrivesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetDrivesParams>(apiClient) {} - -QString GetDrivesLoader::path(const GetDrivesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Environment/Drives"); -} - -QUrlQuery GetDrivesLoader::query(const GetDrivesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getendpointinfo.cpp b/core/src/loader/http/getendpointinfo.cpp deleted file mode 100644 index 3188395..0000000 --- a/core/src/loader/http/getendpointinfo.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetEndpointInfoLoader::GetEndpointInfoLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetEndpointInfoLoader::path(const GetEndpointInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/System/Endpoint"); -} - -QUrlQuery GetEndpointInfoLoader::query(const GetEndpointInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getepisodes.cpp b/core/src/loader/http/getepisodes.cpp deleted file mode 100644 index 30c4088..0000000 --- a/core/src/loader/http/getepisodes.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetEpisodesLoader::GetEpisodesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetEpisodesLoader::path(const GetEpisodesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Shows/") + Support::toString< QString>(params.seriesId()) + QStringLiteral("/Episodes"); -} - -QUrlQuery GetEpisodesLoader::query(const GetEpisodesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.seasonNull()) { - result.addQueryItem("season", Support::toString>(params.season())); - } - if (!params.seasonIdNull()) { - result.addQueryItem("seasonId", Support::toString(params.seasonId())); - } - if (!params.isMissingNull()) { - result.addQueryItem("isMissing", Support::toString>(params.isMissing())); - } - if (!params.adjacentToNull()) { - result.addQueryItem("adjacentTo", Support::toString(params.adjacentTo())); - } - if (!params.startItemIdNull()) { - result.addQueryItem("startItemId", Support::toString(params.startItemId())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.sortByNull()) { - result.addQueryItem("sortBy", Support::toString(params.sortBy())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getexternalidinfos.cpp b/core/src/loader/http/getexternalidinfos.cpp deleted file mode 100644 index 7835ead..0000000 --- a/core/src/loader/http/getexternalidinfos.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetExternalIdInfosLoader::GetExternalIdInfosLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetExternalIdInfosParams>(apiClient) {} - -QString GetExternalIdInfosLoader::path(const GetExternalIdInfosParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/ExternalIdInfos"); -} - -QUrlQuery GetExternalIdInfosLoader::query(const GetExternalIdInfosParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getfallbackfont.cpp b/core/src/loader/http/getfallbackfont.cpp deleted file mode 100644 index 3ff5fed..0000000 --- a/core/src/loader/http/getfallbackfont.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getfallbackfontlist.cpp b/core/src/loader/http/getfallbackfontlist.cpp deleted file mode 100644 index 4d82d18..0000000 --- a/core/src/loader/http/getfallbackfontlist.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetFallbackFontListLoader::GetFallbackFontListLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetFallbackFontListParams>(apiClient) {} - -QString GetFallbackFontListLoader::path(const GetFallbackFontListParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/FallbackFont/Fonts"); -} - -QUrlQuery GetFallbackFontListLoader::query(const GetFallbackFontListParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getfile.cpp b/core/src/loader/http/getfile.cpp deleted file mode 100644 index 78f75fd..0000000 --- a/core/src/loader/http/getfile.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getfirstuser.cpp b/core/src/loader/http/getfirstuser.cpp deleted file mode 100644 index 37b40f1..0000000 --- a/core/src/loader/http/getfirstuser.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetFirstUserLoader::GetFirstUserLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetFirstUserLoader::path(const GetFirstUserParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Startup/User"); -} - -QUrlQuery GetFirstUserLoader::query(const GetFirstUserParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getfirstuser_2.cpp b/core/src/loader/http/getfirstuser_2.cpp deleted file mode 100644 index ac6ec55..0000000 --- a/core/src/loader/http/getfirstuser_2.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetFirstUser_2Loader::GetFirstUser_2Loader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetFirstUser_2Loader::path(const GetFirstUser_2Params ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Startup/FirstUser"); -} - -QUrlQuery GetFirstUser_2Loader::query(const GetFirstUser_2Params ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getgeneralimage.cpp b/core/src/loader/http/getgeneralimage.cpp deleted file mode 100644 index 90e41ab..0000000 --- a/core/src/loader/http/getgeneralimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getgeneralimages.cpp b/core/src/loader/http/getgeneralimages.cpp deleted file mode 100644 index 01c7ce8..0000000 --- a/core/src/loader/http/getgeneralimages.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetGeneralImagesLoader::GetGeneralImagesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetGeneralImagesParams>(apiClient) {} - -QString GetGeneralImagesLoader::path(const GetGeneralImagesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Images/General"); -} - -QUrlQuery GetGeneralImagesLoader::query(const GetGeneralImagesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getgenre.cpp b/core/src/loader/http/getgenre.cpp deleted file mode 100644 index 2d68338..0000000 --- a/core/src/loader/http/getgenre.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetGenreLoader::GetGenreLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetGenreLoader::path(const GetGenreParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Genres/") + Support::toString< QString>(params.genreName()) ; -} - -QUrlQuery GetGenreLoader::query(const GetGenreParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getgenreimage.cpp b/core/src/loader/http/getgenreimage.cpp deleted file mode 100644 index 8fd00b7..0000000 --- a/core/src/loader/http/getgenreimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getgenreimagebyindex.cpp b/core/src/loader/http/getgenreimagebyindex.cpp deleted file mode 100644 index 2152da7..0000000 --- a/core/src/loader/http/getgenreimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getgroupingoptions.cpp b/core/src/loader/http/getgroupingoptions.cpp deleted file mode 100644 index 8a66557..0000000 --- a/core/src/loader/http/getgroupingoptions.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetGroupingOptionsLoader::GetGroupingOptionsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetGroupingOptionsParams>(apiClient) {} - -QString GetGroupingOptionsLoader::path(const GetGroupingOptionsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/GroupingOptions"); -} - -QUrlQuery GetGroupingOptionsLoader::query(const GetGroupingOptionsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getguideinfo.cpp b/core/src/loader/http/getguideinfo.cpp deleted file mode 100644 index 4e7d3ea..0000000 --- a/core/src/loader/http/getguideinfo.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetGuideInfoLoader::GetGuideInfoLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetGuideInfoLoader::path(const GetGuideInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/GuideInfo"); -} - -QUrlQuery GetGuideInfoLoader::query(const GetGuideInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gethlsaudiosegment.cpp b/core/src/loader/http/gethlsaudiosegment.cpp deleted file mode 100644 index 9a053f0..0000000 --- a/core/src/loader/http/gethlsaudiosegment.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gethlsaudiosegmentlegacyaac.cpp b/core/src/loader/http/gethlsaudiosegmentlegacyaac.cpp deleted file mode 100644 index 95f41d2..0000000 --- a/core/src/loader/http/gethlsaudiosegmentlegacyaac.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gethlsaudiosegmentlegacymp3.cpp b/core/src/loader/http/gethlsaudiosegmentlegacymp3.cpp deleted file mode 100644 index 36b7b5a..0000000 --- a/core/src/loader/http/gethlsaudiosegmentlegacymp3.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gethlsplaylistlegacy.cpp b/core/src/loader/http/gethlsplaylistlegacy.cpp deleted file mode 100644 index 8df9348..0000000 --- a/core/src/loader/http/gethlsplaylistlegacy.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gethlsvideosegment.cpp b/core/src/loader/http/gethlsvideosegment.cpp deleted file mode 100644 index 5f94fec..0000000 --- a/core/src/loader/http/gethlsvideosegment.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gethlsvideosegmentlegacy.cpp b/core/src/loader/http/gethlsvideosegmentlegacy.cpp deleted file mode 100644 index ab787bd..0000000 --- a/core/src/loader/http/gethlsvideosegmentlegacy.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/geticon.cpp b/core/src/loader/http/geticon.cpp deleted file mode 100644 index f542157..0000000 --- a/core/src/loader/http/geticon.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/geticonid.cpp b/core/src/loader/http/geticonid.cpp deleted file mode 100644 index eadb7af..0000000 --- a/core/src/loader/http/geticonid.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getinstantmixfromalbum.cpp b/core/src/loader/http/getinstantmixfromalbum.cpp deleted file mode 100644 index 4fc2708..0000000 --- a/core/src/loader/http/getinstantmixfromalbum.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetInstantMixFromAlbumLoader::GetInstantMixFromAlbumLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetInstantMixFromAlbumLoader::path(const GetInstantMixFromAlbumParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Albums/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); -} - -QUrlQuery GetInstantMixFromAlbumLoader::query(const GetInstantMixFromAlbumParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getinstantmixfromartists.cpp b/core/src/loader/http/getinstantmixfromartists.cpp deleted file mode 100644 index a03947c..0000000 --- a/core/src/loader/http/getinstantmixfromartists.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetInstantMixFromArtistsLoader::GetInstantMixFromArtistsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetInstantMixFromArtistsLoader::path(const GetInstantMixFromArtistsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Artists/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); -} - -QUrlQuery GetInstantMixFromArtistsLoader::query(const GetInstantMixFromArtistsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getinstantmixfromitem.cpp b/core/src/loader/http/getinstantmixfromitem.cpp deleted file mode 100644 index 46bfe06..0000000 --- a/core/src/loader/http/getinstantmixfromitem.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetInstantMixFromItemLoader::GetInstantMixFromItemLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetInstantMixFromItemLoader::path(const GetInstantMixFromItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); -} - -QUrlQuery GetInstantMixFromItemLoader::query(const GetInstantMixFromItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getinstantmixfrommusicgenre.cpp b/core/src/loader/http/getinstantmixfrommusicgenre.cpp deleted file mode 100644 index 307aa55..0000000 --- a/core/src/loader/http/getinstantmixfrommusicgenre.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetInstantMixFromMusicGenreLoader::GetInstantMixFromMusicGenreLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetInstantMixFromMusicGenreLoader::path(const GetInstantMixFromMusicGenreParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/MusicGenres/") + Support::toString< QString>(params.name()) + QStringLiteral("/InstantMix"); -} - -QUrlQuery GetInstantMixFromMusicGenreLoader::query(const GetInstantMixFromMusicGenreParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getinstantmixfrommusicgenres.cpp b/core/src/loader/http/getinstantmixfrommusicgenres.cpp deleted file mode 100644 index 663dc06..0000000 --- a/core/src/loader/http/getinstantmixfrommusicgenres.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetInstantMixFromMusicGenresLoader::GetInstantMixFromMusicGenresLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetInstantMixFromMusicGenresLoader::path(const GetInstantMixFromMusicGenresParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/MusicGenres/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); -} - -QUrlQuery GetInstantMixFromMusicGenresLoader::query(const GetInstantMixFromMusicGenresParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getinstantmixfromplaylist.cpp b/core/src/loader/http/getinstantmixfromplaylist.cpp deleted file mode 100644 index 2d72f21..0000000 --- a/core/src/loader/http/getinstantmixfromplaylist.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetInstantMixFromPlaylistLoader::GetInstantMixFromPlaylistLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetInstantMixFromPlaylistLoader::path(const GetInstantMixFromPlaylistParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Playlists/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); -} - -QUrlQuery GetInstantMixFromPlaylistLoader::query(const GetInstantMixFromPlaylistParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getinstantmixfromsong.cpp b/core/src/loader/http/getinstantmixfromsong.cpp deleted file mode 100644 index eaf888a..0000000 --- a/core/src/loader/http/getinstantmixfromsong.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetInstantMixFromSongLoader::GetInstantMixFromSongLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetInstantMixFromSongLoader::path(const GetInstantMixFromSongParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Songs/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); -} - -QUrlQuery GetInstantMixFromSongLoader::query(const GetInstantMixFromSongParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getintros.cpp b/core/src/loader/http/getintros.cpp deleted file mode 100644 index 5412d5a..0000000 --- a/core/src/loader/http/getintros.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetIntrosLoader::GetIntrosLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetIntrosLoader::path(const GetIntrosParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Intros"); -} - -QUrlQuery GetIntrosLoader::query(const GetIntrosParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getitem.cpp b/core/src/loader/http/getitem.cpp deleted file mode 100644 index 8f59c28..0000000 --- a/core/src/loader/http/getitem.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetItemLoader::GetItemLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetItemLoader::path(const GetItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) ; -} - -QUrlQuery GetItemLoader::query(const GetItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getitemcounts.cpp b/core/src/loader/http/getitemcounts.cpp deleted file mode 100644 index 1d953e3..0000000 --- a/core/src/loader/http/getitemcounts.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetItemCountsLoader::GetItemCountsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetItemCountsLoader::path(const GetItemCountsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/Counts"); -} - -QUrlQuery GetItemCountsLoader::query(const GetItemCountsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.isFavoriteNull()) { - result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getitemimage.cpp b/core/src/loader/http/getitemimage.cpp deleted file mode 100644 index 75c87ff..0000000 --- a/core/src/loader/http/getitemimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getitemimage2.cpp b/core/src/loader/http/getitemimage2.cpp deleted file mode 100644 index 8b3899c..0000000 --- a/core/src/loader/http/getitemimage2.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getitemimagebyindex.cpp b/core/src/loader/http/getitemimagebyindex.cpp deleted file mode 100644 index 2bb13cf..0000000 --- a/core/src/loader/http/getitemimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getitems.cpp b/core/src/loader/http/getitems.cpp deleted file mode 100644 index e4f76d8..0000000 --- a/core/src/loader/http/getitems.cpp +++ /dev/null @@ -1,300 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetItemsLoader::GetItemsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetItemsLoader::path(const GetItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items"); -} - -QUrlQuery GetItemsLoader::query(const GetItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.maxOfficialRatingNull()) { - result.addQueryItem("maxOfficialRating", Support::toString(params.maxOfficialRating())); - } - if (!params.hasThemeSongNull()) { - result.addQueryItem("hasThemeSong", Support::toString>(params.hasThemeSong())); - } - if (!params.hasThemeVideoNull()) { - result.addQueryItem("hasThemeVideo", Support::toString>(params.hasThemeVideo())); - } - if (!params.hasSubtitlesNull()) { - result.addQueryItem("hasSubtitles", Support::toString>(params.hasSubtitles())); - } - if (!params.hasSpecialFeatureNull()) { - result.addQueryItem("hasSpecialFeature", Support::toString>(params.hasSpecialFeature())); - } - if (!params.hasTrailerNull()) { - result.addQueryItem("hasTrailer", Support::toString>(params.hasTrailer())); - } - if (!params.adjacentToNull()) { - result.addQueryItem("adjacentTo", Support::toString(params.adjacentTo())); - } - if (!params.parentIndexNumberNull()) { - result.addQueryItem("parentIndexNumber", Support::toString>(params.parentIndexNumber())); - } - if (!params.hasParentalRatingNull()) { - result.addQueryItem("hasParentalRating", Support::toString>(params.hasParentalRating())); - } - if (!params.isHdNull()) { - result.addQueryItem("isHd", Support::toString>(params.isHd())); - } - if (!params.is4KNull()) { - result.addQueryItem("is4K", Support::toString>(params.is4K())); - } - if (!params.locationTypesNull()) { - result.addQueryItem("locationTypes", Support::toString>(params.locationTypes())); - } - if (!params.excludeLocationTypesNull()) { - result.addQueryItem("excludeLocationTypes", Support::toString>(params.excludeLocationTypes())); - } - if (!params.isMissingNull()) { - result.addQueryItem("isMissing", Support::toString>(params.isMissing())); - } - if (!params.isUnairedNull()) { - result.addQueryItem("isUnaired", Support::toString>(params.isUnaired())); - } - if (!params.minCommunityRatingNull()) { - result.addQueryItem("minCommunityRating", Support::toString>(params.minCommunityRating())); - } - if (!params.minCriticRatingNull()) { - result.addQueryItem("minCriticRating", Support::toString>(params.minCriticRating())); - } - if (!params.minPremiereDateNull()) { - result.addQueryItem("minPremiereDate", Support::toString(params.minPremiereDate())); - } - if (!params.minDateLastSavedNull()) { - result.addQueryItem("minDateLastSaved", Support::toString(params.minDateLastSaved())); - } - if (!params.minDateLastSavedForUserNull()) { - result.addQueryItem("minDateLastSavedForUser", Support::toString(params.minDateLastSavedForUser())); - } - if (!params.maxPremiereDateNull()) { - result.addQueryItem("maxPremiereDate", Support::toString(params.maxPremiereDate())); - } - if (!params.hasOverviewNull()) { - result.addQueryItem("hasOverview", Support::toString>(params.hasOverview())); - } - if (!params.hasImdbIdNull()) { - result.addQueryItem("hasImdbId", Support::toString>(params.hasImdbId())); - } - if (!params.hasTmdbIdNull()) { - result.addQueryItem("hasTmdbId", Support::toString>(params.hasTmdbId())); - } - if (!params.hasTvdbIdNull()) { - result.addQueryItem("hasTvdbId", Support::toString>(params.hasTvdbId())); - } - if (!params.excludeItemIdsNull()) { - result.addQueryItem("excludeItemIds", Support::toString(params.excludeItemIds())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.recursiveNull()) { - result.addQueryItem("recursive", Support::toString>(params.recursive())); - } - if (!params.searchTermNull()) { - result.addQueryItem("searchTerm", Support::toString(params.searchTerm())); - } - if (!params.sortOrderNull()) { - result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); - } - if (!params.parentIdNull()) { - result.addQueryItem("parentId", Support::toString(params.parentId())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.excludeItemTypesNull()) { - result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); - } - if (!params.includeItemTypesNull()) { - result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); - } - if (!params.filtersNull()) { - result.addQueryItem("filters", Support::toString>(params.filters())); - } - if (!params.isFavoriteNull()) { - result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); - } - if (!params.mediaTypesNull()) { - result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); - } - if (!params.imageTypesNull()) { - result.addQueryItem("imageTypes", Support::toString>(params.imageTypes())); - } - if (!params.sortByNull()) { - result.addQueryItem("sortBy", Support::toString(params.sortBy())); - } - if (!params.isPlayedNull()) { - result.addQueryItem("isPlayed", Support::toString>(params.isPlayed())); - } - if (!params.genresNull()) { - result.addQueryItem("genres", Support::toString(params.genres())); - } - if (!params.officialRatingsNull()) { - result.addQueryItem("officialRatings", Support::toString(params.officialRatings())); - } - if (!params.tagsNull()) { - result.addQueryItem("tags", Support::toString(params.tags())); - } - if (!params.yearsNull()) { - result.addQueryItem("years", Support::toString>(params.years())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.personNull()) { - result.addQueryItem("person", Support::toString(params.person())); - } - if (!params.personIdsNull()) { - result.addQueryItem("personIds", Support::toString(params.personIds())); - } - if (!params.personTypesNull()) { - result.addQueryItem("personTypes", Support::toString(params.personTypes())); - } - if (!params.studiosNull()) { - result.addQueryItem("studios", Support::toString(params.studios())); - } - if (!params.artistsNull()) { - result.addQueryItem("artists", Support::toString(params.artists())); - } - if (!params.excludeArtistIdsNull()) { - result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); - } - if (!params.artistIdsNull()) { - result.addQueryItem("artistIds", Support::toString(params.artistIds())); - } - if (!params.albumArtistIdsNull()) { - result.addQueryItem("albumArtistIds", Support::toString(params.albumArtistIds())); - } - if (!params.contributingArtistIdsNull()) { - result.addQueryItem("contributingArtistIds", Support::toString(params.contributingArtistIds())); - } - if (!params.albumsNull()) { - result.addQueryItem("albums", Support::toString(params.albums())); - } - if (!params.albumIdsNull()) { - result.addQueryItem("albumIds", Support::toString(params.albumIds())); - } - if (!params.idsNull()) { - result.addQueryItem("ids", Support::toString(params.ids())); - } - if (!params.videoTypesNull()) { - result.addQueryItem("videoTypes", Support::toString>(params.videoTypes())); - } - if (!params.minOfficialRatingNull()) { - result.addQueryItem("minOfficialRating", Support::toString(params.minOfficialRating())); - } - if (!params.isLockedNull()) { - result.addQueryItem("isLocked", Support::toString>(params.isLocked())); - } - if (!params.isPlaceHolderNull()) { - result.addQueryItem("isPlaceHolder", Support::toString>(params.isPlaceHolder())); - } - if (!params.hasOfficialRatingNull()) { - result.addQueryItem("hasOfficialRating", Support::toString>(params.hasOfficialRating())); - } - if (!params.collapseBoxSetItemsNull()) { - result.addQueryItem("collapseBoxSetItems", Support::toString>(params.collapseBoxSetItems())); - } - if (!params.minWidthNull()) { - result.addQueryItem("minWidth", Support::toString>(params.minWidth())); - } - if (!params.minHeightNull()) { - result.addQueryItem("minHeight", Support::toString>(params.minHeight())); - } - if (!params.maxWidthNull()) { - result.addQueryItem("maxWidth", Support::toString>(params.maxWidth())); - } - if (!params.maxHeightNull()) { - result.addQueryItem("maxHeight", Support::toString>(params.maxHeight())); - } - if (!params.is3DNull()) { - result.addQueryItem("is3D", Support::toString>(params.is3D())); - } - if (!params.seriesStatusNull()) { - result.addQueryItem("seriesStatus", Support::toString>(params.seriesStatus())); - } - if (!params.nameStartsWithOrGreaterNull()) { - result.addQueryItem("nameStartsWithOrGreater", Support::toString(params.nameStartsWithOrGreater())); - } - if (!params.nameStartsWithNull()) { - result.addQueryItem("nameStartsWith", Support::toString(params.nameStartsWith())); - } - if (!params.nameLessThanNull()) { - result.addQueryItem("nameLessThan", Support::toString(params.nameLessThan())); - } - if (!params.studioIdsNull()) { - result.addQueryItem("studioIds", Support::toString(params.studioIds())); - } - if (!params.genreIdsNull()) { - result.addQueryItem("genreIds", Support::toString(params.genreIds())); - } - if (!params.enableTotalRecordCountNull()) { - result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getitemsbyuserid.cpp b/core/src/loader/http/getitemsbyuserid.cpp deleted file mode 100644 index a8f09a3..0000000 --- a/core/src/loader/http/getitemsbyuserid.cpp +++ /dev/null @@ -1,297 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetItemsByUserIdLoader::GetItemsByUserIdLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetItemsByUserIdLoader::path(const GetItemsByUserIdParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items"); -} - -QUrlQuery GetItemsByUserIdLoader::query(const GetItemsByUserIdParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.maxOfficialRatingNull()) { - result.addQueryItem("maxOfficialRating", Support::toString(params.maxOfficialRating())); - } - if (!params.hasThemeSongNull()) { - result.addQueryItem("hasThemeSong", Support::toString>(params.hasThemeSong())); - } - if (!params.hasThemeVideoNull()) { - result.addQueryItem("hasThemeVideo", Support::toString>(params.hasThemeVideo())); - } - if (!params.hasSubtitlesNull()) { - result.addQueryItem("hasSubtitles", Support::toString>(params.hasSubtitles())); - } - if (!params.hasSpecialFeatureNull()) { - result.addQueryItem("hasSpecialFeature", Support::toString>(params.hasSpecialFeature())); - } - if (!params.hasTrailerNull()) { - result.addQueryItem("hasTrailer", Support::toString>(params.hasTrailer())); - } - if (!params.adjacentToNull()) { - result.addQueryItem("adjacentTo", Support::toString(params.adjacentTo())); - } - if (!params.parentIndexNumberNull()) { - result.addQueryItem("parentIndexNumber", Support::toString>(params.parentIndexNumber())); - } - if (!params.hasParentalRatingNull()) { - result.addQueryItem("hasParentalRating", Support::toString>(params.hasParentalRating())); - } - if (!params.isHdNull()) { - result.addQueryItem("isHd", Support::toString>(params.isHd())); - } - if (!params.is4KNull()) { - result.addQueryItem("is4K", Support::toString>(params.is4K())); - } - if (!params.locationTypesNull()) { - result.addQueryItem("locationTypes", Support::toString>(params.locationTypes())); - } - if (!params.excludeLocationTypesNull()) { - result.addQueryItem("excludeLocationTypes", Support::toString>(params.excludeLocationTypes())); - } - if (!params.isMissingNull()) { - result.addQueryItem("isMissing", Support::toString>(params.isMissing())); - } - if (!params.isUnairedNull()) { - result.addQueryItem("isUnaired", Support::toString>(params.isUnaired())); - } - if (!params.minCommunityRatingNull()) { - result.addQueryItem("minCommunityRating", Support::toString>(params.minCommunityRating())); - } - if (!params.minCriticRatingNull()) { - result.addQueryItem("minCriticRating", Support::toString>(params.minCriticRating())); - } - if (!params.minPremiereDateNull()) { - result.addQueryItem("minPremiereDate", Support::toString(params.minPremiereDate())); - } - if (!params.minDateLastSavedNull()) { - result.addQueryItem("minDateLastSaved", Support::toString(params.minDateLastSaved())); - } - if (!params.minDateLastSavedForUserNull()) { - result.addQueryItem("minDateLastSavedForUser", Support::toString(params.minDateLastSavedForUser())); - } - if (!params.maxPremiereDateNull()) { - result.addQueryItem("maxPremiereDate", Support::toString(params.maxPremiereDate())); - } - if (!params.hasOverviewNull()) { - result.addQueryItem("hasOverview", Support::toString>(params.hasOverview())); - } - if (!params.hasImdbIdNull()) { - result.addQueryItem("hasImdbId", Support::toString>(params.hasImdbId())); - } - if (!params.hasTmdbIdNull()) { - result.addQueryItem("hasTmdbId", Support::toString>(params.hasTmdbId())); - } - if (!params.hasTvdbIdNull()) { - result.addQueryItem("hasTvdbId", Support::toString>(params.hasTvdbId())); - } - if (!params.excludeItemIdsNull()) { - result.addQueryItem("excludeItemIds", Support::toString(params.excludeItemIds())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.recursiveNull()) { - result.addQueryItem("recursive", Support::toString>(params.recursive())); - } - if (!params.searchTermNull()) { - result.addQueryItem("searchTerm", Support::toString(params.searchTerm())); - } - if (!params.sortOrderNull()) { - result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); - } - if (!params.parentIdNull()) { - result.addQueryItem("parentId", Support::toString(params.parentId())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.excludeItemTypesNull()) { - result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); - } - if (!params.includeItemTypesNull()) { - result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); - } - if (!params.filtersNull()) { - result.addQueryItem("filters", Support::toString>(params.filters())); - } - if (!params.isFavoriteNull()) { - result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); - } - if (!params.mediaTypesNull()) { - result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); - } - if (!params.imageTypesNull()) { - result.addQueryItem("imageTypes", Support::toString>(params.imageTypes())); - } - if (!params.sortByNull()) { - result.addQueryItem("sortBy", Support::toString(params.sortBy())); - } - if (!params.isPlayedNull()) { - result.addQueryItem("isPlayed", Support::toString>(params.isPlayed())); - } - if (!params.genresNull()) { - result.addQueryItem("genres", Support::toString(params.genres())); - } - if (!params.officialRatingsNull()) { - result.addQueryItem("officialRatings", Support::toString(params.officialRatings())); - } - if (!params.tagsNull()) { - result.addQueryItem("tags", Support::toString(params.tags())); - } - if (!params.yearsNull()) { - result.addQueryItem("years", Support::toString>(params.years())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.personNull()) { - result.addQueryItem("person", Support::toString(params.person())); - } - if (!params.personIdsNull()) { - result.addQueryItem("personIds", Support::toString(params.personIds())); - } - if (!params.personTypesNull()) { - result.addQueryItem("personTypes", Support::toString(params.personTypes())); - } - if (!params.studiosNull()) { - result.addQueryItem("studios", Support::toString(params.studios())); - } - if (!params.artistsNull()) { - result.addQueryItem("artists", Support::toString(params.artists())); - } - if (!params.excludeArtistIdsNull()) { - result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); - } - if (!params.artistIdsNull()) { - result.addQueryItem("artistIds", Support::toString(params.artistIds())); - } - if (!params.albumArtistIdsNull()) { - result.addQueryItem("albumArtistIds", Support::toString(params.albumArtistIds())); - } - if (!params.contributingArtistIdsNull()) { - result.addQueryItem("contributingArtistIds", Support::toString(params.contributingArtistIds())); - } - if (!params.albumsNull()) { - result.addQueryItem("albums", Support::toString(params.albums())); - } - if (!params.albumIdsNull()) { - result.addQueryItem("albumIds", Support::toString(params.albumIds())); - } - if (!params.idsNull()) { - result.addQueryItem("ids", Support::toString(params.ids())); - } - if (!params.videoTypesNull()) { - result.addQueryItem("videoTypes", Support::toString>(params.videoTypes())); - } - if (!params.minOfficialRatingNull()) { - result.addQueryItem("minOfficialRating", Support::toString(params.minOfficialRating())); - } - if (!params.isLockedNull()) { - result.addQueryItem("isLocked", Support::toString>(params.isLocked())); - } - if (!params.isPlaceHolderNull()) { - result.addQueryItem("isPlaceHolder", Support::toString>(params.isPlaceHolder())); - } - if (!params.hasOfficialRatingNull()) { - result.addQueryItem("hasOfficialRating", Support::toString>(params.hasOfficialRating())); - } - if (!params.collapseBoxSetItemsNull()) { - result.addQueryItem("collapseBoxSetItems", Support::toString>(params.collapseBoxSetItems())); - } - if (!params.minWidthNull()) { - result.addQueryItem("minWidth", Support::toString>(params.minWidth())); - } - if (!params.minHeightNull()) { - result.addQueryItem("minHeight", Support::toString>(params.minHeight())); - } - if (!params.maxWidthNull()) { - result.addQueryItem("maxWidth", Support::toString>(params.maxWidth())); - } - if (!params.maxHeightNull()) { - result.addQueryItem("maxHeight", Support::toString>(params.maxHeight())); - } - if (!params.is3DNull()) { - result.addQueryItem("is3D", Support::toString>(params.is3D())); - } - if (!params.seriesStatusNull()) { - result.addQueryItem("seriesStatus", Support::toString>(params.seriesStatus())); - } - if (!params.nameStartsWithOrGreaterNull()) { - result.addQueryItem("nameStartsWithOrGreater", Support::toString(params.nameStartsWithOrGreater())); - } - if (!params.nameStartsWithNull()) { - result.addQueryItem("nameStartsWith", Support::toString(params.nameStartsWith())); - } - if (!params.nameLessThanNull()) { - result.addQueryItem("nameLessThan", Support::toString(params.nameLessThan())); - } - if (!params.studioIdsNull()) { - result.addQueryItem("studioIds", Support::toString(params.studioIds())); - } - if (!params.genreIdsNull()) { - result.addQueryItem("genreIds", Support::toString(params.genreIds())); - } - if (!params.enableTotalRecordCountNull()) { - result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlatestchannelitems.cpp b/core/src/loader/http/getlatestchannelitems.cpp deleted file mode 100644 index 6e56fd2..0000000 --- a/core/src/loader/http/getlatestchannelitems.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetLatestChannelItemsLoader::GetLatestChannelItemsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetLatestChannelItemsLoader::path(const GetLatestChannelItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Channels/Items/Latest"); -} - -QUrlQuery GetLatestChannelItemsLoader::query(const GetLatestChannelItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.filtersNull()) { - result.addQueryItem("filters", Support::toString>(params.filters())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.channelIdsNull()) { - result.addQueryItem("channelIds", Support::toString(params.channelIds())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlatestmedia.cpp b/core/src/loader/http/getlatestmedia.cpp deleted file mode 100644 index 3688df5..0000000 --- a/core/src/loader/http/getlatestmedia.cpp +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetLatestMediaLoader::GetLatestMediaLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetLatestMediaParams>(apiClient) {} - -QString GetLatestMediaLoader::path(const GetLatestMediaParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/Latest"); -} - -QUrlQuery GetLatestMediaLoader::query(const GetLatestMediaParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.parentIdNull()) { - result.addQueryItem("parentId", Support::toString(params.parentId())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.includeItemTypesNull()) { - result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); - } - if (!params.isPlayedNull()) { - result.addQueryItem("isPlayed", Support::toString>(params.isPlayed())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.groupItemsNull()) { - result.addQueryItem("groupItems", Support::toString>(params.groupItems())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlibraryoptionsinfo.cpp b/core/src/loader/http/getlibraryoptionsinfo.cpp deleted file mode 100644 index cfe81f8..0000000 --- a/core/src/loader/http/getlibraryoptionsinfo.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetLibraryOptionsInfoLoader::GetLibraryOptionsInfoLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetLibraryOptionsInfoLoader::path(const GetLibraryOptionsInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Libraries/AvailableOptions"); -} - -QUrlQuery GetLibraryOptionsInfoLoader::query(const GetLibraryOptionsInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.libraryContentTypeNull()) { - result.addQueryItem("libraryContentType", Support::toString(params.libraryContentType())); - } - if (!params.isNewLibraryNull()) { - result.addQueryItem("isNewLibrary", Support::toString>(params.isNewLibrary())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlineups.cpp b/core/src/loader/http/getlineups.cpp deleted file mode 100644 index 5712720..0000000 --- a/core/src/loader/http/getlineups.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetLineupsLoader::GetLineupsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetLineupsParams>(apiClient) {} - -QString GetLineupsLoader::path(const GetLineupsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/ListingProviders/Lineups"); -} - -QUrlQuery GetLineupsLoader::query(const GetLineupsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.jellyfinIdNull()) { - result.addQueryItem("id", Support::toString(params.jellyfinId())); - } - if (!params.typeNull()) { - result.addQueryItem("type", Support::toString(params.type())); - } - if (!params.locationNull()) { - result.addQueryItem("location", Support::toString(params.location())); - } - if (!params.countryNull()) { - result.addQueryItem("country", Support::toString(params.country())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlivehlsstream.cpp b/core/src/loader/http/getlivehlsstream.cpp deleted file mode 100644 index 95cab59..0000000 --- a/core/src/loader/http/getlivehlsstream.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getliverecordingfile.cpp b/core/src/loader/http/getliverecordingfile.cpp deleted file mode 100644 index 5301df0..0000000 --- a/core/src/loader/http/getliverecordingfile.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlivestreamfile.cpp b/core/src/loader/http/getlivestreamfile.cpp deleted file mode 100644 index 0528a89..0000000 --- a/core/src/loader/http/getlivestreamfile.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlivetvchannels.cpp b/core/src/loader/http/getlivetvchannels.cpp deleted file mode 100644 index f62a4e9..0000000 --- a/core/src/loader/http/getlivetvchannels.cpp +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetLiveTvChannelsLoader::GetLiveTvChannelsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetLiveTvChannelsLoader::path(const GetLiveTvChannelsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Channels"); -} - -QUrlQuery GetLiveTvChannelsLoader::query(const GetLiveTvChannelsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.typeNull()) { - result.addQueryItem("type", Support::toString(params.type())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.isMovieNull()) { - result.addQueryItem("isMovie", Support::toString>(params.isMovie())); - } - if (!params.isSeriesNull()) { - result.addQueryItem("isSeries", Support::toString>(params.isSeries())); - } - if (!params.isNewsNull()) { - result.addQueryItem("isNews", Support::toString>(params.isNews())); - } - if (!params.isKidsNull()) { - result.addQueryItem("isKids", Support::toString>(params.isKids())); - } - if (!params.isSportsNull()) { - result.addQueryItem("isSports", Support::toString>(params.isSports())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.isFavoriteNull()) { - result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); - } - if (!params.isLikedNull()) { - result.addQueryItem("isLiked", Support::toString>(params.isLiked())); - } - if (!params.isDislikedNull()) { - result.addQueryItem("isDisliked", Support::toString>(params.isDisliked())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.sortByNull()) { - result.addQueryItem("sortBy", Support::toString(params.sortBy())); - } - if (!params.sortOrderNull()) { - result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); - } - if (!params.enableFavoriteSortingNull()) { - result.addQueryItem("enableFavoriteSorting", Support::toString>(params.enableFavoriteSorting())); - } - if (!params.addCurrentProgramNull()) { - result.addQueryItem("addCurrentProgram", Support::toString>(params.addCurrentProgram())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlivetvinfo.cpp b/core/src/loader/http/getlivetvinfo.cpp deleted file mode 100644 index 49036f9..0000000 --- a/core/src/loader/http/getlivetvinfo.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetLiveTvInfoLoader::GetLiveTvInfoLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetLiveTvInfoLoader::path(const GetLiveTvInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Info"); -} - -QUrlQuery GetLiveTvInfoLoader::query(const GetLiveTvInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlivetvprograms.cpp b/core/src/loader/http/getlivetvprograms.cpp deleted file mode 100644 index 960123f..0000000 --- a/core/src/loader/http/getlivetvprograms.cpp +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetLiveTvProgramsLoader::GetLiveTvProgramsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetLiveTvProgramsLoader::path(const GetLiveTvProgramsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Programs"); -} - -QUrlQuery GetLiveTvProgramsLoader::query(const GetLiveTvProgramsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.channelIdsNull()) { - result.addQueryItem("channelIds", Support::toString(params.channelIds())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.minStartDateNull()) { - result.addQueryItem("minStartDate", Support::toString(params.minStartDate())); - } - if (!params.hasAiredNull()) { - result.addQueryItem("hasAired", Support::toString>(params.hasAired())); - } - if (!params.isAiringNull()) { - result.addQueryItem("isAiring", Support::toString>(params.isAiring())); - } - if (!params.maxStartDateNull()) { - result.addQueryItem("maxStartDate", Support::toString(params.maxStartDate())); - } - if (!params.minEndDateNull()) { - result.addQueryItem("minEndDate", Support::toString(params.minEndDate())); - } - if (!params.maxEndDateNull()) { - result.addQueryItem("maxEndDate", Support::toString(params.maxEndDate())); - } - if (!params.isMovieNull()) { - result.addQueryItem("isMovie", Support::toString>(params.isMovie())); - } - if (!params.isSeriesNull()) { - result.addQueryItem("isSeries", Support::toString>(params.isSeries())); - } - if (!params.isNewsNull()) { - result.addQueryItem("isNews", Support::toString>(params.isNews())); - } - if (!params.isKidsNull()) { - result.addQueryItem("isKids", Support::toString>(params.isKids())); - } - if (!params.isSportsNull()) { - result.addQueryItem("isSports", Support::toString>(params.isSports())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.sortByNull()) { - result.addQueryItem("sortBy", Support::toString(params.sortBy())); - } - if (!params.sortOrderNull()) { - result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); - } - if (!params.genresNull()) { - result.addQueryItem("genres", Support::toString(params.genres())); - } - if (!params.genreIdsNull()) { - result.addQueryItem("genreIds", Support::toString(params.genreIds())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.seriesTimerIdNull()) { - result.addQueryItem("seriesTimerId", Support::toString(params.seriesTimerId())); - } - if (!params.librarySeriesIdNull()) { - result.addQueryItem("librarySeriesId", Support::toString(params.librarySeriesId())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableTotalRecordCountNull()) { - result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlocaltrailers.cpp b/core/src/loader/http/getlocaltrailers.cpp deleted file mode 100644 index 1c3a078..0000000 --- a/core/src/loader/http/getlocaltrailers.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetLocalTrailersLoader::GetLocalTrailersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetLocalTrailersParams>(apiClient) {} - -QString GetLocalTrailersLoader::path(const GetLocalTrailersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/LocalTrailers"); -} - -QUrlQuery GetLocalTrailersLoader::query(const GetLocalTrailersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getlogfile.cpp b/core/src/loader/http/getlogfile.cpp deleted file mode 100644 index d157fc5..0000000 --- a/core/src/loader/http/getlogfile.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmasterhlsaudioplaylist.cpp b/core/src/loader/http/getmasterhlsaudioplaylist.cpp deleted file mode 100644 index 830f6d1..0000000 --- a/core/src/loader/http/getmasterhlsaudioplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmasterhlsvideoplaylist.cpp b/core/src/loader/http/getmasterhlsvideoplaylist.cpp deleted file mode 100644 index 69b3778..0000000 --- a/core/src/loader/http/getmasterhlsvideoplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmediafolders.cpp b/core/src/loader/http/getmediafolders.cpp deleted file mode 100644 index 7613f32..0000000 --- a/core/src/loader/http/getmediafolders.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetMediaFoldersLoader::GetMediaFoldersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetMediaFoldersLoader::path(const GetMediaFoldersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Library/MediaFolders"); -} - -QUrlQuery GetMediaFoldersLoader::query(const GetMediaFoldersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.isHiddenNull()) { - result.addQueryItem("isHidden", Support::toString>(params.isHidden())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmediainfoimage.cpp b/core/src/loader/http/getmediainfoimage.cpp deleted file mode 100644 index cc7485c..0000000 --- a/core/src/loader/http/getmediainfoimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmediareceiverregistrar.cpp b/core/src/loader/http/getmediareceiverregistrar.cpp deleted file mode 100644 index e36ab23..0000000 --- a/core/src/loader/http/getmediareceiverregistrar.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmediareceiverregistrar_2.cpp b/core/src/loader/http/getmediareceiverregistrar_2.cpp deleted file mode 100644 index e6676a6..0000000 --- a/core/src/loader/http/getmediareceiverregistrar_2.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmediareceiverregistrar_3.cpp b/core/src/loader/http/getmediareceiverregistrar_3.cpp deleted file mode 100644 index 7970321..0000000 --- a/core/src/loader/http/getmediareceiverregistrar_3.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmovieremotesearchresults.cpp b/core/src/loader/http/getmovieremotesearchresults.cpp deleted file mode 100644 index 8755eab..0000000 --- a/core/src/loader/http/getmovieremotesearchresults.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetMovieRemoteSearchResultsLoader::GetMovieRemoteSearchResultsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetMovieRemoteSearchResultsParams>(apiClient) {} - -QString GetMovieRemoteSearchResultsLoader::path(const GetMovieRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/RemoteSearch/Movie"); -} - -QUrlQuery GetMovieRemoteSearchResultsLoader::query(const GetMovieRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmusicalbumremotesearchresults.cpp b/core/src/loader/http/getmusicalbumremotesearchresults.cpp deleted file mode 100644 index 14b0fde..0000000 --- a/core/src/loader/http/getmusicalbumremotesearchresults.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetMusicAlbumRemoteSearchResultsLoader::GetMusicAlbumRemoteSearchResultsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetMusicAlbumRemoteSearchResultsParams>(apiClient) {} - -QString GetMusicAlbumRemoteSearchResultsLoader::path(const GetMusicAlbumRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/RemoteSearch/MusicAlbum"); -} - -QUrlQuery GetMusicAlbumRemoteSearchResultsLoader::query(const GetMusicAlbumRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmusicartistremotesearchresults.cpp b/core/src/loader/http/getmusicartistremotesearchresults.cpp deleted file mode 100644 index 63482b2..0000000 --- a/core/src/loader/http/getmusicartistremotesearchresults.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetMusicArtistRemoteSearchResultsLoader::GetMusicArtistRemoteSearchResultsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetMusicArtistRemoteSearchResultsParams>(apiClient) {} - -QString GetMusicArtistRemoteSearchResultsLoader::path(const GetMusicArtistRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/RemoteSearch/MusicArtist"); -} - -QUrlQuery GetMusicArtistRemoteSearchResultsLoader::query(const GetMusicArtistRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmusicgenre.cpp b/core/src/loader/http/getmusicgenre.cpp deleted file mode 100644 index 95af671..0000000 --- a/core/src/loader/http/getmusicgenre.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetMusicGenreLoader::GetMusicGenreLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetMusicGenreLoader::path(const GetMusicGenreParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/MusicGenres/") + Support::toString< QString>(params.genreName()) ; -} - -QUrlQuery GetMusicGenreLoader::query(const GetMusicGenreParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmusicgenreimage.cpp b/core/src/loader/http/getmusicgenreimage.cpp deleted file mode 100644 index d4295d5..0000000 --- a/core/src/loader/http/getmusicgenreimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmusicgenreimagebyindex.cpp b/core/src/loader/http/getmusicgenreimagebyindex.cpp deleted file mode 100644 index 38a4f5f..0000000 --- a/core/src/loader/http/getmusicgenreimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmusicvideoremotesearchresults.cpp b/core/src/loader/http/getmusicvideoremotesearchresults.cpp deleted file mode 100644 index cb092ee..0000000 --- a/core/src/loader/http/getmusicvideoremotesearchresults.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetMusicVideoRemoteSearchResultsLoader::GetMusicVideoRemoteSearchResultsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetMusicVideoRemoteSearchResultsParams>(apiClient) {} - -QString GetMusicVideoRemoteSearchResultsLoader::path(const GetMusicVideoRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/RemoteSearch/MusicVideo"); -} - -QUrlQuery GetMusicVideoRemoteSearchResultsLoader::query(const GetMusicVideoRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getnamedconfiguration.cpp b/core/src/loader/http/getnamedconfiguration.cpp deleted file mode 100644 index d8ee6f6..0000000 --- a/core/src/loader/http/getnamedconfiguration.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetNamedConfigurationLoader::GetNamedConfigurationLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetNamedConfigurationLoader::path(const GetNamedConfigurationParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/System/Configuration/") + Support::toString< QString>(params.key()) ; -} - -QUrlQuery GetNamedConfigurationLoader::query(const GetNamedConfigurationParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getnetworkshares.cpp b/core/src/loader/http/getnetworkshares.cpp deleted file mode 100644 index da5214a..0000000 --- a/core/src/loader/http/getnetworkshares.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetNetworkSharesLoader::GetNetworkSharesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetNetworkSharesParams>(apiClient) {} - -QString GetNetworkSharesLoader::path(const GetNetworkSharesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Environment/NetworkShares"); -} - -QUrlQuery GetNetworkSharesLoader::query(const GetNetworkSharesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getnextup.cpp b/core/src/loader/http/getnextup.cpp deleted file mode 100644 index 12bbc40..0000000 --- a/core/src/loader/http/getnextup.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetNextUpLoader::GetNextUpLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetNextUpLoader::path(const GetNextUpParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Shows/NextUp"); -} - -QUrlQuery GetNextUpLoader::query(const GetNextUpParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.seriesIdNull()) { - result.addQueryItem("seriesId", Support::toString(params.seriesId())); - } - if (!params.parentIdNull()) { - result.addQueryItem("parentId", Support::toString(params.parentId())); - } - if (!params.enableImgesNull()) { - result.addQueryItem("enableImges", Support::toString>(params.enableImges())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.enableTotalRecordCountNull()) { - result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); - } - if (!params.disableFirstEpisodeNull()) { - result.addQueryItem("disableFirstEpisode", Support::toString>(params.disableFirstEpisode())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getnotifications.cpp b/core/src/loader/http/getnotifications.cpp deleted file mode 100644 index 2ea928d..0000000 --- a/core/src/loader/http/getnotifications.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetNotificationsLoader::GetNotificationsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetNotificationsLoader::path(const GetNotificationsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Notifications/") + Support::toString< QString>(params.userId()) ; -} - -QUrlQuery GetNotificationsLoader::query(const GetNotificationsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getnotificationservices.cpp b/core/src/loader/http/getnotificationservices.cpp deleted file mode 100644 index 848756d..0000000 --- a/core/src/loader/http/getnotificationservices.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetNotificationServicesLoader::GetNotificationServicesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetNotificationServicesParams>(apiClient) {} - -QString GetNotificationServicesLoader::path(const GetNotificationServicesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Notifications/Services"); -} - -QUrlQuery GetNotificationServicesLoader::query(const GetNotificationServicesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getnotificationtypes.cpp b/core/src/loader/http/getnotificationtypes.cpp deleted file mode 100644 index 933489a..0000000 --- a/core/src/loader/http/getnotificationtypes.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetNotificationTypesLoader::GetNotificationTypesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetNotificationTypesParams>(apiClient) {} - -QString GetNotificationTypesLoader::path(const GetNotificationTypesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Notifications/Types"); -} - -QUrlQuery GetNotificationTypesLoader::query(const GetNotificationTypesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpackages.cpp b/core/src/loader/http/getpackages.cpp deleted file mode 100644 index d9725e7..0000000 --- a/core/src/loader/http/getpackages.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPackagesLoader::GetPackagesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetPackagesParams>(apiClient) {} - -QString GetPackagesLoader::path(const GetPackagesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Packages"); -} - -QUrlQuery GetPackagesLoader::query(const GetPackagesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getparentalratings.cpp b/core/src/loader/http/getparentalratings.cpp deleted file mode 100644 index 2007bde..0000000 --- a/core/src/loader/http/getparentalratings.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetParentalRatingsLoader::GetParentalRatingsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetParentalRatingsParams>(apiClient) {} - -QString GetParentalRatingsLoader::path(const GetParentalRatingsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Localization/ParentalRatings"); -} - -QUrlQuery GetParentalRatingsLoader::query(const GetParentalRatingsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getparentpath.cpp b/core/src/loader/http/getparentpath.cpp deleted file mode 100644 index c4739c0..0000000 --- a/core/src/loader/http/getparentpath.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetParentPathLoader::GetParentPathLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetParentPathLoader::path(const GetParentPathParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Environment/ParentPath"); -} - -QUrlQuery GetParentPathLoader::query(const GetParentPathParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - result.addQueryItem("path", Support::toString(params.path())); - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpasswordresetproviders.cpp b/core/src/loader/http/getpasswordresetproviders.cpp deleted file mode 100644 index a4d03bc..0000000 --- a/core/src/loader/http/getpasswordresetproviders.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPasswordResetProvidersLoader::GetPasswordResetProvidersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetPasswordResetProvidersParams>(apiClient) {} - -QString GetPasswordResetProvidersLoader::path(const GetPasswordResetProvidersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Auth/PasswordResetProviders"); -} - -QUrlQuery GetPasswordResetProvidersLoader::query(const GetPasswordResetProvidersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getperson.cpp b/core/src/loader/http/getperson.cpp deleted file mode 100644 index 8ac7cd2..0000000 --- a/core/src/loader/http/getperson.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPersonLoader::GetPersonLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetPersonLoader::path(const GetPersonParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Persons/") + Support::toString< QString>(params.name()) ; -} - -QUrlQuery GetPersonLoader::query(const GetPersonParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpersonimage.cpp b/core/src/loader/http/getpersonimage.cpp deleted file mode 100644 index 3ae908c..0000000 --- a/core/src/loader/http/getpersonimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpersonimagebyindex.cpp b/core/src/loader/http/getpersonimagebyindex.cpp deleted file mode 100644 index c8a7a16..0000000 --- a/core/src/loader/http/getpersonimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpersonremotesearchresults.cpp b/core/src/loader/http/getpersonremotesearchresults.cpp deleted file mode 100644 index 9ed0193..0000000 --- a/core/src/loader/http/getpersonremotesearchresults.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPersonRemoteSearchResultsLoader::GetPersonRemoteSearchResultsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetPersonRemoteSearchResultsParams>(apiClient) {} - -QString GetPersonRemoteSearchResultsLoader::path(const GetPersonRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/RemoteSearch/Person"); -} - -QUrlQuery GetPersonRemoteSearchResultsLoader::query(const GetPersonRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getphysicalpaths.cpp b/core/src/loader/http/getphysicalpaths.cpp deleted file mode 100644 index b05c777..0000000 --- a/core/src/loader/http/getphysicalpaths.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPhysicalPathsLoader::GetPhysicalPathsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetPhysicalPathsLoader::path(const GetPhysicalPathsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Library/PhysicalPaths"); -} - -QUrlQuery GetPhysicalPathsLoader::query(const GetPhysicalPathsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpingsystem.cpp b/core/src/loader/http/getpingsystem.cpp deleted file mode 100644 index 88edb2d..0000000 --- a/core/src/loader/http/getpingsystem.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPingSystemLoader::GetPingSystemLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetPingSystemLoader::path(const GetPingSystemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/System/Ping"); -} - -QUrlQuery GetPingSystemLoader::query(const GetPingSystemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getplaybackinfo.cpp b/core/src/loader/http/getplaybackinfo.cpp deleted file mode 100644 index b738f0e..0000000 --- a/core/src/loader/http/getplaybackinfo.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPlaybackInfoLoader::GetPlaybackInfoLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetPlaybackInfoLoader::path(const GetPlaybackInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/PlaybackInfo"); -} - -QUrlQuery GetPlaybackInfoLoader::query(const GetPlaybackInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - result.addQueryItem("userId", Support::toString(params.userId())); - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpluginimage.cpp b/core/src/loader/http/getpluginimage.cpp deleted file mode 100644 index e250221..0000000 --- a/core/src/loader/http/getpluginimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpluginmanifest.cpp b/core/src/loader/http/getpluginmanifest.cpp deleted file mode 100644 index 37972f7..0000000 --- a/core/src/loader/http/getpluginmanifest.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getplugins.cpp b/core/src/loader/http/getplugins.cpp deleted file mode 100644 index 9c8ed3e..0000000 --- a/core/src/loader/http/getplugins.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPluginsLoader::GetPluginsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetPluginsParams>(apiClient) {} - -QString GetPluginsLoader::path(const GetPluginsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Plugins"); -} - -QUrlQuery GetPluginsLoader::query(const GetPluginsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getprofile.cpp b/core/src/loader/http/getprofile.cpp deleted file mode 100644 index 46e8674..0000000 --- a/core/src/loader/http/getprofile.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetProfileLoader::GetProfileLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetProfileLoader::path(const GetProfileParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Dlna/Profiles/") + Support::toString< QString>(params.profileId()) ; -} - -QUrlQuery GetProfileLoader::query(const GetProfileParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getprofileinfos.cpp b/core/src/loader/http/getprofileinfos.cpp deleted file mode 100644 index 718dced..0000000 --- a/core/src/loader/http/getprofileinfos.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetProfileInfosLoader::GetProfileInfosLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetProfileInfosParams>(apiClient) {} - -QString GetProfileInfosLoader::path(const GetProfileInfosParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Dlna/ProfileInfos"); -} - -QUrlQuery GetProfileInfosLoader::query(const GetProfileInfosParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getprogram.cpp b/core/src/loader/http/getprogram.cpp deleted file mode 100644 index 73c381c..0000000 --- a/core/src/loader/http/getprogram.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetProgramLoader::GetProgramLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetProgramLoader::path(const GetProgramParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Programs/") + Support::toString< QString>(params.programId()) ; -} - -QUrlQuery GetProgramLoader::query(const GetProgramParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getprograms.cpp b/core/src/loader/http/getprograms.cpp deleted file mode 100644 index d4455d7..0000000 --- a/core/src/loader/http/getprograms.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetProgramsLoader::GetProgramsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetProgramsLoader::path(const GetProgramsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Programs"); -} - -QUrlQuery GetProgramsLoader::query(const GetProgramsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpublicsysteminfo.cpp b/core/src/loader/http/getpublicsysteminfo.cpp deleted file mode 100644 index b7df518..0000000 --- a/core/src/loader/http/getpublicsysteminfo.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPublicSystemInfoLoader::GetPublicSystemInfoLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetPublicSystemInfoLoader::path(const GetPublicSystemInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/System/Info/Public"); -} - -QUrlQuery GetPublicSystemInfoLoader::query(const GetPublicSystemInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpublicusers.cpp b/core/src/loader/http/getpublicusers.cpp deleted file mode 100644 index bf5579c..0000000 --- a/core/src/loader/http/getpublicusers.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetPublicUsersLoader::GetPublicUsersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetPublicUsersParams>(apiClient) {} - -QString GetPublicUsersLoader::path(const GetPublicUsersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/Public"); -} - -QUrlQuery GetPublicUsersLoader::query(const GetPublicUsersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getqueryfilterslegacy.cpp b/core/src/loader/http/getqueryfilterslegacy.cpp deleted file mode 100644 index d4feb8c..0000000 --- a/core/src/loader/http/getqueryfilterslegacy.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetQueryFiltersLegacyLoader::GetQueryFiltersLegacyLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetQueryFiltersLegacyLoader::path(const GetQueryFiltersLegacyParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/Filters"); -} - -QUrlQuery GetQueryFiltersLegacyLoader::query(const GetQueryFiltersLegacyParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.parentIdNull()) { - result.addQueryItem("parentId", Support::toString(params.parentId())); - } - if (!params.includeItemTypesNull()) { - result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); - } - if (!params.mediaTypesNull()) { - result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getratingimage.cpp b/core/src/loader/http/getratingimage.cpp deleted file mode 100644 index 869c30d..0000000 --- a/core/src/loader/http/getratingimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getratingimages.cpp b/core/src/loader/http/getratingimages.cpp deleted file mode 100644 index f6ab1cc..0000000 --- a/core/src/loader/http/getratingimages.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRatingImagesLoader::GetRatingImagesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetRatingImagesParams>(apiClient) {} - -QString GetRatingImagesLoader::path(const GetRatingImagesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Images/Ratings"); -} - -QUrlQuery GetRatingImagesLoader::query(const GetRatingImagesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getrecommendedprograms.cpp b/core/src/loader/http/getrecommendedprograms.cpp deleted file mode 100644 index 90c6502..0000000 --- a/core/src/loader/http/getrecommendedprograms.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRecommendedProgramsLoader::GetRecommendedProgramsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetRecommendedProgramsLoader::path(const GetRecommendedProgramsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Programs/Recommended"); -} - -QUrlQuery GetRecommendedProgramsLoader::query(const GetRecommendedProgramsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.isAiringNull()) { - result.addQueryItem("isAiring", Support::toString>(params.isAiring())); - } - if (!params.hasAiredNull()) { - result.addQueryItem("hasAired", Support::toString>(params.hasAired())); - } - if (!params.isSeriesNull()) { - result.addQueryItem("isSeries", Support::toString>(params.isSeries())); - } - if (!params.isMovieNull()) { - result.addQueryItem("isMovie", Support::toString>(params.isMovie())); - } - if (!params.isNewsNull()) { - result.addQueryItem("isNews", Support::toString>(params.isNews())); - } - if (!params.isKidsNull()) { - result.addQueryItem("isKids", Support::toString>(params.isKids())); - } - if (!params.isSportsNull()) { - result.addQueryItem("isSports", Support::toString>(params.isSports())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.genreIdsNull()) { - result.addQueryItem("genreIds", Support::toString(params.genreIds())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.enableTotalRecordCountNull()) { - result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getrecording.cpp b/core/src/loader/http/getrecording.cpp deleted file mode 100644 index e374b89..0000000 --- a/core/src/loader/http/getrecording.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRecordingLoader::GetRecordingLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetRecordingLoader::path(const GetRecordingParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Recordings/") + Support::toString< QString>(params.recordingId()) ; -} - -QUrlQuery GetRecordingLoader::query(const GetRecordingParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getrecordingfolders.cpp b/core/src/loader/http/getrecordingfolders.cpp deleted file mode 100644 index 98f6fca..0000000 --- a/core/src/loader/http/getrecordingfolders.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRecordingFoldersLoader::GetRecordingFoldersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetRecordingFoldersLoader::path(const GetRecordingFoldersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Recordings/Folders"); -} - -QUrlQuery GetRecordingFoldersLoader::query(const GetRecordingFoldersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getrecordinggroup.cpp b/core/src/loader/http/getrecordinggroup.cpp deleted file mode 100644 index d6e2de4..0000000 --- a/core/src/loader/http/getrecordinggroup.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getrecordinggroups.cpp b/core/src/loader/http/getrecordinggroups.cpp deleted file mode 100644 index 4924360..0000000 --- a/core/src/loader/http/getrecordinggroups.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRecordingGroupsLoader::GetRecordingGroupsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetRecordingGroupsLoader::path(const GetRecordingGroupsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Recordings/Groups"); -} - -QUrlQuery GetRecordingGroupsLoader::query(const GetRecordingGroupsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getrecordings.cpp b/core/src/loader/http/getrecordings.cpp deleted file mode 100644 index 3220a7c..0000000 --- a/core/src/loader/http/getrecordings.cpp +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRecordingsLoader::GetRecordingsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetRecordingsLoader::path(const GetRecordingsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Recordings"); -} - -QUrlQuery GetRecordingsLoader::query(const GetRecordingsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.channelIdNull()) { - result.addQueryItem("channelId", Support::toString(params.channelId())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.statusNull()) { - result.addQueryItem("status", Support::toString(params.status())); - } - if (!params.isInProgressNull()) { - result.addQueryItem("isInProgress", Support::toString>(params.isInProgress())); - } - if (!params.seriesTimerIdNull()) { - result.addQueryItem("seriesTimerId", Support::toString(params.seriesTimerId())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.isMovieNull()) { - result.addQueryItem("isMovie", Support::toString>(params.isMovie())); - } - if (!params.isSeriesNull()) { - result.addQueryItem("isSeries", Support::toString>(params.isSeries())); - } - if (!params.isKidsNull()) { - result.addQueryItem("isKids", Support::toString>(params.isKids())); - } - if (!params.isSportsNull()) { - result.addQueryItem("isSports", Support::toString>(params.isSports())); - } - if (!params.isNewsNull()) { - result.addQueryItem("isNews", Support::toString>(params.isNews())); - } - if (!params.isLibraryItemNull()) { - result.addQueryItem("isLibraryItem", Support::toString>(params.isLibraryItem())); - } - if (!params.enableTotalRecordCountNull()) { - result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getrecordingsseries.cpp b/core/src/loader/http/getrecordingsseries.cpp deleted file mode 100644 index 2e75fbb..0000000 --- a/core/src/loader/http/getrecordingsseries.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRecordingsSeriesLoader::GetRecordingsSeriesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetRecordingsSeriesLoader::path(const GetRecordingsSeriesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Recordings/Series"); -} - -QUrlQuery GetRecordingsSeriesLoader::query(const GetRecordingsSeriesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.channelIdNull()) { - result.addQueryItem("channelId", Support::toString(params.channelId())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.groupIdNull()) { - result.addQueryItem("groupId", Support::toString(params.groupId())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.statusNull()) { - result.addQueryItem("status", Support::toString(params.status())); - } - if (!params.isInProgressNull()) { - result.addQueryItem("isInProgress", Support::toString>(params.isInProgress())); - } - if (!params.seriesTimerIdNull()) { - result.addQueryItem("seriesTimerId", Support::toString(params.seriesTimerId())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.enableTotalRecordCountNull()) { - result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getremoteimage.cpp b/core/src/loader/http/getremoteimage.cpp deleted file mode 100644 index 74d06be..0000000 --- a/core/src/loader/http/getremoteimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getremoteimageproviders.cpp b/core/src/loader/http/getremoteimageproviders.cpp deleted file mode 100644 index 83f35bd..0000000 --- a/core/src/loader/http/getremoteimageproviders.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRemoteImageProvidersLoader::GetRemoteImageProvidersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetRemoteImageProvidersParams>(apiClient) {} - -QString GetRemoteImageProvidersLoader::path(const GetRemoteImageProvidersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/RemoteImages/Providers"); -} - -QUrlQuery GetRemoteImageProvidersLoader::query(const GetRemoteImageProvidersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getremotesearchimage.cpp b/core/src/loader/http/getremotesearchimage.cpp deleted file mode 100644 index 58c401f..0000000 --- a/core/src/loader/http/getremotesearchimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getremotesubtitles.cpp b/core/src/loader/http/getremotesubtitles.cpp deleted file mode 100644 index 8ee0ec8..0000000 --- a/core/src/loader/http/getremotesubtitles.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getrepositories.cpp b/core/src/loader/http/getrepositories.cpp deleted file mode 100644 index 9f61820..0000000 --- a/core/src/loader/http/getrepositories.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRepositoriesLoader::GetRepositoriesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetRepositoriesParams>(apiClient) {} - -QString GetRepositoriesLoader::path(const GetRepositoriesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Repositories"); -} - -QUrlQuery GetRepositoriesLoader::query(const GetRepositoriesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getresumeitems.cpp b/core/src/loader/http/getresumeitems.cpp deleted file mode 100644 index 7248c9b..0000000 --- a/core/src/loader/http/getresumeitems.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetResumeItemsLoader::GetResumeItemsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetResumeItemsLoader::path(const GetResumeItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/Resume"); -} - -QUrlQuery GetResumeItemsLoader::query(const GetResumeItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.searchTermNull()) { - result.addQueryItem("searchTerm", Support::toString(params.searchTerm())); - } - if (!params.parentIdNull()) { - result.addQueryItem("parentId", Support::toString(params.parentId())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.mediaTypesNull()) { - result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.excludeItemTypesNull()) { - result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); - } - if (!params.includeItemTypesNull()) { - result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); - } - if (!params.enableTotalRecordCountNull()) { - result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getrootfolder.cpp b/core/src/loader/http/getrootfolder.cpp deleted file mode 100644 index d6d6639..0000000 --- a/core/src/loader/http/getrootfolder.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetRootFolderLoader::GetRootFolderLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetRootFolderLoader::path(const GetRootFolderParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/Root"); -} - -QUrlQuery GetRootFolderLoader::query(const GetRootFolderParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getschedulesdirectcountries.cpp b/core/src/loader/http/getschedulesdirectcountries.cpp deleted file mode 100644 index 22b1096..0000000 --- a/core/src/loader/http/getschedulesdirectcountries.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSchedulesDirectCountriesLoader::GetSchedulesDirectCountriesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSchedulesDirectCountriesLoader::path(const GetSchedulesDirectCountriesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/ListingProviders/SchedulesDirect/Countries"); -} - -QUrlQuery GetSchedulesDirectCountriesLoader::query(const GetSchedulesDirectCountriesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getseasons.cpp b/core/src/loader/http/getseasons.cpp deleted file mode 100644 index 6b3d8ec..0000000 --- a/core/src/loader/http/getseasons.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSeasonsLoader::GetSeasonsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSeasonsLoader::path(const GetSeasonsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Shows/") + Support::toString< QString>(params.seriesId()) + QStringLiteral("/Seasons"); -} - -QUrlQuery GetSeasonsLoader::query(const GetSeasonsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.isSpecialSeasonNull()) { - result.addQueryItem("isSpecialSeason", Support::toString>(params.isSpecialSeason())); - } - if (!params.isMissingNull()) { - result.addQueryItem("isMissing", Support::toString>(params.isMissing())); - } - if (!params.adjacentToNull()) { - result.addQueryItem("adjacentTo", Support::toString(params.adjacentTo())); - } - if (!params.enableImagesNull()) { - result.addQueryItem("enableImages", Support::toString>(params.enableImages())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getseriesremotesearchresults.cpp b/core/src/loader/http/getseriesremotesearchresults.cpp deleted file mode 100644 index 9ce29e5..0000000 --- a/core/src/loader/http/getseriesremotesearchresults.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSeriesRemoteSearchResultsLoader::GetSeriesRemoteSearchResultsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetSeriesRemoteSearchResultsParams>(apiClient) {} - -QString GetSeriesRemoteSearchResultsLoader::path(const GetSeriesRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/RemoteSearch/Series"); -} - -QUrlQuery GetSeriesRemoteSearchResultsLoader::query(const GetSeriesRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getseriestimer.cpp b/core/src/loader/http/getseriestimer.cpp deleted file mode 100644 index e7c3de5..0000000 --- a/core/src/loader/http/getseriestimer.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSeriesTimerLoader::GetSeriesTimerLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSeriesTimerLoader::path(const GetSeriesTimerParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/SeriesTimers/") + Support::toString< QString>(params.timerId()) ; -} - -QUrlQuery GetSeriesTimerLoader::query(const GetSeriesTimerParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getseriestimers.cpp b/core/src/loader/http/getseriestimers.cpp deleted file mode 100644 index 28f082d..0000000 --- a/core/src/loader/http/getseriestimers.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSeriesTimersLoader::GetSeriesTimersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSeriesTimersLoader::path(const GetSeriesTimersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/SeriesTimers"); -} - -QUrlQuery GetSeriesTimersLoader::query(const GetSeriesTimersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.sortByNull()) { - result.addQueryItem("sortBy", Support::toString(params.sortBy())); - } - if (!params.sortOrderNull()) { - result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getserverlogs.cpp b/core/src/loader/http/getserverlogs.cpp deleted file mode 100644 index 016193e..0000000 --- a/core/src/loader/http/getserverlogs.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetServerLogsLoader::GetServerLogsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetServerLogsParams>(apiClient) {} - -QString GetServerLogsLoader::path(const GetServerLogsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/System/Logs"); -} - -QUrlQuery GetServerLogsLoader::query(const GetServerLogsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsimilaralbums.cpp b/core/src/loader/http/getsimilaralbums.cpp deleted file mode 100644 index fb31ec2..0000000 --- a/core/src/loader/http/getsimilaralbums.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSimilarAlbumsLoader::GetSimilarAlbumsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSimilarAlbumsLoader::path(const GetSimilarAlbumsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Albums/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); -} - -QUrlQuery GetSimilarAlbumsLoader::query(const GetSimilarAlbumsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.excludeArtistIdsNull()) { - result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsimilarartists.cpp b/core/src/loader/http/getsimilarartists.cpp deleted file mode 100644 index e7116b8..0000000 --- a/core/src/loader/http/getsimilarartists.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSimilarArtistsLoader::GetSimilarArtistsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSimilarArtistsLoader::path(const GetSimilarArtistsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Artists/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); -} - -QUrlQuery GetSimilarArtistsLoader::query(const GetSimilarArtistsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.excludeArtistIdsNull()) { - result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsimilaritems.cpp b/core/src/loader/http/getsimilaritems.cpp deleted file mode 100644 index ff4b625..0000000 --- a/core/src/loader/http/getsimilaritems.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSimilarItemsLoader::GetSimilarItemsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSimilarItemsLoader::path(const GetSimilarItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); -} - -QUrlQuery GetSimilarItemsLoader::query(const GetSimilarItemsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.excludeArtistIdsNull()) { - result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsimilarmovies.cpp b/core/src/loader/http/getsimilarmovies.cpp deleted file mode 100644 index 4cfc851..0000000 --- a/core/src/loader/http/getsimilarmovies.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSimilarMoviesLoader::GetSimilarMoviesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSimilarMoviesLoader::path(const GetSimilarMoviesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Movies/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); -} - -QUrlQuery GetSimilarMoviesLoader::query(const GetSimilarMoviesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.excludeArtistIdsNull()) { - result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsimilarshows.cpp b/core/src/loader/http/getsimilarshows.cpp deleted file mode 100644 index 2a45cf5..0000000 --- a/core/src/loader/http/getsimilarshows.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSimilarShowsLoader::GetSimilarShowsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSimilarShowsLoader::path(const GetSimilarShowsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Shows/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); -} - -QUrlQuery GetSimilarShowsLoader::query(const GetSimilarShowsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.excludeArtistIdsNull()) { - result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsimilartrailers.cpp b/core/src/loader/http/getsimilartrailers.cpp deleted file mode 100644 index ba0546a..0000000 --- a/core/src/loader/http/getsimilartrailers.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSimilarTrailersLoader::GetSimilarTrailersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSimilarTrailersLoader::path(const GetSimilarTrailersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Trailers/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); -} - -QUrlQuery GetSimilarTrailersLoader::query(const GetSimilarTrailersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.excludeArtistIdsNull()) { - result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getspecialfeatures.cpp b/core/src/loader/http/getspecialfeatures.cpp deleted file mode 100644 index 9c5f21f..0000000 --- a/core/src/loader/http/getspecialfeatures.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSpecialFeaturesLoader::GetSpecialFeaturesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetSpecialFeaturesParams>(apiClient) {} - -QString GetSpecialFeaturesLoader::path(const GetSpecialFeaturesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/SpecialFeatures"); -} - -QUrlQuery GetSpecialFeaturesLoader::query(const GetSpecialFeaturesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getstatus.cpp b/core/src/loader/http/getstatus.cpp deleted file mode 100644 index c66dd73..0000000 --- a/core/src/loader/http/getstatus.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetStatusLoader::GetStatusLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetStatusLoader::path(const GetStatusParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/QuickConnect/Status"); -} - -QUrlQuery GetStatusLoader::query(const GetStatusParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getstudio.cpp b/core/src/loader/http/getstudio.cpp deleted file mode 100644 index 3ecafd0..0000000 --- a/core/src/loader/http/getstudio.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetStudioLoader::GetStudioLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetStudioLoader::path(const GetStudioParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Studios/") + Support::toString< QString>(params.name()) ; -} - -QUrlQuery GetStudioLoader::query(const GetStudioParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getstudioimage.cpp b/core/src/loader/http/getstudioimage.cpp deleted file mode 100644 index 0560b34..0000000 --- a/core/src/loader/http/getstudioimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getstudioimagebyindex.cpp b/core/src/loader/http/getstudioimagebyindex.cpp deleted file mode 100644 index c5c84e1..0000000 --- a/core/src/loader/http/getstudioimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsubtitle.cpp b/core/src/loader/http/getsubtitle.cpp deleted file mode 100644 index 356bc39..0000000 --- a/core/src/loader/http/getsubtitle.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsubtitleplaylist.cpp b/core/src/loader/http/getsubtitleplaylist.cpp deleted file mode 100644 index 2e68ba2..0000000 --- a/core/src/loader/http/getsubtitleplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsubtitlewithticks.cpp b/core/src/loader/http/getsubtitlewithticks.cpp deleted file mode 100644 index 2e63c47..0000000 --- a/core/src/loader/http/getsubtitlewithticks.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsysteminfo.cpp b/core/src/loader/http/getsysteminfo.cpp deleted file mode 100644 index f441b7c..0000000 --- a/core/src/loader/http/getsysteminfo.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetSystemInfoLoader::GetSystemInfoLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetSystemInfoLoader::path(const GetSystemInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/System/Info"); -} - -QUrlQuery GetSystemInfoLoader::query(const GetSystemInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gettask.cpp b/core/src/loader/http/gettask.cpp deleted file mode 100644 index 716efe4..0000000 --- a/core/src/loader/http/gettask.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetTaskLoader::GetTaskLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetTaskLoader::path(const GetTaskParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/ScheduledTasks/") + Support::toString< QString>(params.taskId()) ; -} - -QUrlQuery GetTaskLoader::query(const GetTaskParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getthememedia.cpp b/core/src/loader/http/getthememedia.cpp deleted file mode 100644 index 226b527..0000000 --- a/core/src/loader/http/getthememedia.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetThemeMediaLoader::GetThemeMediaLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetThemeMediaLoader::path(const GetThemeMediaParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/ThemeMedia"); -} - -QUrlQuery GetThemeMediaLoader::query(const GetThemeMediaParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.inheritFromParentNull()) { - result.addQueryItem("inheritFromParent", Support::toString>(params.inheritFromParent())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getthemesongs.cpp b/core/src/loader/http/getthemesongs.cpp deleted file mode 100644 index 8124aaf..0000000 --- a/core/src/loader/http/getthemesongs.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetThemeSongsLoader::GetThemeSongsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetThemeSongsLoader::path(const GetThemeSongsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/ThemeSongs"); -} - -QUrlQuery GetThemeSongsLoader::query(const GetThemeSongsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.inheritFromParentNull()) { - result.addQueryItem("inheritFromParent", Support::toString>(params.inheritFromParent())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getthemevideos.cpp b/core/src/loader/http/getthemevideos.cpp deleted file mode 100644 index 01f3b71..0000000 --- a/core/src/loader/http/getthemevideos.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetThemeVideosLoader::GetThemeVideosLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetThemeVideosLoader::path(const GetThemeVideosParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/ThemeVideos"); -} - -QUrlQuery GetThemeVideosLoader::query(const GetThemeVideosParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.inheritFromParentNull()) { - result.addQueryItem("inheritFromParent", Support::toString>(params.inheritFromParent())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gettimer.cpp b/core/src/loader/http/gettimer.cpp deleted file mode 100644 index 39e04f9..0000000 --- a/core/src/loader/http/gettimer.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetTimerLoader::GetTimerLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetTimerLoader::path(const GetTimerParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Timers/") + Support::toString< QString>(params.timerId()) ; -} - -QUrlQuery GetTimerLoader::query(const GetTimerParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gettimers.cpp b/core/src/loader/http/gettimers.cpp deleted file mode 100644 index 3d594ef..0000000 --- a/core/src/loader/http/gettimers.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetTimersLoader::GetTimersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetTimersLoader::path(const GetTimersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/Timers"); -} - -QUrlQuery GetTimersLoader::query(const GetTimersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.channelIdNull()) { - result.addQueryItem("channelId", Support::toString(params.channelId())); - } - if (!params.seriesTimerIdNull()) { - result.addQueryItem("seriesTimerId", Support::toString(params.seriesTimerId())); - } - if (!params.isActiveNull()) { - result.addQueryItem("isActive", Support::toString>(params.isActive())); - } - if (!params.isScheduledNull()) { - result.addQueryItem("isScheduled", Support::toString>(params.isScheduled())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gettrailerremotesearchresults.cpp b/core/src/loader/http/gettrailerremotesearchresults.cpp deleted file mode 100644 index 15995a6..0000000 --- a/core/src/loader/http/gettrailerremotesearchresults.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetTrailerRemoteSearchResultsLoader::GetTrailerRemoteSearchResultsLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetTrailerRemoteSearchResultsParams>(apiClient) {} - -QString GetTrailerRemoteSearchResultsLoader::path(const GetTrailerRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Items/RemoteSearch/Trailer"); -} - -QUrlQuery GetTrailerRemoteSearchResultsLoader::query(const GetTrailerRemoteSearchResultsParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gettunerhosttypes.cpp b/core/src/loader/http/gettunerhosttypes.cpp deleted file mode 100644 index a6408d2..0000000 --- a/core/src/loader/http/gettunerhosttypes.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetTunerHostTypesLoader::GetTunerHostTypesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetTunerHostTypesParams>(apiClient) {} - -QString GetTunerHostTypesLoader::path(const GetTunerHostTypesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/TunerHosts/Types"); -} - -QUrlQuery GetTunerHostTypesLoader::query(const GetTunerHostTypesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getuniversalaudiostream.cpp b/core/src/loader/http/getuniversalaudiostream.cpp deleted file mode 100644 index a8f5ad9..0000000 --- a/core/src/loader/http/getuniversalaudiostream.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getupcomingepisodes.cpp b/core/src/loader/http/getupcomingepisodes.cpp deleted file mode 100644 index 8a74c17..0000000 --- a/core/src/loader/http/getupcomingepisodes.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetUpcomingEpisodesLoader::GetUpcomingEpisodesLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetUpcomingEpisodesLoader::path(const GetUpcomingEpisodesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Shows/Upcoming"); -} - -QUrlQuery GetUpcomingEpisodesLoader::query(const GetUpcomingEpisodesParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.startIndexNull()) { - result.addQueryItem("startIndex", Support::toString>(params.startIndex())); - } - if (!params.limitNull()) { - result.addQueryItem("limit", Support::toString>(params.limit())); - } - if (!params.fieldsNull()) { - result.addQueryItem("fields", Support::toString>(params.fields())); - } - if (!params.parentIdNull()) { - result.addQueryItem("parentId", Support::toString(params.parentId())); - } - if (!params.enableImgesNull()) { - result.addQueryItem("enableImges", Support::toString>(params.enableImges())); - } - if (!params.imageTypeLimitNull()) { - result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); - } - if (!params.enableImageTypesNull()) { - result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); - } - if (!params.enableUserDataNull()) { - result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getuserbyid.cpp b/core/src/loader/http/getuserbyid.cpp deleted file mode 100644 index d01f7ee..0000000 --- a/core/src/loader/http/getuserbyid.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetUserByIdLoader::GetUserByIdLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetUserByIdLoader::path(const GetUserByIdParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) ; -} - -QUrlQuery GetUserByIdLoader::query(const GetUserByIdParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getuserimage.cpp b/core/src/loader/http/getuserimage.cpp deleted file mode 100644 index 3184ed1..0000000 --- a/core/src/loader/http/getuserimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getuserimagebyindex.cpp b/core/src/loader/http/getuserimagebyindex.cpp deleted file mode 100644 index cfc2c5a..0000000 --- a/core/src/loader/http/getuserimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getusers.cpp b/core/src/loader/http/getusers.cpp deleted file mode 100644 index d871719..0000000 --- a/core/src/loader/http/getusers.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetUsersLoader::GetUsersLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetUsersParams>(apiClient) {} - -QString GetUsersLoader::path(const GetUsersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users"); -} - -QUrlQuery GetUsersLoader::query(const GetUsersParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.isHiddenNull()) { - result.addQueryItem("isHidden", Support::toString>(params.isHidden())); - } - if (!params.isDisabledNull()) { - result.addQueryItem("isDisabled", Support::toString>(params.isDisabled())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getvarianthlsaudioplaylist.cpp b/core/src/loader/http/getvarianthlsaudioplaylist.cpp deleted file mode 100644 index 223998e..0000000 --- a/core/src/loader/http/getvarianthlsaudioplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getvarianthlsvideoplaylist.cpp b/core/src/loader/http/getvarianthlsvideoplaylist.cpp deleted file mode 100644 index 01fac2a..0000000 --- a/core/src/loader/http/getvarianthlsvideoplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getvideostream.cpp b/core/src/loader/http/getvideostream.cpp deleted file mode 100644 index dc39368..0000000 --- a/core/src/loader/http/getvideostream.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getvideostreambycontainer.cpp b/core/src/loader/http/getvideostreambycontainer.cpp deleted file mode 100644 index 4b65bdc..0000000 --- a/core/src/loader/http/getvideostreambycontainer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getwakeonlaninfo.cpp b/core/src/loader/http/getwakeonlaninfo.cpp deleted file mode 100644 index b627cc7..0000000 --- a/core/src/loader/http/getwakeonlaninfo.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetWakeOnLanInfoLoader::GetWakeOnLanInfoLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader, GetWakeOnLanInfoParams>(apiClient) {} - -QString GetWakeOnLanInfoLoader::path(const GetWakeOnLanInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/System/WakeOnLanInfo"); -} - -QUrlQuery GetWakeOnLanInfoLoader::query(const GetWakeOnLanInfoParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getyear.cpp b/core/src/loader/http/getyear.cpp deleted file mode 100644 index 81e2f76..0000000 --- a/core/src/loader/http/getyear.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -GetYearLoader::GetYearLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString GetYearLoader::path(const GetYearParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Years/") + Support::toString< qint32>(params.year()) ; -} - -QUrlQuery GetYearLoader::query(const GetYearParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headartistimage.cpp b/core/src/loader/http/headartistimage.cpp deleted file mode 100644 index 522dd38..0000000 --- a/core/src/loader/http/headartistimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headaudiostream.cpp b/core/src/loader/http/headaudiostream.cpp deleted file mode 100644 index 790fae7..0000000 --- a/core/src/loader/http/headaudiostream.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headaudiostreambycontainer.cpp b/core/src/loader/http/headaudiostreambycontainer.cpp deleted file mode 100644 index 1804858..0000000 --- a/core/src/loader/http/headaudiostreambycontainer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headgenreimage.cpp b/core/src/loader/http/headgenreimage.cpp deleted file mode 100644 index 2d33c93..0000000 --- a/core/src/loader/http/headgenreimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headgenreimagebyindex.cpp b/core/src/loader/http/headgenreimagebyindex.cpp deleted file mode 100644 index 1e49570..0000000 --- a/core/src/loader/http/headgenreimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headitemimage.cpp b/core/src/loader/http/headitemimage.cpp deleted file mode 100644 index 1890fe9..0000000 --- a/core/src/loader/http/headitemimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headitemimage2.cpp b/core/src/loader/http/headitemimage2.cpp deleted file mode 100644 index 528d3ee..0000000 --- a/core/src/loader/http/headitemimage2.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headitemimagebyindex.cpp b/core/src/loader/http/headitemimagebyindex.cpp deleted file mode 100644 index 5e7a6a4..0000000 --- a/core/src/loader/http/headitemimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headmasterhlsaudioplaylist.cpp b/core/src/loader/http/headmasterhlsaudioplaylist.cpp deleted file mode 100644 index 3e1cd64..0000000 --- a/core/src/loader/http/headmasterhlsaudioplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headmasterhlsvideoplaylist.cpp b/core/src/loader/http/headmasterhlsvideoplaylist.cpp deleted file mode 100644 index 49e2612..0000000 --- a/core/src/loader/http/headmasterhlsvideoplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headmusicgenreimage.cpp b/core/src/loader/http/headmusicgenreimage.cpp deleted file mode 100644 index 4efce41..0000000 --- a/core/src/loader/http/headmusicgenreimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headmusicgenreimagebyindex.cpp b/core/src/loader/http/headmusicgenreimagebyindex.cpp deleted file mode 100644 index 3630df5..0000000 --- a/core/src/loader/http/headmusicgenreimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headpersonimage.cpp b/core/src/loader/http/headpersonimage.cpp deleted file mode 100644 index 32ff034..0000000 --- a/core/src/loader/http/headpersonimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headpersonimagebyindex.cpp b/core/src/loader/http/headpersonimagebyindex.cpp deleted file mode 100644 index 6687df0..0000000 --- a/core/src/loader/http/headpersonimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headstudioimage.cpp b/core/src/loader/http/headstudioimage.cpp deleted file mode 100644 index 7fac21d..0000000 --- a/core/src/loader/http/headstudioimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headstudioimagebyindex.cpp b/core/src/loader/http/headstudioimagebyindex.cpp deleted file mode 100644 index 0a09fa2..0000000 --- a/core/src/loader/http/headstudioimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headuniversalaudiostream.cpp b/core/src/loader/http/headuniversalaudiostream.cpp deleted file mode 100644 index 378ad03..0000000 --- a/core/src/loader/http/headuniversalaudiostream.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headuserimage.cpp b/core/src/loader/http/headuserimage.cpp deleted file mode 100644 index 625a380..0000000 --- a/core/src/loader/http/headuserimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headuserimagebyindex.cpp b/core/src/loader/http/headuserimagebyindex.cpp deleted file mode 100644 index 5fe9ef3..0000000 --- a/core/src/loader/http/headuserimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headvideostream.cpp b/core/src/loader/http/headvideostream.cpp deleted file mode 100644 index bc809ce..0000000 --- a/core/src/loader/http/headvideostream.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/headvideostreambycontainer.cpp b/core/src/loader/http/headvideostreambycontainer.cpp deleted file mode 100644 index e228d3c..0000000 --- a/core/src/loader/http/headvideostreambycontainer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/completewizardparams.cpp b/core/src/loader/http/hlssegment.cpp similarity index 94% rename from core/src/loader/completewizardparams.cpp rename to core/src/loader/http/hlssegment.cpp index 86af1c6..e3a9db8 100644 --- a/core/src/loader/completewizardparams.cpp +++ b/core/src/loader/http/hlssegment.cpp @@ -27,15 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#include "JellyfinQt/loader/completewizardparams.h" +#include namespace Jellyfin { namespace Loader { +namespace HTTP { using namespace Jellyfin::DTO; -// CompleteWizardParams - +} // NS HTTP } // NS Loader } // NS Jellyfin diff --git a/core/src/loader/http/getitemimageinfos.cpp b/core/src/loader/http/image.cpp similarity index 97% rename from core/src/loader/http/getitemimageinfos.cpp rename to core/src/loader/http/image.cpp index 59979b6..1c3b6d3 100644 --- a/core/src/loader/http/getitemimageinfos.cpp +++ b/core/src/loader/http/image.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetItemImageInfosLoader::GetItemImageInfosLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, GetItemImageInfosParams>(apiClient) {} diff --git a/core/src/loader/http/getmediainfoimages.cpp b/core/src/loader/http/imagebyname.cpp similarity index 62% rename from core/src/loader/http/getmediainfoimages.cpp rename to core/src/loader/http/imagebyname.cpp index 58f25e9..ec0f27d 100644 --- a/core/src/loader/http/getmediainfoimages.cpp +++ b/core/src/loader/http/imagebyname.cpp @@ -27,14 +27,33 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetGeneralImagesLoader::GetGeneralImagesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetGeneralImagesParams>(apiClient) {} + +QString GetGeneralImagesLoader::path(const GetGeneralImagesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Images/General"); +} + +QUrlQuery GetGeneralImagesLoader::query(const GetGeneralImagesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + GetMediaInfoImagesLoader::GetMediaInfoImagesLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, GetMediaInfoImagesParams>(apiClient) {} @@ -54,6 +73,25 @@ QUrlQuery GetMediaInfoImagesLoader::query(const GetMediaInfoImagesParams ¶ms return result; } +GetRatingImagesLoader::GetRatingImagesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetRatingImagesParams>(apiClient) {} + +QString GetRatingImagesLoader::path(const GetRatingImagesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Images/Ratings"); +} + +QUrlQuery GetRatingImagesLoader::query(const GetRatingImagesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/initiate.cpp b/core/src/loader/http/initiate.cpp deleted file mode 100644 index c895fd2..0000000 --- a/core/src/loader/http/initiate.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -InitiateLoader::InitiateLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString InitiateLoader::path(const InitiateParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/QuickConnect/Initiate"); -} - -QUrlQuery InitiateLoader::query(const InitiateParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/installpackage.cpp b/core/src/loader/http/installpackage.cpp deleted file mode 100644 index 27487ab..0000000 --- a/core/src/loader/http/installpackage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/instantmix.cpp b/core/src/loader/http/instantmix.cpp new file mode 100644 index 0000000..fe032e2 --- /dev/null +++ b/core/src/loader/http/instantmix.cpp @@ -0,0 +1,321 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetInstantMixFromAlbumLoader::GetInstantMixFromAlbumLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromAlbumLoader::path(const GetInstantMixFromAlbumParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Albums/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromAlbumLoader::query(const GetInstantMixFromAlbumParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + + return result; +} + +GetInstantMixFromArtistsLoader::GetInstantMixFromArtistsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromArtistsLoader::path(const GetInstantMixFromArtistsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Artists/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromArtistsLoader::query(const GetInstantMixFromArtistsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + + return result; +} + +GetInstantMixFromItemLoader::GetInstantMixFromItemLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromItemLoader::path(const GetInstantMixFromItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromItemLoader::query(const GetInstantMixFromItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + + return result; +} + +GetInstantMixFromMusicGenresLoader::GetInstantMixFromMusicGenresLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromMusicGenresLoader::path(const GetInstantMixFromMusicGenresParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/MusicGenres/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromMusicGenresLoader::query(const GetInstantMixFromMusicGenresParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + + return result; +} + +GetInstantMixFromMusicGenreLoader::GetInstantMixFromMusicGenreLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromMusicGenreLoader::path(const GetInstantMixFromMusicGenreParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/MusicGenres/") + Support::toString< QString>(params.name()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromMusicGenreLoader::query(const GetInstantMixFromMusicGenreParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + + return result; +} + +GetInstantMixFromPlaylistLoader::GetInstantMixFromPlaylistLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromPlaylistLoader::path(const GetInstantMixFromPlaylistParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Playlists/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromPlaylistLoader::query(const GetInstantMixFromPlaylistParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + + return result; +} + +GetInstantMixFromSongLoader::GetInstantMixFromSongLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromSongLoader::path(const GetInstantMixFromSongParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Songs/") + Support::toString< QString>(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromSongLoader::query(const GetInstantMixFromSongParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/itemlookup.cpp b/core/src/loader/http/itemlookup.cpp new file mode 100644 index 0000000..955807f --- /dev/null +++ b/core/src/loader/http/itemlookup.cpp @@ -0,0 +1,231 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetExternalIdInfosLoader::GetExternalIdInfosLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetExternalIdInfosParams>(apiClient) {} + +QString GetExternalIdInfosLoader::path(const GetExternalIdInfosParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/ExternalIdInfos"); +} + +QUrlQuery GetExternalIdInfosLoader::query(const GetExternalIdInfosParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetBookRemoteSearchResultsLoader::GetBookRemoteSearchResultsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetBookRemoteSearchResultsParams>(apiClient) {} + +QString GetBookRemoteSearchResultsLoader::path(const GetBookRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/RemoteSearch/Book"); +} + +QUrlQuery GetBookRemoteSearchResultsLoader::query(const GetBookRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetBoxSetRemoteSearchResultsLoader::GetBoxSetRemoteSearchResultsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetBoxSetRemoteSearchResultsParams>(apiClient) {} + +QString GetBoxSetRemoteSearchResultsLoader::path(const GetBoxSetRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/RemoteSearch/BoxSet"); +} + +QUrlQuery GetBoxSetRemoteSearchResultsLoader::query(const GetBoxSetRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetMovieRemoteSearchResultsLoader::GetMovieRemoteSearchResultsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetMovieRemoteSearchResultsParams>(apiClient) {} + +QString GetMovieRemoteSearchResultsLoader::path(const GetMovieRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/RemoteSearch/Movie"); +} + +QUrlQuery GetMovieRemoteSearchResultsLoader::query(const GetMovieRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetMusicAlbumRemoteSearchResultsLoader::GetMusicAlbumRemoteSearchResultsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetMusicAlbumRemoteSearchResultsParams>(apiClient) {} + +QString GetMusicAlbumRemoteSearchResultsLoader::path(const GetMusicAlbumRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/RemoteSearch/MusicAlbum"); +} + +QUrlQuery GetMusicAlbumRemoteSearchResultsLoader::query(const GetMusicAlbumRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetMusicArtistRemoteSearchResultsLoader::GetMusicArtistRemoteSearchResultsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetMusicArtistRemoteSearchResultsParams>(apiClient) {} + +QString GetMusicArtistRemoteSearchResultsLoader::path(const GetMusicArtistRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/RemoteSearch/MusicArtist"); +} + +QUrlQuery GetMusicArtistRemoteSearchResultsLoader::query(const GetMusicArtistRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetMusicVideoRemoteSearchResultsLoader::GetMusicVideoRemoteSearchResultsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetMusicVideoRemoteSearchResultsParams>(apiClient) {} + +QString GetMusicVideoRemoteSearchResultsLoader::path(const GetMusicVideoRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/RemoteSearch/MusicVideo"); +} + +QUrlQuery GetMusicVideoRemoteSearchResultsLoader::query(const GetMusicVideoRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetPersonRemoteSearchResultsLoader::GetPersonRemoteSearchResultsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetPersonRemoteSearchResultsParams>(apiClient) {} + +QString GetPersonRemoteSearchResultsLoader::path(const GetPersonRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/RemoteSearch/Person"); +} + +QUrlQuery GetPersonRemoteSearchResultsLoader::query(const GetPersonRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetSeriesRemoteSearchResultsLoader::GetSeriesRemoteSearchResultsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetSeriesRemoteSearchResultsParams>(apiClient) {} + +QString GetSeriesRemoteSearchResultsLoader::path(const GetSeriesRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/RemoteSearch/Series"); +} + +QUrlQuery GetSeriesRemoteSearchResultsLoader::query(const GetSeriesRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetTrailerRemoteSearchResultsLoader::GetTrailerRemoteSearchResultsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetTrailerRemoteSearchResultsParams>(apiClient) {} + +QString GetTrailerRemoteSearchResultsLoader::path(const GetTrailerRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/RemoteSearch/Trailer"); +} + +QUrlQuery GetTrailerRemoteSearchResultsLoader::query(const GetTrailerRemoteSearchResultsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/itemrefresh.cpp b/core/src/loader/http/itemrefresh.cpp new file mode 100644 index 0000000..8131f15 --- /dev/null +++ b/core/src/loader/http/itemrefresh.cpp @@ -0,0 +1,41 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/items.cpp b/core/src/loader/http/items.cpp new file mode 100644 index 0000000..c1e35d9 --- /dev/null +++ b/core/src/loader/http/items.cpp @@ -0,0 +1,614 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetItemsLoader::GetItemsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetItemsLoader::path(const GetItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items"); +} + +QUrlQuery GetItemsLoader::query(const GetItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.maxOfficialRatingNull()) { + result.addQueryItem("maxOfficialRating", Support::toString(params.maxOfficialRating())); + } + if (!params.hasThemeSongNull()) { + result.addQueryItem("hasThemeSong", Support::toString>(params.hasThemeSong())); + } + if (!params.hasThemeVideoNull()) { + result.addQueryItem("hasThemeVideo", Support::toString>(params.hasThemeVideo())); + } + if (!params.hasSubtitlesNull()) { + result.addQueryItem("hasSubtitles", Support::toString>(params.hasSubtitles())); + } + if (!params.hasSpecialFeatureNull()) { + result.addQueryItem("hasSpecialFeature", Support::toString>(params.hasSpecialFeature())); + } + if (!params.hasTrailerNull()) { + result.addQueryItem("hasTrailer", Support::toString>(params.hasTrailer())); + } + if (!params.adjacentToNull()) { + result.addQueryItem("adjacentTo", Support::toString(params.adjacentTo())); + } + if (!params.parentIndexNumberNull()) { + result.addQueryItem("parentIndexNumber", Support::toString>(params.parentIndexNumber())); + } + if (!params.hasParentalRatingNull()) { + result.addQueryItem("hasParentalRating", Support::toString>(params.hasParentalRating())); + } + if (!params.isHdNull()) { + result.addQueryItem("isHd", Support::toString>(params.isHd())); + } + if (!params.is4KNull()) { + result.addQueryItem("is4K", Support::toString>(params.is4K())); + } + if (!params.locationTypesNull()) { + result.addQueryItem("locationTypes", Support::toString>(params.locationTypes())); + } + if (!params.excludeLocationTypesNull()) { + result.addQueryItem("excludeLocationTypes", Support::toString>(params.excludeLocationTypes())); + } + if (!params.isMissingNull()) { + result.addQueryItem("isMissing", Support::toString>(params.isMissing())); + } + if (!params.isUnairedNull()) { + result.addQueryItem("isUnaired", Support::toString>(params.isUnaired())); + } + if (!params.minCommunityRatingNull()) { + result.addQueryItem("minCommunityRating", Support::toString>(params.minCommunityRating())); + } + if (!params.minCriticRatingNull()) { + result.addQueryItem("minCriticRating", Support::toString>(params.minCriticRating())); + } + if (!params.minPremiereDateNull()) { + result.addQueryItem("minPremiereDate", Support::toString(params.minPremiereDate())); + } + if (!params.minDateLastSavedNull()) { + result.addQueryItem("minDateLastSaved", Support::toString(params.minDateLastSaved())); + } + if (!params.minDateLastSavedForUserNull()) { + result.addQueryItem("minDateLastSavedForUser", Support::toString(params.minDateLastSavedForUser())); + } + if (!params.maxPremiereDateNull()) { + result.addQueryItem("maxPremiereDate", Support::toString(params.maxPremiereDate())); + } + if (!params.hasOverviewNull()) { + result.addQueryItem("hasOverview", Support::toString>(params.hasOverview())); + } + if (!params.hasImdbIdNull()) { + result.addQueryItem("hasImdbId", Support::toString>(params.hasImdbId())); + } + if (!params.hasTmdbIdNull()) { + result.addQueryItem("hasTmdbId", Support::toString>(params.hasTmdbId())); + } + if (!params.hasTvdbIdNull()) { + result.addQueryItem("hasTvdbId", Support::toString>(params.hasTvdbId())); + } + if (!params.excludeItemIdsNull()) { + result.addQueryItem("excludeItemIds", Support::toString(params.excludeItemIds())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.recursiveNull()) { + result.addQueryItem("recursive", Support::toString>(params.recursive())); + } + if (!params.searchTermNull()) { + result.addQueryItem("searchTerm", Support::toString(params.searchTerm())); + } + if (!params.sortOrderNull()) { + result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); + } + if (!params.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.excludeItemTypesNull()) { + result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.filtersNull()) { + result.addQueryItem("filters", Support::toString>(params.filters())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); + } + if (!params.mediaTypesNull()) { + result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); + } + if (!params.imageTypesNull()) { + result.addQueryItem("imageTypes", Support::toString>(params.imageTypes())); + } + if (!params.sortByNull()) { + result.addQueryItem("sortBy", Support::toString(params.sortBy())); + } + if (!params.isPlayedNull()) { + result.addQueryItem("isPlayed", Support::toString>(params.isPlayed())); + } + if (!params.genresNull()) { + result.addQueryItem("genres", Support::toString(params.genres())); + } + if (!params.officialRatingsNull()) { + result.addQueryItem("officialRatings", Support::toString(params.officialRatings())); + } + if (!params.tagsNull()) { + result.addQueryItem("tags", Support::toString(params.tags())); + } + if (!params.yearsNull()) { + result.addQueryItem("years", Support::toString>(params.years())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.personNull()) { + result.addQueryItem("person", Support::toString(params.person())); + } + if (!params.personIdsNull()) { + result.addQueryItem("personIds", Support::toString(params.personIds())); + } + if (!params.personTypesNull()) { + result.addQueryItem("personTypes", Support::toString(params.personTypes())); + } + if (!params.studiosNull()) { + result.addQueryItem("studios", Support::toString(params.studios())); + } + if (!params.artistsNull()) { + result.addQueryItem("artists", Support::toString(params.artists())); + } + if (!params.excludeArtistIdsNull()) { + result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); + } + if (!params.artistIdsNull()) { + result.addQueryItem("artistIds", Support::toString(params.artistIds())); + } + if (!params.albumArtistIdsNull()) { + result.addQueryItem("albumArtistIds", Support::toString(params.albumArtistIds())); + } + if (!params.contributingArtistIdsNull()) { + result.addQueryItem("contributingArtistIds", Support::toString(params.contributingArtistIds())); + } + if (!params.albumsNull()) { + result.addQueryItem("albums", Support::toString(params.albums())); + } + if (!params.albumIdsNull()) { + result.addQueryItem("albumIds", Support::toString(params.albumIds())); + } + if (!params.idsNull()) { + result.addQueryItem("ids", Support::toString(params.ids())); + } + if (!params.videoTypesNull()) { + result.addQueryItem("videoTypes", Support::toString>(params.videoTypes())); + } + if (!params.minOfficialRatingNull()) { + result.addQueryItem("minOfficialRating", Support::toString(params.minOfficialRating())); + } + if (!params.isLockedNull()) { + result.addQueryItem("isLocked", Support::toString>(params.isLocked())); + } + if (!params.isPlaceHolderNull()) { + result.addQueryItem("isPlaceHolder", Support::toString>(params.isPlaceHolder())); + } + if (!params.hasOfficialRatingNull()) { + result.addQueryItem("hasOfficialRating", Support::toString>(params.hasOfficialRating())); + } + if (!params.collapseBoxSetItemsNull()) { + result.addQueryItem("collapseBoxSetItems", Support::toString>(params.collapseBoxSetItems())); + } + if (!params.minWidthNull()) { + result.addQueryItem("minWidth", Support::toString>(params.minWidth())); + } + if (!params.minHeightNull()) { + result.addQueryItem("minHeight", Support::toString>(params.minHeight())); + } + if (!params.maxWidthNull()) { + result.addQueryItem("maxWidth", Support::toString>(params.maxWidth())); + } + if (!params.maxHeightNull()) { + result.addQueryItem("maxHeight", Support::toString>(params.maxHeight())); + } + if (!params.is3DNull()) { + result.addQueryItem("is3D", Support::toString>(params.is3D())); + } + if (!params.seriesStatusNull()) { + result.addQueryItem("seriesStatus", Support::toString>(params.seriesStatus())); + } + if (!params.nameStartsWithOrGreaterNull()) { + result.addQueryItem("nameStartsWithOrGreater", Support::toString(params.nameStartsWithOrGreater())); + } + if (!params.nameStartsWithNull()) { + result.addQueryItem("nameStartsWith", Support::toString(params.nameStartsWith())); + } + if (!params.nameLessThanNull()) { + result.addQueryItem("nameLessThan", Support::toString(params.nameLessThan())); + } + if (!params.studioIdsNull()) { + result.addQueryItem("studioIds", Support::toString(params.studioIds())); + } + if (!params.genreIdsNull()) { + result.addQueryItem("genreIds", Support::toString(params.genreIds())); + } + if (!params.enableTotalRecordCountNull()) { + result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + + return result; +} + +GetItemsByUserIdLoader::GetItemsByUserIdLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetItemsByUserIdLoader::path(const GetItemsByUserIdParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items"); +} + +QUrlQuery GetItemsByUserIdLoader::query(const GetItemsByUserIdParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.maxOfficialRatingNull()) { + result.addQueryItem("maxOfficialRating", Support::toString(params.maxOfficialRating())); + } + if (!params.hasThemeSongNull()) { + result.addQueryItem("hasThemeSong", Support::toString>(params.hasThemeSong())); + } + if (!params.hasThemeVideoNull()) { + result.addQueryItem("hasThemeVideo", Support::toString>(params.hasThemeVideo())); + } + if (!params.hasSubtitlesNull()) { + result.addQueryItem("hasSubtitles", Support::toString>(params.hasSubtitles())); + } + if (!params.hasSpecialFeatureNull()) { + result.addQueryItem("hasSpecialFeature", Support::toString>(params.hasSpecialFeature())); + } + if (!params.hasTrailerNull()) { + result.addQueryItem("hasTrailer", Support::toString>(params.hasTrailer())); + } + if (!params.adjacentToNull()) { + result.addQueryItem("adjacentTo", Support::toString(params.adjacentTo())); + } + if (!params.parentIndexNumberNull()) { + result.addQueryItem("parentIndexNumber", Support::toString>(params.parentIndexNumber())); + } + if (!params.hasParentalRatingNull()) { + result.addQueryItem("hasParentalRating", Support::toString>(params.hasParentalRating())); + } + if (!params.isHdNull()) { + result.addQueryItem("isHd", Support::toString>(params.isHd())); + } + if (!params.is4KNull()) { + result.addQueryItem("is4K", Support::toString>(params.is4K())); + } + if (!params.locationTypesNull()) { + result.addQueryItem("locationTypes", Support::toString>(params.locationTypes())); + } + if (!params.excludeLocationTypesNull()) { + result.addQueryItem("excludeLocationTypes", Support::toString>(params.excludeLocationTypes())); + } + if (!params.isMissingNull()) { + result.addQueryItem("isMissing", Support::toString>(params.isMissing())); + } + if (!params.isUnairedNull()) { + result.addQueryItem("isUnaired", Support::toString>(params.isUnaired())); + } + if (!params.minCommunityRatingNull()) { + result.addQueryItem("minCommunityRating", Support::toString>(params.minCommunityRating())); + } + if (!params.minCriticRatingNull()) { + result.addQueryItem("minCriticRating", Support::toString>(params.minCriticRating())); + } + if (!params.minPremiereDateNull()) { + result.addQueryItem("minPremiereDate", Support::toString(params.minPremiereDate())); + } + if (!params.minDateLastSavedNull()) { + result.addQueryItem("minDateLastSaved", Support::toString(params.minDateLastSaved())); + } + if (!params.minDateLastSavedForUserNull()) { + result.addQueryItem("minDateLastSavedForUser", Support::toString(params.minDateLastSavedForUser())); + } + if (!params.maxPremiereDateNull()) { + result.addQueryItem("maxPremiereDate", Support::toString(params.maxPremiereDate())); + } + if (!params.hasOverviewNull()) { + result.addQueryItem("hasOverview", Support::toString>(params.hasOverview())); + } + if (!params.hasImdbIdNull()) { + result.addQueryItem("hasImdbId", Support::toString>(params.hasImdbId())); + } + if (!params.hasTmdbIdNull()) { + result.addQueryItem("hasTmdbId", Support::toString>(params.hasTmdbId())); + } + if (!params.hasTvdbIdNull()) { + result.addQueryItem("hasTvdbId", Support::toString>(params.hasTvdbId())); + } + if (!params.excludeItemIdsNull()) { + result.addQueryItem("excludeItemIds", Support::toString(params.excludeItemIds())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.recursiveNull()) { + result.addQueryItem("recursive", Support::toString>(params.recursive())); + } + if (!params.searchTermNull()) { + result.addQueryItem("searchTerm", Support::toString(params.searchTerm())); + } + if (!params.sortOrderNull()) { + result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); + } + if (!params.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.excludeItemTypesNull()) { + result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.filtersNull()) { + result.addQueryItem("filters", Support::toString>(params.filters())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); + } + if (!params.mediaTypesNull()) { + result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); + } + if (!params.imageTypesNull()) { + result.addQueryItem("imageTypes", Support::toString>(params.imageTypes())); + } + if (!params.sortByNull()) { + result.addQueryItem("sortBy", Support::toString(params.sortBy())); + } + if (!params.isPlayedNull()) { + result.addQueryItem("isPlayed", Support::toString>(params.isPlayed())); + } + if (!params.genresNull()) { + result.addQueryItem("genres", Support::toString(params.genres())); + } + if (!params.officialRatingsNull()) { + result.addQueryItem("officialRatings", Support::toString(params.officialRatings())); + } + if (!params.tagsNull()) { + result.addQueryItem("tags", Support::toString(params.tags())); + } + if (!params.yearsNull()) { + result.addQueryItem("years", Support::toString>(params.years())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.personNull()) { + result.addQueryItem("person", Support::toString(params.person())); + } + if (!params.personIdsNull()) { + result.addQueryItem("personIds", Support::toString(params.personIds())); + } + if (!params.personTypesNull()) { + result.addQueryItem("personTypes", Support::toString(params.personTypes())); + } + if (!params.studiosNull()) { + result.addQueryItem("studios", Support::toString(params.studios())); + } + if (!params.artistsNull()) { + result.addQueryItem("artists", Support::toString(params.artists())); + } + if (!params.excludeArtistIdsNull()) { + result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); + } + if (!params.artistIdsNull()) { + result.addQueryItem("artistIds", Support::toString(params.artistIds())); + } + if (!params.albumArtistIdsNull()) { + result.addQueryItem("albumArtistIds", Support::toString(params.albumArtistIds())); + } + if (!params.contributingArtistIdsNull()) { + result.addQueryItem("contributingArtistIds", Support::toString(params.contributingArtistIds())); + } + if (!params.albumsNull()) { + result.addQueryItem("albums", Support::toString(params.albums())); + } + if (!params.albumIdsNull()) { + result.addQueryItem("albumIds", Support::toString(params.albumIds())); + } + if (!params.idsNull()) { + result.addQueryItem("ids", Support::toString(params.ids())); + } + if (!params.videoTypesNull()) { + result.addQueryItem("videoTypes", Support::toString>(params.videoTypes())); + } + if (!params.minOfficialRatingNull()) { + result.addQueryItem("minOfficialRating", Support::toString(params.minOfficialRating())); + } + if (!params.isLockedNull()) { + result.addQueryItem("isLocked", Support::toString>(params.isLocked())); + } + if (!params.isPlaceHolderNull()) { + result.addQueryItem("isPlaceHolder", Support::toString>(params.isPlaceHolder())); + } + if (!params.hasOfficialRatingNull()) { + result.addQueryItem("hasOfficialRating", Support::toString>(params.hasOfficialRating())); + } + if (!params.collapseBoxSetItemsNull()) { + result.addQueryItem("collapseBoxSetItems", Support::toString>(params.collapseBoxSetItems())); + } + if (!params.minWidthNull()) { + result.addQueryItem("minWidth", Support::toString>(params.minWidth())); + } + if (!params.minHeightNull()) { + result.addQueryItem("minHeight", Support::toString>(params.minHeight())); + } + if (!params.maxWidthNull()) { + result.addQueryItem("maxWidth", Support::toString>(params.maxWidth())); + } + if (!params.maxHeightNull()) { + result.addQueryItem("maxHeight", Support::toString>(params.maxHeight())); + } + if (!params.is3DNull()) { + result.addQueryItem("is3D", Support::toString>(params.is3D())); + } + if (!params.seriesStatusNull()) { + result.addQueryItem("seriesStatus", Support::toString>(params.seriesStatus())); + } + if (!params.nameStartsWithOrGreaterNull()) { + result.addQueryItem("nameStartsWithOrGreater", Support::toString(params.nameStartsWithOrGreater())); + } + if (!params.nameStartsWithNull()) { + result.addQueryItem("nameStartsWith", Support::toString(params.nameStartsWith())); + } + if (!params.nameLessThanNull()) { + result.addQueryItem("nameLessThan", Support::toString(params.nameLessThan())); + } + if (!params.studioIdsNull()) { + result.addQueryItem("studioIds", Support::toString(params.studioIds())); + } + if (!params.genreIdsNull()) { + result.addQueryItem("genreIds", Support::toString(params.genreIds())); + } + if (!params.enableTotalRecordCountNull()) { + result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + + return result; +} + +GetResumeItemsLoader::GetResumeItemsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetResumeItemsLoader::path(const GetResumeItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/Resume"); +} + +QUrlQuery GetResumeItemsLoader::query(const GetResumeItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.searchTermNull()) { + result.addQueryItem("searchTerm", Support::toString(params.searchTerm())); + } + if (!params.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.mediaTypesNull()) { + result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.excludeItemTypesNull()) { + result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.enableTotalRecordCountNull()) { + result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getmetadataeditorinfo.cpp b/core/src/loader/http/itemupdate.cpp similarity index 97% rename from core/src/loader/http/getmetadataeditorinfo.cpp rename to core/src/loader/http/itemupdate.cpp index 2617ab2..05f839e 100644 --- a/core/src/loader/http/getmetadataeditorinfo.cpp +++ b/core/src/loader/http/itemupdate.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetMetadataEditorInfoLoader::GetMetadataEditorInfoLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/library.cpp b/core/src/loader/http/library.cpp new file mode 100644 index 0000000..d930d68 --- /dev/null +++ b/core/src/loader/http/library.cpp @@ -0,0 +1,434 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetSimilarAlbumsLoader::GetSimilarAlbumsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarAlbumsLoader::path(const GetSimilarAlbumsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Albums/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarAlbumsLoader::query(const GetSimilarAlbumsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.excludeArtistIdsNull()) { + result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + + return result; +} + +GetSimilarArtistsLoader::GetSimilarArtistsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarArtistsLoader::path(const GetSimilarArtistsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Artists/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarArtistsLoader::query(const GetSimilarArtistsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.excludeArtistIdsNull()) { + result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + + return result; +} + +GetAncestorsLoader::GetAncestorsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetAncestorsParams>(apiClient) {} + +QString GetAncestorsLoader::path(const GetAncestorsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Ancestors"); +} + +QUrlQuery GetAncestorsLoader::query(const GetAncestorsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + +GetCriticReviewsLoader::GetCriticReviewsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetCriticReviewsLoader::path(const GetCriticReviewsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/CriticReviews"); +} + +QUrlQuery GetCriticReviewsLoader::query(const GetCriticReviewsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetSimilarItemsLoader::GetSimilarItemsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarItemsLoader::path(const GetSimilarItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarItemsLoader::query(const GetSimilarItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.excludeArtistIdsNull()) { + result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + + return result; +} + +GetThemeMediaLoader::GetThemeMediaLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetThemeMediaLoader::path(const GetThemeMediaParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/ThemeMedia"); +} + +QUrlQuery GetThemeMediaLoader::query(const GetThemeMediaParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.inheritFromParentNull()) { + result.addQueryItem("inheritFromParent", Support::toString>(params.inheritFromParent())); + } + + return result; +} + +GetThemeSongsLoader::GetThemeSongsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetThemeSongsLoader::path(const GetThemeSongsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/ThemeSongs"); +} + +QUrlQuery GetThemeSongsLoader::query(const GetThemeSongsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.inheritFromParentNull()) { + result.addQueryItem("inheritFromParent", Support::toString>(params.inheritFromParent())); + } + + return result; +} + +GetThemeVideosLoader::GetThemeVideosLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetThemeVideosLoader::path(const GetThemeVideosParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/ThemeVideos"); +} + +QUrlQuery GetThemeVideosLoader::query(const GetThemeVideosParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.inheritFromParentNull()) { + result.addQueryItem("inheritFromParent", Support::toString>(params.inheritFromParent())); + } + + return result; +} + +GetItemCountsLoader::GetItemCountsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetItemCountsLoader::path(const GetItemCountsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/Counts"); +} + +QUrlQuery GetItemCountsLoader::query(const GetItemCountsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); + } + + return result; +} + +GetLibraryOptionsInfoLoader::GetLibraryOptionsInfoLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLibraryOptionsInfoLoader::path(const GetLibraryOptionsInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Libraries/AvailableOptions"); +} + +QUrlQuery GetLibraryOptionsInfoLoader::query(const GetLibraryOptionsInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.libraryContentTypeNull()) { + result.addQueryItem("libraryContentType", Support::toString(params.libraryContentType())); + } + if (!params.isNewLibraryNull()) { + result.addQueryItem("isNewLibrary", Support::toString>(params.isNewLibrary())); + } + + return result; +} + +GetMediaFoldersLoader::GetMediaFoldersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetMediaFoldersLoader::path(const GetMediaFoldersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Library/MediaFolders"); +} + +QUrlQuery GetMediaFoldersLoader::query(const GetMediaFoldersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.isHiddenNull()) { + result.addQueryItem("isHidden", Support::toString>(params.isHidden())); + } + + return result; +} + +GetPhysicalPathsLoader::GetPhysicalPathsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPhysicalPathsLoader::path(const GetPhysicalPathsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Library/PhysicalPaths"); +} + +QUrlQuery GetPhysicalPathsLoader::query(const GetPhysicalPathsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetSimilarMoviesLoader::GetSimilarMoviesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarMoviesLoader::path(const GetSimilarMoviesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Movies/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarMoviesLoader::query(const GetSimilarMoviesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.excludeArtistIdsNull()) { + result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + + return result; +} + +GetSimilarShowsLoader::GetSimilarShowsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarShowsLoader::path(const GetSimilarShowsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Shows/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarShowsLoader::query(const GetSimilarShowsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.excludeArtistIdsNull()) { + result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + + return result; +} + +GetSimilarTrailersLoader::GetSimilarTrailersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarTrailersLoader::path(const GetSimilarTrailersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Trailers/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarTrailersLoader::query(const GetSimilarTrailersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.excludeArtistIdsNull()) { + result.addQueryItem("excludeArtistIds", Support::toString(params.excludeArtistIds())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getvirtualfolders.cpp b/core/src/loader/http/librarystructure.cpp similarity index 97% rename from core/src/loader/http/getvirtualfolders.cpp rename to core/src/loader/http/librarystructure.cpp index abc8543..eeb4294 100644 --- a/core/src/loader/http/getvirtualfolders.cpp +++ b/core/src/loader/http/librarystructure.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetVirtualFoldersLoader::GetVirtualFoldersLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, GetVirtualFoldersParams>(apiClient) {} diff --git a/core/src/loader/http/livetv.cpp b/core/src/loader/http/livetv.cpp new file mode 100644 index 0000000..1623708 --- /dev/null +++ b/core/src/loader/http/livetv.cpp @@ -0,0 +1,930 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetChannelMappingOptionsLoader::GetChannelMappingOptionsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannelMappingOptionsLoader::path(const GetChannelMappingOptionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/ChannelMappingOptions"); +} + +QUrlQuery GetChannelMappingOptionsLoader::query(const GetChannelMappingOptionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.providerIdNull()) { + result.addQueryItem("providerId", Support::toString(params.providerId())); + } + + return result; +} + +SetChannelMappingLoader::SetChannelMappingLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString SetChannelMappingLoader::path(const SetChannelMappingParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/ChannelMappings"); +} + +QUrlQuery SetChannelMappingLoader::query(const SetChannelMappingParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetLiveTvChannelsLoader::GetLiveTvChannelsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLiveTvChannelsLoader::path(const GetLiveTvChannelsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Channels"); +} + +QUrlQuery GetLiveTvChannelsLoader::query(const GetLiveTvChannelsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.typeNull()) { + result.addQueryItem("type", Support::toString(params.type())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.isMovieNull()) { + result.addQueryItem("isMovie", Support::toString>(params.isMovie())); + } + if (!params.isSeriesNull()) { + result.addQueryItem("isSeries", Support::toString>(params.isSeries())); + } + if (!params.isNewsNull()) { + result.addQueryItem("isNews", Support::toString>(params.isNews())); + } + if (!params.isKidsNull()) { + result.addQueryItem("isKids", Support::toString>(params.isKids())); + } + if (!params.isSportsNull()) { + result.addQueryItem("isSports", Support::toString>(params.isSports())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString>(params.isFavorite())); + } + if (!params.isLikedNull()) { + result.addQueryItem("isLiked", Support::toString>(params.isLiked())); + } + if (!params.isDislikedNull()) { + result.addQueryItem("isDisliked", Support::toString>(params.isDisliked())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.sortByNull()) { + result.addQueryItem("sortBy", Support::toString(params.sortBy())); + } + if (!params.sortOrderNull()) { + result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); + } + if (!params.enableFavoriteSortingNull()) { + result.addQueryItem("enableFavoriteSorting", Support::toString>(params.enableFavoriteSorting())); + } + if (!params.addCurrentProgramNull()) { + result.addQueryItem("addCurrentProgram", Support::toString>(params.addCurrentProgram())); + } + + return result; +} + +GetChannelLoader::GetChannelLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannelLoader::path(const GetChannelParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Channels/") + Support::toString< QString>(params.channelId()) ; +} + +QUrlQuery GetChannelLoader::query(const GetChannelParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + +GetGuideInfoLoader::GetGuideInfoLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetGuideInfoLoader::path(const GetGuideInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/GuideInfo"); +} + +QUrlQuery GetGuideInfoLoader::query(const GetGuideInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetLiveTvInfoLoader::GetLiveTvInfoLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLiveTvInfoLoader::path(const GetLiveTvInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Info"); +} + +QUrlQuery GetLiveTvInfoLoader::query(const GetLiveTvInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +AddListingProviderLoader::AddListingProviderLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AddListingProviderLoader::path(const AddListingProviderParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/ListingProviders"); +} + +QUrlQuery AddListingProviderLoader::query(const AddListingProviderParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.pwNull()) { + result.addQueryItem("pw", Support::toString(params.pw())); + } + if (!params.validateListingsNull()) { + result.addQueryItem("validateListings", Support::toString>(params.validateListings())); + } + if (!params.validateLoginNull()) { + result.addQueryItem("validateLogin", Support::toString>(params.validateLogin())); + } + + return result; +} + +GetDefaultListingProviderLoader::GetDefaultListingProviderLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDefaultListingProviderLoader::path(const GetDefaultListingProviderParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/ListingProviders/Default"); +} + +QUrlQuery GetDefaultListingProviderLoader::query(const GetDefaultListingProviderParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetLineupsLoader::GetLineupsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetLineupsParams>(apiClient) {} + +QString GetLineupsLoader::path(const GetLineupsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/ListingProviders/Lineups"); +} + +QUrlQuery GetLineupsLoader::query(const GetLineupsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.jellyfinIdNull()) { + result.addQueryItem("id", Support::toString(params.jellyfinId())); + } + if (!params.typeNull()) { + result.addQueryItem("type", Support::toString(params.type())); + } + if (!params.locationNull()) { + result.addQueryItem("location", Support::toString(params.location())); + } + if (!params.countryNull()) { + result.addQueryItem("country", Support::toString(params.country())); + } + + return result; +} + +GetSchedulesDirectCountriesLoader::GetSchedulesDirectCountriesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSchedulesDirectCountriesLoader::path(const GetSchedulesDirectCountriesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/ListingProviders/SchedulesDirect/Countries"); +} + +QUrlQuery GetSchedulesDirectCountriesLoader::query(const GetSchedulesDirectCountriesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetLiveTvProgramsLoader::GetLiveTvProgramsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLiveTvProgramsLoader::path(const GetLiveTvProgramsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Programs"); +} + +QUrlQuery GetLiveTvProgramsLoader::query(const GetLiveTvProgramsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.channelIdsNull()) { + result.addQueryItem("channelIds", Support::toString(params.channelIds())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.minStartDateNull()) { + result.addQueryItem("minStartDate", Support::toString(params.minStartDate())); + } + if (!params.hasAiredNull()) { + result.addQueryItem("hasAired", Support::toString>(params.hasAired())); + } + if (!params.isAiringNull()) { + result.addQueryItem("isAiring", Support::toString>(params.isAiring())); + } + if (!params.maxStartDateNull()) { + result.addQueryItem("maxStartDate", Support::toString(params.maxStartDate())); + } + if (!params.minEndDateNull()) { + result.addQueryItem("minEndDate", Support::toString(params.minEndDate())); + } + if (!params.maxEndDateNull()) { + result.addQueryItem("maxEndDate", Support::toString(params.maxEndDate())); + } + if (!params.isMovieNull()) { + result.addQueryItem("isMovie", Support::toString>(params.isMovie())); + } + if (!params.isSeriesNull()) { + result.addQueryItem("isSeries", Support::toString>(params.isSeries())); + } + if (!params.isNewsNull()) { + result.addQueryItem("isNews", Support::toString>(params.isNews())); + } + if (!params.isKidsNull()) { + result.addQueryItem("isKids", Support::toString>(params.isKids())); + } + if (!params.isSportsNull()) { + result.addQueryItem("isSports", Support::toString>(params.isSports())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.sortByNull()) { + result.addQueryItem("sortBy", Support::toString(params.sortBy())); + } + if (!params.sortOrderNull()) { + result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); + } + if (!params.genresNull()) { + result.addQueryItem("genres", Support::toString(params.genres())); + } + if (!params.genreIdsNull()) { + result.addQueryItem("genreIds", Support::toString(params.genreIds())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.seriesTimerIdNull()) { + result.addQueryItem("seriesTimerId", Support::toString(params.seriesTimerId())); + } + if (!params.librarySeriesIdNull()) { + result.addQueryItem("librarySeriesId", Support::toString(params.librarySeriesId())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableTotalRecordCountNull()) { + result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); + } + + return result; +} + +GetProgramsLoader::GetProgramsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetProgramsLoader::path(const GetProgramsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Programs"); +} + +QUrlQuery GetProgramsLoader::query(const GetProgramsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetProgramLoader::GetProgramLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetProgramLoader::path(const GetProgramParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Programs/") + Support::toString< QString>(params.programId()) ; +} + +QUrlQuery GetProgramLoader::query(const GetProgramParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + +GetRecommendedProgramsLoader::GetRecommendedProgramsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecommendedProgramsLoader::path(const GetRecommendedProgramsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Programs/Recommended"); +} + +QUrlQuery GetRecommendedProgramsLoader::query(const GetRecommendedProgramsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.isAiringNull()) { + result.addQueryItem("isAiring", Support::toString>(params.isAiring())); + } + if (!params.hasAiredNull()) { + result.addQueryItem("hasAired", Support::toString>(params.hasAired())); + } + if (!params.isSeriesNull()) { + result.addQueryItem("isSeries", Support::toString>(params.isSeries())); + } + if (!params.isMovieNull()) { + result.addQueryItem("isMovie", Support::toString>(params.isMovie())); + } + if (!params.isNewsNull()) { + result.addQueryItem("isNews", Support::toString>(params.isNews())); + } + if (!params.isKidsNull()) { + result.addQueryItem("isKids", Support::toString>(params.isKids())); + } + if (!params.isSportsNull()) { + result.addQueryItem("isSports", Support::toString>(params.isSports())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.genreIdsNull()) { + result.addQueryItem("genreIds", Support::toString(params.genreIds())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.enableTotalRecordCountNull()) { + result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); + } + + return result; +} + +GetRecordingsLoader::GetRecordingsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecordingsLoader::path(const GetRecordingsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Recordings"); +} + +QUrlQuery GetRecordingsLoader::query(const GetRecordingsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.channelIdNull()) { + result.addQueryItem("channelId", Support::toString(params.channelId())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.statusNull()) { + result.addQueryItem("status", Support::toString(params.status())); + } + if (!params.isInProgressNull()) { + result.addQueryItem("isInProgress", Support::toString>(params.isInProgress())); + } + if (!params.seriesTimerIdNull()) { + result.addQueryItem("seriesTimerId", Support::toString(params.seriesTimerId())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.isMovieNull()) { + result.addQueryItem("isMovie", Support::toString>(params.isMovie())); + } + if (!params.isSeriesNull()) { + result.addQueryItem("isSeries", Support::toString>(params.isSeries())); + } + if (!params.isKidsNull()) { + result.addQueryItem("isKids", Support::toString>(params.isKids())); + } + if (!params.isSportsNull()) { + result.addQueryItem("isSports", Support::toString>(params.isSports())); + } + if (!params.isNewsNull()) { + result.addQueryItem("isNews", Support::toString>(params.isNews())); + } + if (!params.isLibraryItemNull()) { + result.addQueryItem("isLibraryItem", Support::toString>(params.isLibraryItem())); + } + if (!params.enableTotalRecordCountNull()) { + result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); + } + + return result; +} + +GetRecordingLoader::GetRecordingLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecordingLoader::path(const GetRecordingParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Recordings/") + Support::toString< QString>(params.recordingId()) ; +} + +QUrlQuery GetRecordingLoader::query(const GetRecordingParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + +GetRecordingFoldersLoader::GetRecordingFoldersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecordingFoldersLoader::path(const GetRecordingFoldersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Recordings/Folders"); +} + +QUrlQuery GetRecordingFoldersLoader::query(const GetRecordingFoldersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + +GetRecordingGroupsLoader::GetRecordingGroupsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecordingGroupsLoader::path(const GetRecordingGroupsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Recordings/Groups"); +} + +QUrlQuery GetRecordingGroupsLoader::query(const GetRecordingGroupsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + +GetRecordingsSeriesLoader::GetRecordingsSeriesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecordingsSeriesLoader::path(const GetRecordingsSeriesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Recordings/Series"); +} + +QUrlQuery GetRecordingsSeriesLoader::query(const GetRecordingsSeriesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.channelIdNull()) { + result.addQueryItem("channelId", Support::toString(params.channelId())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.groupIdNull()) { + result.addQueryItem("groupId", Support::toString(params.groupId())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.statusNull()) { + result.addQueryItem("status", Support::toString(params.status())); + } + if (!params.isInProgressNull()) { + result.addQueryItem("isInProgress", Support::toString>(params.isInProgress())); + } + if (!params.seriesTimerIdNull()) { + result.addQueryItem("seriesTimerId", Support::toString(params.seriesTimerId())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.enableTotalRecordCountNull()) { + result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); + } + + return result; +} + +GetSeriesTimersLoader::GetSeriesTimersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSeriesTimersLoader::path(const GetSeriesTimersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/SeriesTimers"); +} + +QUrlQuery GetSeriesTimersLoader::query(const GetSeriesTimersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.sortByNull()) { + result.addQueryItem("sortBy", Support::toString(params.sortBy())); + } + if (!params.sortOrderNull()) { + result.addQueryItem("sortOrder", Support::toString(params.sortOrder())); + } + + return result; +} + +GetSeriesTimerLoader::GetSeriesTimerLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSeriesTimerLoader::path(const GetSeriesTimerParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/SeriesTimers/") + Support::toString< QString>(params.timerId()) ; +} + +QUrlQuery GetSeriesTimerLoader::query(const GetSeriesTimerParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetTimersLoader::GetTimersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetTimersLoader::path(const GetTimersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Timers"); +} + +QUrlQuery GetTimersLoader::query(const GetTimersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.channelIdNull()) { + result.addQueryItem("channelId", Support::toString(params.channelId())); + } + if (!params.seriesTimerIdNull()) { + result.addQueryItem("seriesTimerId", Support::toString(params.seriesTimerId())); + } + if (!params.isActiveNull()) { + result.addQueryItem("isActive", Support::toString>(params.isActive())); + } + if (!params.isScheduledNull()) { + result.addQueryItem("isScheduled", Support::toString>(params.isScheduled())); + } + + return result; +} + +GetTimerLoader::GetTimerLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetTimerLoader::path(const GetTimerParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Timers/") + Support::toString< QString>(params.timerId()) ; +} + +QUrlQuery GetTimerLoader::query(const GetTimerParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetDefaultTimerLoader::GetDefaultTimerLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDefaultTimerLoader::path(const GetDefaultTimerParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Timers/Defaults"); +} + +QUrlQuery GetDefaultTimerLoader::query(const GetDefaultTimerParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.programIdNull()) { + result.addQueryItem("programId", Support::toString(params.programId())); + } + + return result; +} + +AddTunerHostLoader::AddTunerHostLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AddTunerHostLoader::path(const AddTunerHostParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/TunerHosts"); +} + +QUrlQuery AddTunerHostLoader::query(const AddTunerHostParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetTunerHostTypesLoader::GetTunerHostTypesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetTunerHostTypesParams>(apiClient) {} + +QString GetTunerHostTypesLoader::path(const GetTunerHostTypesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/TunerHosts/Types"); +} + +QUrlQuery GetTunerHostTypesLoader::query(const GetTunerHostTypesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +DiscoverTunersLoader::DiscoverTunersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, DiscoverTunersParams>(apiClient) {} + +QString DiscoverTunersLoader::path(const DiscoverTunersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Tuners/Discover"); +} + +QUrlQuery DiscoverTunersLoader::query(const DiscoverTunersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.newDevicesOnlyNull()) { + result.addQueryItem("newDevicesOnly", Support::toString>(params.newDevicesOnly())); + } + + return result; +} + +DiscvoverTunersLoader::DiscvoverTunersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, DiscvoverTunersParams>(apiClient) {} + +QString DiscvoverTunersLoader::path(const DiscvoverTunersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveTv/Tuners/Discvover"); +} + +QUrlQuery DiscvoverTunersLoader::query(const DiscvoverTunersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.newDevicesOnlyNull()) { + result.addQueryItem("newDevicesOnly", Support::toString>(params.newDevicesOnly())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getlocalizationoptions.cpp b/core/src/loader/http/localization.cpp similarity index 53% rename from core/src/loader/http/getlocalizationoptions.cpp rename to core/src/loader/http/localization.cpp index 1b74a2e..51b1231 100644 --- a/core/src/loader/http/getlocalizationoptions.cpp +++ b/core/src/loader/http/localization.cpp @@ -27,14 +27,52 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetCountriesLoader::GetCountriesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetCountriesParams>(apiClient) {} + +QString GetCountriesLoader::path(const GetCountriesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Localization/Countries"); +} + +QUrlQuery GetCountriesLoader::query(const GetCountriesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetCulturesLoader::GetCulturesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetCulturesParams>(apiClient) {} + +QString GetCulturesLoader::path(const GetCulturesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Localization/Cultures"); +} + +QUrlQuery GetCulturesLoader::query(const GetCulturesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + GetLocalizationOptionsLoader::GetLocalizationOptionsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, GetLocalizationOptionsParams>(apiClient) {} @@ -54,6 +92,25 @@ QUrlQuery GetLocalizationOptionsLoader::query(const GetLocalizationOptionsParams return result; } +GetParentalRatingsLoader::GetParentalRatingsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetParentalRatingsParams>(apiClient) {} + +QString GetParentalRatingsLoader::path(const GetParentalRatingsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Localization/ParentalRatings"); +} + +QUrlQuery GetParentalRatingsLoader::query(const GetParentalRatingsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/markfavoriteitem.cpp b/core/src/loader/http/markfavoriteitem.cpp deleted file mode 100644 index 69216d5..0000000 --- a/core/src/loader/http/markfavoriteitem.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -MarkFavoriteItemLoader::MarkFavoriteItemLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString MarkFavoriteItemLoader::path(const MarkFavoriteItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/FavoriteItems/") + Support::toString< QString>(params.itemId()) ; -} - -QUrlQuery MarkFavoriteItemLoader::query(const MarkFavoriteItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/markunplayeditem.cpp b/core/src/loader/http/markunplayeditem.cpp deleted file mode 100644 index 79ac8d2..0000000 --- a/core/src/loader/http/markunplayeditem.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -MarkUnplayedItemLoader::MarkUnplayedItemLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString MarkUnplayedItemLoader::path(const MarkUnplayedItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/PlayedItems/") + Support::toString< QString>(params.itemId()) ; -} - -QUrlQuery MarkUnplayedItemLoader::query(const MarkUnplayedItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpostedplaybackinfo.cpp b/core/src/loader/http/mediainfo.cpp similarity index 59% rename from core/src/loader/http/getpostedplaybackinfo.cpp rename to core/src/loader/http/mediainfo.cpp index 4471536..1110684 100644 --- a/core/src/loader/http/getpostedplaybackinfo.cpp +++ b/core/src/loader/http/mediainfo.cpp @@ -27,14 +27,34 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetPlaybackInfoLoader::GetPlaybackInfoLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPlaybackInfoLoader::path(const GetPlaybackInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/PlaybackInfo"); +} + +QUrlQuery GetPlaybackInfoLoader::query(const GetPlaybackInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("userId", Support::toString(params.userId())); + + // Optional parameters + + return result; +} + GetPostedPlaybackInfoLoader::GetPostedPlaybackInfoLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -96,6 +116,58 @@ QUrlQuery GetPostedPlaybackInfoLoader::query(const GetPostedPlaybackInfoParams & return result; } +OpenLiveStreamLoader::OpenLiveStreamLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString OpenLiveStreamLoader::path(const OpenLiveStreamParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/LiveStreams/Open"); +} + +QUrlQuery OpenLiveStreamLoader::query(const OpenLiveStreamParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.openTokenNull()) { + result.addQueryItem("openToken", Support::toString(params.openToken())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.playSessionIdNull()) { + result.addQueryItem("playSessionId", Support::toString(params.playSessionId())); + } + if (!params.maxStreamingBitrateNull()) { + result.addQueryItem("maxStreamingBitrate", Support::toString>(params.maxStreamingBitrate())); + } + if (!params.startTimeTicksNull()) { + result.addQueryItem("startTimeTicks", Support::toString>(params.startTimeTicks())); + } + if (!params.audioStreamIndexNull()) { + result.addQueryItem("audioStreamIndex", Support::toString>(params.audioStreamIndex())); + } + if (!params.subtitleStreamIndexNull()) { + result.addQueryItem("subtitleStreamIndex", Support::toString>(params.subtitleStreamIndex())); + } + if (!params.maxAudioChannelsNull()) { + result.addQueryItem("maxAudioChannels", Support::toString>(params.maxAudioChannels())); + } + if (!params.itemIdNull()) { + result.addQueryItem("itemId", Support::toString(params.itemId())); + } + if (!params.enableDirectPlayNull()) { + result.addQueryItem("enableDirectPlay", Support::toString>(params.enableDirectPlay())); + } + if (!params.enableDirectStreamNull()) { + result.addQueryItem("enableDirectStream", Support::toString>(params.enableDirectStream())); + } + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/mergeversions.cpp b/core/src/loader/http/mergeversions.cpp deleted file mode 100644 index 672109e..0000000 --- a/core/src/loader/http/mergeversions.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/moveitem.cpp b/core/src/loader/http/moveitem.cpp deleted file mode 100644 index dea1f17..0000000 --- a/core/src/loader/http/moveitem.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getmovierecommendations.cpp b/core/src/loader/http/movies.cpp similarity index 97% rename from core/src/loader/http/getmovierecommendations.cpp rename to core/src/loader/http/movies.cpp index 16431a7..8a477c5 100644 --- a/core/src/loader/http/getmovierecommendations.cpp +++ b/core/src/loader/http/movies.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetMovieRecommendationsLoader::GetMovieRecommendationsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, GetMovieRecommendationsParams>(apiClient) {} diff --git a/core/src/loader/http/getmusicgenres.cpp b/core/src/loader/http/musicgenres.cpp similarity index 84% rename from core/src/loader/http/getmusicgenres.cpp rename to core/src/loader/http/musicgenres.cpp index c3084bf..25268ab 100644 --- a/core/src/loader/http/getmusicgenres.cpp +++ b/core/src/loader/http/musicgenres.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetMusicGenresLoader::GetMusicGenresLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -102,6 +102,28 @@ QUrlQuery GetMusicGenresLoader::query(const GetMusicGenresParams ¶ms) const return result; } +GetMusicGenreLoader::GetMusicGenreLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetMusicGenreLoader::path(const GetMusicGenreParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/MusicGenres/") + Support::toString< QString>(params.genreName()) ; +} + +QUrlQuery GetMusicGenreLoader::query(const GetMusicGenreParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/getnotificationssummary.cpp b/core/src/loader/http/notifications.cpp similarity index 51% rename from core/src/loader/http/getnotificationssummary.cpp rename to core/src/loader/http/notifications.cpp index bec4bc0..5645c24 100644 --- a/core/src/loader/http/getnotificationssummary.cpp +++ b/core/src/loader/http/notifications.cpp @@ -27,14 +27,33 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetNotificationsLoader::GetNotificationsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetNotificationsLoader::path(const GetNotificationsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Notifications/") + Support::toString< QString>(params.userId()) ; +} + +QUrlQuery GetNotificationsLoader::query(const GetNotificationsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + GetNotificationsSummaryLoader::GetNotificationsSummaryLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -54,6 +73,44 @@ QUrlQuery GetNotificationsSummaryLoader::query(const GetNotificationsSummaryPara return result; } +GetNotificationServicesLoader::GetNotificationServicesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetNotificationServicesParams>(apiClient) {} + +QString GetNotificationServicesLoader::path(const GetNotificationServicesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Notifications/Services"); +} + +QUrlQuery GetNotificationServicesLoader::query(const GetNotificationServicesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetNotificationTypesLoader::GetNotificationTypesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetNotificationTypesParams>(apiClient) {} + +QString GetNotificationTypesLoader::path(const GetNotificationTypesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Notifications/Types"); +} + +QUrlQuery GetNotificationTypesLoader::query(const GetNotificationTypesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/onplaybackprogress.cpp b/core/src/loader/http/onplaybackprogress.cpp deleted file mode 100644 index 98de1e6..0000000 --- a/core/src/loader/http/onplaybackprogress.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/onplaybackstart.cpp b/core/src/loader/http/onplaybackstart.cpp deleted file mode 100644 index 43dad8c..0000000 --- a/core/src/loader/http/onplaybackstart.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/onplaybackstopped.cpp b/core/src/loader/http/onplaybackstopped.cpp deleted file mode 100644 index f9adebc..0000000 --- a/core/src/loader/http/onplaybackstopped.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/openlivestream.cpp b/core/src/loader/http/openlivestream.cpp deleted file mode 100644 index f23cfb9..0000000 --- a/core/src/loader/http/openlivestream.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -OpenLiveStreamLoader::OpenLiveStreamLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString OpenLiveStreamLoader::path(const OpenLiveStreamParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveStreams/Open"); -} - -QUrlQuery OpenLiveStreamLoader::query(const OpenLiveStreamParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.openTokenNull()) { - result.addQueryItem("openToken", Support::toString(params.openToken())); - } - if (!params.userIdNull()) { - result.addQueryItem("userId", Support::toString(params.userId())); - } - if (!params.playSessionIdNull()) { - result.addQueryItem("playSessionId", Support::toString(params.playSessionId())); - } - if (!params.maxStreamingBitrateNull()) { - result.addQueryItem("maxStreamingBitrate", Support::toString>(params.maxStreamingBitrate())); - } - if (!params.startTimeTicksNull()) { - result.addQueryItem("startTimeTicks", Support::toString>(params.startTimeTicks())); - } - if (!params.audioStreamIndexNull()) { - result.addQueryItem("audioStreamIndex", Support::toString>(params.audioStreamIndex())); - } - if (!params.subtitleStreamIndexNull()) { - result.addQueryItem("subtitleStreamIndex", Support::toString>(params.subtitleStreamIndex())); - } - if (!params.maxAudioChannelsNull()) { - result.addQueryItem("maxAudioChannels", Support::toString>(params.maxAudioChannels())); - } - if (!params.itemIdNull()) { - result.addQueryItem("itemId", Support::toString(params.itemId())); - } - if (!params.enableDirectPlayNull()) { - result.addQueryItem("enableDirectPlay", Support::toString>(params.enableDirectPlay())); - } - if (!params.enableDirectStreamNull()) { - result.addQueryItem("enableDirectStream", Support::toString>(params.enableDirectStream())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getpackageinfo.cpp b/core/src/loader/http/package.cpp similarity index 64% rename from core/src/loader/http/getpackageinfo.cpp rename to core/src/loader/http/package.cpp index 91c4bee..7b1c1c8 100644 --- a/core/src/loader/http/getpackageinfo.cpp +++ b/core/src/loader/http/package.cpp @@ -27,14 +27,33 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetPackagesLoader::GetPackagesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetPackagesParams>(apiClient) {} + +QString GetPackagesLoader::path(const GetPackagesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Packages"); +} + +QUrlQuery GetPackagesLoader::query(const GetPackagesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + GetPackageInfoLoader::GetPackageInfoLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -57,6 +76,25 @@ QUrlQuery GetPackageInfoLoader::query(const GetPackageInfoParams ¶ms) const return result; } +GetRepositoriesLoader::GetRepositoriesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetRepositoriesParams>(apiClient) {} + +QString GetRepositoriesLoader::path(const GetRepositoriesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Repositories"); +} + +QUrlQuery GetRepositoriesLoader::query(const GetRepositoriesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/getpersons.cpp b/core/src/loader/http/persons.cpp similarity index 83% rename from core/src/loader/http/getpersons.cpp rename to core/src/loader/http/persons.cpp index 9cb4373..f530249 100644 --- a/core/src/loader/http/getpersons.cpp +++ b/core/src/loader/http/persons.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetPersonsLoader::GetPersonsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -93,6 +93,28 @@ QUrlQuery GetPersonsLoader::query(const GetPersonsParams ¶ms) const { return result; } +GetPersonLoader::GetPersonLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPersonLoader::path(const GetPersonParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Persons/") + Support::toString< QString>(params.name()) ; +} + +QUrlQuery GetPersonLoader::query(const GetPersonParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/pingplaybacksession.cpp b/core/src/loader/http/pingplaybacksession.cpp deleted file mode 100644 index 1ba22e5..0000000 --- a/core/src/loader/http/pingplaybacksession.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/play.cpp b/core/src/loader/http/play.cpp deleted file mode 100644 index 3903d83..0000000 --- a/core/src/loader/http/play.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getplaylistitems.cpp b/core/src/loader/http/playlists.cpp similarity index 74% rename from core/src/loader/http/getplaylistitems.cpp rename to core/src/loader/http/playlists.cpp index 8f90a0c..6015b14 100644 --- a/core/src/loader/http/getplaylistitems.cpp +++ b/core/src/loader/http/playlists.cpp @@ -27,14 +27,45 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +CreatePlaylistLoader::CreatePlaylistLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString CreatePlaylistLoader::path(const CreatePlaylistParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Playlists"); +} + +QUrlQuery CreatePlaylistLoader::query(const CreatePlaylistParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.nameNull()) { + result.addQueryItem("name", Support::toString(params.name())); + } + if (!params.idsNull()) { + result.addQueryItem("ids", Support::toString(params.ids())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.mediaTypeNull()) { + result.addQueryItem("mediaType", Support::toString(params.mediaType())); + } + + return result; +} + GetPlaylistItemsLoader::GetPlaylistItemsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/markplayeditem.cpp b/core/src/loader/http/playstate.cpp similarity index 74% rename from core/src/loader/http/markplayeditem.cpp rename to core/src/loader/http/playstate.cpp index 1c105f0..6b34cf8 100644 --- a/core/src/loader/http/markplayeditem.cpp +++ b/core/src/loader/http/playstate.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + MarkPlayedItemLoader::MarkPlayedItemLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -57,6 +57,25 @@ QUrlQuery MarkPlayedItemLoader::query(const MarkPlayedItemParams ¶ms) const return result; } +MarkUnplayedItemLoader::MarkUnplayedItemLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString MarkUnplayedItemLoader::path(const MarkUnplayedItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/PlayedItems/") + Support::toString< QString>(params.itemId()) ; +} + +QUrlQuery MarkUnplayedItemLoader::query(const MarkUnplayedItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/getpluginconfiguration.cpp b/core/src/loader/http/plugins.cpp similarity index 78% rename from core/src/loader/http/getpluginconfiguration.cpp rename to core/src/loader/http/plugins.cpp index 14d64cd..c3d379a 100644 --- a/core/src/loader/http/getpluginconfiguration.cpp +++ b/core/src/loader/http/plugins.cpp @@ -27,14 +27,33 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetPluginsLoader::GetPluginsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetPluginsParams>(apiClient) {} + +QString GetPluginsLoader::path(const GetPluginsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Plugins"); +} + +QUrlQuery GetPluginsLoader::query(const GetPluginsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + GetPluginConfigurationLoader::GetPluginConfigurationLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/post.cpp b/core/src/loader/http/post.cpp deleted file mode 100644 index b25adb6..0000000 --- a/core/src/loader/http/post.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postaddedmovies.cpp b/core/src/loader/http/postaddedmovies.cpp deleted file mode 100644 index f1df9fe..0000000 --- a/core/src/loader/http/postaddedmovies.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postaddedseries.cpp b/core/src/loader/http/postaddedseries.cpp deleted file mode 100644 index 2ed0573..0000000 --- a/core/src/loader/http/postaddedseries.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postcapabilities.cpp b/core/src/loader/http/postcapabilities.cpp deleted file mode 100644 index f1c0a59..0000000 --- a/core/src/loader/http/postcapabilities.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postfullcapabilities.cpp b/core/src/loader/http/postfullcapabilities.cpp deleted file mode 100644 index d26fbde..0000000 --- a/core/src/loader/http/postfullcapabilities.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postpingsystem.cpp b/core/src/loader/http/postpingsystem.cpp deleted file mode 100644 index 150ccf7..0000000 --- a/core/src/loader/http/postpingsystem.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -PostPingSystemLoader::PostPingSystemLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString PostPingSystemLoader::path(const PostPingSystemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/System/Ping"); -} - -QUrlQuery PostPingSystemLoader::query(const PostPingSystemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postupdatedmedia.cpp b/core/src/loader/http/postupdatedmedia.cpp deleted file mode 100644 index 0039ce8..0000000 --- a/core/src/loader/http/postupdatedmedia.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postupdatedmovies.cpp b/core/src/loader/http/postupdatedmovies.cpp deleted file mode 100644 index f5f58f5..0000000 --- a/core/src/loader/http/postupdatedmovies.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postupdatedseries.cpp b/core/src/loader/http/postupdatedseries.cpp deleted file mode 100644 index ebba1e5..0000000 --- a/core/src/loader/http/postupdatedseries.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postuserimage.cpp b/core/src/loader/http/postuserimage.cpp deleted file mode 100644 index d2dfe4c..0000000 --- a/core/src/loader/http/postuserimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/postuserimagebyindex.cpp b/core/src/loader/http/postuserimagebyindex.cpp deleted file mode 100644 index 5d28a38..0000000 --- a/core/src/loader/http/postuserimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/processconnectionmanagercontrolrequest.cpp b/core/src/loader/http/processconnectionmanagercontrolrequest.cpp deleted file mode 100644 index a137b54..0000000 --- a/core/src/loader/http/processconnectionmanagercontrolrequest.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/processcontentdirectorycontrolrequest.cpp b/core/src/loader/http/processcontentdirectorycontrolrequest.cpp deleted file mode 100644 index 4438d63..0000000 --- a/core/src/loader/http/processcontentdirectorycontrolrequest.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/processmediareceiverregistrarcontrolrequest.cpp b/core/src/loader/http/processmediareceiverregistrarcontrolrequest.cpp deleted file mode 100644 index ff8583a..0000000 --- a/core/src/loader/http/processmediareceiverregistrarcontrolrequest.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/quickconnect.cpp b/core/src/loader/http/quickconnect.cpp new file mode 100644 index 0000000..7a712fc --- /dev/null +++ b/core/src/loader/http/quickconnect.cpp @@ -0,0 +1,138 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +AuthorizeLoader::AuthorizeLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AuthorizeLoader::path(const AuthorizeParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/QuickConnect/Authorize"); +} + +QUrlQuery AuthorizeLoader::query(const AuthorizeParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("code", Support::toString(params.code())); + + // Optional parameters + + return result; +} + +ConnectLoader::ConnectLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString ConnectLoader::path(const ConnectParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/QuickConnect/Connect"); +} + +QUrlQuery ConnectLoader::query(const ConnectParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("secret", Support::toString(params.secret())); + + // Optional parameters + + return result; +} + +DeauthorizeLoader::DeauthorizeLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString DeauthorizeLoader::path(const DeauthorizeParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/QuickConnect/Deauthorize"); +} + +QUrlQuery DeauthorizeLoader::query(const DeauthorizeParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +InitiateLoader::InitiateLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString InitiateLoader::path(const InitiateParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/QuickConnect/Initiate"); +} + +QUrlQuery InitiateLoader::query(const InitiateParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetStatusLoader::GetStatusLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetStatusLoader::path(const GetStatusParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/QuickConnect/Status"); +} + +QUrlQuery GetStatusLoader::query(const GetStatusParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/refreshlibrary.cpp b/core/src/loader/http/refreshlibrary.cpp deleted file mode 100644 index bb0f4a0..0000000 --- a/core/src/loader/http/refreshlibrary.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getremoteimages.cpp b/core/src/loader/http/remoteimage.cpp similarity index 77% rename from core/src/loader/http/getremoteimages.cpp rename to core/src/loader/http/remoteimage.cpp index e9722d6..dec6ea6 100644 --- a/core/src/loader/http/getremoteimages.cpp +++ b/core/src/loader/http/remoteimage.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetRemoteImagesLoader::GetRemoteImagesLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -69,6 +69,25 @@ QUrlQuery GetRemoteImagesLoader::query(const GetRemoteImagesParams ¶ms) cons return result; } +GetRemoteImageProvidersLoader::GetRemoteImageProvidersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetRemoteImageProvidersParams>(apiClient) {} + +QString GetRemoteImageProvidersLoader::path(const GetRemoteImageProvidersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/RemoteImages/Providers"); +} + +QUrlQuery GetRemoteImageProvidersLoader::query(const GetRemoteImageProvidersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/removefromcollection.cpp b/core/src/loader/http/removefromcollection.cpp deleted file mode 100644 index 92b4b9d..0000000 --- a/core/src/loader/http/removefromcollection.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/removefromplaylist.cpp b/core/src/loader/http/removefromplaylist.cpp deleted file mode 100644 index 2d29c10..0000000 --- a/core/src/loader/http/removefromplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/removemediapath.cpp b/core/src/loader/http/removemediapath.cpp deleted file mode 100644 index 0c60693..0000000 --- a/core/src/loader/http/removemediapath.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/removeuserfromsession.cpp b/core/src/loader/http/removeuserfromsession.cpp deleted file mode 100644 index 19e9727..0000000 --- a/core/src/loader/http/removeuserfromsession.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/removevirtualfolder.cpp b/core/src/loader/http/removevirtualfolder.cpp deleted file mode 100644 index 7ea4660..0000000 --- a/core/src/loader/http/removevirtualfolder.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/renamevirtualfolder.cpp b/core/src/loader/http/renamevirtualfolder.cpp deleted file mode 100644 index 9ab7f77..0000000 --- a/core/src/loader/http/renamevirtualfolder.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/reportplaybackprogress.cpp b/core/src/loader/http/reportplaybackprogress.cpp deleted file mode 100644 index f279b1d..0000000 --- a/core/src/loader/http/reportplaybackprogress.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/reportplaybackstart.cpp b/core/src/loader/http/reportplaybackstart.cpp deleted file mode 100644 index 89ae479..0000000 --- a/core/src/loader/http/reportplaybackstart.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/reportplaybackstopped.cpp b/core/src/loader/http/reportplaybackstopped.cpp deleted file mode 100644 index 4632dfc..0000000 --- a/core/src/loader/http/reportplaybackstopped.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/reportsessionended.cpp b/core/src/loader/http/reportsessionended.cpp deleted file mode 100644 index a4434b1..0000000 --- a/core/src/loader/http/reportsessionended.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/reportviewing.cpp b/core/src/loader/http/reportviewing.cpp deleted file mode 100644 index 9c91aba..0000000 --- a/core/src/loader/http/reportviewing.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/resettuner.cpp b/core/src/loader/http/resettuner.cpp deleted file mode 100644 index 0bf5229..0000000 --- a/core/src/loader/http/resettuner.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/restartapplication.cpp b/core/src/loader/http/restartapplication.cpp deleted file mode 100644 index 52302de..0000000 --- a/core/src/loader/http/restartapplication.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/revokekey.cpp b/core/src/loader/http/revokekey.cpp deleted file mode 100644 index 9202c05..0000000 --- a/core/src/loader/http/revokekey.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/gettasks.cpp b/core/src/loader/http/scheduledtasks.cpp similarity index 78% rename from core/src/loader/http/gettasks.cpp rename to core/src/loader/http/scheduledtasks.cpp index 14f8f9f..46b39e7 100644 --- a/core/src/loader/http/gettasks.cpp +++ b/core/src/loader/http/scheduledtasks.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetTasksLoader::GetTasksLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, GetTasksParams>(apiClient) {} @@ -60,6 +60,25 @@ QUrlQuery GetTasksLoader::query(const GetTasksParams ¶ms) const { return result; } +GetTaskLoader::GetTaskLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetTaskLoader::path(const GetTaskParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/ScheduledTasks/") + Support::toString< QString>(params.taskId()) ; +} + +QUrlQuery GetTaskLoader::query(const GetTaskParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/get.cpp b/core/src/loader/http/search.cpp similarity index 99% rename from core/src/loader/http/get.cpp rename to core/src/loader/http/search.cpp index d598373..4c716fc 100644 --- a/core/src/loader/http/get.cpp +++ b/core/src/loader/http/search.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetLoader::GetLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/sendfullgeneralcommand.cpp b/core/src/loader/http/sendfullgeneralcommand.cpp deleted file mode 100644 index e0d7439..0000000 --- a/core/src/loader/http/sendfullgeneralcommand.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/sendgeneralcommand.cpp b/core/src/loader/http/sendgeneralcommand.cpp deleted file mode 100644 index 143053a..0000000 --- a/core/src/loader/http/sendgeneralcommand.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/sendmessagecommand.cpp b/core/src/loader/http/sendmessagecommand.cpp deleted file mode 100644 index f22643d..0000000 --- a/core/src/loader/http/sendmessagecommand.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/sendplaystatecommand.cpp b/core/src/loader/http/sendplaystatecommand.cpp deleted file mode 100644 index 8534299..0000000 --- a/core/src/loader/http/sendplaystatecommand.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/sendsystemcommand.cpp b/core/src/loader/http/sendsystemcommand.cpp deleted file mode 100644 index b733fb6..0000000 --- a/core/src/loader/http/sendsystemcommand.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getsessions.cpp b/core/src/loader/http/session.cpp similarity index 64% rename from core/src/loader/http/getsessions.cpp rename to core/src/loader/http/session.cpp index 3e75dba..635f3ca 100644 --- a/core/src/loader/http/getsessions.cpp +++ b/core/src/loader/http/session.cpp @@ -27,14 +27,52 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetPasswordResetProvidersLoader::GetPasswordResetProvidersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetPasswordResetProvidersParams>(apiClient) {} + +QString GetPasswordResetProvidersLoader::path(const GetPasswordResetProvidersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Auth/PasswordResetProviders"); +} + +QUrlQuery GetPasswordResetProvidersLoader::query(const GetPasswordResetProvidersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetAuthProvidersLoader::GetAuthProvidersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetAuthProvidersParams>(apiClient) {} + +QString GetAuthProvidersLoader::path(const GetAuthProvidersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Auth/Providers"); +} + +QUrlQuery GetAuthProvidersLoader::query(const GetAuthProvidersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + GetSessionsLoader::GetSessionsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, GetSessionsParams>(apiClient) {} diff --git a/core/src/loader/http/setchannelmapping.cpp b/core/src/loader/http/setchannelmapping.cpp deleted file mode 100644 index b62b625..0000000 --- a/core/src/loader/http/setchannelmapping.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -SetChannelMappingLoader::SetChannelMappingLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString SetChannelMappingLoader::path(const SetChannelMappingParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/LiveTv/ChannelMappings"); -} - -QUrlQuery SetChannelMappingLoader::query(const SetChannelMappingParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/setitemimage.cpp b/core/src/loader/http/setitemimage.cpp deleted file mode 100644 index b3fbd00..0000000 --- a/core/src/loader/http/setitemimage.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/setitemimagebyindex.cpp b/core/src/loader/http/setitemimagebyindex.cpp deleted file mode 100644 index 9fb1dc7..0000000 --- a/core/src/loader/http/setitemimagebyindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/setread.cpp b/core/src/loader/http/setread.cpp deleted file mode 100644 index c94efea..0000000 --- a/core/src/loader/http/setread.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/setremoteaccess.cpp b/core/src/loader/http/setremoteaccess.cpp deleted file mode 100644 index 9ddc308..0000000 --- a/core/src/loader/http/setremoteaccess.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/setrepositories.cpp b/core/src/loader/http/setrepositories.cpp deleted file mode 100644 index ed52b1f..0000000 --- a/core/src/loader/http/setrepositories.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/setunread.cpp b/core/src/loader/http/setunread.cpp deleted file mode 100644 index f94d7dd..0000000 --- a/core/src/loader/http/setunread.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/shutdownapplication.cpp b/core/src/loader/http/shutdownapplication.cpp deleted file mode 100644 index 69f036c..0000000 --- a/core/src/loader/http/shutdownapplication.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/starttask.cpp b/core/src/loader/http/starttask.cpp deleted file mode 100644 index 5b049fc..0000000 --- a/core/src/loader/http/starttask.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getstartupconfiguration.cpp b/core/src/loader/http/startup.cpp similarity index 63% rename from core/src/loader/http/getstartupconfiguration.cpp rename to core/src/loader/http/startup.cpp index 820bfd2..8c11e0f 100644 --- a/core/src/loader/http/getstartupconfiguration.cpp +++ b/core/src/loader/http/startup.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetStartupConfigurationLoader::GetStartupConfigurationLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -54,6 +54,44 @@ QUrlQuery GetStartupConfigurationLoader::query(const GetStartupConfigurationPara return result; } +GetFirstUser_2Loader::GetFirstUser_2Loader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetFirstUser_2Loader::path(const GetFirstUser_2Params ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Startup/FirstUser"); +} + +QUrlQuery GetFirstUser_2Loader::query(const GetFirstUser_2Params ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetFirstUserLoader::GetFirstUserLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetFirstUserLoader::path(const GetFirstUserParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Startup/User"); +} + +QUrlQuery GetFirstUserLoader::query(const GetFirstUserParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/stopencodingprocess.cpp b/core/src/loader/http/stopencodingprocess.cpp deleted file mode 100644 index f82bfc6..0000000 --- a/core/src/loader/http/stopencodingprocess.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/stoptask.cpp b/core/src/loader/http/stoptask.cpp deleted file mode 100644 index 10a2c92..0000000 --- a/core/src/loader/http/stoptask.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/getstudios.cpp b/core/src/loader/http/studios.cpp similarity index 85% rename from core/src/loader/http/getstudios.cpp rename to core/src/loader/http/studios.cpp index 4121394..faea03e 100644 --- a/core/src/loader/http/getstudios.cpp +++ b/core/src/loader/http/studios.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetStudiosLoader::GetStudiosLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -105,6 +105,28 @@ QUrlQuery GetStudiosLoader::query(const GetStudiosParams ¶ms) const { return result; } +GetStudioLoader::GetStudioLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetStudioLoader::path(const GetStudioParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Studios/") + Support::toString< QString>(params.name()) ; +} + +QUrlQuery GetStudioLoader::query(const GetStudioParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/http/searchremotesubtitles.cpp b/core/src/loader/http/subtitle.cpp similarity index 77% rename from core/src/loader/http/searchremotesubtitles.cpp rename to core/src/loader/http/subtitle.cpp index 4c97443..c058583 100644 --- a/core/src/loader/http/searchremotesubtitles.cpp +++ b/core/src/loader/http/subtitle.cpp @@ -27,14 +27,33 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetFallbackFontListLoader::GetFallbackFontListLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetFallbackFontListParams>(apiClient) {} + +QString GetFallbackFontListLoader::path(const GetFallbackFontListParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/FallbackFont/Fonts"); +} + +QUrlQuery GetFallbackFontListLoader::query(const GetFallbackFontListParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + SearchRemoteSubtitlesLoader::SearchRemoteSubtitlesLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, SearchRemoteSubtitlesParams>(apiClient) {} diff --git a/core/src/loader/http/getsuggestions.cpp b/core/src/loader/http/suggestions.cpp similarity index 98% rename from core/src/loader/http/getsuggestions.cpp rename to core/src/loader/http/suggestions.cpp index 61702d5..aad4e19 100644 --- a/core/src/loader/http/getsuggestions.cpp +++ b/core/src/loader/http/suggestions.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetSuggestionsLoader::GetSuggestionsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/syncplaygetgroups.cpp b/core/src/loader/http/syncplay.cpp similarity index 97% rename from core/src/loader/http/syncplaygetgroups.cpp rename to core/src/loader/http/syncplay.cpp index 2a9b6b6..db9d1a0 100644 --- a/core/src/loader/http/syncplaygetgroups.cpp +++ b/core/src/loader/http/syncplay.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + SyncPlayGetGroupsLoader::SyncPlayGetGroupsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader, SyncPlayGetGroupsParams>(apiClient) {} diff --git a/core/src/loader/http/syncplaybuffering.cpp b/core/src/loader/http/syncplaybuffering.cpp deleted file mode 100644 index c005e41..0000000 --- a/core/src/loader/http/syncplaybuffering.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaycreategroup.cpp b/core/src/loader/http/syncplaycreategroup.cpp deleted file mode 100644 index 51d786a..0000000 --- a/core/src/loader/http/syncplaycreategroup.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplayjoingroup.cpp b/core/src/loader/http/syncplayjoingroup.cpp deleted file mode 100644 index baa0e19..0000000 --- a/core/src/loader/http/syncplayjoingroup.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplayleavegroup.cpp b/core/src/loader/http/syncplayleavegroup.cpp deleted file mode 100644 index cc97d94..0000000 --- a/core/src/loader/http/syncplayleavegroup.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaymoveplaylistitem.cpp b/core/src/loader/http/syncplaymoveplaylistitem.cpp deleted file mode 100644 index 73f0aa9..0000000 --- a/core/src/loader/http/syncplaymoveplaylistitem.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaynextitem.cpp b/core/src/loader/http/syncplaynextitem.cpp deleted file mode 100644 index 3ed7c9c..0000000 --- a/core/src/loader/http/syncplaynextitem.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaypause.cpp b/core/src/loader/http/syncplaypause.cpp deleted file mode 100644 index b1849df..0000000 --- a/core/src/loader/http/syncplaypause.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplayping.cpp b/core/src/loader/http/syncplayping.cpp deleted file mode 100644 index 58ddd9f..0000000 --- a/core/src/loader/http/syncplayping.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaypreviousitem.cpp b/core/src/loader/http/syncplaypreviousitem.cpp deleted file mode 100644 index 21ed6c5..0000000 --- a/core/src/loader/http/syncplaypreviousitem.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplayqueue.cpp b/core/src/loader/http/syncplayqueue.cpp deleted file mode 100644 index b61961a..0000000 --- a/core/src/loader/http/syncplayqueue.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplayready.cpp b/core/src/loader/http/syncplayready.cpp deleted file mode 100644 index 6fbd652..0000000 --- a/core/src/loader/http/syncplayready.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplayremovefromplaylist.cpp b/core/src/loader/http/syncplayremovefromplaylist.cpp deleted file mode 100644 index e15aa2a..0000000 --- a/core/src/loader/http/syncplayremovefromplaylist.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplayseek.cpp b/core/src/loader/http/syncplayseek.cpp deleted file mode 100644 index d1e9966..0000000 --- a/core/src/loader/http/syncplayseek.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaysetignorewait.cpp b/core/src/loader/http/syncplaysetignorewait.cpp deleted file mode 100644 index 82c11a5..0000000 --- a/core/src/loader/http/syncplaysetignorewait.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaysetnewqueue.cpp b/core/src/loader/http/syncplaysetnewqueue.cpp deleted file mode 100644 index 40f1d8a..0000000 --- a/core/src/loader/http/syncplaysetnewqueue.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaysetplaylistitem.cpp b/core/src/loader/http/syncplaysetplaylistitem.cpp deleted file mode 100644 index f7df1e8..0000000 --- a/core/src/loader/http/syncplaysetplaylistitem.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaysetrepeatmode.cpp b/core/src/loader/http/syncplaysetrepeatmode.cpp deleted file mode 100644 index c09082d..0000000 --- a/core/src/loader/http/syncplaysetrepeatmode.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaysetshufflemode.cpp b/core/src/loader/http/syncplaysetshufflemode.cpp deleted file mode 100644 index d70e283..0000000 --- a/core/src/loader/http/syncplaysetshufflemode.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplaystop.cpp b/core/src/loader/http/syncplaystop.cpp deleted file mode 100644 index f7065b2..0000000 --- a/core/src/loader/http/syncplaystop.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/syncplayunpause.cpp b/core/src/loader/http/syncplayunpause.cpp deleted file mode 100644 index d151850..0000000 --- a/core/src/loader/http/syncplayunpause.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/system.cpp b/core/src/loader/http/system.cpp new file mode 100644 index 0000000..cd179c3 --- /dev/null +++ b/core/src/loader/http/system.cpp @@ -0,0 +1,174 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetEndpointInfoLoader::GetEndpointInfoLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetEndpointInfoLoader::path(const GetEndpointInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/Endpoint"); +} + +QUrlQuery GetEndpointInfoLoader::query(const GetEndpointInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetSystemInfoLoader::GetSystemInfoLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSystemInfoLoader::path(const GetSystemInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/Info"); +} + +QUrlQuery GetSystemInfoLoader::query(const GetSystemInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetPublicSystemInfoLoader::GetPublicSystemInfoLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPublicSystemInfoLoader::path(const GetPublicSystemInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/Info/Public"); +} + +QUrlQuery GetPublicSystemInfoLoader::query(const GetPublicSystemInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetServerLogsLoader::GetServerLogsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetServerLogsParams>(apiClient) {} + +QString GetServerLogsLoader::path(const GetServerLogsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/Logs"); +} + +QUrlQuery GetServerLogsLoader::query(const GetServerLogsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetPingSystemLoader::GetPingSystemLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPingSystemLoader::path(const GetPingSystemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/Ping"); +} + +QUrlQuery GetPingSystemLoader::query(const GetPingSystemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +PostPingSystemLoader::PostPingSystemLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString PostPingSystemLoader::path(const PostPingSystemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/Ping"); +} + +QUrlQuery PostPingSystemLoader::query(const PostPingSystemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetWakeOnLanInfoLoader::GetWakeOnLanInfoLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetWakeOnLanInfoParams>(apiClient) {} + +QString GetWakeOnLanInfoLoader::path(const GetWakeOnLanInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/WakeOnLanInfo"); +} + +QUrlQuery GetWakeOnLanInfoLoader::query(const GetWakeOnLanInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getutctime.cpp b/core/src/loader/http/timesync.cpp similarity index 97% rename from core/src/loader/http/getutctime.cpp rename to core/src/loader/http/timesync.cpp index 37bea26..2478da0 100644 --- a/core/src/loader/http/getutctime.cpp +++ b/core/src/loader/http/timesync.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetUtcTimeLoader::GetUtcTimeLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/gettrailers.cpp b/core/src/loader/http/trailers.cpp similarity index 99% rename from core/src/loader/http/gettrailers.cpp rename to core/src/loader/http/trailers.cpp index 2418887..67c9284 100644 --- a/core/src/loader/http/gettrailers.cpp +++ b/core/src/loader/http/trailers.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetTrailersLoader::GetTrailersLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/tvshows.cpp b/core/src/loader/http/tvshows.cpp new file mode 100644 index 0000000..148b94e --- /dev/null +++ b/core/src/loader/http/tvshows.cpp @@ -0,0 +1,249 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetEpisodesLoader::GetEpisodesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetEpisodesLoader::path(const GetEpisodesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Shows/") + Support::toString< QString>(params.seriesId()) + QStringLiteral("/Episodes"); +} + +QUrlQuery GetEpisodesLoader::query(const GetEpisodesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.seasonNull()) { + result.addQueryItem("season", Support::toString>(params.season())); + } + if (!params.seasonIdNull()) { + result.addQueryItem("seasonId", Support::toString(params.seasonId())); + } + if (!params.isMissingNull()) { + result.addQueryItem("isMissing", Support::toString>(params.isMissing())); + } + if (!params.adjacentToNull()) { + result.addQueryItem("adjacentTo", Support::toString(params.adjacentTo())); + } + if (!params.startItemIdNull()) { + result.addQueryItem("startItemId", Support::toString(params.startItemId())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.sortByNull()) { + result.addQueryItem("sortBy", Support::toString(params.sortBy())); + } + + return result; +} + +GetSeasonsLoader::GetSeasonsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSeasonsLoader::path(const GetSeasonsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Shows/") + Support::toString< QString>(params.seriesId()) + QStringLiteral("/Seasons"); +} + +QUrlQuery GetSeasonsLoader::query(const GetSeasonsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.isSpecialSeasonNull()) { + result.addQueryItem("isSpecialSeason", Support::toString>(params.isSpecialSeason())); + } + if (!params.isMissingNull()) { + result.addQueryItem("isMissing", Support::toString>(params.isMissing())); + } + if (!params.adjacentToNull()) { + result.addQueryItem("adjacentTo", Support::toString(params.adjacentTo())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + + return result; +} + +GetNextUpLoader::GetNextUpLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetNextUpLoader::path(const GetNextUpParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Shows/NextUp"); +} + +QUrlQuery GetNextUpLoader::query(const GetNextUpParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.seriesIdNull()) { + result.addQueryItem("seriesId", Support::toString(params.seriesId())); + } + if (!params.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + if (!params.enableImgesNull()) { + result.addQueryItem("enableImges", Support::toString>(params.enableImges())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.enableTotalRecordCountNull()) { + result.addQueryItem("enableTotalRecordCount", Support::toString>(params.enableTotalRecordCount())); + } + if (!params.disableFirstEpisodeNull()) { + result.addQueryItem("disableFirstEpisode", Support::toString>(params.disableFirstEpisode())); + } + + return result; +} + +GetUpcomingEpisodesLoader::GetUpcomingEpisodesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetUpcomingEpisodesLoader::path(const GetUpcomingEpisodesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Shows/Upcoming"); +} + +QUrlQuery GetUpcomingEpisodesLoader::query(const GetUpcomingEpisodesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString>(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + if (!params.enableImgesNull()) { + result.addQueryItem("enableImges", Support::toString>(params.enableImges())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/uninstallplugin.cpp b/core/src/loader/http/uninstallplugin.cpp deleted file mode 100644 index b9fed2e..0000000 --- a/core/src/loader/http/uninstallplugin.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/uninstallpluginbyversion.cpp b/core/src/loader/http/uninstallpluginbyversion.cpp deleted file mode 100644 index b3e3517..0000000 --- a/core/src/loader/http/uninstallpluginbyversion.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/universalaudio.cpp b/core/src/loader/http/universalaudio.cpp new file mode 100644 index 0000000..1feb56e --- /dev/null +++ b/core/src/loader/http/universalaudio.cpp @@ -0,0 +1,41 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/unmarkfavoriteitem.cpp b/core/src/loader/http/unmarkfavoriteitem.cpp deleted file mode 100644 index 42ea099..0000000 --- a/core/src/loader/http/unmarkfavoriteitem.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -UnmarkFavoriteItemLoader::UnmarkFavoriteItemLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString UnmarkFavoriteItemLoader::path(const UnmarkFavoriteItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/FavoriteItems/") + Support::toString< QString>(params.itemId()) ; -} - -QUrlQuery UnmarkFavoriteItemLoader::query(const UnmarkFavoriteItemParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateconfiguration.cpp b/core/src/loader/http/updateconfiguration.cpp deleted file mode 100644 index 42cc8f4..0000000 --- a/core/src/loader/http/updateconfiguration.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatedeviceoptions.cpp b/core/src/loader/http/updatedeviceoptions.cpp deleted file mode 100644 index 1aafaeb..0000000 --- a/core/src/loader/http/updatedeviceoptions.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatedisplaypreferences.cpp b/core/src/loader/http/updatedisplaypreferences.cpp deleted file mode 100644 index 10788b0..0000000 --- a/core/src/loader/http/updatedisplaypreferences.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateinitialconfiguration.cpp b/core/src/loader/http/updateinitialconfiguration.cpp deleted file mode 100644 index d3249dd..0000000 --- a/core/src/loader/http/updateinitialconfiguration.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateitem.cpp b/core/src/loader/http/updateitem.cpp deleted file mode 100644 index 853087d..0000000 --- a/core/src/loader/http/updateitem.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateitemcontenttype.cpp b/core/src/loader/http/updateitemcontenttype.cpp deleted file mode 100644 index 0917584..0000000 --- a/core/src/loader/http/updateitemcontenttype.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateitemimageindex.cpp b/core/src/loader/http/updateitemimageindex.cpp deleted file mode 100644 index d82b118..0000000 --- a/core/src/loader/http/updateitemimageindex.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatelibraryoptions.cpp b/core/src/loader/http/updatelibraryoptions.cpp deleted file mode 100644 index 360c463..0000000 --- a/core/src/loader/http/updatelibraryoptions.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatemediaencoderpath.cpp b/core/src/loader/http/updatemediaencoderpath.cpp deleted file mode 100644 index b79ce0b..0000000 --- a/core/src/loader/http/updatemediaencoderpath.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatemediapath.cpp b/core/src/loader/http/updatemediapath.cpp deleted file mode 100644 index a77b4da..0000000 --- a/core/src/loader/http/updatemediapath.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatenamedconfiguration.cpp b/core/src/loader/http/updatenamedconfiguration.cpp deleted file mode 100644 index b428f0c..0000000 --- a/core/src/loader/http/updatenamedconfiguration.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatepluginconfiguration.cpp b/core/src/loader/http/updatepluginconfiguration.cpp deleted file mode 100644 index 0e51e0c..0000000 --- a/core/src/loader/http/updatepluginconfiguration.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatepluginsecurityinfo.cpp b/core/src/loader/http/updatepluginsecurityinfo.cpp deleted file mode 100644 index 28391f1..0000000 --- a/core/src/loader/http/updatepluginsecurityinfo.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateprofile.cpp b/core/src/loader/http/updateprofile.cpp deleted file mode 100644 index 0dc4666..0000000 --- a/core/src/loader/http/updateprofile.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateseriestimer.cpp b/core/src/loader/http/updateseriestimer.cpp deleted file mode 100644 index f5def5e..0000000 --- a/core/src/loader/http/updateseriestimer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatestartupuser.cpp b/core/src/loader/http/updatestartupuser.cpp deleted file mode 100644 index 9602954..0000000 --- a/core/src/loader/http/updatestartupuser.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatetask.cpp b/core/src/loader/http/updatetask.cpp deleted file mode 100644 index 8cc75ed..0000000 --- a/core/src/loader/http/updatetask.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updatetimer.cpp b/core/src/loader/http/updatetimer.cpp deleted file mode 100644 index 0141987..0000000 --- a/core/src/loader/http/updatetimer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateuser.cpp b/core/src/loader/http/updateuser.cpp deleted file mode 100644 index 770f8c6..0000000 --- a/core/src/loader/http/updateuser.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateuserconfiguration.cpp b/core/src/loader/http/updateuserconfiguration.cpp deleted file mode 100644 index 86cb64f..0000000 --- a/core/src/loader/http/updateuserconfiguration.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateusereasypassword.cpp b/core/src/loader/http/updateusereasypassword.cpp deleted file mode 100644 index 73b2ddb..0000000 --- a/core/src/loader/http/updateusereasypassword.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateuseritemrating.cpp b/core/src/loader/http/updateuseritemrating.cpp deleted file mode 100644 index f355846..0000000 --- a/core/src/loader/http/updateuseritemrating.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - -using namespace Jellyfin::DTO; -UpdateUserItemRatingLoader::UpdateUserItemRatingLoader(ApiClient *apiClient) - : Jellyfin::Support::HttpLoader(apiClient) {} - -QString UpdateUserItemRatingLoader::path(const UpdateUserItemRatingParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Rating"); -} - -QUrlQuery UpdateUserItemRatingLoader::query(const UpdateUserItemRatingParams ¶ms) const { - Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings - - QUrlQuery result; - - // Optional parameters - if (!params.likesNull()) { - result.addQueryItem("likes", Support::toString>(params.likes())); - } - - return result; -} - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateuserpassword.cpp b/core/src/loader/http/updateuserpassword.cpp deleted file mode 100644 index c94da25..0000000 --- a/core/src/loader/http/updateuserpassword.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/updateuserpolicy.cpp b/core/src/loader/http/updateuserpolicy.cpp deleted file mode 100644 index 611af3f..0000000 --- a/core/src/loader/http/updateuserpolicy.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/uploadsubtitle.cpp b/core/src/loader/http/uploadsubtitle.cpp deleted file mode 100644 index fb8cea8..0000000 --- a/core/src/loader/http/uploadsubtitle.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/user.cpp b/core/src/loader/http/user.cpp new file mode 100644 index 0000000..a12f8bd --- /dev/null +++ b/core/src/loader/http/user.cpp @@ -0,0 +1,241 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +GetUsersLoader::GetUsersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetUsersParams>(apiClient) {} + +QString GetUsersLoader::path(const GetUsersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users"); +} + +QUrlQuery GetUsersLoader::query(const GetUsersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.isHiddenNull()) { + result.addQueryItem("isHidden", Support::toString>(params.isHidden())); + } + if (!params.isDisabledNull()) { + result.addQueryItem("isDisabled", Support::toString>(params.isDisabled())); + } + + return result; +} + +GetUserByIdLoader::GetUserByIdLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetUserByIdLoader::path(const GetUserByIdParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) ; +} + +QUrlQuery GetUserByIdLoader::query(const GetUserByIdParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +AuthenticateUserLoader::AuthenticateUserLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AuthenticateUserLoader::path(const AuthenticateUserParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Authenticate"); +} + +QUrlQuery AuthenticateUserLoader::query(const AuthenticateUserParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("pw", Support::toString(params.pw())); + + // Optional parameters + if (!params.passwordNull()) { + result.addQueryItem("password", Support::toString(params.password())); + } + + return result; +} + +AuthenticateUserByNameLoader::AuthenticateUserByNameLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AuthenticateUserByNameLoader::path(const AuthenticateUserByNameParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/AuthenticateByName"); +} + +QUrlQuery AuthenticateUserByNameLoader::query(const AuthenticateUserByNameParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +AuthenticateWithQuickConnectLoader::AuthenticateWithQuickConnectLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AuthenticateWithQuickConnectLoader::path(const AuthenticateWithQuickConnectParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/AuthenticateWithQuickConnect"); +} + +QUrlQuery AuthenticateWithQuickConnectLoader::query(const AuthenticateWithQuickConnectParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +ForgotPasswordLoader::ForgotPasswordLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString ForgotPasswordLoader::path(const ForgotPasswordParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/ForgotPassword"); +} + +QUrlQuery ForgotPasswordLoader::query(const ForgotPasswordParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +ForgotPasswordPinLoader::ForgotPasswordPinLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString ForgotPasswordPinLoader::path(const ForgotPasswordPinParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/ForgotPassword/Pin"); +} + +QUrlQuery ForgotPasswordPinLoader::query(const ForgotPasswordPinParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetCurrentUserLoader::GetCurrentUserLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetCurrentUserLoader::path(const GetCurrentUserParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/Me"); +} + +QUrlQuery GetCurrentUserLoader::query(const GetCurrentUserParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +CreateUserByNameLoader::CreateUserByNameLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString CreateUserByNameLoader::path(const CreateUserByNameParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/New"); +} + +QUrlQuery CreateUserByNameLoader::query(const CreateUserByNameParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetPublicUsersLoader::GetPublicUsersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetPublicUsersParams>(apiClient) {} + +QString GetPublicUsersLoader::path(const GetPublicUsersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/Public"); +} + +QUrlQuery GetPublicUsersLoader::query(const GetPublicUsersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/userlibrary.cpp b/core/src/loader/http/userlibrary.cpp new file mode 100644 index 0000000..cbac6dc --- /dev/null +++ b/core/src/loader/http/userlibrary.cpp @@ -0,0 +1,264 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + +MarkFavoriteItemLoader::MarkFavoriteItemLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString MarkFavoriteItemLoader::path(const MarkFavoriteItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/FavoriteItems/") + Support::toString< QString>(params.itemId()) ; +} + +QUrlQuery MarkFavoriteItemLoader::query(const MarkFavoriteItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +UnmarkFavoriteItemLoader::UnmarkFavoriteItemLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString UnmarkFavoriteItemLoader::path(const UnmarkFavoriteItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/FavoriteItems/") + Support::toString< QString>(params.itemId()) ; +} + +QUrlQuery UnmarkFavoriteItemLoader::query(const UnmarkFavoriteItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetItemLoader::GetItemLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetItemLoader::path(const GetItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) ; +} + +QUrlQuery GetItemLoader::query(const GetItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetIntrosLoader::GetIntrosLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetIntrosLoader::path(const GetIntrosParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Intros"); +} + +QUrlQuery GetIntrosLoader::query(const GetIntrosParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetLocalTrailersLoader::GetLocalTrailersLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetLocalTrailersParams>(apiClient) {} + +QString GetLocalTrailersLoader::path(const GetLocalTrailersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/LocalTrailers"); +} + +QUrlQuery GetLocalTrailersLoader::query(const GetLocalTrailersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +DeleteUserItemRatingLoader::DeleteUserItemRatingLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString DeleteUserItemRatingLoader::path(const DeleteUserItemRatingParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Rating"); +} + +QUrlQuery DeleteUserItemRatingLoader::query(const DeleteUserItemRatingParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +UpdateUserItemRatingLoader::UpdateUserItemRatingLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString UpdateUserItemRatingLoader::path(const UpdateUserItemRatingParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/Rating"); +} + +QUrlQuery UpdateUserItemRatingLoader::query(const UpdateUserItemRatingParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.likesNull()) { + result.addQueryItem("likes", Support::toString>(params.likes())); + } + + return result; +} + +GetSpecialFeaturesLoader::GetSpecialFeaturesLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetSpecialFeaturesParams>(apiClient) {} + +QString GetSpecialFeaturesLoader::path(const GetSpecialFeaturesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/") + Support::toString< QString>(params.itemId()) + QStringLiteral("/SpecialFeatures"); +} + +QUrlQuery GetSpecialFeaturesLoader::query(const GetSpecialFeaturesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + +GetLatestMediaLoader::GetLatestMediaLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetLatestMediaParams>(apiClient) {} + +QString GetLatestMediaLoader::path(const GetLatestMediaParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/Latest"); +} + +QUrlQuery GetLatestMediaLoader::query(const GetLatestMediaParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString>(params.fields())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.isPlayedNull()) { + result.addQueryItem("isPlayed", Support::toString>(params.isPlayed())); + } + if (!params.enableImagesNull()) { + result.addQueryItem("enableImages", Support::toString>(params.enableImages())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString>(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString>(params.enableImageTypes())); + } + if (!params.enableUserDataNull()) { + result.addQueryItem("enableUserData", Support::toString>(params.enableUserData())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString>(params.limit())); + } + if (!params.groupItemsNull()) { + result.addQueryItem("groupItems", Support::toString>(params.groupItems())); + } + + return result; +} + +GetRootFolderLoader::GetRootFolderLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRootFolderLoader::path(const GetRootFolderParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/Items/Root"); +} + +QUrlQuery GetRootFolderLoader::query(const GetRootFolderParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getuserviews.cpp b/core/src/loader/http/userviews.cpp similarity index 77% rename from core/src/loader/http/getuserviews.cpp rename to core/src/loader/http/userviews.cpp index 4455932..ff6b3e4 100644 --- a/core/src/loader/http/getuserviews.cpp +++ b/core/src/loader/http/userviews.cpp @@ -27,14 +27,33 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + +GetGroupingOptionsLoader::GetGroupingOptionsLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader, GetGroupingOptionsParams>(apiClient) {} + +QString GetGroupingOptionsLoader::path(const GetGroupingOptionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString< QString>(params.userId()) + QStringLiteral("/GroupingOptions"); +} + +QUrlQuery GetGroupingOptionsLoader::query(const GetGroupingOptionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + + return result; +} + GetUserViewsLoader::GetUserViewsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/validatepath.cpp b/core/src/loader/http/validatepath.cpp deleted file mode 100644 index 8517195..0000000 --- a/core/src/loader/http/validatepath.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include - -namespace Jellyfin { -namespace Loader { -namespace HTTP { - - - -} // NS HTTP -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/http/videoattachments.cpp b/core/src/loader/http/videoattachments.cpp new file mode 100644 index 0000000..66d32fc --- /dev/null +++ b/core/src/loader/http/videoattachments.cpp @@ -0,0 +1,41 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + +using namespace Jellyfin::DTO; + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/createprofileparams.cpp b/core/src/loader/http/videohls.cpp similarity index 94% rename from core/src/loader/createprofileparams.cpp rename to core/src/loader/http/videohls.cpp index 48ebde7..eced5c6 100644 --- a/core/src/loader/createprofileparams.cpp +++ b/core/src/loader/http/videohls.cpp @@ -27,15 +27,15 @@ * file with a newer file if needed instead of manually updating the files. */ -#include "JellyfinQt/loader/createprofileparams.h" +#include namespace Jellyfin { namespace Loader { +namespace HTTP { using namespace Jellyfin::DTO; -// CreateProfileParams - +} // NS HTTP } // NS Loader } // NS Jellyfin diff --git a/core/src/loader/http/getadditionalpart.cpp b/core/src/loader/http/videos.cpp similarity index 97% rename from core/src/loader/http/getadditionalpart.cpp rename to core/src/loader/http/videos.cpp index eda25f6..0b0b543 100644 --- a/core/src/loader/http/getadditionalpart.cpp +++ b/core/src/loader/http/videos.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetAdditionalPartLoader::GetAdditionalPartLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} diff --git a/core/src/loader/http/getyears.cpp b/core/src/loader/http/years.cpp similarity index 84% rename from core/src/loader/http/getyears.cpp rename to core/src/loader/http/years.cpp index 23ee39f..21707c5 100644 --- a/core/src/loader/http/getyears.cpp +++ b/core/src/loader/http/years.cpp @@ -27,14 +27,14 @@ * file with a newer file if needed instead of manually updating the files. */ -#include +#include namespace Jellyfin { namespace Loader { namespace HTTP { - using namespace Jellyfin::DTO; + GetYearsLoader::GetYearsLoader(ApiClient *apiClient) : Jellyfin::Support::HttpLoader(apiClient) {} @@ -99,6 +99,28 @@ QUrlQuery GetYearsLoader::query(const GetYearsParams ¶ms) const { return result; } +GetYearLoader::GetYearLoader(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetYearLoader::path(const GetYearParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Years/") + Support::toString< qint32>(params.year()) ; +} + +QUrlQuery GetYearLoader::query(const GetYearParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + + return result; +} + } // NS HTTP } // NS Loader diff --git a/core/src/loader/initiateparams.cpp b/core/src/loader/initiateparams.cpp deleted file mode 100644 index 15d888b..0000000 --- a/core/src/loader/initiateparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/initiateparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// InitiateParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/installpackageparams.cpp b/core/src/loader/installpackageparams.cpp deleted file mode 100644 index 9a68c34..0000000 --- a/core/src/loader/installpackageparams.cpp +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/installpackageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// InstallPackageParams - -const QString &InstallPackageParams::name() const { - return m_name; -} - -void InstallPackageParams::setName(QString newName) { - m_name = newName; -} - - -const QString &InstallPackageParams::assemblyGuid() const { - return m_assemblyGuid; -} - -void InstallPackageParams::setAssemblyGuid(QString newAssemblyGuid) { - m_assemblyGuid = newAssemblyGuid; -} - -bool InstallPackageParams::assemblyGuidNull() const { - // Nullable: true - // Type Nullable: true - - - return m_assemblyGuid.isNull(); -} - -void InstallPackageParams::setAssemblyGuidNull() { - m_assemblyGuid.clear(); -} - - -const QString &InstallPackageParams::repositoryUrl() const { - return m_repositoryUrl; -} - -void InstallPackageParams::setRepositoryUrl(QString newRepositoryUrl) { - m_repositoryUrl = newRepositoryUrl; -} - -bool InstallPackageParams::repositoryUrlNull() const { - // Nullable: true - // Type Nullable: true - - - return m_repositoryUrl.isNull(); -} - -void InstallPackageParams::setRepositoryUrlNull() { - m_repositoryUrl.clear(); -} - - -const QString &InstallPackageParams::version() const { - return m_version; -} - -void InstallPackageParams::setVersion(QString newVersion) { - m_version = newVersion; -} - -bool InstallPackageParams::versionNull() const { - // Nullable: true - // Type Nullable: true - - - return m_version.isNull(); -} - -void InstallPackageParams::setVersionNull() { - m_version.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/markfavoriteitemparams.cpp b/core/src/loader/markfavoriteitemparams.cpp deleted file mode 100644 index 094d213..0000000 --- a/core/src/loader/markfavoriteitemparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/markfavoriteitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// MarkFavoriteItemParams - -const QString &MarkFavoriteItemParams::itemId() const { - return m_itemId; -} - -void MarkFavoriteItemParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &MarkFavoriteItemParams::userId() const { - return m_userId; -} - -void MarkFavoriteItemParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/markplayeditemparams.cpp b/core/src/loader/markplayeditemparams.cpp deleted file mode 100644 index 51c095d..0000000 --- a/core/src/loader/markplayeditemparams.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/markplayeditemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// MarkPlayedItemParams - -const QString &MarkPlayedItemParams::itemId() const { - return m_itemId; -} - -void MarkPlayedItemParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &MarkPlayedItemParams::userId() const { - return m_userId; -} - -void MarkPlayedItemParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const QDateTime &MarkPlayedItemParams::datePlayed() const { - return m_datePlayed; -} - -void MarkPlayedItemParams::setDatePlayed(QDateTime newDatePlayed) { - m_datePlayed = newDatePlayed; -} - -bool MarkPlayedItemParams::datePlayedNull() const { - // Nullable: true - // Type Nullable: true - - - return m_datePlayed.isNull(); -} - -void MarkPlayedItemParams::setDatePlayedNull() { - m_datePlayed= QDateTime(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/markunplayeditemparams.cpp b/core/src/loader/markunplayeditemparams.cpp deleted file mode 100644 index 4d1c0b0..0000000 --- a/core/src/loader/markunplayeditemparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/markunplayeditemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// MarkUnplayedItemParams - -const QString &MarkUnplayedItemParams::itemId() const { - return m_itemId; -} - -void MarkUnplayedItemParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &MarkUnplayedItemParams::userId() const { - return m_userId; -} - -void MarkUnplayedItemParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/mergeversionsparams.cpp b/core/src/loader/mergeversionsparams.cpp deleted file mode 100644 index 9ec5d5d..0000000 --- a/core/src/loader/mergeversionsparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/mergeversionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// MergeVersionsParams - -const QStringList &MergeVersionsParams::ids() const { - return m_ids; -} - -void MergeVersionsParams::setIds(QStringList newIds) { - m_ids = newIds; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/moveitemparams.cpp b/core/src/loader/moveitemparams.cpp deleted file mode 100644 index c0e9d56..0000000 --- a/core/src/loader/moveitemparams.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/moveitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// MoveItemParams - -const QString &MoveItemParams::itemId() const { - return m_itemId; -} - -void MoveItemParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const qint32 &MoveItemParams::newIndex() const { - return m_newIndex; -} - -void MoveItemParams::setNewIndex(qint32 newNewIndex) { - m_newIndex = newNewIndex; -} - - -const QString &MoveItemParams::playlistId() const { - return m_playlistId; -} - -void MoveItemParams::setPlaylistId(QString newPlaylistId) { - m_playlistId = newPlaylistId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/onplaybackprogressparams.cpp b/core/src/loader/onplaybackprogressparams.cpp deleted file mode 100644 index 2b88b7f..0000000 --- a/core/src/loader/onplaybackprogressparams.cpp +++ /dev/null @@ -1,290 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/onplaybackprogressparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// OnPlaybackProgressParams - -const QString &OnPlaybackProgressParams::itemId() const { - return m_itemId; -} - -void OnPlaybackProgressParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &OnPlaybackProgressParams::userId() const { - return m_userId; -} - -void OnPlaybackProgressParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const qint32 &OnPlaybackProgressParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void OnPlaybackProgressParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool OnPlaybackProgressParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void OnPlaybackProgressParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &OnPlaybackProgressParams::isMuted() const { - return m_isMuted.value(); -} - -void OnPlaybackProgressParams::setIsMuted(bool newIsMuted) { - m_isMuted = newIsMuted; -} - -bool OnPlaybackProgressParams::isMutedNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_isMuted.has_value(); -} - -void OnPlaybackProgressParams::setIsMutedNull() { - m_isMuted = std::nullopt; -} - - -const bool &OnPlaybackProgressParams::isPaused() const { - return m_isPaused.value(); -} - -void OnPlaybackProgressParams::setIsPaused(bool newIsPaused) { - m_isPaused = newIsPaused; -} - -bool OnPlaybackProgressParams::isPausedNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_isPaused.has_value(); -} - -void OnPlaybackProgressParams::setIsPausedNull() { - m_isPaused = std::nullopt; -} - - -const QString &OnPlaybackProgressParams::liveStreamId() const { - return m_liveStreamId; -} - -void OnPlaybackProgressParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool OnPlaybackProgressParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void OnPlaybackProgressParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const QString &OnPlaybackProgressParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void OnPlaybackProgressParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool OnPlaybackProgressParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void OnPlaybackProgressParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const PlayMethod &OnPlaybackProgressParams::playMethod() const { - return m_playMethod; -} - -void OnPlaybackProgressParams::setPlayMethod(PlayMethod newPlayMethod) { - m_playMethod = newPlayMethod; -} - -bool OnPlaybackProgressParams::playMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playMethod== PlayMethod::EnumNotSet; -} - -void OnPlaybackProgressParams::setPlayMethodNull() { - m_playMethod= PlayMethod::EnumNotSet; -} - - -const QString &OnPlaybackProgressParams::playSessionId() const { - return m_playSessionId; -} - -void OnPlaybackProgressParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool OnPlaybackProgressParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void OnPlaybackProgressParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const qint64 &OnPlaybackProgressParams::positionTicks() const { - return m_positionTicks.value(); -} - -void OnPlaybackProgressParams::setPositionTicks(qint64 newPositionTicks) { - m_positionTicks = newPositionTicks; -} - -bool OnPlaybackProgressParams::positionTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_positionTicks.has_value(); -} - -void OnPlaybackProgressParams::setPositionTicksNull() { - m_positionTicks = std::nullopt; -} - - -const RepeatMode &OnPlaybackProgressParams::repeatMode() const { - return m_repeatMode; -} - -void OnPlaybackProgressParams::setRepeatMode(RepeatMode newRepeatMode) { - m_repeatMode = newRepeatMode; -} - -bool OnPlaybackProgressParams::repeatModeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_repeatMode== RepeatMode::EnumNotSet; -} - -void OnPlaybackProgressParams::setRepeatModeNull() { - m_repeatMode= RepeatMode::EnumNotSet; -} - - -const qint32 &OnPlaybackProgressParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void OnPlaybackProgressParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool OnPlaybackProgressParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void OnPlaybackProgressParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const qint32 &OnPlaybackProgressParams::volumeLevel() const { - return m_volumeLevel.value(); -} - -void OnPlaybackProgressParams::setVolumeLevel(qint32 newVolumeLevel) { - m_volumeLevel = newVolumeLevel; -} - -bool OnPlaybackProgressParams::volumeLevelNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_volumeLevel.has_value(); -} - -void OnPlaybackProgressParams::setVolumeLevelNull() { - m_volumeLevel = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/onplaybackstartparams.cpp b/core/src/loader/onplaybackstartparams.cpp deleted file mode 100644 index fdf4237..0000000 --- a/core/src/loader/onplaybackstartparams.cpp +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/onplaybackstartparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// OnPlaybackStartParams - -const QString &OnPlaybackStartParams::itemId() const { - return m_itemId; -} - -void OnPlaybackStartParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &OnPlaybackStartParams::userId() const { - return m_userId; -} - -void OnPlaybackStartParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const qint32 &OnPlaybackStartParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void OnPlaybackStartParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool OnPlaybackStartParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void OnPlaybackStartParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &OnPlaybackStartParams::canSeek() const { - return m_canSeek.value(); -} - -void OnPlaybackStartParams::setCanSeek(bool newCanSeek) { - m_canSeek = newCanSeek; -} - -bool OnPlaybackStartParams::canSeekNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_canSeek.has_value(); -} - -void OnPlaybackStartParams::setCanSeekNull() { - m_canSeek = std::nullopt; -} - - -const QString &OnPlaybackStartParams::liveStreamId() const { - return m_liveStreamId; -} - -void OnPlaybackStartParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool OnPlaybackStartParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void OnPlaybackStartParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const QString &OnPlaybackStartParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void OnPlaybackStartParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool OnPlaybackStartParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void OnPlaybackStartParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const PlayMethod &OnPlaybackStartParams::playMethod() const { - return m_playMethod; -} - -void OnPlaybackStartParams::setPlayMethod(PlayMethod newPlayMethod) { - m_playMethod = newPlayMethod; -} - -bool OnPlaybackStartParams::playMethodNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playMethod== PlayMethod::EnumNotSet; -} - -void OnPlaybackStartParams::setPlayMethodNull() { - m_playMethod= PlayMethod::EnumNotSet; -} - - -const QString &OnPlaybackStartParams::playSessionId() const { - return m_playSessionId; -} - -void OnPlaybackStartParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool OnPlaybackStartParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void OnPlaybackStartParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const qint32 &OnPlaybackStartParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void OnPlaybackStartParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool OnPlaybackStartParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void OnPlaybackStartParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/onplaybackstoppedparams.cpp b/core/src/loader/onplaybackstoppedparams.cpp deleted file mode 100644 index 24ccb89..0000000 --- a/core/src/loader/onplaybackstoppedparams.cpp +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/onplaybackstoppedparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// OnPlaybackStoppedParams - -const QString &OnPlaybackStoppedParams::itemId() const { - return m_itemId; -} - -void OnPlaybackStoppedParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &OnPlaybackStoppedParams::userId() const { - return m_userId; -} - -void OnPlaybackStoppedParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const QString &OnPlaybackStoppedParams::liveStreamId() const { - return m_liveStreamId; -} - -void OnPlaybackStoppedParams::setLiveStreamId(QString newLiveStreamId) { - m_liveStreamId = newLiveStreamId; -} - -bool OnPlaybackStoppedParams::liveStreamIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_liveStreamId.isNull(); -} - -void OnPlaybackStoppedParams::setLiveStreamIdNull() { - m_liveStreamId.clear(); -} - - -const QString &OnPlaybackStoppedParams::mediaSourceId() const { - return m_mediaSourceId; -} - -void OnPlaybackStoppedParams::setMediaSourceId(QString newMediaSourceId) { - m_mediaSourceId = newMediaSourceId; -} - -bool OnPlaybackStoppedParams::mediaSourceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_mediaSourceId.isNull(); -} - -void OnPlaybackStoppedParams::setMediaSourceIdNull() { - m_mediaSourceId.clear(); -} - - -const QString &OnPlaybackStoppedParams::nextMediaType() const { - return m_nextMediaType; -} - -void OnPlaybackStoppedParams::setNextMediaType(QString newNextMediaType) { - m_nextMediaType = newNextMediaType; -} - -bool OnPlaybackStoppedParams::nextMediaTypeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_nextMediaType.isNull(); -} - -void OnPlaybackStoppedParams::setNextMediaTypeNull() { - m_nextMediaType.clear(); -} - - -const QString &OnPlaybackStoppedParams::playSessionId() const { - return m_playSessionId; -} - -void OnPlaybackStoppedParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool OnPlaybackStoppedParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void OnPlaybackStoppedParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const qint64 &OnPlaybackStoppedParams::positionTicks() const { - return m_positionTicks.value(); -} - -void OnPlaybackStoppedParams::setPositionTicks(qint64 newPositionTicks) { - m_positionTicks = newPositionTicks; -} - -bool OnPlaybackStoppedParams::positionTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_positionTicks.has_value(); -} - -void OnPlaybackStoppedParams::setPositionTicksNull() { - m_positionTicks = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/openlivestreamparams.cpp b/core/src/loader/openlivestreamparams.cpp deleted file mode 100644 index 4dddc92..0000000 --- a/core/src/loader/openlivestreamparams.cpp +++ /dev/null @@ -1,272 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/openlivestreamparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// OpenLiveStreamParams - -const qint32 &OpenLiveStreamParams::audioStreamIndex() const { - return m_audioStreamIndex.value(); -} - -void OpenLiveStreamParams::setAudioStreamIndex(qint32 newAudioStreamIndex) { - m_audioStreamIndex = newAudioStreamIndex; -} - -bool OpenLiveStreamParams::audioStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_audioStreamIndex.has_value(); -} - -void OpenLiveStreamParams::setAudioStreamIndexNull() { - m_audioStreamIndex = std::nullopt; -} - - -const bool &OpenLiveStreamParams::enableDirectPlay() const { - return m_enableDirectPlay.value(); -} - -void OpenLiveStreamParams::setEnableDirectPlay(bool newEnableDirectPlay) { - m_enableDirectPlay = newEnableDirectPlay; -} - -bool OpenLiveStreamParams::enableDirectPlayNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableDirectPlay.has_value(); -} - -void OpenLiveStreamParams::setEnableDirectPlayNull() { - m_enableDirectPlay = std::nullopt; -} - - -const bool &OpenLiveStreamParams::enableDirectStream() const { - return m_enableDirectStream.value(); -} - -void OpenLiveStreamParams::setEnableDirectStream(bool newEnableDirectStream) { - m_enableDirectStream = newEnableDirectStream; -} - -bool OpenLiveStreamParams::enableDirectStreamNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_enableDirectStream.has_value(); -} - -void OpenLiveStreamParams::setEnableDirectStreamNull() { - m_enableDirectStream = std::nullopt; -} - - -const QString &OpenLiveStreamParams::itemId() const { - return m_itemId; -} - -void OpenLiveStreamParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - -bool OpenLiveStreamParams::itemIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_itemId.isNull(); -} - -void OpenLiveStreamParams::setItemIdNull() { - m_itemId.clear(); -} - - -const qint32 &OpenLiveStreamParams::maxAudioChannels() const { - return m_maxAudioChannels.value(); -} - -void OpenLiveStreamParams::setMaxAudioChannels(qint32 newMaxAudioChannels) { - m_maxAudioChannels = newMaxAudioChannels; -} - -bool OpenLiveStreamParams::maxAudioChannelsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxAudioChannels.has_value(); -} - -void OpenLiveStreamParams::setMaxAudioChannelsNull() { - m_maxAudioChannels = std::nullopt; -} - - -const qint32 &OpenLiveStreamParams::maxStreamingBitrate() const { - return m_maxStreamingBitrate.value(); -} - -void OpenLiveStreamParams::setMaxStreamingBitrate(qint32 newMaxStreamingBitrate) { - m_maxStreamingBitrate = newMaxStreamingBitrate; -} - -bool OpenLiveStreamParams::maxStreamingBitrateNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_maxStreamingBitrate.has_value(); -} - -void OpenLiveStreamParams::setMaxStreamingBitrateNull() { - m_maxStreamingBitrate = std::nullopt; -} - - -const QString &OpenLiveStreamParams::openToken() const { - return m_openToken; -} - -void OpenLiveStreamParams::setOpenToken(QString newOpenToken) { - m_openToken = newOpenToken; -} - -bool OpenLiveStreamParams::openTokenNull() const { - // Nullable: true - // Type Nullable: true - - - return m_openToken.isNull(); -} - -void OpenLiveStreamParams::setOpenTokenNull() { - m_openToken.clear(); -} - - -const QString &OpenLiveStreamParams::playSessionId() const { - return m_playSessionId; -} - -void OpenLiveStreamParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool OpenLiveStreamParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void OpenLiveStreamParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - -const qint64 &OpenLiveStreamParams::startTimeTicks() const { - return m_startTimeTicks.value(); -} - -void OpenLiveStreamParams::setStartTimeTicks(qint64 newStartTimeTicks) { - m_startTimeTicks = newStartTimeTicks; -} - -bool OpenLiveStreamParams::startTimeTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startTimeTicks.has_value(); -} - -void OpenLiveStreamParams::setStartTimeTicksNull() { - m_startTimeTicks = std::nullopt; -} - - -const qint32 &OpenLiveStreamParams::subtitleStreamIndex() const { - return m_subtitleStreamIndex.value(); -} - -void OpenLiveStreamParams::setSubtitleStreamIndex(qint32 newSubtitleStreamIndex) { - m_subtitleStreamIndex = newSubtitleStreamIndex; -} - -bool OpenLiveStreamParams::subtitleStreamIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_subtitleStreamIndex.has_value(); -} - -void OpenLiveStreamParams::setSubtitleStreamIndexNull() { - m_subtitleStreamIndex = std::nullopt; -} - - -const QString &OpenLiveStreamParams::userId() const { - return m_userId; -} - -void OpenLiveStreamParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - -bool OpenLiveStreamParams::userIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_userId.isNull(); -} - -void OpenLiveStreamParams::setUserIdNull() { - m_userId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/pingplaybacksessionparams.cpp b/core/src/loader/pingplaybacksessionparams.cpp deleted file mode 100644 index 2f9d047..0000000 --- a/core/src/loader/pingplaybacksessionparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/pingplaybacksessionparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PingPlaybackSessionParams - -const QString &PingPlaybackSessionParams::playSessionId() const { - return m_playSessionId; -} - -void PingPlaybackSessionParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool PingPlaybackSessionParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void PingPlaybackSessionParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/playparams.cpp b/core/src/loader/playparams.cpp deleted file mode 100644 index 1cd2b37..0000000 --- a/core/src/loader/playparams.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/playparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PlayParams - -const QString &PlayParams::sessionId() const { - return m_sessionId; -} - -void PlayParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - - -const QStringList &PlayParams::itemIds() const { - return m_itemIds; -} - -void PlayParams::setItemIds(QStringList newItemIds) { - m_itemIds = newItemIds; -} - - -const PlayCommand &PlayParams::playCommand() const { - return m_playCommand; -} - -void PlayParams::setPlayCommand(PlayCommand newPlayCommand) { - m_playCommand = newPlayCommand; -} - - -const qint64 &PlayParams::startPositionTicks() const { - return m_startPositionTicks.value(); -} - -void PlayParams::setStartPositionTicks(qint64 newStartPositionTicks) { - m_startPositionTicks = newStartPositionTicks; -} - -bool PlayParams::startPositionTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_startPositionTicks.has_value(); -} - -void PlayParams::setStartPositionTicksNull() { - m_startPositionTicks = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postaddedmoviesparams.cpp b/core/src/loader/postaddedmoviesparams.cpp deleted file mode 100644 index 31441c7..0000000 --- a/core/src/loader/postaddedmoviesparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postaddedmoviesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostAddedMoviesParams - -const QString &PostAddedMoviesParams::imdbId() const { - return m_imdbId; -} - -void PostAddedMoviesParams::setImdbId(QString newImdbId) { - m_imdbId = newImdbId; -} - -bool PostAddedMoviesParams::imdbIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_imdbId.isNull(); -} - -void PostAddedMoviesParams::setImdbIdNull() { - m_imdbId.clear(); -} - - -const QString &PostAddedMoviesParams::tmdbId() const { - return m_tmdbId; -} - -void PostAddedMoviesParams::setTmdbId(QString newTmdbId) { - m_tmdbId = newTmdbId; -} - -bool PostAddedMoviesParams::tmdbIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tmdbId.isNull(); -} - -void PostAddedMoviesParams::setTmdbIdNull() { - m_tmdbId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postaddedseriesparams.cpp b/core/src/loader/postaddedseriesparams.cpp deleted file mode 100644 index 2b1a9b2..0000000 --- a/core/src/loader/postaddedseriesparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postaddedseriesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostAddedSeriesParams - -const QString &PostAddedSeriesParams::tvdbId() const { - return m_tvdbId; -} - -void PostAddedSeriesParams::setTvdbId(QString newTvdbId) { - m_tvdbId = newTvdbId; -} - -bool PostAddedSeriesParams::tvdbIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tvdbId.isNull(); -} - -void PostAddedSeriesParams::setTvdbIdNull() { - m_tvdbId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postcapabilitiesparams.cpp b/core/src/loader/postcapabilitiesparams.cpp deleted file mode 100644 index b9c3718..0000000 --- a/core/src/loader/postcapabilitiesparams.cpp +++ /dev/null @@ -1,167 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postcapabilitiesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostCapabilitiesParams - -const QString &PostCapabilitiesParams::jellyfinId() const { - return m_jellyfinId; -} - -void PostCapabilitiesParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - -bool PostCapabilitiesParams::jellyfinIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_jellyfinId.isNull(); -} - -void PostCapabilitiesParams::setJellyfinIdNull() { - m_jellyfinId.clear(); -} - - -const QStringList &PostCapabilitiesParams::playableMediaTypes() const { - return m_playableMediaTypes; -} - -void PostCapabilitiesParams::setPlayableMediaTypes(QStringList newPlayableMediaTypes) { - m_playableMediaTypes = newPlayableMediaTypes; -} - -bool PostCapabilitiesParams::playableMediaTypesNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playableMediaTypes.size() == 0; -} - -void PostCapabilitiesParams::setPlayableMediaTypesNull() { - m_playableMediaTypes.clear(); -} - - -const QList &PostCapabilitiesParams::supportedCommands() const { - return m_supportedCommands; -} - -void PostCapabilitiesParams::setSupportedCommands(QList newSupportedCommands) { - m_supportedCommands = newSupportedCommands; -} - -bool PostCapabilitiesParams::supportedCommandsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_supportedCommands.size() == 0; -} - -void PostCapabilitiesParams::setSupportedCommandsNull() { - m_supportedCommands.clear(); -} - - -const bool &PostCapabilitiesParams::supportsMediaControl() const { - return m_supportsMediaControl.value(); -} - -void PostCapabilitiesParams::setSupportsMediaControl(bool newSupportsMediaControl) { - m_supportsMediaControl = newSupportsMediaControl; -} - -bool PostCapabilitiesParams::supportsMediaControlNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_supportsMediaControl.has_value(); -} - -void PostCapabilitiesParams::setSupportsMediaControlNull() { - m_supportsMediaControl = std::nullopt; -} - - -const bool &PostCapabilitiesParams::supportsPersistentIdentifier() const { - return m_supportsPersistentIdentifier.value(); -} - -void PostCapabilitiesParams::setSupportsPersistentIdentifier(bool newSupportsPersistentIdentifier) { - m_supportsPersistentIdentifier = newSupportsPersistentIdentifier; -} - -bool PostCapabilitiesParams::supportsPersistentIdentifierNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_supportsPersistentIdentifier.has_value(); -} - -void PostCapabilitiesParams::setSupportsPersistentIdentifierNull() { - m_supportsPersistentIdentifier = std::nullopt; -} - - -const bool &PostCapabilitiesParams::supportsSync() const { - return m_supportsSync.value(); -} - -void PostCapabilitiesParams::setSupportsSync(bool newSupportsSync) { - m_supportsSync = newSupportsSync; -} - -bool PostCapabilitiesParams::supportsSyncNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_supportsSync.has_value(); -} - -void PostCapabilitiesParams::setSupportsSyncNull() { - m_supportsSync = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postfullcapabilitiesparams.cpp b/core/src/loader/postfullcapabilitiesparams.cpp deleted file mode 100644 index b0475ce..0000000 --- a/core/src/loader/postfullcapabilitiesparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postfullcapabilitiesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostFullCapabilitiesParams - -const QString &PostFullCapabilitiesParams::jellyfinId() const { - return m_jellyfinId; -} - -void PostFullCapabilitiesParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - -bool PostFullCapabilitiesParams::jellyfinIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_jellyfinId.isNull(); -} - -void PostFullCapabilitiesParams::setJellyfinIdNull() { - m_jellyfinId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postparams.cpp b/core/src/loader/postparams.cpp deleted file mode 100644 index 6a02121..0000000 --- a/core/src/loader/postparams.cpp +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostParams - -const QString &PostParams::itemId() const { - return m_itemId; -} - -void PostParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const MetadataRefreshMode &PostParams::imageRefreshMode() const { - return m_imageRefreshMode; -} - -void PostParams::setImageRefreshMode(MetadataRefreshMode newImageRefreshMode) { - m_imageRefreshMode = newImageRefreshMode; -} - -bool PostParams::imageRefreshModeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_imageRefreshMode== MetadataRefreshMode::EnumNotSet; -} - -void PostParams::setImageRefreshModeNull() { - m_imageRefreshMode= MetadataRefreshMode::EnumNotSet; -} - - -const MetadataRefreshMode &PostParams::metadataRefreshMode() const { - return m_metadataRefreshMode; -} - -void PostParams::setMetadataRefreshMode(MetadataRefreshMode newMetadataRefreshMode) { - m_metadataRefreshMode = newMetadataRefreshMode; -} - -bool PostParams::metadataRefreshModeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_metadataRefreshMode== MetadataRefreshMode::EnumNotSet; -} - -void PostParams::setMetadataRefreshModeNull() { - m_metadataRefreshMode= MetadataRefreshMode::EnumNotSet; -} - - -const bool &PostParams::replaceAllImages() const { - return m_replaceAllImages.value(); -} - -void PostParams::setReplaceAllImages(bool newReplaceAllImages) { - m_replaceAllImages = newReplaceAllImages; -} - -bool PostParams::replaceAllImagesNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_replaceAllImages.has_value(); -} - -void PostParams::setReplaceAllImagesNull() { - m_replaceAllImages = std::nullopt; -} - - -const bool &PostParams::replaceAllMetadata() const { - return m_replaceAllMetadata.value(); -} - -void PostParams::setReplaceAllMetadata(bool newReplaceAllMetadata) { - m_replaceAllMetadata = newReplaceAllMetadata; -} - -bool PostParams::replaceAllMetadataNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_replaceAllMetadata.has_value(); -} - -void PostParams::setReplaceAllMetadataNull() { - m_replaceAllMetadata = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postpingsystemparams.cpp b/core/src/loader/postpingsystemparams.cpp deleted file mode 100644 index 1109616..0000000 --- a/core/src/loader/postpingsystemparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postpingsystemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostPingSystemParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postupdatedmediaparams.cpp b/core/src/loader/postupdatedmediaparams.cpp deleted file mode 100644 index 39b9aa6..0000000 --- a/core/src/loader/postupdatedmediaparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postupdatedmediaparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostUpdatedMediaParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postupdatedmoviesparams.cpp b/core/src/loader/postupdatedmoviesparams.cpp deleted file mode 100644 index bbca288..0000000 --- a/core/src/loader/postupdatedmoviesparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postupdatedmoviesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostUpdatedMoviesParams - -const QString &PostUpdatedMoviesParams::imdbId() const { - return m_imdbId; -} - -void PostUpdatedMoviesParams::setImdbId(QString newImdbId) { - m_imdbId = newImdbId; -} - -bool PostUpdatedMoviesParams::imdbIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_imdbId.isNull(); -} - -void PostUpdatedMoviesParams::setImdbIdNull() { - m_imdbId.clear(); -} - - -const QString &PostUpdatedMoviesParams::tmdbId() const { - return m_tmdbId; -} - -void PostUpdatedMoviesParams::setTmdbId(QString newTmdbId) { - m_tmdbId = newTmdbId; -} - -bool PostUpdatedMoviesParams::tmdbIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tmdbId.isNull(); -} - -void PostUpdatedMoviesParams::setTmdbIdNull() { - m_tmdbId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postupdatedseriesparams.cpp b/core/src/loader/postupdatedseriesparams.cpp deleted file mode 100644 index 4d8bd49..0000000 --- a/core/src/loader/postupdatedseriesparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postupdatedseriesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostUpdatedSeriesParams - -const QString &PostUpdatedSeriesParams::tvdbId() const { - return m_tvdbId; -} - -void PostUpdatedSeriesParams::setTvdbId(QString newTvdbId) { - m_tvdbId = newTvdbId; -} - -bool PostUpdatedSeriesParams::tvdbIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_tvdbId.isNull(); -} - -void PostUpdatedSeriesParams::setTvdbIdNull() { - m_tvdbId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postuserimagebyindexparams.cpp b/core/src/loader/postuserimagebyindexparams.cpp deleted file mode 100644 index 227726e..0000000 --- a/core/src/loader/postuserimagebyindexparams.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postuserimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostUserImageByIndexParams - -const ImageType &PostUserImageByIndexParams::imageType() const { - return m_imageType; -} - -void PostUserImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const qint32 &PostUserImageByIndexParams::index() const { - return m_index; -} - -void PostUserImageByIndexParams::setIndex(qint32 newIndex) { - m_index = newIndex; -} - - -const QString &PostUserImageByIndexParams::userId() const { - return m_userId; -} - -void PostUserImageByIndexParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/postuserimageparams.cpp b/core/src/loader/postuserimageparams.cpp deleted file mode 100644 index e14e87e..0000000 --- a/core/src/loader/postuserimageparams.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/postuserimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// PostUserImageParams - -const ImageType &PostUserImageParams::imageType() const { - return m_imageType; -} - -void PostUserImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &PostUserImageParams::userId() const { - return m_userId; -} - -void PostUserImageParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const qint32 &PostUserImageParams::index() const { - return m_index.value(); -} - -void PostUserImageParams::setIndex(qint32 newIndex) { - m_index = newIndex; -} - -bool PostUserImageParams::indexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_index.has_value(); -} - -void PostUserImageParams::setIndexNull() { - m_index = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/processconnectionmanagercontrolrequestparams.cpp b/core/src/loader/processconnectionmanagercontrolrequestparams.cpp deleted file mode 100644 index 6f271f0..0000000 --- a/core/src/loader/processconnectionmanagercontrolrequestparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/processconnectionmanagercontrolrequestparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ProcessConnectionManagerControlRequestParams - -const QString &ProcessConnectionManagerControlRequestParams::serverId() const { - return m_serverId; -} - -void ProcessConnectionManagerControlRequestParams::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/processcontentdirectorycontrolrequestparams.cpp b/core/src/loader/processcontentdirectorycontrolrequestparams.cpp deleted file mode 100644 index 28ecaaf..0000000 --- a/core/src/loader/processcontentdirectorycontrolrequestparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/processcontentdirectorycontrolrequestparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ProcessContentDirectoryControlRequestParams - -const QString &ProcessContentDirectoryControlRequestParams::serverId() const { - return m_serverId; -} - -void ProcessContentDirectoryControlRequestParams::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/processmediareceiverregistrarcontrolrequestparams.cpp b/core/src/loader/processmediareceiverregistrarcontrolrequestparams.cpp deleted file mode 100644 index cf3a81c..0000000 --- a/core/src/loader/processmediareceiverregistrarcontrolrequestparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/processmediareceiverregistrarcontrolrequestparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ProcessMediaReceiverRegistrarControlRequestParams - -const QString &ProcessMediaReceiverRegistrarControlRequestParams::serverId() const { - return m_serverId; -} - -void ProcessMediaReceiverRegistrarControlRequestParams::setServerId(QString newServerId) { - m_serverId = newServerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/refreshlibraryparams.cpp b/core/src/loader/refreshlibraryparams.cpp deleted file mode 100644 index 754bd87..0000000 --- a/core/src/loader/refreshlibraryparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/refreshlibraryparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// RefreshLibraryParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/removefromcollectionparams.cpp b/core/src/loader/removefromcollectionparams.cpp deleted file mode 100644 index a0933ce..0000000 --- a/core/src/loader/removefromcollectionparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/removefromcollectionparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// RemoveFromCollectionParams - -const QString &RemoveFromCollectionParams::collectionId() const { - return m_collectionId; -} - -void RemoveFromCollectionParams::setCollectionId(QString newCollectionId) { - m_collectionId = newCollectionId; -} - - -const QStringList &RemoveFromCollectionParams::ids() const { - return m_ids; -} - -void RemoveFromCollectionParams::setIds(QStringList newIds) { - m_ids = newIds; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/removefromplaylistparams.cpp b/core/src/loader/removefromplaylistparams.cpp deleted file mode 100644 index ec5fba9..0000000 --- a/core/src/loader/removefromplaylistparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/removefromplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// RemoveFromPlaylistParams - -const QString &RemoveFromPlaylistParams::playlistId() const { - return m_playlistId; -} - -void RemoveFromPlaylistParams::setPlaylistId(QString newPlaylistId) { - m_playlistId = newPlaylistId; -} - - -const QStringList &RemoveFromPlaylistParams::entryIds() const { - return m_entryIds; -} - -void RemoveFromPlaylistParams::setEntryIds(QStringList newEntryIds) { - m_entryIds = newEntryIds; -} - -bool RemoveFromPlaylistParams::entryIdsNull() const { - // Nullable: true - // Type Nullable: true - - - return m_entryIds.size() == 0; -} - -void RemoveFromPlaylistParams::setEntryIdsNull() { - m_entryIds.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/removemediapathparams.cpp b/core/src/loader/removemediapathparams.cpp deleted file mode 100644 index 8bab05c..0000000 --- a/core/src/loader/removemediapathparams.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/removemediapathparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// RemoveMediaPathParams - -const QString &RemoveMediaPathParams::name() const { - return m_name; -} - -void RemoveMediaPathParams::setName(QString newName) { - m_name = newName; -} - -bool RemoveMediaPathParams::nameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_name.isNull(); -} - -void RemoveMediaPathParams::setNameNull() { - m_name.clear(); -} - - -const QString &RemoveMediaPathParams::path() const { - return m_path; -} - -void RemoveMediaPathParams::setPath(QString newPath) { - m_path = newPath; -} - -bool RemoveMediaPathParams::pathNull() const { - // Nullable: true - // Type Nullable: true - - - return m_path.isNull(); -} - -void RemoveMediaPathParams::setPathNull() { - m_path.clear(); -} - - -const bool &RemoveMediaPathParams::refreshLibrary() const { - return m_refreshLibrary.value(); -} - -void RemoveMediaPathParams::setRefreshLibrary(bool newRefreshLibrary) { - m_refreshLibrary = newRefreshLibrary; -} - -bool RemoveMediaPathParams::refreshLibraryNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_refreshLibrary.has_value(); -} - -void RemoveMediaPathParams::setRefreshLibraryNull() { - m_refreshLibrary = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/removeuserfromsessionparams.cpp b/core/src/loader/removeuserfromsessionparams.cpp deleted file mode 100644 index 8e5ee35..0000000 --- a/core/src/loader/removeuserfromsessionparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/removeuserfromsessionparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// RemoveUserFromSessionParams - -const QString &RemoveUserFromSessionParams::sessionId() const { - return m_sessionId; -} - -void RemoveUserFromSessionParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - - -const QString &RemoveUserFromSessionParams::userId() const { - return m_userId; -} - -void RemoveUserFromSessionParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/removevirtualfolderparams.cpp b/core/src/loader/removevirtualfolderparams.cpp deleted file mode 100644 index 668b499..0000000 --- a/core/src/loader/removevirtualfolderparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/removevirtualfolderparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// RemoveVirtualFolderParams - -const QString &RemoveVirtualFolderParams::name() const { - return m_name; -} - -void RemoveVirtualFolderParams::setName(QString newName) { - m_name = newName; -} - -bool RemoveVirtualFolderParams::nameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_name.isNull(); -} - -void RemoveVirtualFolderParams::setNameNull() { - m_name.clear(); -} - - -const bool &RemoveVirtualFolderParams::refreshLibrary() const { - return m_refreshLibrary.value(); -} - -void RemoveVirtualFolderParams::setRefreshLibrary(bool newRefreshLibrary) { - m_refreshLibrary = newRefreshLibrary; -} - -bool RemoveVirtualFolderParams::refreshLibraryNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_refreshLibrary.has_value(); -} - -void RemoveVirtualFolderParams::setRefreshLibraryNull() { - m_refreshLibrary = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/renamevirtualfolderparams.cpp b/core/src/loader/renamevirtualfolderparams.cpp deleted file mode 100644 index cafb4e3..0000000 --- a/core/src/loader/renamevirtualfolderparams.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/renamevirtualfolderparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// RenameVirtualFolderParams - -const QString &RenameVirtualFolderParams::name() const { - return m_name; -} - -void RenameVirtualFolderParams::setName(QString newName) { - m_name = newName; -} - -bool RenameVirtualFolderParams::nameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_name.isNull(); -} - -void RenameVirtualFolderParams::setNameNull() { - m_name.clear(); -} - - -const QString &RenameVirtualFolderParams::newName() const { - return m_newName; -} - -void RenameVirtualFolderParams::setNewName(QString newNewName) { - m_newName = newNewName; -} - -bool RenameVirtualFolderParams::newNameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_newName.isNull(); -} - -void RenameVirtualFolderParams::setNewNameNull() { - m_newName.clear(); -} - - -const bool &RenameVirtualFolderParams::refreshLibrary() const { - return m_refreshLibrary.value(); -} - -void RenameVirtualFolderParams::setRefreshLibrary(bool newRefreshLibrary) { - m_refreshLibrary = newRefreshLibrary; -} - -bool RenameVirtualFolderParams::refreshLibraryNull() const { - // Nullable: false - // Type Nullable: false - - - return !m_refreshLibrary.has_value(); -} - -void RenameVirtualFolderParams::setRefreshLibraryNull() { - m_refreshLibrary = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/reportplaybackprogressparams.cpp b/core/src/loader/reportplaybackprogressparams.cpp deleted file mode 100644 index d8ce61a..0000000 --- a/core/src/loader/reportplaybackprogressparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/reportplaybackprogressparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ReportPlaybackProgressParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/reportplaybackstartparams.cpp b/core/src/loader/reportplaybackstartparams.cpp deleted file mode 100644 index 5623f34..0000000 --- a/core/src/loader/reportplaybackstartparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/reportplaybackstartparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ReportPlaybackStartParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/reportplaybackstoppedparams.cpp b/core/src/loader/reportplaybackstoppedparams.cpp deleted file mode 100644 index bb94bfb..0000000 --- a/core/src/loader/reportplaybackstoppedparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/reportplaybackstoppedparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ReportPlaybackStoppedParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/reportsessionendedparams.cpp b/core/src/loader/reportsessionendedparams.cpp deleted file mode 100644 index 67b5117..0000000 --- a/core/src/loader/reportsessionendedparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/reportsessionendedparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ReportSessionEndedParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/reportviewingparams.cpp b/core/src/loader/reportviewingparams.cpp deleted file mode 100644 index 711d722..0000000 --- a/core/src/loader/reportviewingparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/reportviewingparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ReportViewingParams - -const QString &ReportViewingParams::itemId() const { - return m_itemId; -} - -void ReportViewingParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &ReportViewingParams::sessionId() const { - return m_sessionId; -} - -void ReportViewingParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - -bool ReportViewingParams::sessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_sessionId.isNull(); -} - -void ReportViewingParams::setSessionIdNull() { - m_sessionId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/resettunerparams.cpp b/core/src/loader/resettunerparams.cpp deleted file mode 100644 index ac92cc9..0000000 --- a/core/src/loader/resettunerparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/resettunerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ResetTunerParams - -const QString &ResetTunerParams::tunerId() const { - return m_tunerId; -} - -void ResetTunerParams::setTunerId(QString newTunerId) { - m_tunerId = newTunerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/restartapplicationparams.cpp b/core/src/loader/restartapplicationparams.cpp deleted file mode 100644 index 3aaaa20..0000000 --- a/core/src/loader/restartapplicationparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/restartapplicationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// RestartApplicationParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/revokekeyparams.cpp b/core/src/loader/revokekeyparams.cpp deleted file mode 100644 index 4de0dc1..0000000 --- a/core/src/loader/revokekeyparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/revokekeyparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// RevokeKeyParams - -const QString &RevokeKeyParams::key() const { - return m_key; -} - -void RevokeKeyParams::setKey(QString newKey) { - m_key = newKey; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/searchremotesubtitlesparams.cpp b/core/src/loader/searchremotesubtitlesparams.cpp deleted file mode 100644 index 42b3572..0000000 --- a/core/src/loader/searchremotesubtitlesparams.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/searchremotesubtitlesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SearchRemoteSubtitlesParams - -const QString &SearchRemoteSubtitlesParams::itemId() const { - return m_itemId; -} - -void SearchRemoteSubtitlesParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &SearchRemoteSubtitlesParams::language() const { - return m_language; -} - -void SearchRemoteSubtitlesParams::setLanguage(QString newLanguage) { - m_language = newLanguage; -} - - -const bool &SearchRemoteSubtitlesParams::isPerfectMatch() const { - return m_isPerfectMatch.value(); -} - -void SearchRemoteSubtitlesParams::setIsPerfectMatch(bool newIsPerfectMatch) { - m_isPerfectMatch = newIsPerfectMatch; -} - -bool SearchRemoteSubtitlesParams::isPerfectMatchNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_isPerfectMatch.has_value(); -} - -void SearchRemoteSubtitlesParams::setIsPerfectMatchNull() { - m_isPerfectMatch = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/sendfullgeneralcommandparams.cpp b/core/src/loader/sendfullgeneralcommandparams.cpp deleted file mode 100644 index f685332..0000000 --- a/core/src/loader/sendfullgeneralcommandparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/sendfullgeneralcommandparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SendFullGeneralCommandParams - -const QString &SendFullGeneralCommandParams::sessionId() const { - return m_sessionId; -} - -void SendFullGeneralCommandParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/sendgeneralcommandparams.cpp b/core/src/loader/sendgeneralcommandparams.cpp deleted file mode 100644 index 368ba16..0000000 --- a/core/src/loader/sendgeneralcommandparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/sendgeneralcommandparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SendGeneralCommandParams - -const GeneralCommandType &SendGeneralCommandParams::command() const { - return m_command; -} - -void SendGeneralCommandParams::setCommand(GeneralCommandType newCommand) { - m_command = newCommand; -} - - -const QString &SendGeneralCommandParams::sessionId() const { - return m_sessionId; -} - -void SendGeneralCommandParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/sendmessagecommandparams.cpp b/core/src/loader/sendmessagecommandparams.cpp deleted file mode 100644 index d74e1d4..0000000 --- a/core/src/loader/sendmessagecommandparams.cpp +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/sendmessagecommandparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SendMessageCommandParams - -const QString &SendMessageCommandParams::sessionId() const { - return m_sessionId; -} - -void SendMessageCommandParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - - -const QString &SendMessageCommandParams::text() const { - return m_text; -} - -void SendMessageCommandParams::setText(QString newText) { - m_text = newText; -} - - -const QString &SendMessageCommandParams::header() const { - return m_header; -} - -void SendMessageCommandParams::setHeader(QString newHeader) { - m_header = newHeader; -} - -bool SendMessageCommandParams::headerNull() const { - // Nullable: true - // Type Nullable: true - - - return m_header.isNull(); -} - -void SendMessageCommandParams::setHeaderNull() { - m_header.clear(); -} - - -const qint64 &SendMessageCommandParams::timeoutMs() const { - return m_timeoutMs.value(); -} - -void SendMessageCommandParams::setTimeoutMs(qint64 newTimeoutMs) { - m_timeoutMs = newTimeoutMs; -} - -bool SendMessageCommandParams::timeoutMsNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_timeoutMs.has_value(); -} - -void SendMessageCommandParams::setTimeoutMsNull() { - m_timeoutMs = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/sendplaystatecommandparams.cpp b/core/src/loader/sendplaystatecommandparams.cpp deleted file mode 100644 index dc5eade..0000000 --- a/core/src/loader/sendplaystatecommandparams.cpp +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/sendplaystatecommandparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SendPlaystateCommandParams - -const PlaystateCommand &SendPlaystateCommandParams::command() const { - return m_command; -} - -void SendPlaystateCommandParams::setCommand(PlaystateCommand newCommand) { - m_command = newCommand; -} - - -const QString &SendPlaystateCommandParams::sessionId() const { - return m_sessionId; -} - -void SendPlaystateCommandParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - - -const QString &SendPlaystateCommandParams::controllingUserId() const { - return m_controllingUserId; -} - -void SendPlaystateCommandParams::setControllingUserId(QString newControllingUserId) { - m_controllingUserId = newControllingUserId; -} - -bool SendPlaystateCommandParams::controllingUserIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_controllingUserId.isNull(); -} - -void SendPlaystateCommandParams::setControllingUserIdNull() { - m_controllingUserId.clear(); -} - - -const qint64 &SendPlaystateCommandParams::seekPositionTicks() const { - return m_seekPositionTicks.value(); -} - -void SendPlaystateCommandParams::setSeekPositionTicks(qint64 newSeekPositionTicks) { - m_seekPositionTicks = newSeekPositionTicks; -} - -bool SendPlaystateCommandParams::seekPositionTicksNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_seekPositionTicks.has_value(); -} - -void SendPlaystateCommandParams::setSeekPositionTicksNull() { - m_seekPositionTicks = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/sendsystemcommandparams.cpp b/core/src/loader/sendsystemcommandparams.cpp deleted file mode 100644 index b03421a..0000000 --- a/core/src/loader/sendsystemcommandparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/sendsystemcommandparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SendSystemCommandParams - -const GeneralCommandType &SendSystemCommandParams::command() const { - return m_command; -} - -void SendSystemCommandParams::setCommand(GeneralCommandType newCommand) { - m_command = newCommand; -} - - -const QString &SendSystemCommandParams::sessionId() const { - return m_sessionId; -} - -void SendSystemCommandParams::setSessionId(QString newSessionId) { - m_sessionId = newSessionId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/setchannelmappingparams.cpp b/core/src/loader/setchannelmappingparams.cpp deleted file mode 100644 index fb5ad21..0000000 --- a/core/src/loader/setchannelmappingparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/setchannelmappingparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SetChannelMappingParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/setitemimagebyindexparams.cpp b/core/src/loader/setitemimagebyindexparams.cpp deleted file mode 100644 index d42a464..0000000 --- a/core/src/loader/setitemimagebyindexparams.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/setitemimagebyindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SetItemImageByIndexParams - -const qint32 &SetItemImageByIndexParams::imageIndex() const { - return m_imageIndex; -} - -void SetItemImageByIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &SetItemImageByIndexParams::imageType() const { - return m_imageType; -} - -void SetItemImageByIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &SetItemImageByIndexParams::itemId() const { - return m_itemId; -} - -void SetItemImageByIndexParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/setitemimageparams.cpp b/core/src/loader/setitemimageparams.cpp deleted file mode 100644 index ea41673..0000000 --- a/core/src/loader/setitemimageparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/setitemimageparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SetItemImageParams - -const ImageType &SetItemImageParams::imageType() const { - return m_imageType; -} - -void SetItemImageParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &SetItemImageParams::itemId() const { - return m_itemId; -} - -void SetItemImageParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/setreadparams.cpp b/core/src/loader/setreadparams.cpp deleted file mode 100644 index d0d480a..0000000 --- a/core/src/loader/setreadparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/setreadparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SetReadParams - -const QString &SetReadParams::userId() const { - return m_userId; -} - -void SetReadParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/setremoteaccessparams.cpp b/core/src/loader/setremoteaccessparams.cpp deleted file mode 100644 index 891f480..0000000 --- a/core/src/loader/setremoteaccessparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/setremoteaccessparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SetRemoteAccessParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/setrepositoriesparams.cpp b/core/src/loader/setrepositoriesparams.cpp deleted file mode 100644 index e2f3604..0000000 --- a/core/src/loader/setrepositoriesparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/setrepositoriesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SetRepositoriesParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/setunreadparams.cpp b/core/src/loader/setunreadparams.cpp deleted file mode 100644 index 0a559db..0000000 --- a/core/src/loader/setunreadparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/setunreadparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SetUnreadParams - -const QString &SetUnreadParams::userId() const { - return m_userId; -} - -void SetUnreadParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/shutdownapplicationparams.cpp b/core/src/loader/shutdownapplicationparams.cpp deleted file mode 100644 index 3c56b48..0000000 --- a/core/src/loader/shutdownapplicationparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/shutdownapplicationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ShutdownApplicationParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/starttaskparams.cpp b/core/src/loader/starttaskparams.cpp deleted file mode 100644 index a98141a..0000000 --- a/core/src/loader/starttaskparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/starttaskparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// StartTaskParams - -const QString &StartTaskParams::taskId() const { - return m_taskId; -} - -void StartTaskParams::setTaskId(QString newTaskId) { - m_taskId = newTaskId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/stopencodingprocessparams.cpp b/core/src/loader/stopencodingprocessparams.cpp deleted file mode 100644 index 00c5f08..0000000 --- a/core/src/loader/stopencodingprocessparams.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/stopencodingprocessparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// StopEncodingProcessParams - -const QString &StopEncodingProcessParams::deviceId() const { - return m_deviceId; -} - -void StopEncodingProcessParams::setDeviceId(QString newDeviceId) { - m_deviceId = newDeviceId; -} - -bool StopEncodingProcessParams::deviceIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_deviceId.isNull(); -} - -void StopEncodingProcessParams::setDeviceIdNull() { - m_deviceId.clear(); -} - - -const QString &StopEncodingProcessParams::playSessionId() const { - return m_playSessionId; -} - -void StopEncodingProcessParams::setPlaySessionId(QString newPlaySessionId) { - m_playSessionId = newPlaySessionId; -} - -bool StopEncodingProcessParams::playSessionIdNull() const { - // Nullable: true - // Type Nullable: true - - - return m_playSessionId.isNull(); -} - -void StopEncodingProcessParams::setPlaySessionIdNull() { - m_playSessionId.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/stoptaskparams.cpp b/core/src/loader/stoptaskparams.cpp deleted file mode 100644 index efd8878..0000000 --- a/core/src/loader/stoptaskparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/stoptaskparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// StopTaskParams - -const QString &StopTaskParams::taskId() const { - return m_taskId; -} - -void StopTaskParams::setTaskId(QString newTaskId) { - m_taskId = newTaskId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaybufferingparams.cpp b/core/src/loader/syncplaybufferingparams.cpp deleted file mode 100644 index 5dbfeb4..0000000 --- a/core/src/loader/syncplaybufferingparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaybufferingparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayBufferingParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaycreategroupparams.cpp b/core/src/loader/syncplaycreategroupparams.cpp deleted file mode 100644 index da39b9f..0000000 --- a/core/src/loader/syncplaycreategroupparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaycreategroupparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayCreateGroupParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaygetgroupsparams.cpp b/core/src/loader/syncplaygetgroupsparams.cpp deleted file mode 100644 index 7db89a4..0000000 --- a/core/src/loader/syncplaygetgroupsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaygetgroupsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayGetGroupsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplayjoingroupparams.cpp b/core/src/loader/syncplayjoingroupparams.cpp deleted file mode 100644 index ab7af07..0000000 --- a/core/src/loader/syncplayjoingroupparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplayjoingroupparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayJoinGroupParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplayleavegroupparams.cpp b/core/src/loader/syncplayleavegroupparams.cpp deleted file mode 100644 index 1977bb9..0000000 --- a/core/src/loader/syncplayleavegroupparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplayleavegroupparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayLeaveGroupParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaymoveplaylistitemparams.cpp b/core/src/loader/syncplaymoveplaylistitemparams.cpp deleted file mode 100644 index 48472d2..0000000 --- a/core/src/loader/syncplaymoveplaylistitemparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaymoveplaylistitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayMovePlaylistItemParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaynextitemparams.cpp b/core/src/loader/syncplaynextitemparams.cpp deleted file mode 100644 index f381f18..0000000 --- a/core/src/loader/syncplaynextitemparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaynextitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayNextItemParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaypauseparams.cpp b/core/src/loader/syncplaypauseparams.cpp deleted file mode 100644 index 7ac21f8..0000000 --- a/core/src/loader/syncplaypauseparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaypauseparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayPauseParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaypingparams.cpp b/core/src/loader/syncplaypingparams.cpp deleted file mode 100644 index d67f45d..0000000 --- a/core/src/loader/syncplaypingparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaypingparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayPingParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaypreviousitemparams.cpp b/core/src/loader/syncplaypreviousitemparams.cpp deleted file mode 100644 index 0063bd0..0000000 --- a/core/src/loader/syncplaypreviousitemparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaypreviousitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayPreviousItemParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplayqueueparams.cpp b/core/src/loader/syncplayqueueparams.cpp deleted file mode 100644 index e76de35..0000000 --- a/core/src/loader/syncplayqueueparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplayqueueparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayQueueParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplayreadyparams.cpp b/core/src/loader/syncplayreadyparams.cpp deleted file mode 100644 index 853b4fb..0000000 --- a/core/src/loader/syncplayreadyparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplayreadyparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayReadyParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplayremovefromplaylistparams.cpp b/core/src/loader/syncplayremovefromplaylistparams.cpp deleted file mode 100644 index 9270942..0000000 --- a/core/src/loader/syncplayremovefromplaylistparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplayremovefromplaylistparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayRemoveFromPlaylistParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplayseekparams.cpp b/core/src/loader/syncplayseekparams.cpp deleted file mode 100644 index 27b1913..0000000 --- a/core/src/loader/syncplayseekparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplayseekparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlaySeekParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaysetignorewaitparams.cpp b/core/src/loader/syncplaysetignorewaitparams.cpp deleted file mode 100644 index 3bc7f7d..0000000 --- a/core/src/loader/syncplaysetignorewaitparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaysetignorewaitparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlaySetIgnoreWaitParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaysetnewqueueparams.cpp b/core/src/loader/syncplaysetnewqueueparams.cpp deleted file mode 100644 index 596be21..0000000 --- a/core/src/loader/syncplaysetnewqueueparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaysetnewqueueparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlaySetNewQueueParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaysetplaylistitemparams.cpp b/core/src/loader/syncplaysetplaylistitemparams.cpp deleted file mode 100644 index 3078765..0000000 --- a/core/src/loader/syncplaysetplaylistitemparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaysetplaylistitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlaySetPlaylistItemParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaysetrepeatmodeparams.cpp b/core/src/loader/syncplaysetrepeatmodeparams.cpp deleted file mode 100644 index f728b3c..0000000 --- a/core/src/loader/syncplaysetrepeatmodeparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaysetrepeatmodeparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlaySetRepeatModeParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaysetshufflemodeparams.cpp b/core/src/loader/syncplaysetshufflemodeparams.cpp deleted file mode 100644 index cb96286..0000000 --- a/core/src/loader/syncplaysetshufflemodeparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaysetshufflemodeparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlaySetShuffleModeParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplaystopparams.cpp b/core/src/loader/syncplaystopparams.cpp deleted file mode 100644 index 9ac73ac..0000000 --- a/core/src/loader/syncplaystopparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplaystopparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayStopParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/syncplayunpauseparams.cpp b/core/src/loader/syncplayunpauseparams.cpp deleted file mode 100644 index 3a7385a..0000000 --- a/core/src/loader/syncplayunpauseparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/syncplayunpauseparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// SyncPlayUnpauseParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/uninstallpluginbyversionparams.cpp b/core/src/loader/uninstallpluginbyversionparams.cpp deleted file mode 100644 index 5846b2f..0000000 --- a/core/src/loader/uninstallpluginbyversionparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/uninstallpluginbyversionparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UninstallPluginByVersionParams - -const QString &UninstallPluginByVersionParams::pluginId() const { - return m_pluginId; -} - -void UninstallPluginByVersionParams::setPluginId(QString newPluginId) { - m_pluginId = newPluginId; -} - - -const QSharedPointer &UninstallPluginByVersionParams::version() const { - return m_version; -} - -void UninstallPluginByVersionParams::setVersion(QSharedPointer newVersion) { - m_version = newVersion; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/uninstallpluginparams.cpp b/core/src/loader/uninstallpluginparams.cpp deleted file mode 100644 index d925122..0000000 --- a/core/src/loader/uninstallpluginparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/uninstallpluginparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UninstallPluginParams - -const QString &UninstallPluginParams::pluginId() const { - return m_pluginId; -} - -void UninstallPluginParams::setPluginId(QString newPluginId) { - m_pluginId = newPluginId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/unmarkfavoriteitemparams.cpp b/core/src/loader/unmarkfavoriteitemparams.cpp deleted file mode 100644 index 182ed6f..0000000 --- a/core/src/loader/unmarkfavoriteitemparams.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/unmarkfavoriteitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UnmarkFavoriteItemParams - -const QString &UnmarkFavoriteItemParams::itemId() const { - return m_itemId; -} - -void UnmarkFavoriteItemParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &UnmarkFavoriteItemParams::userId() const { - return m_userId; -} - -void UnmarkFavoriteItemParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateconfigurationparams.cpp b/core/src/loader/updateconfigurationparams.cpp deleted file mode 100644 index a79644d..0000000 --- a/core/src/loader/updateconfigurationparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateconfigurationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateConfigurationParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatedeviceoptionsparams.cpp b/core/src/loader/updatedeviceoptionsparams.cpp deleted file mode 100644 index 60935c4..0000000 --- a/core/src/loader/updatedeviceoptionsparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatedeviceoptionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateDeviceOptionsParams - -const QString &UpdateDeviceOptionsParams::jellyfinId() const { - return m_jellyfinId; -} - -void UpdateDeviceOptionsParams::setJellyfinId(QString newJellyfinId) { - m_jellyfinId = newJellyfinId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatedisplaypreferencesparams.cpp b/core/src/loader/updatedisplaypreferencesparams.cpp deleted file mode 100644 index 6d1ebe4..0000000 --- a/core/src/loader/updatedisplaypreferencesparams.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatedisplaypreferencesparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateDisplayPreferencesParams - -const QString &UpdateDisplayPreferencesParams::displayPreferencesId() const { - return m_displayPreferencesId; -} - -void UpdateDisplayPreferencesParams::setDisplayPreferencesId(QString newDisplayPreferencesId) { - m_displayPreferencesId = newDisplayPreferencesId; -} - - -const QString &UpdateDisplayPreferencesParams::client() const { - return m_client; -} - -void UpdateDisplayPreferencesParams::setClient(QString newClient) { - m_client = newClient; -} - - -const QString &UpdateDisplayPreferencesParams::userId() const { - return m_userId; -} - -void UpdateDisplayPreferencesParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateinitialconfigurationparams.cpp b/core/src/loader/updateinitialconfigurationparams.cpp deleted file mode 100644 index df8ac9f..0000000 --- a/core/src/loader/updateinitialconfigurationparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateinitialconfigurationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateInitialConfigurationParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateitemcontenttypeparams.cpp b/core/src/loader/updateitemcontenttypeparams.cpp deleted file mode 100644 index bdbf42d..0000000 --- a/core/src/loader/updateitemcontenttypeparams.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateitemcontenttypeparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateItemContentTypeParams - -const QString &UpdateItemContentTypeParams::itemId() const { - return m_itemId; -} - -void UpdateItemContentTypeParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &UpdateItemContentTypeParams::contentType() const { - return m_contentType; -} - -void UpdateItemContentTypeParams::setContentType(QString newContentType) { - m_contentType = newContentType; -} - -bool UpdateItemContentTypeParams::contentTypeNull() const { - // Nullable: true - // Type Nullable: true - - - return m_contentType.isNull(); -} - -void UpdateItemContentTypeParams::setContentTypeNull() { - m_contentType.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateitemimageindexparams.cpp b/core/src/loader/updateitemimageindexparams.cpp deleted file mode 100644 index ce54678..0000000 --- a/core/src/loader/updateitemimageindexparams.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateitemimageindexparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateItemImageIndexParams - -const qint32 &UpdateItemImageIndexParams::imageIndex() const { - return m_imageIndex; -} - -void UpdateItemImageIndexParams::setImageIndex(qint32 newImageIndex) { - m_imageIndex = newImageIndex; -} - - -const ImageType &UpdateItemImageIndexParams::imageType() const { - return m_imageType; -} - -void UpdateItemImageIndexParams::setImageType(ImageType newImageType) { - m_imageType = newImageType; -} - - -const QString &UpdateItemImageIndexParams::itemId() const { - return m_itemId; -} - -void UpdateItemImageIndexParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const qint32 &UpdateItemImageIndexParams::newIndex() const { - return m_newIndex.value(); -} - -void UpdateItemImageIndexParams::setNewIndex(qint32 newNewIndex) { - m_newIndex = newNewIndex; -} - -bool UpdateItemImageIndexParams::newIndexNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_newIndex.has_value(); -} - -void UpdateItemImageIndexParams::setNewIndexNull() { - m_newIndex = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateitemparams.cpp b/core/src/loader/updateitemparams.cpp deleted file mode 100644 index 71c2a22..0000000 --- a/core/src/loader/updateitemparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateitemparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateItemParams - -const QString &UpdateItemParams::itemId() const { - return m_itemId; -} - -void UpdateItemParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatelibraryoptionsparams.cpp b/core/src/loader/updatelibraryoptionsparams.cpp deleted file mode 100644 index 798eae3..0000000 --- a/core/src/loader/updatelibraryoptionsparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatelibraryoptionsparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateLibraryOptionsParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatemediaencoderpathparams.cpp b/core/src/loader/updatemediaencoderpathparams.cpp deleted file mode 100644 index a4106ac..0000000 --- a/core/src/loader/updatemediaencoderpathparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatemediaencoderpathparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateMediaEncoderPathParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatemediapathparams.cpp b/core/src/loader/updatemediapathparams.cpp deleted file mode 100644 index ef2f6a2..0000000 --- a/core/src/loader/updatemediapathparams.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatemediapathparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateMediaPathParams - -const QString &UpdateMediaPathParams::name() const { - return m_name; -} - -void UpdateMediaPathParams::setName(QString newName) { - m_name = newName; -} - -bool UpdateMediaPathParams::nameNull() const { - // Nullable: true - // Type Nullable: true - - - return m_name.isNull(); -} - -void UpdateMediaPathParams::setNameNull() { - m_name.clear(); -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatenamedconfigurationparams.cpp b/core/src/loader/updatenamedconfigurationparams.cpp deleted file mode 100644 index c92c7ac..0000000 --- a/core/src/loader/updatenamedconfigurationparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatenamedconfigurationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateNamedConfigurationParams - -const QString &UpdateNamedConfigurationParams::key() const { - return m_key; -} - -void UpdateNamedConfigurationParams::setKey(QString newKey) { - m_key = newKey; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatepluginconfigurationparams.cpp b/core/src/loader/updatepluginconfigurationparams.cpp deleted file mode 100644 index 177a13a..0000000 --- a/core/src/loader/updatepluginconfigurationparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatepluginconfigurationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdatePluginConfigurationParams - -const QString &UpdatePluginConfigurationParams::pluginId() const { - return m_pluginId; -} - -void UpdatePluginConfigurationParams::setPluginId(QString newPluginId) { - m_pluginId = newPluginId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatepluginsecurityinfoparams.cpp b/core/src/loader/updatepluginsecurityinfoparams.cpp deleted file mode 100644 index 1b54057..0000000 --- a/core/src/loader/updatepluginsecurityinfoparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatepluginsecurityinfoparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdatePluginSecurityInfoParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateprofileparams.cpp b/core/src/loader/updateprofileparams.cpp deleted file mode 100644 index f40d5a6..0000000 --- a/core/src/loader/updateprofileparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateprofileparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateProfileParams - -const QString &UpdateProfileParams::profileId() const { - return m_profileId; -} - -void UpdateProfileParams::setProfileId(QString newProfileId) { - m_profileId = newProfileId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateseriestimerparams.cpp b/core/src/loader/updateseriestimerparams.cpp deleted file mode 100644 index bbf2134..0000000 --- a/core/src/loader/updateseriestimerparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateseriestimerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateSeriesTimerParams - -const QString &UpdateSeriesTimerParams::timerId() const { - return m_timerId; -} - -void UpdateSeriesTimerParams::setTimerId(QString newTimerId) { - m_timerId = newTimerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatestartupuserparams.cpp b/core/src/loader/updatestartupuserparams.cpp deleted file mode 100644 index e6259d6..0000000 --- a/core/src/loader/updatestartupuserparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatestartupuserparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateStartupUserParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatetaskparams.cpp b/core/src/loader/updatetaskparams.cpp deleted file mode 100644 index 9741b2e..0000000 --- a/core/src/loader/updatetaskparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatetaskparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateTaskParams - -const QString &UpdateTaskParams::taskId() const { - return m_taskId; -} - -void UpdateTaskParams::setTaskId(QString newTaskId) { - m_taskId = newTaskId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updatetimerparams.cpp b/core/src/loader/updatetimerparams.cpp deleted file mode 100644 index a058fc7..0000000 --- a/core/src/loader/updatetimerparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updatetimerparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateTimerParams - -const QString &UpdateTimerParams::timerId() const { - return m_timerId; -} - -void UpdateTimerParams::setTimerId(QString newTimerId) { - m_timerId = newTimerId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateuserconfigurationparams.cpp b/core/src/loader/updateuserconfigurationparams.cpp deleted file mode 100644 index 68ad6a5..0000000 --- a/core/src/loader/updateuserconfigurationparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateuserconfigurationparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateUserConfigurationParams - -const QString &UpdateUserConfigurationParams::userId() const { - return m_userId; -} - -void UpdateUserConfigurationParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateusereasypasswordparams.cpp b/core/src/loader/updateusereasypasswordparams.cpp deleted file mode 100644 index 80e63aa..0000000 --- a/core/src/loader/updateusereasypasswordparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateusereasypasswordparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateUserEasyPasswordParams - -const QString &UpdateUserEasyPasswordParams::userId() const { - return m_userId; -} - -void UpdateUserEasyPasswordParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateuseritemratingparams.cpp b/core/src/loader/updateuseritemratingparams.cpp deleted file mode 100644 index 0d8390f..0000000 --- a/core/src/loader/updateuseritemratingparams.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateuseritemratingparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateUserItemRatingParams - -const QString &UpdateUserItemRatingParams::itemId() const { - return m_itemId; -} - -void UpdateUserItemRatingParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - -const QString &UpdateUserItemRatingParams::userId() const { - return m_userId; -} - -void UpdateUserItemRatingParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - -const bool &UpdateUserItemRatingParams::likes() const { - return m_likes.value(); -} - -void UpdateUserItemRatingParams::setLikes(bool newLikes) { - m_likes = newLikes; -} - -bool UpdateUserItemRatingParams::likesNull() const { - // Nullable: true - // Type Nullable: false - - - return !m_likes.has_value(); -} - -void UpdateUserItemRatingParams::setLikesNull() { - m_likes = std::nullopt; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateuserparams.cpp b/core/src/loader/updateuserparams.cpp deleted file mode 100644 index 76cc0e0..0000000 --- a/core/src/loader/updateuserparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateuserparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateUserParams - -const QString &UpdateUserParams::userId() const { - return m_userId; -} - -void UpdateUserParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateuserpasswordparams.cpp b/core/src/loader/updateuserpasswordparams.cpp deleted file mode 100644 index ae8a207..0000000 --- a/core/src/loader/updateuserpasswordparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateuserpasswordparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateUserPasswordParams - -const QString &UpdateUserPasswordParams::userId() const { - return m_userId; -} - -void UpdateUserPasswordParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/updateuserpolicyparams.cpp b/core/src/loader/updateuserpolicyparams.cpp deleted file mode 100644 index a31eb9c..0000000 --- a/core/src/loader/updateuserpolicyparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/updateuserpolicyparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UpdateUserPolicyParams - -const QString &UpdateUserPolicyParams::userId() const { - return m_userId; -} - -void UpdateUserPolicyParams::setUserId(QString newUserId) { - m_userId = newUserId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/uploadsubtitleparams.cpp b/core/src/loader/uploadsubtitleparams.cpp deleted file mode 100644 index ccc8d44..0000000 --- a/core/src/loader/uploadsubtitleparams.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/uploadsubtitleparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// UploadSubtitleParams - -const QString &UploadSubtitleParams::itemId() const { - return m_itemId; -} - -void UploadSubtitleParams::setItemId(QString newItemId) { - m_itemId = newItemId; -} - - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/loader/validatepathparams.cpp b/core/src/loader/validatepathparams.cpp deleted file mode 100644 index afdd5f0..0000000 --- a/core/src/loader/validatepathparams.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Sailfin: a Jellyfin client written using Qt - * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET - * OVERWRITTEN AT SOME POINT! - * - * If there is a bug in this file, please fix the code generator used to generate this file found in - * core/openapigenerator.d. - * - * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that - * file with a newer file if needed instead of manually updating the files. - */ - -#include "JellyfinQt/loader/validatepathparams.h" - -namespace Jellyfin { -namespace Loader { - -using namespace Jellyfin::DTO; - -// ValidatePathParams - - -} // NS Loader -} // NS Jellyfin diff --git a/core/src/viewmodel/item.cpp b/core/src/viewmodel/item.cpp index 9ae87c0..14c5d78 100644 --- a/core/src/viewmodel/item.cpp +++ b/core/src/viewmodel/item.cpp @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "JellyfinQt/viewmodel/item.h" + + +#include "JellyfinQt/loader/http/items.h" +#include "JellyfinQt/loader/http/userlibrary.h" #include "JellyfinQt/viewmodel/userdata.h" namespace Jellyfin { diff --git a/core/src/viewmodel/itemmodel.cpp b/core/src/viewmodel/itemmodel.cpp index ba0b7d1..c778666 100644 --- a/core/src/viewmodel/itemmodel.cpp +++ b/core/src/viewmodel/itemmodel.cpp @@ -18,11 +18,10 @@ */ #include "JellyfinQt/viewmodel/itemmodel.h" -#include "JellyfinQt/loader/http/getepisodes.h" -#include "JellyfinQt/loader/http/getlatestmedia.h" -#include "JellyfinQt/loader/http/getitemsbyuserid.h" -#include "JellyfinQt/loader/http/getresumeitems.h" -#include "JellyfinQt/loader/http/getseasons.h" +#include "JellyfinQt/loader/http/items.h" +#include "JellyfinQt/loader/http/userlibrary.h" +#include "JellyfinQt/loader/http/userviews.h" +#include "JellyfinQt/loader/http/tvshows.h" #include "JellyfinQt/viewmodel/userdata.h" diff --git a/core/src/viewmodel/playbackmanager.cpp b/core/src/viewmodel/playbackmanager.cpp index 902b531..c961dcd 100644 --- a/core/src/viewmodel/playbackmanager.cpp +++ b/core/src/viewmodel/playbackmanager.cpp @@ -20,6 +20,7 @@ #include "JellyfinQt/viewmodel/playbackmanager.h" #include "JellyfinQt/apimodel.h" +#include "JellyfinQt/loader/http/mediainfo.h" // #include "JellyfinQt/DTO/dto.h" #include diff --git a/core/src/viewmodel/user.cpp b/core/src/viewmodel/user.cpp index 9079a95..ea14c16 100644 --- a/core/src/viewmodel/user.cpp +++ b/core/src/viewmodel/user.cpp @@ -19,7 +19,7 @@ #include "JellyfinQt/viewmodel/user.h" -#include "JellyfinQt/loader/http/getuserbyid.h" +#include "JellyfinQt/loader/http/user.h" namespace Jellyfin { namespace ViewModel {